[CentralOH] 2014-10-31 道場 Scribbles 落書/惡文?: A Halloween Love Story

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Sat Nov 1 18:39:45 CET 2014


First, a Halloween love story. 

How do I love Verizon Wireless? Let me count the ways. 

    http://alturl.com/goapd (www.networkworld.com) 
    http://www.networkworld.com/article/2839606/security0/secretive-unblockable-verizon-perma-cookies-kick-up-privacy-concerns.html
    See also testers at:
        https://panopticlick.eff.org/
        http://www.christianschenk.org/blog/enhancing-your-privacy-using-squid-and-privoxy/
        http://ip.proxy.lc/
        https://anonymous-proxy-servers.net/en/help/security_test.html
        http://ip.cc/proxy-classes.php
        http://ip-check.info/?lang=en

Proxylicious?

Hmmm. Revelations around Halloween reminds me of wp:Halloween documents

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

A hotspot was awesome again.

much TDD tonight

Write a function that returns the largest factor of a number.

    jjj at dojo:~ cat factor.sh
    function largest_factor {
        factor "$1" | awk '{print $NF}'
    }
    jjj at dojo:~ . factor.sh
    jjj at dojo:~ largest_factor 26
    13
    jjj at dojo:~ largest_factor 72
    3
    jjj at dojo:~ 

OK, now do it in Python, with TDD,
without importing any libraries except pytest.

http://pytest.org/latest/example/parametrize.html
http://pytest.org/latest/_modules/_pytest/mark.html
http://pytest.org/latest/assert.html#assert
    with pytest.raises(ZeroDivisionError):
        1 / 0

    pytest.raises(ExpectedException, func, *args, **kwargs)
    pytest.raises(ExpectedException, "func(*args, **kwargs)")
    http://pythontesting.net/framework/pytest/pytest-introduction/

tmux
    $EDITOR *.py
    watch 'git status -s'
    py.test -f .

This TDD stuff reminds me of a presentation that Brandon gave about how code
should be organzied. I'm going to have to watch it again.

    http://pyvideo.org/video/2840/the-clean-architecture-in-python

wp:ADD
wp:BDD
wp:CDD
wp:DDD
wp:EDD
wp:FDD

If you want a better more, use less.
wp:more (command)
wp:less (Unix)
http://man.cx/?page=less
See LESS_IS_MORE in http://linux.die.net/man/1/less
less opts about scrolling (or not needing to)
wp:most (Unix)    (this one is new to mee)
wp:pg (Unix)      (this one is also new to me)

shimano 70
sram 20
campy(campagnolo) 10

What night(s) are good for dojos?
    Tuesdays & Fridays are good for one.
    Tuesday are not good for Gabrielle
    Tuesday are not good for another, so we stay on Friday.

https://www.techdirt.com/blog/netneutrality/articles/20141029/06551128976/detailed-report-shows-how-isps-are-making-business-choice-to-make-your-internet-connection-terrible.shtml

When I shop for a car, I bring my big 8" Dobsonian.

    http://pyvideo.org/search?models=videos.video&q=astronomy
    http://pyvideo.org/video/2325/skyfield-and-15-years-of-bad-apis

https://republicwireless.com/

http://english.chosun.com/site/data/html_dir/2014/11/01/2014110100539.html
wp:Burkina Faso
bergino.com

BNF
wp:Backus–Naur Form
wp:BNSF
http://opensource.com/health/14/10/hospitals-save-using-open-source
http://www.zdnet.com/samsung-fires-another-shot-at-microsoft-in-android-patent-battle-7000035310/

Meet the alkane sisters at Ethyl Corp.

local links, mostly wx. Let's see how much pipermail buggers them.

    http://www.columbusgasprices.com/index.aspx?s=Y&fuel=A&area=Columbus+-+Central&area=Columbus+-+East&area=Columbus+-+North&area=Columbus+-+West&tme_limit=8
    http://forecast.weather.gov/MapClick.php?CityName=Columbus&state=OH&site=ILN&textField1=39.9889&textField2=-82.9874&e=1
    http://forecast.weather.gov/MapClick.php?w0=t&w1=td&w3=sfcwind&w3u=1&w4=sky&w5=pop&w8=rain&w9=snow&w10=fzg&w11=sleet&AheadHour=0&Submit=Submit&FcstType=graphical&textField1=39.98890&textField2=-82.98740&site=all&unit=0&dd=0&bw=0
    http://radblast-aws.wunderground.com/cgi-bin/radar/WUNIDS_map?station=CMH&brand=wui&num=6&delay=15&type=TR0&frame=0&scale=1.000&noclutter=0&t=1371131769&lat=0&lon=0&label=you&showstorms=10&map.x=400&map.y=240&centerx=400&centery=240&transx=0&transy=0&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0
    http://radblast-aws.wunderground.com/cgi-bin/radar/WUNIDS_map?station=ILN&brand=wui&num=6&delay=15&type=N0R&frame=0&scale=1.000&noclutter=0&t=1371131330&lat=40.10094070&lon=-83.01473999&label=Worthington%2C+OH&showstorms=0&map.x=400&map.y=240&centerx=400&centery=240&transx=0&transy=0&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0
    http://radblast-aws.wunderground.com/cgi-bin/radar/WUNIDS_map?station=ILN&brand=wui&num=6&delay=15&type=N0R&frame=0&scale=1.000&noclutter=0&t=1371131508&lat=40.10094070&lon=-83.01473999&label=Worthington%2C+OH&showstorms=10&map.x=400&map.y=240&centerx=400&centery=240&transx=0&transy=0&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0
    http://radar.weather.gov/Conus/Loop/centgrtlakes_loop.gif
    http://radar.weather.gov/Conus/Loop/NatLoop.gif

As usual, a wp: prefix means Wikipedia.


More information about the CentralOH mailing list