[CentralOH] 2016-11-18 道場 Scribbles 落書/惡文? matlab v numpy/scipy; antigravity; hungarian notation; searching sets & Liszts; boltons; sweigart; pyvideos; jupyter; pandas; r; sympy; comprehensions; generators; anaconda; virtual environments; unpacking; euler; unix philosophy; recursion; closures; tkinter; tcl/tk

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Sat Nov 19 14:08:56 EST 2016


6 folks tonight

import this
import antigravity
http://xkcd.com/353/

http://xkcd.com/327/
http://xkcd.com/378/
http://xkcd.com/149/
    explainxkcd.com/wiki/index.php/149
https://xkcd.com/936/
https://xkcd.com/195/
    http://matplotlib.org/xkcd/examples/showcase/xkcd.html

wp: prefix means Wikipedia
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

https://github.com/james-prior/cohpy/blob/master/20160523-cohpy-speed-of-searching-sets-and-lists-simplified.ipynb

an engineering graduate
said there is nothing that matlab did (for his engineering homework)
that python/numpy/scipy/matplotlib can not do

can do a day's worth of cut and paste
in minutes with python
that engineer needs to borrow
"Automate the Boring Stuff with Python" by Al Sweigart

which is better for the following? matlab or numpy?
    http://xkcd.com/184/

boltons
https://pypi.python.org/pypi/boltons/
https://pypi.python.org/pypi/

pyvideo.org
    is alive an well
    Thanks Sheila
http://pyvideo.org/speaker/fernando-perez.html
    http://pyvideo.org/pycon-ca-2012/science-and-python-retrospective-of-a-mostly-s.html
http://pyvideo.org/speaker/brandon-rhodes.html
    http://pyvideo.org/pycon-us-2010/the-mighty-dictionary-55.html
    http://pyvideo.org/pycon-ca-2012/a-python-sthetic-beauty-and-why-i-python.html
    http://pyvideo.org/pyohio-2011/pyohio-2011-names-objects-and-plummeting-from.html
    http://pyvideo.org/pycon-us-2014/all-your-ducks-in-a-row-data-structures-in-the-s.html
    http://pyvideo.org/pyohio-2012/python-design-patterns-1.html
http://pyvideo.org/speaker/raymond-hettinger.html
    http://pyvideo.org/pycon-us-2013/transforming-code-into-beautiful-idiomatic-pytho.html
    http://pyvideo.org/pycon-us-2013/keynote-3.html
    http://pyvideo.org/pycon-us-2015/beyond-pep-8-best-practices-for-beautiful-inte.html

wp:Hungarian notation
http://imslp.org/wiki/File:TN-Liszt_Musikalische_Werke_2_Band_12_135.jpg
http://imslp.org/wiki/Special:IMSLPDisclaimerAccept/6/68/Liszt_-_S244_Hungarian_Rhapsody_No19_(busoni).pdf

jupyter notebook
    https://try.jupyter.org
r
numpy
scipy
matplotlib
pandas
sympy

list comprehension
dictionary comprehension
set comprehension
generator expression
generator function
nested generators
    https://mail.python.org/pipermail/centraloh/2013-June/001718.html

http://nbviewer.jupyter.org/github/james-prior/cohpy/blob/master/20161118-dojo-comprehensions-and-generators.ipynb

Is installing anaconda a workaround for not being allowed to do pip install?
Anaconda (Python distribution)
https://www.continuum.io/downloads

Using virtual environments is very strongly encouraged
for any significant Python project. Study:
    virtualenv
    venv (for Python 3.?)
    conda (from anaconda)

tuple unpacking
    can avoid annoying temporary variables
    handy for state machines
    which Brandon Rhodes or Raymond Hettinger presentation talks about this?

project euler

learn either emacs or vi(m)
the unix philosophy

recursion was one of Lars' epiphanies at 19:
http://pyvideo.org/pyohio-2015/the-well-tempered-api.html
closure will hurt your head again like recursion did:
http://nbviewer.jupyter.org/github/james-prior/cohpy/blob/master/20150223-cohpy-memoization.ipynb

Don’t Believe the Lies; Microsoft Hates Linux and Merely Pulls E.E.E. Tactics Against It, Including .NET Promotion
http://techrights.org/2016/11/16/microsoft-still-hates-linux/

http://www.cbsnews.com/news/office-depot-investigation-free-computer-check-service-sells-unnecessary-repairs/

Python's default GUI is tkinter,
which is based on tk, which is usually associated with tcl.
FlightAware, the aviation software and data provider, continues
to have an interest in Tcl. For those not familiar, Tcl is a
general purpose scripting language which, while not as widespread
as it has been in years past, continues to be popular for a
number of applications. In an update via a GitHub repo, the
company presented several "challenges" in Tcl for which they are
willing to pay to see integrated into Tcl's open source code
base. https://github.com/flightaware/Tcl-bounties


More information about the CentralOH mailing list