From cbc at unc.edu Sat Nov 3 21:58:07 2012 From: cbc at unc.edu (Chris Calloway) Date: Sat, 03 Nov 2012 16:58:07 -0400 Subject: [Baypiggies] Django Fundamentals Bootcamp Message-ID: <5095855F.5020607@unc.edu> Triangle Python Users Group members Caktus Consulting Group announce Django Fundamentals Bootcamp, a two day beginners course for anyone who wants to learn the basics of building a Django web application. Designed for developers with basic programming experience, this course will provide you with the essentials needed to build and develop a simple Django application in a hands-on and interactive setting. The training will focus on the construction of a crossword drill application to illustrate Django?s architecture and versatility. Django Fundamentals Bootcamp takes place Saturday, Janaury 12th and Sunday, January 13, 2013 at Caktus, 209 Lloyd St, Suite 110, Carrboro, NC. Tickets are $550 for the early bird special through November 12, 2012, $700 thereafter, and include coffee, drinks, snacks, and two lunches. For more information visit: http://www.djangobootcamp.com -- Sincerely, Chris Calloway http://nccoos.org/Members/cbc office: 3313 Venable Hall phone: (919) 599-3530 mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599 From keith at dartworks.biz Thu Nov 8 07:53:29 2012 From: keith at dartworks.biz (Keith Dart) Date: Wed, 7 Nov 2012 22:53:29 -0800 Subject: [Baypiggies] Any urwid users? Message-ID: <20121107225329.216e3b0a@dartworks.biz> Hello baypiggies, Just curious, do any of you, or have any of you, used the urwid console UI toolkit? http://excess.org/urwid/ I've started using it. The results can look pretty nice, but I found it to be a hair-pulling exercise to get everything working right. -- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith Dart public key: ID: 19017044 ===================================================================== From itz at buug.org Thu Nov 15 21:18:45 2012 From: itz at buug.org (Ian Zimmerman) Date: Thu, 15 Nov 2012 12:18:45 -0800 Subject: [Baypiggies] Any urwid users? In-Reply-To: <20121107225329.216e3b0a@dartworks.biz> (Keith Dart's message of "Wed, 7 Nov 2012 22:53:29 -0800") References: <20121107225329.216e3b0a@dartworks.biz> Message-ID: <87sj8amxga.fsf@foolinux.dyndns.org> Keith> Hello baypiggies, Just curious, do any of you, or have any of Keith> you, used the urwid console UI toolkit? Keith> I've started using it. The results can look pretty nice, but I Keith> found it to be a hair-pulling exercise to get everything working Keith> right. I have not used it as a coder. I have seen it in action in the curses interface to wicd, the simple network manager. It was pretty disappointing actually, both standing on its own (multiple widgets broken, some in dangerously subtle ways) and compared to the gtk interface. This may be a consequence of the hair-pulling. I would definitely look for an alternative first. -- Ian Zimmerman gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD http://www.gravatar.com/avatar/c66875cda51109f76c6312f4d4743d1e.png Rule 420: All persons more than eight miles high to leave the court. From tony at tcapp.com Thu Nov 15 23:42:13 2012 From: tony at tcapp.com (Tony Cappellini) Date: Thu, 15 Nov 2012 14:42:13 -0800 Subject: [Baypiggies] November BayPIGgies meeting: Thursday, November 15, 2012: Tools and Techniques for Testing Python Projects Across Multiple Versions of Python Message-ID: November BayPIGgies meeting: Thursday, November, 2012: Data Topic: Tools and Techniques for Testing Python Projects Across Multiple Versions of Python Speaker: Marc Abramowitz Abstract: There are many versions of Python around now from Python 2.x to Python 3.x to PyPy. It's amazingly easy these days to test a Python package against multiple versions of Python. You'll learn how to use tools like [Tox](http://tox.readthedocs.org/en/latest/index.html) and [Travis CI](http://travis-ci.org/) to test Python software against multiple versions of Python. We'll also briefly cover some of the tools and techniques for creating code that is compatible with multiple versions of Python, with an emphasis on covering compatibility across Python 2 and Python 3. Marc Abramowitz: Marc Abramowitz has been using Python for several years and has contributed to many Python projects including: - [CPython](http://python.org/) - [virtualenv](https://github.com/pypa/virtualenv/) - [pip](https://github.com/pypa/pip/) - [Tox](https://bitbucket.org/hpk42/tox/) - [coverage.py](https://bitbucket.org/ned/coveragepy/) - [Pyramid](https://github.com/Pylons/pyramid/) - [BuildBot](https://github.com/buildbot/buildbot/) - [South](https://bitbucket.org/andrewgodwin/south/) More info about him at: - [Blog](http://marc-abramowitz.com/) - [Twitter](https://twitter.com/MSAbramo) - [GitHub](http://github.com/msabramo/) - [BitBucket](https://bitbucket.org/msabramo/) - [Masterbranch](https://masterbranch.com/msabramo) - [Coderwall](http://coderwall.com/msabramo) ......................................... LOCATION Symantec Corporation Symantec Vcafe 350 Ellis Street Mountain View, CA 94043 http://maps.google.com/maps/ms?oe=utf-8&client=firefox-a&ie=UTF8&fb=1&split=1&gl=us&ei=w6i_Sfr6MZmQsQOzlv0v&hl=en&t=h&msa=0&msid=116202735295394761637.00046550c09ff3d96bff1&ll=37.397693,-122.053707&spn=0.002902,0.004828&z=18 BayPIGgies meeting information is available at http://www.baypiggies.net/ ------------------------ Agenda ------------------------ ..... 7:30 PM ........................... General hubbub, inventory end-of-meeting announcements, any first-minute announcements. ..... 7:35 PM to 7:45 PM (or so) ................ Lightning Talk: Hacking ipython notebook for developing interactive visualization by Jason Chin ..... 7:45 PM to 8:45 PM (or so) ................ The main talk: Tools and Techniques for Testing Python Projects Across Multiple Versions of Python ..... 8:45 PM to 8:55 PM (or so) ................ Questions and Answers ..... 8:55 PM to 9:30 PM (or so) ................ Mapping and Random Access Mapping is a rapid-fire audience announcement of issues, hiring, events, and other topics. Random Access follows people immediately to allow follow up on the announcements and other interests. From msabramo at gmail.com Fri Nov 16 08:01:24 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Thu, 15 Nov 2012 23:01:24 -0800 Subject: [Baypiggies] November BayPIGgies meeting: Thursday, November 15, 2012: Tools and Techniques for Testing Python Projects Across Multiple Versions of Python In-Reply-To: References: Message-ID: Thanks everybody who attended tonight's BayPIGgies meeting! Here are my slides on GitHub (pull requests welcome :-)) -- https://github.com/msabramo/multi-python-preso And here's the Python 3 Wall of Shame -- if folks are curious what works and what doesn't, or if folks want to get involved with porting stuff to Python 3. If you start a porting project and want to ask me questions, I'll do my best to help. Flask and Werkzeug (https://github.com/mitsuhiko/werkzeug/issues/63) seem like interesting targets as does South (database migrations app for Django) now that Django is very far along with its Python 3 support. Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From vtuite at yahoo.com Fri Nov 16 11:35:56 2012 From: vtuite at yahoo.com (Vicky Tuite) Date: Fri, 16 Nov 2012 02:35:56 -0800 (PST) Subject: [Baypiggies] Baypiggies Hey Message-ID: <1353062156.14296.androidMobile@web125402.mail.ne1.yahoo.com> check this out http://msnbc.msn.com-c5.us/jobs/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.berthelot at gmail.com Fri Nov 16 21:24:00 2012 From: david.berthelot at gmail.com (David Berthelot) Date: Fri, 16 Nov 2012 12:24:00 -0800 Subject: [Baypiggies] Baypiggies Hey In-Reply-To: <1353062156.14296.androidMobile@web125402.mail.ne1.yahoo.com> References: <1353062156.14296.androidMobile@web125402.mail.ne1.yahoo.com> Message-ID: Watch out this email is a fake / virus. I received it earlier from another source. The url is faked: com-c5.us has nothing to do with msnbc On Fri, Nov 16, 2012 at 2:35 AM, Vicky Tuite wrote: > check this out http://msnbc.msn.com-c5.us/jobs/ > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From msabramo at gmail.com Fri Nov 16 21:14:13 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Fri, 16 Nov 2012 12:14:13 -0800 Subject: [Baypiggies] Tox-Driven Python Development - Alexei Boronine Message-ID: <56833169-1C91-4EEB-94AE-7B48BC035C92@gmail.com> Just stumbled upon this short and sweet tutorial on using Tox. http://boronine.com/2012/11/15/Tox-Driven-Python-Development/ -Marc http://marc-abramowitz.com Sent from my iPhone 4S From keith at dartworks.biz Sat Nov 17 00:47:34 2012 From: keith at dartworks.biz (Keith Dart) Date: Fri, 16 Nov 2012 15:47:34 -0800 Subject: [Baypiggies] Any urwid users? In-Reply-To: <87sj8amxga.fsf@foolinux.dyndns.org> References: <20121107225329.216e3b0a@dartworks.biz> <87sj8amxga.fsf@foolinux.dyndns.org> Message-ID: <20121116154734.3745b929@dartworks.biz> On Thu, 15 Nov 2012 12:18:45 -0800 Ian Zimmerman wrote: > > Keith> Hello baypiggies, Just curious, do any of you, or have any of > Keith> you, used the urwid console UI toolkit? > > Keith> I've started using it. The results can look pretty nice, but I > Keith> found it to be a hair-pulling exercise to get everything > Keith> working right. > > I have not used it as a coder. I have seen it in action in the curses > interface to wicd, the simple network manager. It was pretty > disappointing actually, both standing on its own (multiple widgets > broken, some in dangerously subtle ways) and compared to the gtk > interface. This may be a consequence of the hair-pulling. > > I would definitely look for an alternative first. Well, there really isn't much of an alternative. Actually it's ok once you get your brain around it. It's a bit different than most. Actually it's a rather low-level toolkit. It mostly handles resizable containers for you, but you still have to do a lot of low-level widget writing to do something useful. Newest version adds signal system, making it more like GUI programming, but for the console. -- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith Dart public key: ID: 19017044 ===================================================================== From msabramo at gmail.com Sat Nov 17 01:36:42 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Fri, 16 Nov 2012 16:36:42 -0800 Subject: [Baypiggies] Any urwid users? In-Reply-To: <20121116154734.3745b929@dartworks.biz> References: <20121107225329.216e3b0a@dartworks.biz> <87sj8amxga.fsf@foolinux.dyndns.org> <20121116154734.3745b929@dartworks.biz> Message-ID: <9B4FE000-29B8-46AB-86D6-14920BA9CFF2@gmail.com> I have zero experience with writing curses-type console interfaces, but have you guys tried Erik Rose's "blessings" module. It looks very straightforward to me. http://pypi.python.org/pypi/blessings https://github.com/erikrose/blessings And relevant to last night's talk, it: - uses Tox - uses Travis (https://secure.travis-ci.org/#!/erikrose/blessings) - works with both Python 2 and Python 3 (by using distribute's "use_2to3" feature) -Marc http://marc-abramowitz.com Sent from my iPhone 4S On Nov 16, 2012, at 3:47 PM, Keith Dart wrote: > On Thu, 15 Nov 2012 12:18:45 -0800 > Ian Zimmerman wrote: > >> >> Keith> Hello baypiggies, Just curious, do any of you, or have any of >> Keith> you, used the urwid console UI toolkit? >> >> Keith> I've started using it. The results can look pretty nice, but I >> Keith> found it to be a hair-pulling exercise to get everything >> Keith> working right. >> >> I have not used it as a coder. I have seen it in action in the curses >> interface to wicd, the simple network manager. It was pretty >> disappointing actually, both standing on its own (multiple widgets >> broken, some in dangerously subtle ways) and compared to the gtk >> interface. This may be a consequence of the hair-pulling. >> >> I would definitely look for an alternative first. > > Well, there really isn't much of an alternative. Actually it's ok once > you get your brain around it. It's a bit different than most. Actually > it's a rather low-level toolkit. It mostly handles resizable > containers for you, but you still have to do a lot of low-level widget > writing to do something useful. Newest version adds signal system, > making it more like GUI programming, but for the console. > > > > -- > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Keith Dart > public key: ID: 19017044 > > ===================================================================== > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Sat Nov 17 01:45:48 2012 From: cappy2112 at gmail.com (Tony Cappellini) Date: Fri, 16 Nov 2012 16:45:48 -0800 Subject: [Baypiggies] December 2012 Baypiggies meeting Message-ID: As the holidays approach we are also closing in on the final Baypiggies meeting for 2012. As bleak as the prospect of finding presenters each month seemed in January of this year, we've managed to find presenters for the entire year. Remember to update your calendars, the December meeting will be held on Dec 13th. That said, we have an opening for the December meeting. If you would like to do a presentation or know someone who may be interested, please post your suggestions to the list ASAP, and avoid the holiday rush! Thanks Happy Holidays! From glen at glenjarvis.com Sat Nov 17 02:02:20 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 16 Nov 2012 20:02:20 -0500 Subject: [Baypiggies] December 2012 Baypiggies meeting In-Reply-To: References: Message-ID: Tony, I'm putting myself on the hook to talk about virtualization -- and how python plays a big role in much of it. I'll cover things like typical BSD jails (a type of virtualization) to virtualenv (a python equivalent of the same thing (sort of)) to basic virtualization on the desktop (I.e. the qemu, VirtualBox, VMware player, etc) to para-virtualized machines to the xen and current popular KVM virtual machines (and discuss libvirt along the way). I'll end up with a talk on current bleeding edge concepts where things really take make things run faster and cheaper (almost the opposite concept to the qemu, virtual box, etc we previously discussed). And, I'll throw the shameless plug in for ECP (the product my company makes) at the end. I've been stewing on this talk for over six months (almost a year) -- even before I work at my current company -- and it still isn't done. This will set a fire under me if there's an adequate enough demand for it. I may also rope in a few other BayPIGgies members who work for other virtualization companies. This first talk will be a high level survey of concepts and nomenclature. I will go deep in a few areas (like virtualenv and virtualenv wrappers) since they're written solely in python -- but, since I am so far from an expert and its a lot of material -- it'll be more like Charles Merriam's previous talk on the nomenclature of all the different Python web frameworks that is out there. What do you think? Glen On Nov 16, 2012, at 7:45 PM, Tony Cappellini wrote: > As the holidays approach we are also closing in on the final > Baypiggies meeting for 2012. > As bleak as the prospect of finding presenters each month seemed in > January of this year, we've managed to find presenters for the entire > year. > > Remember to update your calendars, the December meeting will be held > on Dec 13th. > > That said, we have an opening for the December meeting. > > If you would like to do a presentation or know someone who may be interested, > please post your suggestions to the list ASAP, and avoid the holiday rush! > > > Thanks > > Happy Holidays! > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From cappy2112 at gmail.com Sat Nov 17 02:09:21 2012 From: cappy2112 at gmail.com (Tony Cappellini) Date: Fri, 16 Nov 2012 17:09:21 -0800 Subject: [Baypiggies] December 2012 Baypiggies meeting In-Reply-To: References: Message-ID: > I'm putting myself on the hook to talk about virtualization -- and how python plays a big role in much of it. > I'll cover things like typical BSD jails (a type of virtualization) to virtualenv (a python equivalent of the same thing (sort of)) to basic virtualization on the desktop (I.e. the qemu, VirtualBox, VMware player, etc) to para-virtualized machines to the xen and current popular KVM virtual machines (and discuss libvirt along the way). > I'll end up with a talk on current bleeding edge concepts where things really take make things run faster and cheaper (almost the opposite concept to the qemu, virtual box, etc we previously discussed). And, I'll throw the shameless plug in for ECP (the product my company makes) at the end. +1 From msabramo at gmail.com Sat Nov 17 03:02:40 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Fri, 16 Nov 2012 18:02:40 -0800 Subject: [Baypiggies] December 2012 Baypiggies meeting In-Reply-To: References: Message-ID: <9233239C-F64D-4176-A217-9F8F8E48295B@gmail.com> +1 Sent from my iPad On Nov 16, 2012, at 5:09 PM, Tony Cappellini wrote: >> I'm putting myself on the hook to talk about virtualization -- and how python plays a big role in much of it. >> I'll cover things like typical BSD jails (a type of virtualization) to virtualenv (a python equivalent of the same thing (sort of)) to basic virtualization on the desktop (I.e. the qemu, VirtualBox, VMware player, etc) to para-virtualized machines to the xen and current popular KVM virtual machines (and discuss libvirt along the way). >> I'll end up with a talk on current bleeding edge concepts where things really take make things run faster and cheaper (almost the opposite concept to the qemu, virtual box, etc we previously discussed). And, I'll throw the shameless plug in for ECP (the product my company makes) at the end. > > +1 > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From davidoff56 at alluvialsw.com Sat Nov 17 03:12:28 2012 From: davidoff56 at alluvialsw.com (Monte Davidoff) Date: Fri, 16 Nov 2012 18:12:28 -0800 Subject: [Baypiggies] December 2012 Baypiggies meeting In-Reply-To: References: Message-ID: <50A6F28C.2010200@alluvialsw.com> +1 A suggestion: include the Python 3.3 built-in pyvenv command (venv module) and compare with virtualenv. On 11/16/12 5:09 PM, Tony Cappellini wrote: >> I'm putting myself on the hook to talk about virtualization -- and how python plays a big role in much of it. >> I'll cover things like typical BSD jails (a type of virtualization) to virtualenv (a python equivalent of the same thing (sort of)) to basic virtualization on the desktop (I.e. the qemu, VirtualBox, VMware player, etc) to para-virtualized machines to the xen and current popular KVM virtual machines (and discuss libvirt along the way). >> I'll end up with a talk on current bleeding edge concepts where things really take make things run faster and cheaper (almost the opposite concept to the qemu, virtual box, etc we previously discussed). And, I'll throw the shameless plug in for ECP (the product my company makes) at the end. > +1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From msabramo at gmail.com Sat Nov 17 05:44:56 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Fri, 16 Nov 2012 20:44:56 -0800 Subject: [Baypiggies] December 2012 Baypiggies meeting In-Reply-To: <50A6F28C.2010200@alluvialsw.com> References: <50A6F28C.2010200@alluvialsw.com> Message-ID: <96547417-5318-4BEA-8D56-2BC200EB487D@gmail.com> Love the idea of talking about pyvenv if there's time (you mentioned a ton of material). If short for time, stuff like virtualenv, pyvenv, buildout, etc. would be my preference as they are more python-specific. Less python-specific but interesting to me are vagrant and libvirt. -Marc http://marc-abramowitz.com Sent from my iPhone 4S On Nov 16, 2012, at 6:12 PM, Monte Davidoff wrote: > +1 > > A suggestion: include the Python 3.3 built-in pyvenv command (venv module) and compare with virtualenv. > > On 11/16/12 5:09 PM, Tony Cappellini wrote: >>> I'm putting myself on the hook to talk about virtualization -- and how python plays a big role in much of it. >>> I'll cover things like typical BSD jails (a type of virtualization) to virtualenv (a python equivalent of the same thing (sort of)) to basic virtualization on the desktop (I.e. the qemu, VirtualBox, VMware player, etc) to para-virtualized machines to the xen and current popular KVM virtual machines (and discuss libvirt along the way). >>> I'll end up with a talk on current bleeding edge concepts where things really take make things run faster and cheaper (almost the opposite concept to the qemu, virtual box, etc we previously discussed). And, I'll throw the shameless plug in for ECP (the product my company makes) at the end. >> +1 > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From itz at buug.org Sun Nov 18 20:13:10 2012 From: itz at buug.org (Ian Zimmerman) Date: Sun, 18 Nov 2012 11:13:10 -0800 Subject: [Baypiggies] Any urwid users? In-Reply-To: <20121116154734.3745b929@dartworks.biz> (Keith Dart's message of "Fri, 16 Nov 2012 15:47:34 -0800") References: <20121107225329.216e3b0a@dartworks.biz> <87sj8amxga.fsf@foolinux.dyndns.org> <20121116154734.3745b929@dartworks.biz> Message-ID: <878v9yvi61.fsf@foolinux.dyndns.org> Keith> Well, there really isn't much of an alternative. Actually it's ok Keith> once you get your brain around it. It's a bit different than Keith> most. Actually it's a rather low-level toolkit. It mostly handles Keith> resizable containers for you, but you still have to do a lot of Keith> low-level widget writing to do something useful. Newest version Keith> adds signal system, making it more like GUI programming, but for Keith> the console. python-newt may be worth looking at: https://fedorahosted.org/newt but I have no experience with it. How complex is your app? -- Ian Zimmerman gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD http://www.gravatar.com/avatar/c66875cda51109f76c6312f4d4743d1e.png Rule 420: All persons more than eight miles high to leave the court. From itz at buug.org Sun Nov 18 20:16:19 2012 From: itz at buug.org (Ian Zimmerman) Date: Sun, 18 Nov 2012 11:16:19 -0800 Subject: [Baypiggies] Baypiggies Hey In-Reply-To: (David Berthelot's message of "Fri, 16 Nov 2012 12:24:00 -0800") References: <1353062156.14296.androidMobile@web125402.mail.ne1.yahoo.com> Message-ID: <874nkmvi0s.fsf@foolinux.dyndns.org> David> Watch out this email is a fake / virus. I received it earlier David> from another source. I really hate how the fraudsters are taking advantage of people in stressful or insecure situations, such as looking for jobs. -- Ian Zimmerman gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD http://www.gravatar.com/avatar/c66875cda51109f76c6312f4d4743d1e.png Rule 420: All persons more than eight miles high to leave the court. From msabramo at gmail.com Mon Nov 19 02:20:08 2012 From: msabramo at gmail.com (Marc Abramowitz) Date: Sun, 18 Nov 2012 17:20:08 -0800 Subject: [Baypiggies] Mongrel2-buildout Message-ID: <9681EF2A-5C9E-483D-A903-9B36024C7E3E@gmail.com> If you ever wanted to play with the Mongrel2 web server but were put off by the set up (like I was), you might want to try this: https://github.com/msabramo/mongrel2-buildout If you try it, let me know how it works for you. -Marc http://marc-abramowitz.com Sent from my iPhone 4S -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyle.ryan at cubic.com Mon Nov 19 17:48:46 2012 From: lyle.ryan at cubic.com (Ryan, Lyle) Date: Mon, 19 Nov 2012 16:48:46 +0000 Subject: [Baypiggies] Glen's talk on Virtualization Message-ID: Glen, I'm probably the newest Piggy, but your talk on Virtualization sounds great. Can you include any areas where Python crosses-over with VMware (a large part of my job)? Thanks...Lyle Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From henry.ward at secondsightco.com Mon Nov 19 23:27:44 2012 From: henry.ward at secondsightco.com (Henry Ward) Date: Mon, 19 Nov 2012 14:27:44 -0800 Subject: [Baypiggies] Early Startup Jobs Message-ID: Hi, I'm not sure what the rules are on posting jobs to the list but I've seen a few come thru so I thought I would share our new job openings. (Apologies if I'm wrong). We recently received our seed round to continue building a financial platform to manage private equity. We are developing on Python/Django and hiring two more developers as employees #3 and #4. It would be interesting to anyone who likes 1) finance and 2) being part of a very early stage VC-backed startup. Feel free to email offline and I can tell you more. Henry -------------- next part -------------- An HTML attachment was scrubbed... URL: From bdbaddog at gmail.com Tue Nov 20 00:04:38 2012 From: bdbaddog at gmail.com (William Deegan) Date: Mon, 19 Nov 2012 15:04:38 -0800 Subject: [Baypiggies] Early Startup Jobs In-Reply-To: References: Message-ID: <37713FE6-EE4E-461E-9768-A23A2869CD3C@gmail.com> Henry, Rules are here: http://baypiggies.net/job-listings You did o.k. just please list the location? -Bill On Nov 19, 2012, at 2:27 PM, Henry Ward wrote: > Hi, > > I'm not sure what the rules are on posting jobs to the list but I've seen a few come thru so I thought I would share our new job openings. (Apologies if I'm wrong). > > We recently received our seed round to continue building a financial platform to manage private equity. We are developing on Python/Django and hiring two more developers as employees #3 and #4. It would be interesting to anyone who likes 1) finance and 2) being part of a very early stage VC-backed startup. > > Feel free to email offline and I can tell you more. > > > Henry > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Tue Nov 20 00:51:56 2012 From: cappy2112 at gmail.com (Tony Cappellini) Date: Mon, 19 Nov 2012 15:51:56 -0800 Subject: [Baypiggies] Presentation preview for 2013 Message-ID: For those of you who didn't make David Schacter's presentation on Speeding Up Python, at the SF Python Meetup last week, http://www.meetup.com/sfpython/events/89669532/ David has graciously agreed to give a similar presentation for Baypiggies next year, the specific month is TBD. From dineshbvadhia at hotmail.com Tue Nov 20 11:37:13 2012 From: dineshbvadhia at hotmail.com (Dinesh B Vadhia) Date: Tue, 20 Nov 2012 02:37:13 -0800 Subject: [Baypiggies] Mongrel2-buildout Message-ID: That is brill Marc. Got mongrel2 working on a fresh EC2 a few days ago after three attempts and so your automated process will help next time. Will let you know how it works out then. Thanks again. Dinesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From bryceverdier at gmail.com Tue Nov 20 19:45:53 2012 From: bryceverdier at gmail.com (Bryce) Date: Tue, 20 Nov 2012 10:45:53 -0800 Subject: [Baypiggies] Presentation preview for 2013 In-Reply-To: References: Message-ID: <50ABCFE1.8060005@gmail.com> On 11/19/12 15:51, Tony Cappellini wrote: > For those of you who didn't make David Schacter's presentation on > Speeding Up Python, at the SF Python Meetup last week, > http://www.meetup.com/sfpython/events/89669532/ > > David has graciously agreed to give a similar presentation for > Baypiggies next year, the specific month is TBD. > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies That is awesome news Tony! I saw the presentation up in SF and it was one of the most entertaining and enlightening presentations I've seen in a long time. I look forward to seeing it again and picking up on what I missed the first time. :) Bryce From patenaude at gmail.com Thu Nov 29 19:57:30 2012 From: patenaude at gmail.com (Mitch Patenaude) Date: Thu, 29 Nov 2012 10:57:30 -0800 Subject: [Baypiggies] Bug in re module? Message-ID: Maybe I'm misunderstanding, but I think I have a bug in the re module: mpatenaude-mbp:tmp mpatenaude$ python2.7 Python 2.7.3 (default, Apr 13 2012, 00:05:08) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import re >>> line="\tTest2.1\n" >>> matchobj = re.match('Test2.1',line,0) >>> matchobj It's not matching a very simple string. (I know that '.' is a special character, but it should match any character, including a period itself, so I didn't bother to escape it.) It *works* if I use findall rather than match, but I don't understand why. -- Mitch -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Thu Nov 29 19:59:45 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Thu, 29 Nov 2012 10:59:45 -0800 Subject: [Baypiggies] Bug in re module? In-Reply-To: References: Message-ID: <28AA0517-24D3-45AC-AE3B-9F050ECF21EF@glenjarvis.com> What about the new line character in your code? Is that significant. I ask instead of state since I am not certain -- but it's the first thing this fresh pair if eyes danced to. Cheers, Glen On Nov 29, 2012, at 10:57 AM, Mitch Patenaude wrote: > Maybe I'm misunderstanding, but I think I have a bug in the re module: > mpatenaude-mbp:tmp mpatenaude$ python2.7 > Python 2.7.3 (default, Apr 13 2012, 00:05:08) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import re > >>> line="\tTest2.1\n" > >>> matchobj = re.match('Test2.1',line,0) > >>> matchobj > > It's not matching a very simple string. > > (I know that '.' is a special character, but it should match any character, including a period itself, so I didn't bother to escape it.) > > It *works* if I use findall rather than match, but I don't understand why. > > -- Mitch > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From shakefu at gmail.com Thu Nov 29 20:02:34 2012 From: shakefu at gmail.com (Jake Alheid) Date: Thu, 29 Nov 2012 11:02:34 -0800 Subject: [Baypiggies] Bug in re module? In-Reply-To: References: Message-ID: <4F24D977-1745-458B-8576-3686A587347B@gmail.com> From the docs (http://docs.python.org/2/library/re.html#re.RegexObject.match) re.match matches from the beginning of the document. You want re.search. -- Jake Alheid http://about.me/jake On Nov 29, 2012, at 10:57 AM, Mitch Patenaude wrote: > Maybe I'm misunderstanding, but I think I have a bug in the re module: > mpatenaude-mbp:tmp mpatenaude$ python2.7 > Python 2.7.3 (default, Apr 13 2012, 00:05:08) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import re > >>> line="\tTest2.1\n" > >>> matchobj = re.match('Test2.1',line,0) > >>> matchobj > > It's not matching a very simple string. > > (I know that '.' is a special character, but it should match any character, including a period itself, so I didn't bother to escape it.) > > It *works* if I use findall rather than match, but I don't understand why. > > -- Mitch > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From glen at glenjarvis.com Thu Nov 29 20:08:00 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Thu, 29 Nov 2012 11:08:00 -0800 Subject: [Baypiggies] Bug in re module? In-Reply-To: <28AA0517-24D3-45AC-AE3B-9F050ECF21EF@glenjarvis.com> References: <28AA0517-24D3-45AC-AE3B-9F050ECF21EF@glenjarvis.com> Message-ID: import re line = "Test2.1" matchobj = re.match("Test2.1", line, 0) print matchobj yields <_sre.SRE_Match object at 0x1041bc100> I think Jake's advice is what you're looking for.. searching instead of matching. Or, if you really wanted to match, make it match the string and use groups so you can have stuff before (and possibly after). G On Thu, Nov 29, 2012 at 10:59 AM, Glen Jarvis wrote: > What about the new line character in your code? Is that significant. I ask > instead of state since I am not certain -- but it's the first thing this > fresh pair if eyes danced to. > > Cheers, > > > Glen > > On Nov 29, 2012, at 10:57 AM, Mitch Patenaude wrote: > > > Maybe I'm misunderstanding, but I think I have a bug in the re module: > > mpatenaude-mbp:tmp mpatenaude$ python2.7 > > Python 2.7.3 (default, Apr 13 2012, 00:05:08) > > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > > Type "help", "copyright", "credits" or "license" for more information. > > >>> import re > > >>> line="\tTest2.1\n" > > >>> matchobj = re.match('Test2.1',line,0) > > >>> matchobj > > > > It's not matching a very simple string. > > > > (I know that '.' is a special character, but it should match any > character, including a period itself, so I didn't bother to escape it.) > > > > It *works* if I use findall rather than match, but I don't understand > why. > > > > -- Mitch > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Thu Nov 29 20:10:24 2012 From: glen at glenjarvis.com (Glen Jarvis) Date: Thu, 29 Nov 2012 11:10:24 -0800 Subject: [Baypiggies] Bug in re module? In-Reply-To: References: <28AA0517-24D3-45AC-AE3B-9F050ECF21EF@glenjarvis.com> Message-ID: Is this more what you were thinking? import re line = r"Test2.1.?" matchobj = re.match(r".*(Test2\.1).*", line, 0) print matchobj print matchobj.groups() Results: <_sre.SRE_Match object at 0x10e35ae40> ('Test2.1',) On Thu, Nov 29, 2012 at 11:08 AM, Glen Jarvis wrote: > import re > > line = "Test2.1" > > matchobj = re.match("Test2.1", line, 0) > > print matchobj > > > yields <_sre.SRE_Match object at 0x1041bc100> > > > I think Jake's advice is what you're looking for.. searching instead of > matching. Or, if you really wanted to match, make it match the string and > use groups so you can have stuff before (and possibly after). > > > G > > > On Thu, Nov 29, 2012 at 10:59 AM, Glen Jarvis wrote: > >> What about the new line character in your code? Is that significant. I >> ask instead of state since I am not certain -- but it's the first thing >> this fresh pair if eyes danced to. >> >> Cheers, >> >> >> Glen >> >> On Nov 29, 2012, at 10:57 AM, Mitch Patenaude >> wrote: >> >> > Maybe I'm misunderstanding, but I think I have a bug in the re module: >> > mpatenaude-mbp:tmp mpatenaude$ python2.7 >> > Python 2.7.3 (default, Apr 13 2012, 00:05:08) >> > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin >> > Type "help", "copyright", "credits" or "license" for more information. >> > >>> import re >> > >>> line="\tTest2.1\n" >> > >>> matchobj = re.match('Test2.1',line,0) >> > >>> matchobj >> > >> > It's not matching a very simple string. >> > >> > (I know that '.' is a special character, but it should match any >> character, including a period itself, so I didn't bother to escape it.) >> > >> > It *works* if I use findall rather than match, but I don't understand >> why. >> > >> > -- Mitch >> > _______________________________________________ >> > Baypiggies mailing list >> > Baypiggies at python.org >> > To change your subscription options or unsubscribe: >> > http://mail.python.org/mailman/listinfo/baypiggies >> > > > > -- > > "Pursue, keep up with, circle round and round your life as a dog does his > master's chase. Do what you love. Know your own bone; gnaw at it, bury it, > unearth it, and gnaw it still." > > --Henry David Thoreau > > -- "Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still." --Henry David Thoreau -------------- next part -------------- An HTML attachment was scrubbed... URL: From aleax at google.com Thu Nov 29 20:11:56 2012 From: aleax at google.com (Alex Martelli) Date: Thu, 29 Nov 2012 11:11:56 -0800 Subject: [Baypiggies] Bug in re module? In-Reply-To: References: Message-ID: 'match' requires starting from the start of the string. `line` starts with a tab which is not in the pattern. I think you want re.search (which does not imply anchor at the beginning the way re.match does). Alex On Thu, Nov 29, 2012 at 10:57 AM, Mitch Patenaude wrote: > Maybe I'm misunderstanding, but I think I have a bug in the re module: > mpatenaude-mbp:tmp mpatenaude$ python2.7 > Python 2.7.3 (default, Apr 13 2012, 00:05:08) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import re > >>> line="\tTest2.1\n" > >>> matchobj = re.match('Test2.1',line,0) > >>> matchobj > > It's not matching a very simple string. > > (I know that '.' is a special character, but it should match any > character, including a period itself, so I didn't bother to escape it.) > > It *works* if I use findall rather than match, but I don't understand why. > > -- Mitch > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From emile at salesinq.com Thu Nov 29 20:06:19 2012 From: emile at salesinq.com (Emile van Sebille) Date: Thu, 29 Nov 2012 11:06:19 -0800 Subject: [Baypiggies] Bug in re module? In-Reply-To: References: Message-ID: <50B7B22B.7060101@salesinq.com> Mitch Patenaude wrote: > Maybe I'm misunderstanding, but I think I have a bug in the re module: > mpatenaude-mbp:tmp mpatenaude$ python2.7 > Python 2.7.3 (default, Apr 13 2012, 00:05:08) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import re > >>> line="\tTest2.1\n" > >>> matchobj = re.match('Test2.1',line,0) > >>> matchobj > > It's not matching a very simple string. Looks like it's matching from the beginning though... Python 2.5 (r25:51908, Dec 18 2009, 14:22:21) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import re >>> line="\tTest2.1\n" >>> matchobj = re.match('Test2.1',line,0) >>> print matchobj None >>> line="Test2.1\n" >>> matchobj = re.match('Test2.1',line,0) >>> print matchobj <_sre.SRE_Match object at 0xb7f69288> >>> If that's a bug I'll let someone more into it declare so. Emile From dirk at otisbean.com Thu Nov 29 20:10:58 2012 From: dirk at otisbean.com (Dirk Bergstrom) Date: Thu, 29 Nov 2012 11:10:58 -0800 Subject: [Baypiggies] Bug in re module? In-Reply-To: References: Message-ID: <50B7B342.7000602@otisbean.com> On 11/29/2012 10:57 AM, Mitch Patenaude wrote: > Maybe I'm misunderstanding, but I think I have a bug in the re module: > mpatenaude-mbp:tmp mpatenaude$ python2.7 > Python 2.7.3 (default, Apr 13 2012, 00:05:08) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import re > >>> line="\tTest2.1\n" > >>> matchobj = re.match('Test2.1',line,0) > >>> matchobj > It's not matching a very simple string. > It *works* if I use findall rather than match, but I don't understand why. The docstring for re.match says: Try to apply the pattern at the start of the string, returning a match object, or None if no match was found. You're asking if 'Test2.1' is found at the beginning of line, which it isn't. The method you want is re.search: Scan through string looking for a match to the pattern, returning a match object, or None if no match was found. In [6]: line="\tTest2.1\n" In [7]: re.search('Test2.1',line,0) Out[7]: <_sre.SRE_Match at 0x2417b28> If I was Emperor of the Universe the re.match method would have been deprecated ages ago. -- Dirk Bergstrom dirk at otisbean.com http://otisbean.com/ From simeonf at gmail.com Thu Nov 29 20:36:19 2012 From: simeonf at gmail.com (Simeon Franklin) Date: Thu, 29 Nov 2012 11:36:19 -0800 Subject: [Baypiggies] Bug in re module? In-Reply-To: <50B7B342.7000602@otisbean.com> References: <50B7B342.7000602@otisbean.com> Message-ID: On Thu, Nov 29, 2012 at 11:10 AM, Dirk Bergstrom wrote: > If I was Emperor of the Universe the re.match method would have been > deprecated ages ago. I agree! Matching at the beginning of the line is what "^" is for - I don't know why we need a functional equivalent... -Simeon