[CentralOH] 2015-01-09 道場 Scribbles 落書/惡文?

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Sat Jan 10 21:36:45 CET 2015


Getting Started Testing
http://pyvideo.org/video/2674/getting-started-testing
I'm not drawing you a third picture
https://github.com/linsomniac/python-unittest-skeleton

See attached gcd.py.
Tuple unpacking is nifty for gcd().
Refactored main() to minimal map/reduce, 
then refactored for clean architecture,
then per Ned below.
http://nedbatchelder.com/text/test0.html

    def main(argv):
        # etc...

    if __name__ == '__main__':
        sys.exit(main(sys.argv))

wp:Richard Feynman
fun read:

    Genius: The Life and Science of Richard Feynman by James Gleick

good for beginners:
PyOhio 2011: Names, Objects, and Plummeting From The Cliff
http://pyvideo.org/video/542/pyohio-2011-names-objects-and-plummeting-from

krita digitizer
touchscreen
wp:Ubuntu Touch
arch linux
crunchbang linux
RTFM
Reamde
Cryptonomicon

wp:Literate programming

    literateprogramming.com/knuthweb.pdf

wp:Douglas McIlroy

    http://franklinchen.com/blog/2011/12/08/revisiting-knuth-and-mcilroys-word-count-programs/
    http://www.leancrew.com/all-this/2011/12/more-shell-less-egg/
    http://rhodesmill.org/brandon/slides/2014-07-pyohio/clean-architecture/

http://www.razerzone.com/gaming-keyboards-keypads/razer-blackwidow-chroma

For a folk in or near Beechwold:

    Loop like a native: while, for, iterators, generators
    http://pyvideo.org/video/1758/loop-like-a-native-while-for-iterators-genera

>>> ((100 + 4) * 8 + 62000) / 20000.
3.1416
>>> 
wp:Aryabhata#Approximation_of_.CF.80

Sinéad O'Connor - Am I Not Your Girl?

To get good answers, consider following the advice in the links below.
http://catb.org/~esr/faqs/smart-questions.html
http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html
wp: prefix means Wikipedia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcd.py
Type: application/octet-stream
Size: 1413 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/centraloh/attachments/20150110/dc668fc3/attachment.obj>


More information about the CentralOH mailing list