[CentralOH] 2014-10-27 會議 Scribbles 落書/惡文?
jep200404 at columbus.rr.com
jep200404 at columbus.rr.com
Wed Oct 29 01:40:05 CET 2014
Thanks again to Pillar, Chef Jeff, and Nate Bennick for hosting us.
The spread that Chef Jeff laid out for us had something great for everyone.
Jay
columbus startup weekend
friday evening to sunday
to midnights restart at 8/9am
nov 14 to 16
ccad mind market
$59 with discount COhPy (case sensitive!!!)
jay at tixers.com
--------------------------------------------------------------------------------
brian costlow
east side
young coders
start a young coders program at a middle school
getting started
barrett after school stuff
will need volunteers
working with columbus museum of art
stuff will probably get started beginning of 2015.
--------------------------------------------------------------------------------
18F is putting everything on github
Applying open source to government.
wp:18F
https://github.com/18f
--------------------------------------------------------------------------------
jan milosh
hosting
digital ocean $2/mo cheap hosting
good documentation
do support python
django on 14.04
heroku??? hosting???
free
github pages
just plain on HTML CSS plain stuff
hosted stuff where she used firebase?
angular js
create
janmilosh.github.io/weather-graph
create and push a branch called gh-pages
https://github.com/janmilosh/cohpy_2014_10_27
yields
http://janmilosh.github.io/cohpy_2014_10_27/
jjj at cohpy:~$ mkdir jan
jjj at cohpy:~$ cd jan
jjj at cohpy:~/jan$ git clone https://github.com/janmilosh/cohpy_2014_10_27
Cloning into 'cohpy_2014_10_27'...
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 4 (delta 0)
Unpacking objects: 100% (4/4), done.
jjj at cohpy:~/jan$ cd cohpy_2014_10_27/
jjj at cohpy:~/jan/cohpy_2014_10_27$ git hist --all
* 8e6ce75 2014-10-27 18:14:09 -0400 Initial commit (HEAD, origin/master, origin/gh-pages, origin/HEAD, master) [Jan Milosh]
jjj at cohpy:~/jan/cohpy_2014_10_27$
jekyll??? javascript??? (what was this about)
https://github.com/jekyll/jekyll
--------------------------------------------------------------------------------
K&R style Python book:
The Quick Python Book, Second Edition
Naomi R. Ceder
http://www.manning.com/ceder/
O'Reilly discounts
O'Reilly offered a free ebook all PyOhio attendees. That offer has expired.
I got a copy of Learning Python in pdf. It looks like a clean PDF with no
tricks. Thanks O'Reilly! It's over 1500 pages. I'm slowly working my way
through it.
They also had a broad offer on post-its:
40% off on paper books
50% off on e books
free shipping in US for order >$29.95
order directly from O'Reilly shop.oreilly.com
Use discount code TS2014
The discount code sounds generic. I.e., not specific to PyOhio.
No expiration date is mentioned.
--------------------------------------------------------------------------------
ipaddress module standard in >= python 3.3nein
https://pypi.python.org/pypi/ipaddress
import re
ip= '192.158.0.1'
bad_ip = '999.999.999.999'
--------------------------------------------------------------------------------
Jim Prior
any() and all()
see attached cohpy-20141027.ipynb
see page 433 of Learning Python 5th edition
--------------------------------------------------------------------------------
eric floehr
djcelery
python library that creates layer on top of message broker for distributing
tasks
message busses allow two applications to talk to each other
message queues
publish subscribe
multiple senders, multiple listeners
don't need to know who to send to
also useful in distributing tasks
pip install django django-celery
# can use several message brokers
# rabbitmq is good
# reddis can be used as a message broker, even though it ain't built as one
sudo service rabbitmq-server
sudo service rabbitmq-server list-queues
rabbitmqctl
rabbitmqctl list-queues
--------------------------------------------------------------------------------
pyephem by Brandon chair for pycon for next few years
from sky import get_observer, sunrise
obs = get_observer()
import datetime
sunrise(obs, datetime.datetime.now())
from sky import est
sunrise(obs, datetime.datetime.now().replace(txinfo=est))
for sunrise in sunrises:
--------------------------------------------------------------------------------
The object returned by range() in Python 3 is a generator of its own special
type range, not a generic generator object.
jjj at cohpy:~$ python3
Python 3.2.3 (default, Sep 25 2013, 19:30:56)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> foo = range(5)
>>> foo
range(0, 5)
>>> def mange(n):
... for i in range(n):
... yield i
...
...
>>> foo = mange(5)
>>> foo
<generator object mange at 0xb71eca2c>
>>> foo.next()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'generator' object has no attribute 'next'
>>> next(foo)
0
>>> next(foo)
1
>>> next(foo)
2
>>> next(foo)
3
>>> next(foo)
4
>>> next(foo)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
StopIteration
>>>
--------------------------------------------------------------------------------
Andrew
pygrowler.pygrowler
what is URL?
name inspired by other frameworks named after vessels
bottle
bottlepy.org
https://pypi.python.org/pypi/bottle
flask
wp:Flask (web framework)
growler
http://en.wikipedia.org/wiki/Beer_bottle#Growler
http://theohiotaproom.com/
http://www.columbusunderground.com/forums/topic/5xnw-pizza-crawl-100214-6pm-starting-at-the-ohio-tap-room
The tandoori chicken pizza is great! http://halwanicuisine.com/
Good Hummus: http://www.mazah-eatery.com/
--------------------------------------------------------------------------------
brian costlow
xml
ElementTree eric lung? Fredrik Lundh?
https://docs.python.org/2/library/xml.etree.elementtree.html
https://docs.python.org/3/library/xml.etree.elementtree.html
https://wiki.python.org/moin/ElementTree
https://pypi.python.org/pypi/elementtree/
old versions suck in whole thing at once, then parse
now it parses on the fly and C part
there's a fast C version
please post elementree play.ipynb
.find() only works at top level, does not descend into directories
http://stackoverflow.com/questions/56229/xml-writing-tools-for-python
http://pythonadventures.wordpress.com/tag/elementtree/
Zed Shaw
wp:Zed Shaw
Learn Python the Hard Way
http://learnpythonthehardway.org/
http://learncodethehardway.org/
--------------------------------------------------------------------------------
Brazenhead Irish Pub
1027 West Fifth Ave
vagrant super virtualenv
wp:Vagrant (software)
enthought distribution for python
http://www.enthought.com/products/epd/
Enthought Python Distribution (EPD) is now Enthought Canopy!
sublime text (ad ware) is better than notepad++
wp:Sublime Text
editors that can be used without mouse make you faster than
editors that require use of a mouse
Cats eat mice like Snickers bars
wp:mousetrap
two bowls:
first bowl: water
other bowl: 50/50 mixture of corn meal and cement dust
wp:racoon
wp:touch typing
When was the last time you wrote a dollar sign in source code?
#!!!
# fixme
# todo
wp:Wordstar
Ctrl key belongs to left of A key.
(post commands to do so in Linux & Mac)
this is the year that dvorak keyboard layout takes over the qwerty layout
like this is the year that the linux desktop takes over windows
Amiga 2000
wp:Dvorak Simplified Keyboard
mirabai knight
open source plover
http://plover.stenoknight.com/
wp:Crouching Tiger, Hidden Dragon
wp:House of Flying Daggers
wp:Hero (2002 film)
wp:In the Mood for Love
wp:Fearless (2006 film)
wp:The Matrix
http://www.boomeranggmail.com/
http://www.soylent.me/
wp:Soylent (drink)
wp:Charlton Heston
wp:cryptography
take pictures of crypts
wp:She Blinded Me with Science
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cohpy-20141027.ipynb
Type: application/octet-stream
Size: 1637 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/centraloh/attachments/20141028/29357afe/attachment.obj>
More information about the CentralOH
mailing list