From jim at well.com Wed Feb 11 19:33:10 2009 From: jim at well.com (jim) Date: Wed, 11 Feb 2009 10:33:10 -0800 Subject: [PyOP] BayPIGgies meets February 26 at Symantec Message-ID: <1234377190.6719.224.camel@jim-laptop> (BayPIGgies thanks Google for hosting us in the last few years. Now we've moved.) Beginning February and for some months afterward, baypiggies will meet at the Symantec Vcafe at 350 Ellis Street, Mountain View, CA 94043 on the fourth thursday of each month, from 7:30 to 9 PM. For February 26: The Factory Module, by Pete Fein possible additional talk on PyDev Newbie Nugget: Decorators, by Charles Merriam At this time, subsequent meeting topics appear to be: March 26: Tools Night, coordinated by Simeon Franklin April 23: Alternatives for Writing C and C++ Extensions for Computer Vision Research, by Dameon Eads From jim at well.com Wed Feb 25 22:52:43 2009 From: jim at well.com (jim) Date: Wed, 25 Feb 2009 13:52:43 -0800 Subject: [PyOP] BayPIGgies meeting Thursday February 26, 2009, Two Talks: The Factory Module and PyDev Message-ID: <1235598763.7421.64.camel@jim-laptop> BayPIGgies meeting Thursday February 26, 2009, Two Talks: The Factory Module and PyDev NOTE BayPIGgies is NO LONGER meeting at Google but at the Symantec Vcafe, at Symantec's location at 350 Ellis Street in Mountain View. Tonight's talks are * The Factory Module by Pete Fein, author of the Factory module * A PyDev Primer by Nathan Ramella Meetings start with a Newbie Nugget, a short discussion of an essential Python feature, specially for those new to Python. Tonight's Newbie Nugget: Decorators by Charles Merriam NEW LOCATION FOR FEBRUARY 26, 2009 Symantec Corporation Symantec Vcafe 350 Ellis Street Mountain View, CA 94043 BayPIGgies meeting information is available at http://baypiggies.net/new/plone About the Talks Factory is an object-oriented approach to partial function application, also known as "currying." Python 2.5 added support for currying with the addition of functools.partial: http://docs.python.org/whatsnew/2.5.html#pep-309-partial-function-application The Factory module is a more powerful implementation of this pattern. Some improvements include: - safer, as invalid arguments are detected immediately, instead of at call time - intelligent support for classes, instance methods, and all other callables - bound arguments can be inspected and modified as attributes - several convenient methods for (re)binding arguments Using Factories can: - simplify writing callbacks - reduce bugs in concurrent applications - provide easy lazy evaluation This talk will demonstrate the Factory module and discuss its implementation and uses. Familiarity with currying is helpful but not required. More information is available at http://pypi.python.org/pypi/Factory/ Tonight's second talk is a PyDev primer, which will cover the basics of PyDev and PyDev Extensions. ------------------------ Agenda ------------------------ ..... 7:30 PM ........................... General hubbub, inventory end-of-meeting announcements, any first-minute announcements. ..... 7:35 PM to 7:45 PM ................ Newbie Nugget: Decorators by Charles Merriam ..... 7:45 PM to 8:15 PM ................ The Factory Module by Pete Fein ..... 8:15 PM to 8:45 PM ................ A PyDev Primer by Nathan Ramella Note that the meeting may end promptly at 9 PM. ..... 8:45 PM to 9:00 PM ................ Mapping and Random Access Mapping is a rapid-fire audience announcement of topics the announcers are interested in. Random Access follows immediately to allow follow up individually on the announcements and other topics of interest. Note that the meeting may end promptly at 9 PM.