[CentralOH] 2013-08-26 會議 Scribbles 落書/惡文?
jep200404 at columbus.rr.com
jep200404 at columbus.rr.com
Wed Aug 28 18:09:50 CEST 2013
There was someone who asked about borrowing books, but left early.
The books will be at the dojo. You can borrow the books there
and also discuss them and much Python miscellanea.
Thanks to Pillar Technology for hosting the meeting.
Bob Myers and Nate Bennink were our hosts for the evening.
http://www.linkedin.com/pub/nathaniel-bennink/53/b07/986
Ray Chandler III is AgileHog and has started up spkrbar.com
http://agilehogs.com/
He likes Shadowrun Returns and Monaco video games
He presented on "sure" module which he likes much more than unittest
Ruby's Rspec is awesome
http://rspec.info/
python's tdd tools suck: too verbose
http://docs.python.org/2/library/unittest.html
Pyvows
http://heynemann.github.io/pyvows/
Should https://github.com/visionmedia/should.js/
Sure
http://falcao.it/sure/getting-started
from sure import this
(my_func).when.called_with(2, 6).should.equal(5)
(my_func).when.called_with((2, 6)).should.equal(5)
regex
emptiness testing
truthiness testing
range testing
property existance teswting .should.have.property('name')
columbus ruby brigade (crb)
http://columbusrb.com/
http://www.meetup.com/techlifecolumbus/events/125613572/
workflow talks
raymond's workflow (actually not workflow, but the tools he uses)
use virtualenv
vim
,v shows vimrc
vundle
fuzzy finder
control p
uses git for all projects
joe instead of vim was interesting
key sequences are similar to beloved WordStar
control p
Brian Costlow talked about official enumerated types in Python 3.4
enumerated types introduced in Python 3.4
design by committee
some compatibility with existing ad hoc enum libraries,
E.g., starts at 1 to get along with pre-existing library
which avoids zero value so that test of any enum value
is always true
particularly to ease code in standard library to new official enum type.
Peter Norvig ai guy has his own enum type
http://en.wikipedia.org/wiki/Peter_Norvig
has Udacity course. Mike Rehner extolls the virtues of Udacity.
zen of python, one and only one way to do it
but ad hoc enum types were done so many ways
making enums standard was rejected in 2005 (PEP 354)
PEP 435 (based on PEP 354) has been accepted
iterable
class Color(Enum):
pink = 4
lightish_red = 4
__members__ ordered dictionary
can use 'is' operator
can have values other than ints
can have custom methods
can subclass / mixin
mixin class must be first
must list Enum last
must not have "members" (i.e., enumerated values) yet
functional alternative to declaration
even with sequence of tuples for custom arbitrary values
IntEnum can be compared to integers
pickleable
His slides were very legible.
barry warsaw
flufl.enum backport for 2.7 and 3.2+
ethan furman
enum34
norvig.com/Gettysburg/sld001.htm
isInstance
some folks play with projecteuler.net at the dojos
The problems range from easy to _very_ hard.
easy 1 & 2
harder 81, 82, 83
http://en.wikipedia.org/wiki/Dijkstra's_algorithm
http://en.wikipedia.org/wiki/A*_search_algorithm
mefightclub
nicest folks to play games with
overtly avoids sphincters
Pete Carswell mentioned game incubator / developer
Ohio Game Dev Expo
Sept. 14th, 2013, 10am-7pm
@ The Ohio Union, Columbus, OH
http://www.ohiogamedev.com/
Catherine Devlin has a date for the Columbus Python Workshop
for women and their friends.
http://www.meetup.com/Central-Ohio-Python-Users-Group/events/135566022/
The following monthly meeting will be a hack night for the
folks who went through the workshop. (Sounds like a dojo.
Folks are welcome to come to the dojos also.)
http://www.meetup.com/Central-Ohio-Python-Users-Group/events/132723182/
More information about the CentralOH
mailing list