From aahz at pythoncraft.com Thu Nov 1 03:01:17 2007 From: aahz at pythoncraft.com (Aahz) Date: Wed, 31 Oct 2007 19:01:17 -0700 Subject: [Baypiggies] Threads tutorial In-Reply-To: <20071029154210.GA11494@panix.com> References: <20071029154210.GA11494@panix.com> Message-ID: <20071101020117.GA28937@panix.com> Also, someone on c.l.py reminded me that this is available: http://www.pyzine.com/Issue001/Section_Articles/article_ThreadingGlobalInterpreter.html -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith From jim at well.com Fri Nov 2 02:22:16 2007 From: jim at well.com (jim stockford) Date: Thu, 1 Nov 2007 17:22:16 -0800 Subject: [Baypiggies] bayPIGgies meeting Thursday 11/08: Concurrency in Python Message-ID: <5d510aee6c076d5a928ca7a42ff16842@well.com> bayPIGgies meeting Thursday 11/08: Concurrency in Python Shannon -jj Behrens (with help from other, more brilliant engineers) will present an overview of various approaches to concurrency with aspecial emphasis on network servers. Come find out how stacks, locks, and callbacks each provide their own challenges! Location: Google bayPIGgies meeting information: http://baypiggies.net/new/plone Please sign up to have your google access badge ready: http://wiki.python.org/moin/BayPiggiesGoogleMeetings (no later than close of business on Wednesday.) Agenda----------------------------- ..... 7:30 PM ........................... General hubbub, inventory end-of-meeting announcements, any first-minute announcements. ..... 7:35 PM to 8:45 PM ................ The Talk: Concurrency in Python ..... 8:45 PM to 9:00 PM ................ Mapping/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 topics of interest. ..... The December Meeting ................ TBD From bsergean at gmail.com Fri Nov 2 23:43:55 2007 From: bsergean at gmail.com (Benjamin Sergeant) Date: Fri, 2 Nov 2007 15:43:55 -0700 Subject: [Baypiggies] Benchmarking external process with python Message-ID: <1621f9fa0711021543p77c54c9bpe35979f68cb18700@mail.gmail.com> Hi all, I have a bunch of files that needs to be converted from one format to another, this is done by a program written in C++. I'd like to know some infos on those convertion, like memory usage, time taken, CPU load, etc ... I'm using the subprocess module to launch my binary, I took the wrapper code from svnmerge.py (http://www.orcaware.com/svn/wiki/Svnmerge.py). Thanks for any ideas or links, Benjamin. From ken at seehart.com Sat Nov 3 23:07:52 2007 From: ken at seehart.com (Ken Seehart) Date: Sat, 03 Nov 2007 15:07:52 -0700 Subject: [Baypiggies] Recommendation for photo album Message-ID: <472CF138.8080504@seehart.com> What's the best tool for setting up a photo album? I have the following applications available: Zope, Plone, CherryPy, Django, Drupal, Pylons, Rails, and TurboGears. I've been using Zope and Plone for most things so far, but I don't mind expanding a little. I'm asking this here because I like the people and opinions of BayPiggies, and I prefer a python bias in the answer to this question. The main features I need are: - Batch upload, or automatically use image files in the server filesystem (I have lots of files, and I don't want to upload one at a time). - Authenticated user should be able to conveniently edit captions directly on the display page. - Authenticated user should be able to conveniently select multiple images to move to a different page. - Fast learning curve. - Pretty gui bells and whistles are nice. Which tools are optimal for this kind of thing? Thanks, Ken Seehart From bdbaddog at gmail.com Sun Nov 4 01:16:56 2007 From: bdbaddog at gmail.com (William Deegan) Date: Sat, 3 Nov 2007 17:16:56 -0700 Subject: [Baypiggies] Recommendation for photo album In-Reply-To: <472CF138.8080504@seehart.com> References: <472CF138.8080504@seehart.com> Message-ID: <8540148a0711031716t645e7945j6ba9644cf525d248@mail.gmail.com> Ken, > What's the best tool for setting up a photo album? I have the following > applications available: Zope, Plone, CherryPy, Django, Drupal, Pylons, > Rails, and TurboGears. I've been using Zope and Plone for most things > so far, but I don't mind expanding a little. > > I'm asking this here because I like the people and opinions of > BayPiggies, and I prefer a python bias in the answer to this question. > > The main features I need are: > > - Batch upload, or automatically use image files in the server > filesystem (I have lots of files, and I don't want to upload one at a time). > > - Authenticated user should be able to conveniently edit captions > directly on the display page. > > - Authenticated user should be able to conveniently select multiple > images to move to a different page. > > - Fast learning curve. > > - Pretty gui bells and whistles are nice. > > Which tools are optimal for this kind of thing? If you're not stuck on python based tool, galler (php based) http://gallery.sf.net Is pretty good. Even has a gui application to manage your albums. I think it fulfills most of your requirements. -Bill > > Thanks, > Ken Seehart > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From eddymul at gmail.com Sun Nov 4 09:01:32 2007 From: eddymul at gmail.com (Eddy Mulyono) Date: Sun, 4 Nov 2007 01:01:32 -0700 Subject: [Baypiggies] Recommendation for photo album In-Reply-To: <472CF138.8080504@seehart.com> References: <472CF138.8080504@seehart.com> Message-ID: <67357fc10711040101y3e6e0a06xb5dd49e63c81ba18@mail.gmail.com> On 11/3/07, Ken Seehart wrote: > I've been using Zope and Plone for most things > so far, but I don't mind expanding a little. Disclaimer: I use neither Zope nor Plone. There seems to be a bunch of Plone "photo/gallery" stuff here: http://plone.org/products?getCategories=media&getCompatibility=current&product_search=Update There seems to be a Zope "Photo" product here: http://zope.org/Members/Roug/Photo Hope that helps, -Eddy From tpc247 at gmail.com Sun Nov 4 09:17:58 2007 From: tpc247 at gmail.com (tpc247 at gmail.com) Date: Sun, 4 Nov 2007 00:17:58 -0800 Subject: [Baypiggies] hey guys, I think we've been hacked Message-ID: so I was browsing the web this early morning reading about the five creepiest urban legends that happen to be true when I came upon this page: http://www.cracked.com/article_15628_5-creepiest-urban-legends-that-happen-be-true.html if you scroll to the bottom of the blog comments, you'll see the blog comment spam under the following user account: http://baypiggies.net/new/plone/Members/glassy706 Someone has been using the new Plone site to register numerous accounts on the BayPIGgies host and creating images that redirect users to site selling pharmaceuticals. I'm not sure what to do, but I think an alert and perhaps installation of CAPTCHA software is in order. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071104/a3b56a2e/attachment.htm From john at cellspinsoft.com Sun Nov 4 12:26:55 2007 From: john at cellspinsoft.com (John Menerick) Date: Sun, 4 Nov 2007 03:26:55 -0800 Subject: [Baypiggies] hey guys, I think we've been hacked In-Reply-To: References: Message-ID: <3b9650f60711040326n29c89c9dj1a883c020687eedb@mail.gmail.com> A simple google search for our domain, baypiggies.net, shows plenty of other such search engine marketing/optmization and misc. illegal/grey items. :\ Whoever did it wasn't smart about it. They could not even get simple automated script to write HTML correctly. From the looks of it, I have seen a script like this on some underground SEO/SEM/AdFraud sites :\ I second the captcha. John Menerick On 11/4/07, tpc247 at gmail.com wrote: > so I was browsing the web this early morning reading about the five > creepiest urban legends that happen to be true when I came upon this page: > > http://www.cracked.com/article_15628_5-creepiest-urban-legends-that-happen-be-true.html > > if you scroll to the bottom of the blog comments, you'll see the blog > comment spam under the following user account: > > http://baypiggies.net/new/plone/Members/glassy706 > > Someone has been using the new Plone site to register numerous accounts on > the BayPIGgies host and creating images that redirect users to site selling > pharmaceuticals. I'm not sure what to do, but I think an alert and perhaps > installation of CAPTCHA software is in order. > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From aahz at pythoncraft.com Sun Nov 4 14:14:32 2007 From: aahz at pythoncraft.com (Aahz) Date: Sun, 4 Nov 2007 05:14:32 -0800 Subject: [Baypiggies] hey guys, I think we've been hacked In-Reply-To: References: Message-ID: <20071104131432.GA29275@panix.com> On Sun, Nov 04, 2007, tpc247 at gmail.com wrote: > > Someone has been using the new Plone site to register numerous accounts on > the BayPIGgies host and creating images that redirect users to site selling > pharmaceuticals. I'm not sure what to do, but I think an alert and perhaps > installation of CAPTCHA software is in order. I'm opposed to CAPTCHA, it breaks text-only browsing. There are plenty of other options, including requiring the submission of a working email address and using a text password that's buried in instructions for creating an account. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith From charles.merriam at gmail.com Sun Nov 4 17:20:09 2007 From: charles.merriam at gmail.com (Charles Merriam) Date: Sun, 4 Nov 2007 08:20:09 -0800 Subject: [Baypiggies] hey guys, I think we've been hacked In-Reply-To: <20071104131432.GA29275@panix.com> References: <20071104131432.GA29275@panix.com> Message-ID: An effective, an not annoying captcha is to have a special, required entry field. The label should say something along the lines of "type BAYPIGGIES, all upper case, in this box." Graphical CAPTCHAs have generally been broken. The easiest way out of this arms race is to ask a non-standard question. Have a great day! Charles On 11/4/07, Aahz wrote: > On Sun, Nov 04, 2007, tpc247 at gmail.com wrote: > > > > Someone has been using the new Plone site to register numerous accounts on > > the BayPIGgies host and creating images that redirect users to site selling > > pharmaceuticals. I'm not sure what to do, but I think an alert and perhaps > > installation of CAPTCHA software is in order. > > I'm opposed to CAPTCHA, it breaks text-only browsing. There are plenty > of other options, including requiring the submission of a working email > address and using a text password that's buried in instructions for > creating an account. > -- > Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ > > "Typing is cheap. Thinking is expensive." --Roy Smith > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From john at cellspinsoft.com Sun Nov 4 19:22:19 2007 From: john at cellspinsoft.com (John Menerick) Date: Sun, 4 Nov 2007 10:22:19 -0800 Subject: [Baypiggies] hey guys, I think we've been hacked In-Reply-To: <20071104131432.GA29275@panix.com> References: <20071104131432.GA29275@panix.com> Message-ID: <3b9650f60711041022ga7ed3d7q278b38e690bbf46f@mail.gmail.com> I'm not sure where you got the idea of having a graphic-only CAPTCHA. I saw no mention of this. As for alternatives to graphic CAPTCHAs, there are far more simpler ways of doing the tests such as simple math, "4 plus 2 is " or other such reverse turing tests. John Menerick On 11/4/07, Aahz wrote: > On Sun, Nov 04, 2007, tpc247 at gmail.com wrote: > > > > Someone has been using the new Plone site to register numerous accounts on > > the BayPIGgies host and creating images that redirect users to site selling > > pharmaceuticals. I'm not sure what to do, but I think an alert and perhaps > > installation of CAPTCHA software is in order. > > I'm opposed to CAPTCHA, it breaks text-only browsing. There are plenty > of other options, including requiring the submission of a working email > address and using a text password that's buried in instructions for > creating an account. > -- > Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ > > "Typing is cheap. Thinking is expensive." --Roy Smith > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From hang.cheng at gmail.com Sun Nov 4 20:14:29 2007 From: hang.cheng at gmail.com (Hang Cheng) Date: Sun, 4 Nov 2007 11:14:29 -0800 Subject: [Baypiggies] hey guys, I think we've been hacked In-Reply-To: <3b9650f60711041022ga7ed3d7q278b38e690bbf46f@mail.gmail.com> References: <20071104131432.GA29275@panix.com> <3b9650f60711041022ga7ed3d7q278b38e690bbf46f@mail.gmail.com> Message-ID: <5c0b38e0711041114h22c23df9ica0112c6e1991e77@mail.gmail.com> You mean something like http://xkcd.com/233/ ? :-) On Nov 4, 2007 10:22 AM, John Menerick wrote: > I'm not sure where you got the idea of having a graphic-only CAPTCHA. > I saw no mention of this. > > As for alternatives to graphic CAPTCHAs, there are far more simpler > ways of doing the tests such as simple math, "4 plus 2 is " or other > such reverse turing tests. > > John Menerick > > > On 11/4/07, Aahz wrote: > > On Sun, Nov 04, 2007, tpc247 at gmail.com wrote: > > > > > > Someone has been using the new Plone site to register numerous > accounts on > > > the BayPIGgies host and creating images that redirect users to site > selling > > > pharmaceuticals. I'm not sure what to do, but I think an alert and > perhaps > > > installation of CAPTCHA software is in order. > > > > I'm opposed to CAPTCHA, it breaks text-only browsing. There are plenty > > of other options, including requiring the submission of a working email > > address and using a text password that's buried in instructions for > > creating an account. > > -- > > Aahz (aahz at pythoncraft.com) <*> > http://www.pythoncraft.com/ > > > > "Typing is cheap. Thinking is expensive." --Roy Smith > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > _______________________________________________ > 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: http://mail.python.org/pipermail/baypiggies/attachments/20071104/05437309/attachment.htm From shaleh at speakeasy.net Sun Nov 4 20:33:41 2007 From: shaleh at speakeasy.net (Sean Perry) Date: Sun, 4 Nov 2007 11:33:41 -0800 Subject: [Baypiggies] Recommendation for photo album In-Reply-To: <472CF138.8080504@seehart.com> References: <472CF138.8080504@seehart.com> Message-ID: Django is quite nice, but you will end up coding for yourself. There are some album projects from a few people to borrow ideas from. Since my server is in my house I never worries about the upload part. Wrote a Python script to import new images into the DB by reading their meta-data and then some django code to show them. Was not too hard, for the CSS and html goop is the annoying part. Making things work for IE and Safari is just no fun. On Nov 3, 2007, at 3:07 PM, Ken Seehart wrote: > What's the best tool for setting up a photo album? I have the > following > applications available: Zope, Plone, CherryPy, Django, Drupal, Pylons, > Rails, and TurboGears. I've been using Zope and Plone for most things > so far, but I don't mind expanding a little. > > I'm asking this here because I like the people and opinions of > BayPiggies, and I prefer a python bias in the answer to this question. > > The main features I need are: > > - Batch upload, or automatically use image files in the server > filesystem (I have lots of files, and I don't want to upload one at > a time). > > - Authenticated user should be able to conveniently edit captions > directly on the display page. > > - Authenticated user should be able to conveniently select multiple > images to move to a different page. > > - Fast learning curve. > > - Pretty gui bells and whistles are nice. > > Which tools are optimal for this kind of thing? > > Thanks, > Ken Seehart > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From aahz at pythoncraft.com Sun Nov 4 21:37:51 2007 From: aahz at pythoncraft.com (Aahz) Date: Sun, 4 Nov 2007 12:37:51 -0800 Subject: [Baypiggies] hey guys, I think we've been hacked In-Reply-To: <5c0b38e0711041114h22c23df9ica0112c6e1991e77@mail.gmail.com> References: <20071104131432.GA29275@panix.com> <3b9650f60711041022ga7ed3d7q278b38e690bbf46f@mail.gmail.com> <5c0b38e0711041114h22c23df9ica0112c6e1991e77@mail.gmail.com> Message-ID: <20071104203751.GA13051@panix.com> On Sun, Nov 04, 2007, Hang Cheng wrote: > > You mean something like http://xkcd.com/233/ ? :-) Heh. Reminds me of my favorite: http://xkcd.com/327/ -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith From spmcinerney at hotmail.com Sun Nov 4 21:50:05 2007 From: spmcinerney at hotmail.com (Stephen McInerney) Date: Sun, 4 Nov 2007 12:50:05 -0800 Subject: [Baypiggies] hey guys, I think we've been hacked In-Reply-To: <3b9650f60711040326n29c89c9dj1a883c020687eedb@mail.gmail.com> References: <3b9650f60711040326n29c89c9dj1a883c020687eedb@mail.gmail.com> Message-ID: I approve either doing: - captcha (graphical) or - wait for moderator approval and ask people to supply e.g. full name, zipcode. For this to work there would need to be ~4 active moderators (I do this on a list I moderate and it works perfectly.) Stephen _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook ? together at last. ?Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071104/7300207d/attachment.htm From ra at burningman.com Sun Nov 4 23:20:12 2007 From: ra at burningman.com (Rob Miller) Date: Sun, 04 Nov 2007 14:20:12 -0800 Subject: [Baypiggies] hey guys, I think we've been hacked In-Reply-To: <20071104131432.GA29275@panix.com> References: <20071104131432.GA29275@panix.com> Message-ID: Aahz wrote: > On Sun, Nov 04, 2007, tpc247 at gmail.com wrote: >> Someone has been using the new Plone site to register numerous accounts on >> the BayPIGgies host and creating images that redirect users to site selling >> pharmaceuticals. I'm not sure what to do, but I think an alert and perhaps >> installation of CAPTCHA software is in order. > > I'm opposed to CAPTCHA, it breaks text-only browsing. There are plenty > of other options, including requiring the submission of a working email > address and using a text password that's buried in instructions for > creating an account. plone (and other popular CMSy web apps) were targeted a while back by scripts that do this. recent plone releases default to requiring email confirmation to complete site registration. if this isn't already turned on, and this is acceptable to all of you, it should be trivial to change the setting. Anyone with 'Manager' privs can do so in the site settings (site properties control panel, IIRC). -r From aahz at pythoncraft.com Mon Nov 5 03:26:35 2007 From: aahz at pythoncraft.com (Aahz) Date: Sun, 4 Nov 2007 18:26:35 -0800 Subject: [Baypiggies] hey guys, I think we've been hacked In-Reply-To: References: <3b9650f60711040326n29c89c9dj1a883c020687eedb@mail.gmail.com> Message-ID: <20071105022635.GA28699@panix.com> On Sun, Nov 04, 2007, Stephen McInerney wrote: > > I approve either doing: > - captcha (graphical) > or > - wait for moderator approval and ask people to supply e.g. full name, > zipcode. For this to work there would need to be ~4 active moderators > (I do this on a list I moderate and it works perfectly.) As long as you don't define "full name" as first name and last name... -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith From mikeal at osafoundation.org Mon Nov 5 20:36:57 2007 From: mikeal at osafoundation.org (Mikeal Rogers) Date: Mon, 5 Nov 2007 11:36:57 -0800 Subject: [Baypiggies] Windmill IRC Sprint tomorrow Message-ID: <6F9D0B24-5533-4861-BEEA-D8D833458249@osafoundation.org> Hi all, We had some great users come and start using windmill and giving us some really good feedback after our talk last month. In the last 4 weeks we've pushed 6 bugfix releases in response to issues and bugs found in the community and tomorrow we're putting on an IRC Sprint all day for anyone who is interested in using windmill or for those already using it that have feedback, bugs, or issues you'd like help resolving. The windmill developers, and some of our most dedicated users, will be online in #windmill on irc.freenode.org from 10am to 5pm PST tomorrow, Tuesday November 6th 2007. Hope to see you there. -Mikeal From aahz at pythoncraft.com Wed Nov 7 00:18:21 2007 From: aahz at pythoncraft.com (Aahz) Date: Tue, 6 Nov 2007 15:18:21 -0800 Subject: [Baypiggies] Registration for November meeting? In-Reply-To: References: Message-ID: <20071106231821.GA10117@panix.com> On Tue, Nov 06, 2007, Darren Nelson wrote: > > I'd like to come to the meeting on Thursday. The info on > http://baypiggies.net/new/plone tells me to register at > http://wiki.python.org/moin/BayPiggiesGoogleMeetings, but the wiki > page has info about last month's meeting. Just come to the meeting if it's not clear. At worst you'll have to sign up there, which takes a minute. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith From charles.merriam at gmail.com Wed Nov 7 01:51:22 2007 From: charles.merriam at gmail.com (Charles Merriam) Date: Tue, 6 Nov 2007 16:51:22 -0800 Subject: [Baypiggies] Registration for November meeting? In-Reply-To: <20071106231821.GA10117@panix.com> References: <20071106231821.GA10117@panix.com> Message-ID: Is there a dinner plan this meeting? On 11/6/07, Aahz wrote: > On Tue, Nov 06, 2007, Darren Nelson wrote: > > > > I'd like to come to the meeting on Thursday. The info on > > http://baypiggies.net/new/plone tells me to register at > > http://wiki.python.org/moin/BayPiggiesGoogleMeetings, but the wiki > > page has info about last month's meeting. > > Just come to the meeting if it's not clear. At worst you'll have to > sign up there, which takes a minute. > -- > Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ > > "Typing is cheap. Thinking is expensive." --Roy Smith > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From ken at seehart.com Wed Nov 7 02:16:32 2007 From: ken at seehart.com (Ken Seehart) Date: Tue, 06 Nov 2007 17:16:32 -0800 Subject: [Baypiggies] Registration for November meeting? In-Reply-To: <20071106231821.GA10117@panix.com> References: <20071106231821.GA10117@panix.com> Message-ID: <473111F0.9060206@seehart.com> Aahz wrote: > On Tue, Nov 06, 2007, Darren Nelson wrote: > >> I'd like to come to the meeting on Thursday. The info on >> http://baypiggies.net/new/plone tells me to register at >> http://wiki.python.org/moin/BayPiggiesGoogleMeetings, but the wiki >> page has info about last month's meeting. >> > > Just come to the meeting if it's not clear. At worst you'll have to > sign up there, which takes a minute. > I've edited the sign-up wiki page to refer to November instead of October. But to be non-destructive, I left the October list intact at the bottom. Should I go ahead and delete the October list? Also does this still apply or is it at the usual place? """The October meeting will be held in Seville Tech Talk in Building 40. Please plan to pick up your badge/sign-in at Building 41 reception.""" Ken Seehart -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071106/316461b9/attachment.htm From jim at well.com Wed Nov 7 16:05:46 2007 From: jim at well.com (jim stockford) Date: Wed, 7 Nov 2007 07:05:46 -0800 Subject: [Baypiggies] Registration for November meeting? In-Reply-To: <473111F0.9060206@seehart.com> References: <20071106231821.GA10117@panix.com> <473111F0.9060206@seehart.com> Message-ID: i'd say blast away the october info. after all, there's no info for september or months previous. On Nov 6, 2007, at 5:16 PM, Ken Seehart wrote: > Aahz wrote:On Tue, Nov 06, 2007, Darren Nelson wrote: >> >>> I'd like to come to the meeting on Thursday. The info on >>> http://baypiggies.net/new/plone tells me to register at >>> http://wiki.python.org/moin/BayPiggiesGoogleMeetings, but the wiki >>> page has info about last month's meeting. >>> >> Just come to the meeting if it's not clear. At worst you'll have to >> sign up there, which takes a minute. >> > > > Also does this still apply or is it at the usual place? > ?? """The October meeting will be held in Seville Tech Talk in > Building 40.? Please plan to pick up your badge/sign-in at Building 41 > reception.""" > > Ken Seehart > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From annaraven at gmail.com Wed Nov 7 16:41:40 2007 From: annaraven at gmail.com (Anna Ravenscroft) Date: Wed, 7 Nov 2007 07:41:40 -0800 Subject: [Baypiggies] Registration for November meeting? In-Reply-To: References: <20071106231821.GA10117@panix.com> <473111F0.9060206@seehart.com> Message-ID: Where do we pick up our badges this time and what room will we be in? Leslie? On Nov 7, 2007 7:05 AM, jim stockford wrote: > > i'd say blast away the october info. after all, there's > no info for september or months previous. > > On Nov 6, 2007, at 5:16 PM, Ken Seehart wrote: > > > Aahz wrote:On Tue, Nov 06, 2007, Darren Nelson wrote: > >> > >>> I'd like to come to the meeting on Thursday. The info on > >>> http://baypiggies.net/new/plone tells me to register at > >>> http://wiki.python.org/moin/BayPiggiesGoogleMeetings, but the wiki > >>> page has info about last month's meeting. > >>> > >> Just come to the meeting if it's not clear. At worst you'll have to > >> sign up there, which takes a minute. > >> > > > > > > Also does this still apply or is it at the usual place? > > """The October meeting will be held in Seville Tech Talk in > > Building 40. Please plan to pick up your badge/sign-in at Building 41 > > reception.""" > > > > Ken Seehart > > > > > > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- cordially, Anna -- Walking through the water. Trying to get across. Just like everybody else. From mrbmahoney at gmail.com Wed Nov 7 07:11:09 2007 From: mrbmahoney at gmail.com (Brian Mahoney) Date: Tue, 6 Nov 2007 22:11:09 -0800 Subject: [Baypiggies] Dinner Announcement - Thursday, November 8, 6 pm Message-ID: <5538c19b0711062211g21d8e18emaf9f3c38a8187e2c@mail.gmail.com> For Thursday, November 8, I can coordinate a pre-meeting dinner in Mountain View, before the BayPIGgies meeting at Google . Restaurant reservations may be sent to my email until Thursday afternoon (earlier is better). We eat family-style, there are vegetarian and non-vegetarian dishes. Cost around $10 per person, including tax and tip. Bring cash, please. Start dinner at 6pm and I will keep things moving so that we finish and get everyone headed towards Google to complete sign-in before the 7:30 meeting start. The restaurant is Cafe Yulong in downtown Mountain View (650) 960-1677 743 W Dana Street, 1/2 block from Castro where Books, Inc is on the corner. Parking lots all around, but downtown Mountain View parking is still difficult. It is a slightly out of the ordinary Chinese restaurant. This link has a downtown map and additional information. http://www.mountainviewca.net/restaurants/cafeyulong.html I've made reservations under "Python" for 6pm Thursday. If you wish to join us for dinner please e-mail me by 3 pm Thursday (earlier is better) so I may confirm the headcount. From Dawn at adeptsource.com Wed Nov 7 17:30:33 2007 From: Dawn at adeptsource.com (Dawn West - AdeptSource Corporation) Date: Wed, 7 Nov 2007 09:30:33 -0700 Subject: [Baypiggies] Python Developer needed in downtown San Francisco Message-ID: <20071107162840.DHPA2804.fed1rmmtao102.cox.net@fed1rmimpo03.cox.net> Dear BayPIGgies Administrator, I am searching for a Python Developer in downtown San Francisco. Would it be possible to post my position in your user group newsletter? This is a perm full time employee position with a large media & entertainment company in Downtown San Francisco. A job description is below. Thanks much for your help. Best regards, Dawn West | AdeptSource | Direct: 602-315-1045 Recruiting Director | dawn at adeptsource.com Title: Information Systems Software Engineer (Python) Department: Information Systems Reports To: Director of Information Systems Summary: Our software engineers are responsible for architecting and developing all proprietary software accessing the Oracle database. The Python developers' focus is on artist and production related tools including systems such as: Asset Management, Production Tracking, Workflow Systems and Resource Management. Principal Duties and Responsibilities: ** Improves, develops, tests, maintains, and documents script libraries and large-scale applications for use by artists and productions at every Company Division. ** Develops and distributes new systems and scripts releases and maintains relevant versions and libraries; assists with and follows up on integration. ** Receives requests and changes from internal customers. Performs analysis, develops and integrates these changes into existing scripts and applications. ** Troubleshoots specific tools/applications issues with users and provides guidelines and assistance for all new development occurring outside the department. ** Contributes to the team by participating in code reviews, collaborating on new concepts and technologies, mentoring junior members, and remaining open to ideas and suggestions from peers. Education, Experience and Skills Required: ** Bachelor's degree in Computer Science or other technical degree with 4-6 years experience in a professional software development environment required. ** Demonstrated ability to serve as an effective contributor on mid to large scale development projects. ** Proficient in UNIX. ** Python experience required. Minimum 3 years of Python is preferred. ** Experience with Enterprise Application Development a plus. ** Experience with GUI Development preferred. ** Experience in a fast paced production environment a plus. ** SQL and database experience a must. ** Familiar with software development and Quality Assurance practices. ** Excellent communication and organization skills plus an enjoyment of meeting with people in a variety of positions throughout the company, and finding creative ways to solve their problems. ** Must be able to juggle multiple projects and shifting priorities with ease. Additional info: Local candidates preferred, but will assist in relocation for the right candidate. Must be US Citizen or green card holder. We are unable to sponsor visas at this time. Work location: In the Presidio in downtown San Francisco Compensation: Up to $115,000 plus an outstanding benefits package. Beautiful working environment. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071107/6931fdae/attachment-0001.htm From annaraven at gmail.com Wed Nov 7 18:47:15 2007 From: annaraven at gmail.com (Anna Ravenscroft) Date: Wed, 7 Nov 2007 09:47:15 -0800 Subject: [Baypiggies] baypiggies Message-ID: Where will the baypiggies meeting be held? What lobby should we check in at? -- cordially, Anna -- Walking through the water. Trying to get across. Just like everybody else. From jim at well.com Wed Nov 7 23:28:17 2007 From: jim at well.com (jim stockford) Date: Wed, 7 Nov 2007 14:28:17 -0800 Subject: [Baypiggies] baypiggies In-Reply-To: References: Message-ID: <9f529b9a332646ab3348b2444845e082@well.com> hi, i had tho't that leslie hawthorne was our nominal host for bayPIGgies at google and she would have the info for meeting accommodations. Has something changed that you know of? On Nov 7, 2007, at 9:47 AM, Anna Ravenscroft wrote: > Where will the baypiggies meeting be held? What lobby should we check > in at? > > -- > cordially, > Anna > -- > Walking through the water. Trying to get across. > Just like everybody else. > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From annaraven at gmail.com Thu Nov 8 00:15:15 2007 From: annaraven at gmail.com (Anna Ravenscroft) Date: Wed, 7 Nov 2007 15:15:15 -0800 Subject: [Baypiggies] baypiggies In-Reply-To: <597b9ed30711071502r2f85a16bs8737395989932688@mail.gmail.com> References: <9f529b9a332646ab3348b2444845e082@well.com> <597b9ed30711071502r2f85a16bs8737395989932688@mail.gmail.com> Message-ID: Okay - I've checked with Cat, since Leslie is out of town, and she has confirmed the room as Seville. Someone wanna update the website quick to avoid confusion? Anna -- Walking through the water. Trying to get across. Just like everybody else. From wescpy at gmail.com Thu Nov 8 00:34:21 2007 From: wescpy at gmail.com (wesley chun) Date: Wed, 7 Nov 2007 15:34:21 -0800 Subject: [Baypiggies] Python Developer needed in downtown San Francisco In-Reply-To: <20071107162840.DHPA2804.fed1rmmtao102.cox.net@fed1rmimpo03.cox.net> References: <20071107162840.DHPA2804.fed1rmmtao102.cox.net@fed1rmimpo03.cox.net> Message-ID: <78b3a9580711071534u5353cd8foc012d590a96c2624@mail.gmail.com> unfortunately, you are a recruiter, and such postings are not allowed. only hiring managers are allowed to post jobs to our members. for more info, check out our jobs policy at http://baypiggies.net/jobs.html -wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python Programming", Prentice Hall, (c)2007,2001 http://corepython.com wesley.j.chun :: wescpy-at-gmail.com python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com From echerlin at gmail.com Thu Nov 8 01:41:57 2007 From: echerlin at gmail.com (Edward Cherlin) Date: Wed, 7 Nov 2007 16:41:57 -0800 Subject: [Baypiggies] baypiggies In-Reply-To: References: <9f529b9a332646ab3348b2444845e082@well.com> <597b9ed30711071502r2f85a16bs8737395989932688@mail.gmail.com> Message-ID: On Nov 7, 2007 3:15 PM, Anna Ravenscroft wrote: > Okay - I've checked with Cat, since Leslie is out of town, and she has > confirmed the room as Seville. > > Someone wanna update the website quick Good idea. > to avoid confusion? Too late for that. Better put a sign at the other checkin point. See you tomorrow. > Anna > -- > Walking through the water. Trying to get across. > Just like everybody else. -- Edward Cherlin Earth Treasury: End Poverty at a Profit http://wiki.laptop.org/go/Earth_Treasury Sustainable MBA student Presidio School of Management From joseph at olscontrols.com Thu Nov 8 11:28:32 2007 From: joseph at olscontrols.com (Joseph Ols) Date: Thu, 8 Nov 2007 02:28:32 -0800 Subject: [Baypiggies] Needed: Python/Zope developer Message-ID: <011301c821f2$2081f850$6f02a8c0@toshibauser> Ols Controls www.olscontrols.com is looking for a Python/Zope developer who can help get a startup off the ground (Alpha partially installed, multiple others claim they want to be the first paying Beta). The application is a combination of a website, custom hardware, and Linux SBC enabling companies and homeowners inexpensively to control individual room temperatures via a web interface. This person(*) will write client-side Python embedded controller code, and create server-side feature rich Zope webpages working with a mySQL database. We are looking for a bright / skilled coder who understands Python/Zope and basics of HTML, Javascript & CSS, and how they work together to make for a good user experience. One who can jump into the middle of an existing project, and be/remain productive after a brief orientation. Required: - Python. Mid-level ability for server-side work, and more advanced Python for client-side coding - Zope. Solid experience with developing a Zope or Plone site in the past, for server-side work - HTML, Javascript, CSS. While design experience would be great, you are able to 'make it happen' when shown how the final output should look Preferred: - Graphics Design - Web User Interface design - Able to help manage other developers This is a tasked based position that can be done either on an hourly basis or project price. Work hours/schedule is flexible (moonlighting OK), but reasonable deadlines must be met. If this looks interesting, please send e-mail joseph at olscontrols.com, or call (408) 353-6564, or talk to me at the Nov 8 meeting at Google for more information & project specifics. Thank you. Joseph Ols (*) prefer one person, but open to multiple individuals if interested in client-side-only or server-side-only focus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071108/2517381d/attachment.htm From charles.merriam at gmail.com Fri Nov 9 08:44:23 2007 From: charles.merriam at gmail.com (Charles Merriam) Date: Thu, 8 Nov 2007 23:44:23 -0800 Subject: [Baypiggies] SVWebBuilder(Nov.10-11) Barcamp User Experience Unconference Message-ID: As mentioned in tonight's Random Access: Silicon Valley Web Builder presents: Barcamp & User Experience Unconference When: Nov 10-11 Sat 6pm to Sun 5pm Where: 48233 Warm Springs Blvd, Fremont CA 94539 Detail: http://www.barcamp.org/SvwbBarCamp **FREE** if pre-registered or $20 At the door http://svwbbarcamp.eventbrite.com Silicon Valley Web Builder (SVWB) invites you to spend a remarkable evening inside the Data Center building "The Matrix" at Hurricane Electric. We would like to make this unconference barcamp and Facebook Garage our End-of-Year party, Celebration, a fun social event as well. Facebook Developer Garage Silicon Valley When: Nov 10 Sat 6pm-12pm User Experience Barcamp When: Nov 10 & 11 Sat 6pm - Sun 5pm We will party and hack code on Sat night. Bring your camping chair and camping gears. No alcohol is allowed. (Just less than a mile from Milpitas and less than 3 miles from Fwy 237 Milptias Exit) From anseljh at stanford.edu Fri Nov 9 18:49:10 2007 From: anseljh at stanford.edu (Ansel Halliburton) Date: Fri, 9 Nov 2007 09:49:10 -0800 Subject: [Baypiggies] TurboGears 2 sprint tomorrow at Stanford Message-ID: My group at Stanford is hosting a TurboGears 2 development sprint this Saturday, starting at 10:30am. The details and sign-up are on the TurboGears wiki: http://docs.turbogears.org/SprintOrganization It's a great opportunity to help the Python web development community, and to meet Mark Ramm, the TG2 lead and co-author of the TG book. As Mark mentioned at Baypiggies last night, there is a lot collaboration happening *right now* between TurboGears and Pylons, so these are exciting times to be a Python web developer. Feel free to drop in at any point in the day, or join us on IRC (#turbogears on freenode). We hope to see you there! From alexander_hershfield at doctoroogle.com Fri Nov 9 21:03:46 2007 From: alexander_hershfield at doctoroogle.com (alexander_hershfield@dr-oogle.com) Date: Fri, 9 Nov 2007 12:03:46 -0800 Subject: [Baypiggies] Startup equity partner/co-founder Message-ID: <41ee14576b414488bd0abe35ec955581@doctoroogle.com> Hi all, I am looking for an equity partner/co-founder for a new start up. Most of the code is already in place or will be borrowed from an already existing functional project of mine, but there has been a change in direction, so new website code and python/C backend software must be written and then administered. Beyond writing the site code and the backend software, you will be involved in site administration, ongoing input in the company's business model and direction as well as web user support. I envision that this committment will initially require at least 25 hours a week from you. If you live in or around San Francisco and like to work late at nights this would be ideal. Your exact equity stake in the company will depend on your experience and committment level. I live in Palo Alto, but can easily come up to the city for a meeting. If you would like to be a co-founder in this start-up, please send me a quick email with your experience and present work situation. Thanks, Sasha. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071109/09af98ca/attachment.htm From davidoff56 at alluvialsw.com Mon Nov 12 05:33:18 2007 From: davidoff56 at alluvialsw.com (Monte Davidoff) Date: Sun, 11 Nov 2007 20:33:18 -0800 Subject: [Baypiggies] Synchronized in Python Message-ID: <4737D78E.1020801@alluvialsw.com> Stephen McInerney and I were talking after the last BayPIGgies meeting (Concurrency in Python) and thought it might be of help to post how to get the effect of the Java synchronized keyword in Python. (I arrived a little late, so perhaps this was mentioned before I got there.) This post is meant as a quick example, so the explanation is brief and I hope not too confusing. In Java, the synchronized keyword ensures that only one thread is executing a method or block at a time. To synchronize a block of code, you can use the with statement (new in Python 2.5) in conjunction with a lock from the threading module in the standard library: from __future__ import with_statement # Allocate a lock import threading lock = threading.RLock() How to synchronize a block of code: with lock: # critical section of code ... If you are not using Python 2.5, you can use try...finally instead of a with statement. The above "with lock" is equivalent to: lock.acquire() try: # critical section of code ... finally: lock.release() In the above examples, the lock is acquired before the critical section of code is entered. The lock is released when the critical section of code is complete, even if the critical section executes a return statement or raises an exception. To easily synchronize a function or method, you can use a decorator: def synchronized(L): def lock_around(f): def locked(*a, **k): with L: return f(*a, **k) locked.__name__ = f.__name__ locked.__doc__ = f.__doc__ return locked return lock_around (Decorator courtesy of Alex Martelli, http://www.aleax.it/Python/osc05_bla_dp.pdf, slide 14.) How to use the decorator to synchronize a function: @synchronized(lock) def my_synchronized_function(): # critical section of code ... How to synchronize a method: class C(object): @synchronized(lock) def my_synchronized_method(self): # critical section of code ... When writing multithreaded code, I found these idioms to be quite useful. Monte From aleax at google.com Mon Nov 12 19:09:21 2007 From: aleax at google.com (Alex Martelli) Date: Mon, 12 Nov 2007 10:09:21 -0800 Subject: [Baypiggies] Synchronized in Python In-Reply-To: <4737D78E.1020801@alluvialsw.com> References: <4737D78E.1020801@alluvialsw.com> Message-ID: <55dc209b0711121009j6064c637wd677434387c4fc2@mail.gmail.com> On Nov 11, 2007 8:33 PM, Monte Davidoff wrote: ... > def synchronized(L): > def lock_around(f): > def locked(*a, **k): > with L: > return f(*a, **k) > locked.__name__ = f.__name__ > locked.__doc__ = f.__doc__ > return locked > return lock_around > > (Decorator courtesy of Alex Martelli, > http://www.aleax.it/Python/osc05_bla_dp.pdf, slide 14.) Thanks for the credit, but a better approach today (rather than assigning __name__ etc) is to use functools.wraps (look it up!-). Alex From aahz at pythoncraft.com Tue Nov 13 14:58:25 2007 From: aahz at pythoncraft.com (Aahz) Date: Tue, 13 Nov 2007 05:58:25 -0800 Subject: [Baypiggies] REMINDER: PyCon proposal deadline Message-ID: <20071113135825.GA11935@panix.com> The deadline for submitting proposals for PyCon (both regular talks and tutorials) is Friday 11/16 -- get your proposals in now! ;-) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith From afife at untangle.com Tue Nov 13 22:46:13 2007 From: afife at untangle.com (Andrew Fife) Date: Tue, 13 Nov 2007 13:46:13 -0800 (PST) Subject: [Baypiggies] BALUG Meeting: ACCRC+Linux: Keeping CPUs From Landfills (Next Tuesday, Nov. 20th) Message-ID: <007001c8263e$8e60b730$8600000a@Untangle.local> The Bay Area Linux Users Group (BALUG) will be hosting a great talk by James Burgett of the Alameda County Computer Resource Center (ACCRC): 6:30pm - Next Tuesday November 20th, 2007 Four Seas Restaurant 731 Grant Ave. San Francisco, CA 94108 Parking: http://www.portsmouthsquaregarage.com/ RSVP at balug.org - Not required, but much appreciated! James Burgett's talk is loosely titled: "Free Software, The Environment, Social Welfare, and the Digital Divide" About the Alameda County Computer Resource Center: The Alameda County Computer Resource Center (ACCRC) is an electronics recycling & redistribution center. The ACCRC recycles unwanted electronics and computer equipment from the public with little or no recycling fees. The computer hardware is then refurbished, installed with GNU/Linux and distributed to schools, non-profit organizations and economically and/or physically disadvantaged individuals. Cost: The meeting is free, but dinner is $13 About BALUG: BALUG is lively gathering of Linux users & free software enthusiasts that combines great food, community & intimate access to featured speakers. We meet in the bar of the Four Seas Restaurant from 6:30pm. At 7pm, we share a family-style Chinese dinner, which is followed by our guest speaker. ---------------------------------------- Andrew Fife Untangle - Open Source Security Gateway download.untangle.com 650.425.3327 (O) 415.806.6028 (C) afife at untangle.com From carl at personnelware.com Wed Nov 14 15:58:42 2007 From: carl at personnelware.com (Carl Karsten) Date: Wed, 14 Nov 2007 08:58:42 -0600 Subject: [Baypiggies] call for PyCon talks - pass it on Message-ID: <473B0D22.5090405@personnelware.com> I know Aahz has been keeping ya'll informed about PyCon things. Please be sure to pass it on to other lists that are not so fortunate. Getting the word out to everyone that should hear it isn't going to happen, so every additional ear counts. So be the annoying uncle that forwards jokes and urban legends to everyone on his contact list. Hum the Monty Python Spam song and it will make you feel better. ======= Last few days to get in a talk proposal. If you are inspired to talk for 30 min or so: http://us.pycon.org/2008/conference/proposals/ Or if you want to go on for hours: "Tutorial presenters will receive $1000 per tutorial, plus free conference registration." http://us.pycon.org/2008/tutorials/proposals Please pass this on to anyone you know who might be interested, or who might pass this on. And post it to your favorite mail list. Kinda like those annoying chain letters, so sing the spam song - it will make you feel better. Thanks, Carl Karsten From craigfrazersmith at gmail.com Wed Nov 14 20:50:16 2007 From: craigfrazersmith at gmail.com (Craig Smith) Date: Wed, 14 Nov 2007 11:50:16 -0800 Subject: [Baypiggies] North Bay Pythonic Companies? In-Reply-To: <473B0D22.5090405@personnelware.com> References: <473B0D22.5090405@personnelware.com> Message-ID: <473B5178.2090803@gmail.com> Hi All: I'm looking for any advice you might have about North Bay companies that use Python. In a perfect world such companies would also be hiring, but that's not a critical point. If I lived in the south bay I'd be haunting the doors of VMWare, IronPort, Google and such like, but I live in far off Sonoma County, and am not quite up for a long commute. Yet. Thanks for your time. -Craig Smith About Me: I did QA and Professional Services at NeXT, programming at Autodesk, and all that and more at a startup you've never heard of for seven years. I'm a Joel-ist about software engineering (1), a Guido-ist about language design (2) and am most interested in problem spaces best served by Python. My most bankable acronyms are GIS, DBA, and WWW, but I?ve been paid to do a fair number of things that usually involved systems to move bits from here to there, transforming them along the way. (1) - I think the Joel Test is about the best description of software engineering as I've experienced it. There are many, many, other ways to write software. We had some nice people from NASA come and speak to one of my university courses and I'm certain they wouldn't recognize what I've done as "software engineering" but I've shipped bits on a disk in a box that I was proud of. Although none of those bits ever flew a space craft. (2) Best Baypiggies moment for me was in the basement at Ironport(2.1). Guido was giving a PyCon presentation and as an aside made a point very like his "Language Design is Not Just Solving Puzzles" post. It seemed a very, level headed, thing to say. (2.1) Scariest Baypiggies moment for me was at Stanford when Danny Yoo was giving an excellent talk about pyscheme. I was furiously scribbling notes about trampolining and such when someone from the audience piped up with, "You know, when *I* was implementing Lisp in Python I did it this way..." A number of people in the audience all nodded along because apparently everyone there had written a Lisp interpreter in Python. You know, for fun. Naturally I drove home and banged out a toy Cold Fusion --> Python translator, but still, scary moment. From amax at redsymbol.net Thu Nov 15 00:20:39 2007 From: amax at redsymbol.net (Aaron Maxwell) Date: Wed, 14 Nov 2007 15:20:39 -0800 Subject: [Baypiggies] North Bay Pythonic Companies? In-Reply-To: <473B5178.2090803@gmail.com> References: <473B0D22.5090405@personnelware.com> <473B5178.2090803@gmail.com> Message-ID: <200711141520.39795.amax@redsymbol.net> On Wednesday 14 November 2007 11:50:16 Craig Smith wrote: > I'm looking for any advice you might have about North Bay companies that > use Python. In a perfect world such companies would also be hiring, but > that's not a critical point. If I lived in the south bay I'd be haunting > the doors of VMWare, IronPort, Google and such like, but I live in far > off Sonoma County, and am not quite up for a long commute. Yet. > Thanks for your time. You're asking specifically about north bay companies, so this may not be what you want, but have you considered working remotely? Python devs are in demand enough that some companies are happy to work that way. (If I can plug my place, SnapLogic, in San Mateo: a lot of us do work remotely - we have engineers in Boston, New Zealand and elsewhere. Great place if, like me, you like the idea of being paid to write open source Python code, both for our product, and also contributing to other projects, like django, trac, buildbot, figleaf. If you're interested, contact me off list.) -- Aaron Maxwell - http://redsymbol.net Test Engineer, SnapLogic - http://snaplogic.org From glen.jarvis at homegain.com Fri Nov 16 01:16:18 2007 From: glen.jarvis at homegain.com (Glen Jarvis) Date: Thu, 15 Nov 2007 16:16:18 -0800 Subject: [Baypiggies] SciPy: Dates for next year? I wanna go :) Message-ID: <498A25D283DC184C88B42674F85DE457072D996F@ex1.homegain.com> I saw the SciPy conference on the website and was hoping there will be one next year. Planning vacation days are better with advanced warning. Can anyone tell me if the conference was successful, if there will be another one, and what any of the dates (or tentative dates) are for the next one...? SciPy 2007 - Conference for Scientific Computing The 6th annual SciPy Conference 's early registration ends July 15, 2007. The Conference will be held at Caltech in Pasadena, California the week of August 14-18. Cheers, Glen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071115/d62b838f/attachment.htm From millman at berkeley.edu Fri Nov 16 01:31:55 2007 From: millman at berkeley.edu (Jarrod Millman) Date: Thu, 15 Nov 2007 16:31:55 -0800 Subject: [Baypiggies] SciPy: Dates for next year? I wanna go :) In-Reply-To: <498A25D283DC184C88B42674F85DE457072D996F@ex1.homegain.com> References: <498A25D283DC184C88B42674F85DE457072D996F@ex1.homegain.com> Message-ID: On Nov 15, 2007 4:16 PM, Glen Jarvis wrote: > I saw the SciPy conference on the website and was hoping there will be one > next year. Planning vacation days are better with advanced warning. Can > anyone tell me if the conference was successful, if there will be another > one, and what any of the dates (or tentative dates) are for the next one...? Yes, there will be a SciPy 2008 Conference at CalTech during the summer. We haven't got the dates yet, but we will have them soon. I will make sure to announce the conference here as soon as the details are nailed down. -- Jarrod Millman Computational Infrastructure for Research Labs 10 Giannini Hall, UC Berkeley phone: 510.643.4014 http://cirl.berkeley.edu/ From rdm at cfcl.com Fri Nov 16 06:40:47 2007 From: rdm at cfcl.com (Rich Morin) Date: Thu, 15 Nov 2007 21:40:47 -0800 Subject: [Baypiggies] (Git) PeepCode & Pizza, Tuesday 12/4 Message-ID: Free Food! Free Movies! Free Software! Come watch the newly released PeepCode screencast on Git, Linus Torvalds' distributed source-code management system. The plan is to munch on pizza, then watch a PeepCode video, with occasional pauses for questions, etc. Reactrix uses Git extensively, so we can answer _some_ questions. We're also hoping that some helpful wizards may show up... This inaugural PeepCode & Pizza gathering is made possible by the generosity of PeepCode and Reactrix Systems. The meeting will be held at the Reactrix offices in Redwood City from 6-9 pm on Tuesday, December 4. About Git Git is a distributed source-code management system, written by Linus Torvalds and used since 2005 on the Linux kernel. In his fun, opinionated Tech Talk, Linus explains why fast, reliable, and (most of all) distributed SCM systems rock: http://www.youtube.com/watch?v=4XpnKHJAok8 Additional information on Git can be found at: http://en.wikipedia.org/wiki/Git_(software) http://git.or.cz/ About PeepCode and Reactrix Systems PeepCode (http://peepcode.com) produces economical, well- produced screencasts on technical topics (e.g., Capistrano, Git, httperf, Prototype.js, Rails, RJS, rSpec, TextMate). Reactrix develops and supports video-based interactive advertising devices. Generally, these are placed in malls, theaters, etc. We use a variety of Open Source technologies, including C++, Capistrano, Git, Linux, OpenGL, Perl, Rails, and Ruby. Yes, we're hiring! http://www.reactrix.com/ http://www.reactrix.com/index.php http://www.reactrix.com/careers.php When: Tuesday, December 4, 2007 6p - 7p chat, munch pizza, etc. Reactrix demo machines will be available. 7p - 9p watch a PeepCode screencast, with pauses for questions, discussion, etc. 9p - ?? retire (perhaps) to a local pub NOTE: RSVPs (rdm at cfcl.com) are greatly appreciated; help us to know how much pizza (and what kind) to order! Where: Reactrix Systems, Inc. 650-980-2700 301 Chesapeake Drive Redwood City, CA Map: http://tinyurl.com/27b22y Directions: http://www.reactrix.com/driving_directions.php -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development From lavendula6654 at yahoo.com Fri Nov 16 07:21:03 2007 From: lavendula6654 at yahoo.com (Elaine) Date: Thu, 15 Nov 2007 22:21:03 -0800 (PST) Subject: [Baypiggies] Guest in Python class at Foothill College Message-ID: <882472.92882.qm@web31714.mail.mud.yahoo.com> Would you be able to come talk to beginning Python students at Foothill College, Middlefield campus in Palo Alto? The students are working on a real world project and can really benefit from a guest from industry who can critique their work and answer questions about your career. You would not have to prepare anything, just a 10 minute phone conversation with me will bring you up to speed on their project and enable you to give the students good feedback when you watch their presentations. Then, you could just respond to their questions about Python and your career. The whole thing shouldn't take more than an hour. Here are the dates you could choose from: Wednesdays at Middlefield campus in Palo Alto 21 Nov, 6 pm design/architecural review 28 Nov, 6 pm code review 5 Dec, 6 pm code review 12 Dec, 6 pm code review Let me know as soon as possible if you are interested, and don't hesitate to ask me for more details. Thanks so much for considering this! -Elaine Haight faculty, CTIS haightElaine at foothill.edu ____________________________________________________________________________________ Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/ From aahz at pythoncraft.com Fri Nov 16 16:32:07 2007 From: aahz at pythoncraft.com (Aahz) Date: Fri, 16 Nov 2007 07:32:07 -0800 Subject: [Baypiggies] FWD: Extended: PyCon proposal deadline Message-ID: <20071116153207.GA29372@panix.com> ----- Forwarded message from David Goodger ----- > Date: Fri, 16 Nov 2007 00:53:58 -0500 > From: David Goodger > To: pycon-organizers at python.org > Subject: [PyCON-Organizers] Last chance for PyCon talk & tutorial proposals! > > Thanks to all the proposal authors so far, we have received lots of > proposals for PyCon talks & tutorials. But we'd like to have even > more. Alas, the proposal submission deadline should have been set > after a weekend, not before. So we have decided to extend the proposal > submission deadline to Monday, November 19 at midnight (Chicago > time). This gives you a *whole extra weekend* to write up your talk > and tutorial ideas! > > If you've been procrastinating, stop! Get started on a proposal > instead! > > See the call for conference talk proposals: > http://us.pycon.org/2008/conference/proposals/ > > Topic ideas: > http://wiki.python.org/moin/Talk_Subjects > http://wiki.python.org/moin/PyCon2007/Feedback#head-e2dca74d1492e49fae11550e6cbc40fa18a17f40 > > See the call for tutorial proposals > http://us.pycon.org/2008/tutorials/proposals/ > > Topic ideas from the PyCon 2007 feedback: > http://wiki.python.org/moin/PyCon2007/Feedback/TutorialIdeas > > I hope to see (and hear) you at PyCon 2008! > http://us.pycon.org > > -- David Goodger, PyCon 2008 Chair > ----- End forwarded message ----- -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith From carl at personnelware.com Tue Nov 13 16:47:50 2007 From: carl at personnelware.com (Carl Karsten) Date: Tue, 13 Nov 2007 09:47:50 -0600 Subject: [Baypiggies] PyCon looking for basic Python talks Message-ID: <4739C726.3000004@personnelware.com> Now is the time to submit a PyCon proposal, or three. I would really like to see various angles on general Python, both tutorials and talks (which should be scheduled first thing Friday. maybe even Thursday evening too. both for programmers and an "intro to programming tutorial" (tutorial so we can drop it if it isn't going to fly.) Maybe even stuff that into Wednesday for the django tutorial attendees that need to learn Python (common django support problem.) Here are some specifics. Basic Python - a subset of the core language elements. Cover the import command, but don't cover any modules. scope, lists vs tuple... that stuff, but don't cover lambda and other things that would make someones head explode. Python for Java programmers (Hello Mark!) Under the hood of Python - or what ever you want to call the interaction between = and __eq__() and all the other things listed here: http://docs.python.org/ref/customization.html Python's Dark Magic - the pros and cons of messing with __magic__() There are lots of programmers in Chicago that don't know Python, so many of them won't bother going to a python conference. Some will will come anyway and walk away still not knowing python. I don't expect anyone to make them an expert, but I think a quick run through of the basics can do a lot. If you have an idea, but don't think you can actually do a talk, add your idea to http://us.pycon.org/2008/conference/CorePython and maybe someone else will do the talk. If you are inspired to talk for 30 min or so: http://us.pycon.org/2008/conference/proposals/ Or if you want to go on for hours: "Tutorial presenters will receive $1000 per tutorial, plus free conference registration." http://us.pycon.org/2008/tutorials/proposals Please pass this on to anyone you know who might be interested, or who might pass this on. And post it to your favorite mail list. Kinda like those annoying chain letters, so sing the spam song - it will make you feel better. Carl Karsten From jjinux at gmail.com Sat Nov 17 09:55:34 2007 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Sat, 17 Nov 2007 00:55:34 -0800 Subject: [Baypiggies] North Bay Pythonic Companies? In-Reply-To: <473B5178.2090803@gmail.com> References: <473B0D22.5090405@personnelware.com> <473B5178.2090803@gmail.com> Message-ID: On Nov 14, 2007 11:50 AM, Craig Smith wrote: > Hi All: > > I'm looking for any advice you might have about North Bay companies that > use Python. There's O'Reilly. > In a perfect world such companies would also be hiring, but > that's not a critical point. If I lived in the south bay I'd be haunting > the doors of VMWare, IronPort, Google and such like, but I live in far > off Sonoma County, and am not quite up for a long commute. Yet. > Thanks for your time. Ask "Ben Bangert" . > -Craig Smith > > About Me: I did QA and Professional Services at NeXT, programming at > Autodesk, and all that and more at a startup you've never heard of for > seven years. I'm a Joel-ist about software engineering (1), a Guido-ist > about language design (2) and am most interested in problem spaces best > served by Python. My most bankable acronyms are GIS, DBA, and WWW, but > I've been paid to do a fair number of things that usually involved > systems to move bits from here to there, transforming them along the way. > > (1) - I think the Joel Test is about the best description of software > engineering as I've experienced it. There are many, many, other ways to > write software. We had some nice people from NASA come and speak to one > of my university courses and I'm certain they wouldn't recognize what > I've done as "software engineering" but I've shipped bits on a disk in a > box that I was proud of. Although none of those bits ever flew a space > craft. > > (2) Best Baypiggies moment for me was in the basement at Ironport(2.1). Ah, those were the days ;) > Guido was giving a PyCon presentation and as an aside made a point very > like his "Language Design is Not Just Solving Puzzles" post. It seemed a > very, level headed, thing to say. > > (2.1) Scariest Baypiggies moment for me was at Stanford when Danny Yoo Ah, those were the days too ;) > was giving an excellent talk about pyscheme. I was furiously scribbling > notes about trampolining and such when someone from the audience piped > up with, "You know, when *I* was implementing Lisp in Python I did it > this way..." Hey, wait, that was me! :-D Everyone should take a crack at writing some subset of Lisp is his career. If you follow the "Write Yourself a Scheme in 48 Hours" tutorial http://halogen.note.amherst.edu/~jdtang/scheme_in_48/tutorial/overview.html, you'll get a chance to write Scheme in Haskell, which is like a two-for-one. It's actually not that bad if you just take your time and follow the instructions. Just don't try to do the exercise; they aren't for mere mortals (or at least, I found them impossible). > A number of people in the audience all nodded along because > apparently everyone there had written a Lisp interpreter in Python. You > know, for fun. Naturally I drove home and banged out a toy Cold Fusion > --> Python translator, but still, scary moment. Nice ;) Happy Hacking! -jj -- I, for one, welcome our new Facebook overlords! http://jjinux.blogspot.com/ From lavendula6654 at yahoo.com Sun Nov 18 23:43:52 2007 From: lavendula6654 at yahoo.com (Elaine) Date: Sun, 18 Nov 2007 14:43:52 -0800 (PST) Subject: [Baypiggies] Guest in Python class at Foothill College In-Reply-To: <20071118002726.7bf03d94@tinker.homenetwork> Message-ID: <353063.26750.qm@web31706.mail.mud.yahoo.com> Sorry to send to the whole list, but Keith's mail is bouncing and I need to get hold of him. Keith, Is there some way I can get in touch with you? This address bounces: keith at dartworks.biz I would very much appreciate an alternate email address. -Elaine Haight haightElaine at foothill.edu --- Keith Dart wrote: > On Thu, 15 Nov 2007 22:21:03 -0800 (PST) > Elaine wrote: > > > Would you be able to come talk to beginning > > Python students at Foothill College, Middlefield > > campus in Palo Alto? The students are working on a > > real world project and can really benefit from a > guest > > from industry who can critique their work and > answer > > questions about your career. > > Are you talking to me? ;-) > > I can do this, if you want. Thanks. I have 8+ years > full-time Python > programming in industry (start-ups, and now at > Google). > > > > -- > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Keith Dart > public key: ID: 19017044 > > > ===================================================================== > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs From charles.merriam at gmail.com Tue Nov 20 11:04:10 2007 From: charles.merriam at gmail.com (Charles Merriam) Date: Tue, 20 Nov 2007 02:04:10 -0800 Subject: [Baypiggies] Meeting Suggestions? Message-ID: Do we have a BayPiggies meeting for December? I could give a whirlwind talk that I proposed for PyCon. I'll need to know two weeks in advance. Charles ---------------------------------------- Summary ------- Many times the right answer is just finding the right library, tool, or internal Python concept. This whirlwind talk will give a one to two minute overview of about twenty Python buzzwords. Topics include metaclasses, name managling, PEPs, Django, TurboGears, Zope, PyPy, DB API, and others. For technical managers, this overview will provide the broad base necessary to direct engineers to explore new topics. Description ----------- This talk is appropriate to all levels of Python programmers and managers. 00:00 Introduction 01:00 Python Internals * List contexts * Modules and Self deleting module routines * Object Lifecycle and tricks * Metaclasses * Iterators and Generators * Decorators * Class Hooks * Multiple Inheritance * Unicode * Python 3000 12:00 Python Libraries * DB API * Alternate Database Packages * PIL (Python Imaging Library) * JSON and XML with Python * Python as an date description language 22:00 Larger Python Packages * PyGame for 2D Game programming * Soya for 3D Game programing * Django for WebApps * TurboGears for WebApps * Django versus TurboGears * Zope for Content Management From aahz at pythoncraft.com Tue Nov 20 16:15:34 2007 From: aahz at pythoncraft.com (Aahz) Date: Tue, 20 Nov 2007 07:15:34 -0800 Subject: [Baypiggies] Meeting Suggestions? In-Reply-To: References: Message-ID: <20071120151534.GA7345@panix.com> On Tue, Nov 20, 2007, Charles Merriam wrote: > > Do we have a BayPiggies meeting for December? Yes! > I could give a whirlwind talk that I proposed for PyCon. I'll need > to know two weeks in advance. I'd previously offered to do my threads talk, but practicing for PyCon gets priority IMO. OTOH, I can do my talk in thirty minutes and you'll need to do your talk in thirty minutes, so we could theoretically do both. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith From jjinux at gmail.com Thu Nov 22 11:30:22 2007 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Thu, 22 Nov 2007 02:30:22 -0800 Subject: [Baypiggies] Meeting Suggestions? In-Reply-To: References: Message-ID: On Nov 20, 2007 2:04 AM, Charles Merriam wrote: > Do we have a BayPiggies meeting for December? > > I could give a whirlwind talk that I proposed for PyCon. I'll need > to know two weeks in advance. > > Charles > ---------------------------------------- > > Summary > ------- > > Many times the right answer is just finding the right library, tool, > or internal Python concept. This whirlwind talk will give a one to > two minute overview of about twenty Python buzzwords. Topics include > metaclasses, name managling, PEPs, Django, TurboGears, Zope, PyPy, DB > API, and others. For technical managers, this overview will provide > the broad base necessary to direct engineers to explore new topics. > > > Description > ----------- > > This talk is appropriate to all levels of Python programmers and managers. > > 00:00 Introduction > > 01:00 Python Internals > > * List contexts > * Modules and Self deleting module routines > * Object Lifecycle and tricks > * Metaclasses > * Iterators and Generators > * Decorators > * Class Hooks > * Multiple Inheritance > * Unicode > * Python 3000 > > 12:00 Python Libraries > > * DB API > * Alternate Database Packages > * PIL (Python Imaging Library) > * JSON and XML with Python > * Python as an date description language > > 22:00 Larger Python Packages > > * PyGame for 2D Game programming > * Soya for 3D Game programing > * Django for WebApps > * TurboGears for WebApps > * Django versus TurboGears > * Zope for Content Management +1! -- I, for one, welcome our new Facebook overlords! http://jjinux.blogspot.com/ From mikeal at osafoundation.org Fri Nov 23 19:22:27 2007 From: mikeal at osafoundation.org (Mikeal Rogers) Date: Fri, 23 Nov 2007 10:22:27 -0800 Subject: [Baypiggies] Meeting Suggestions? In-Reply-To: References: Message-ID: +1 On Nov 22, 2007, at November 22, 20072:30 AM, Shannon -jj Behrens wrote: > On Nov 20, 2007 2:04 AM, Charles Merriam > wrote: >> Do we have a BayPiggies meeting for December? >> >> I could give a whirlwind talk that I proposed for PyCon. I'll need >> to know two weeks in advance. >> >> Charles >> ---------------------------------------- >> >> Summary >> ------- >> >> Many times the right answer is just finding the right library, tool, >> or internal Python concept. This whirlwind talk will give a one to >> two minute overview of about twenty Python buzzwords. Topics include >> metaclasses, name managling, PEPs, Django, TurboGears, Zope, PyPy, DB >> API, and others. For technical managers, this overview will provide >> the broad base necessary to direct engineers to explore new topics. >> >> >> Description >> ----------- >> >> This talk is appropriate to all levels of Python programmers and >> managers. >> >> 00:00 Introduction >> >> 01:00 Python Internals >> >> * List contexts >> * Modules and Self deleting module routines >> * Object Lifecycle and tricks >> * Metaclasses >> * Iterators and Generators >> * Decorators >> * Class Hooks >> * Multiple Inheritance >> * Unicode >> * Python 3000 >> >> 12:00 Python Libraries >> >> * DB API >> * Alternate Database Packages >> * PIL (Python Imaging Library) >> * JSON and XML with Python >> * Python as an date description language >> >> 22:00 Larger Python Packages >> >> * PyGame for 2D Game programming >> * Soya for 3D Game programing >> * Django for WebApps >> * TurboGears for WebApps >> * Django versus TurboGears >> * Zope for Content Management From jim at well.com Fri Nov 23 19:36:43 2007 From: jim at well.com (jim stockford) Date: Fri, 23 Nov 2007 10:36:43 -0800 Subject: [Baypiggies] Meeting Suggestions? In-Reply-To: References: Message-ID: <19f194b94245e96423bd05424757d437@well.com> charles is our speaker for thursday, december 13, from 7:30 PM to 9:00 PM at google. I'll put out the normal announcement in a few days. jim On Nov 23, 2007, at 10:22 AM, Mikeal Rogers wrote: > +1 > > On Nov 22, 2007, at November 22, 20072:30 AM, Shannon -jj Behrens > wrote: > >> On Nov 20, 2007 2:04 AM, Charles Merriam >> wrote: >>> Do we have a BayPiggies meeting for December? >>> >>> I could give a whirlwind talk that I proposed for PyCon. I'll need >>> to know two weeks in advance. >>> >>> Charles >>> ---------------------------------------- >>> >>> Summary >>> ------- >>> >>> Many times the right answer is just finding the right library, tool, >>> or internal Python concept. This whirlwind talk will give a one to >>> two minute overview of about twenty Python buzzwords. Topics include >>> metaclasses, name managling, PEPs, Django, TurboGears, Zope, PyPy, DB >>> API, and others. For technical managers, this overview will provide >>> the broad base necessary to direct engineers to explore new topics. >>> >>> >>> Description >>> ----------- >>> >>> This talk is appropriate to all levels of Python programmers and >>> managers. >>> >>> 00:00 Introduction >>> >>> 01:00 Python Internals >>> >>> * List contexts >>> * Modules and Self deleting module routines >>> * Object Lifecycle and tricks >>> * Metaclasses >>> * Iterators and Generators >>> * Decorators >>> * Class Hooks >>> * Multiple Inheritance >>> * Unicode >>> * Python 3000 >>> >>> 12:00 Python Libraries >>> >>> * DB API >>> * Alternate Database Packages >>> * PIL (Python Imaging Library) >>> * JSON and XML with Python >>> * Python as an date description language >>> >>> 22:00 Larger Python Packages >>> >>> * PyGame for 2D Game programming >>> * Soya for 3D Game programing >>> * Django for WebApps >>> * TurboGears for WebApps >>> * Django versus TurboGears >>> * Zope for Content Management > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From aldenm at gmail.com Sat Nov 24 00:04:10 2007 From: aldenm at gmail.com (Alden Meneses) Date: Fri, 23 Nov 2007 15:04:10 -0800 Subject: [Baypiggies] Help with code Message-ID: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> Hello All, I am playing with python to work read some text files and help me gather some data. I have some further reading to do and was hoping some of you can help point me in the right direction. This is what I have so far. f = open('H:\xxxx\xxxx\xxxx\9-7-07') #File is a report that summarizes each account by account group and service area then has the details for each account and Totals before the next group of accounts. edit = ["GRP", "AREA", "CHARGES"] ptype = "NULL" area = "NULL" for line in f: if line[:12] == 'ACCOUNT GROUP': ptype = line[16:] # The account group starts on the 16th character of the line elif line[:11] == 'SERVICE AREA': area = line[11:] # The service area starts on the 11th character of the line elif line(-1) == 'F' and line(1) != ' ': edit.append(ptype,area,line[56:66]) # I wanted to append the edit stack with the variables collected above. f.close() print edit I get this error message - Traceback (most recent call last): File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript exec codeObject in __main__.__dict__ File "C:\Documents and Settings\menesea\My Documents\scripts\readfile.py", line 11, in elif line(-1) == 'F' and line(1) != ' ': TypeError: 'str' object is not callable Thanks in advance, Alden -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071123/e68ab048/attachment.htm From andywiggin at gmail.com Sat Nov 24 00:16:00 2007 From: andywiggin at gmail.com (Andy Wiggin) Date: Fri, 23 Nov 2007 15:16:00 -0800 Subject: [Baypiggies] Help with code In-Reply-To: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> References: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> Message-ID: <74e7428a0711231516h26984b2ey9a6235f82f78dc7d@mail.gmail.com> in "elif line(-1) == 'F' and line(1) != ' ':", it looks like you need [], not () for subscripting the string. -andy On Nov 23, 2007 3:04 PM, Alden Meneses wrote: > Hello All, > > I am playing with python to work read some text files and help me gather > some data. I have some further reading to do and was hoping some of you can > help point me in the right direction. This is what I have so far. > > > f = open('H:\xxxx\xxxx\xxxx\9-7-07') > #File is a report that summarizes each account by account group and service > area then has the details for each account and Totals before the next group > of accounts. > edit = ["GRP", "AREA", "CHARGES"] > ptype = "NULL" > area = "NULL" > for line in f: > if line[:12] == 'ACCOUNT GROUP': > ptype = line[16:] # The account > group starts on the 16th character of the line > elif line[:11] == 'SERVICE AREA': > area = line[11:] # The service > area starts on the 11th character of the line > elif line(-1) == 'F' and line(1) != ' ': > edit.append(ptype,area,line[56:66]) # I wanted to append the > edit stack with the variables collected above. > f.close() > print edit > > > I get this error message - > > Traceback (most recent call last): > File > "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", > line 310, in RunScript > exec codeObject in __main__.__dict__ > File "C:\Documents and Settings\menesea\My Documents\scripts\readfile.py", > line 11, in > elif line(-1) == 'F' and line(1) != ' ': > TypeError: 'str' object is not callable > > > Thanks in advance, > Alden > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From shiqiyang at shiqiyang.com Sat Nov 24 00:12:28 2007 From: shiqiyang at shiqiyang.com (Shiqi Yang) Date: Fri, 23 Nov 2007 15:12:28 -0800 Subject: [Baypiggies] Help with code In-Reply-To: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> References: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> Message-ID: <000f01c82e26$55fc1d40$01f457c0$@com> Hi, I'm not an expert, but seems changing the line(-1) to line[-1] and line(1) to line[1] in your code would help in some sense. Shiqi From: baypiggies-bounces at python.org [mailto:baypiggies-bounces at python.org] On Behalf Of Alden Meneses Sent: Friday, November 23, 2007 3:04 PM To: baypiggies at python.org Subject: [Baypiggies] Help with code Hello All, I am playing with python to work read some text files and help me gather some data. I have some further reading to do and was hoping some of you can help point me in the right direction. This is what I have so far. f = open('H:\xxxx\xxxx\xxxx\9-7-07') #File is a report that summarizes each account by account group and service area then has the details for each account and Totals before the next group of accounts. edit = ["GRP", "AREA", "CHARGES"] ptype = "NULL" area = "NULL" for line in f: if line[:12] == 'ACCOUNT GROUP': ptype = line[16:] # The account group starts on the 16th character of the line elif line[:11] == 'SERVICE AREA': area = line[11:] # The service area starts on the 11th character of the line elif line(-1) == 'F' and line(1) != ' ': edit.append(ptype,area,line[56:66]) # I wanted to append the edit stack with the variables collected above. f.close() print edit I get this error message - Traceback (most recent call last): File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript exec codeObject in __main__.__dict__ File "C:\Documents and Settings\menesea\My Documents\scripts\readfile.py", line 11, in elif line(-1) == 'F' and line(1) != ' ': TypeError: 'str' object is not callable Thanks in advance, Alden -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071123/ea322c7b/attachment.htm From drewp at bigasterisk.com Sat Nov 24 02:50:25 2007 From: drewp at bigasterisk.com (Drew Perttula) Date: Fri, 23 Nov 2007 17:50:25 -0800 Subject: [Baypiggies] Help with code In-Reply-To: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> References: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> Message-ID: <47478361.2030202@bigasterisk.com> Alden Meneses wrote: > f = open('H:\xxxx\xxxx\xxxx\9-7-07') > #File is a report that summarizes each account by account group and > service area then has the details for each account and Totals before the > next group of accounts. > edit = ["GRP", "AREA", "CHARGES"] > ptype = "NULL" > area = "NULL" > for line in f: > if line[:12] == 'ACCOUNT GROUP': > ptype = line[16:] # The > account group starts on the 16th character of the line > elif line[:11] == 'SERVICE AREA': > area = line[11:] # > The service area starts on the 11th character of the line > elif line(-1) == 'F' and line(1) != ' ': > edit.append(ptype,area,line[56:66]) # I wanted to append > the edit stack with the variables collected above. > f.close() > print edit The others are correct about line[-1], but in some of these cases you could use string methods: if line.startswith('ACCOUNT GROUP'): ... elif line.startswith('SERVICE AREA'): ... elif line.endswith('F') # less important str.startswith is easier to read and maintain, since it's got an english name and you don't have to count the length of your test string. Then, edit.append takes only one argument. I'd guess you wanted to make a list of 3-tuples: edit = [("GRP", "AREA", "CHARGES")] # len-1 list of one tuple ... edit.append((ptype, area, line[56:66])) # append one item to list Your last line is probably just for testing, but you should be aware of the pretty-printing library: from pprint import pprint ... pprint(edit) [('GRP', 'AREA', 'CHARGES'), ('piggies', 'bay', '$99.99'), ('drew', 'bay', '$10.00')] From max at theslimmers.net Sat Nov 24 04:33:34 2007 From: max at theslimmers.net (Max Slimmer) Date: Fri, 23 Nov 2007 19:33:34 -0800 Subject: [Baypiggies] Help with code In-Reply-To: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> Message-ID: <200711240333.lAO3XbjB032686@b.mail.sonic.net> elif line(-1) == 'F' and line(1) != ' ': you need to use [] vs () to subscript into line. as the message says line is not callable. line[-1] is the last char in line and line[1] is the second char in line. max _____ From: baypiggies-bounces at python.org [mailto:baypiggies-bounces at python.org] On Behalf Of Alden Meneses Sent: Friday, November 23, 2007 3:04 PM To: baypiggies at python.org Subject: [Baypiggies] Help with code Hello All, I am playing with python to work read some text files and help me gather some data. I have some further reading to do and was hoping some of you can help point me in the right direction. This is what I have so far. f = open('H:\xxxx\xxxx\xxxx\9-7-07') #File is a report that summarizes each account by account group and service area then has the details for each account and Totals before the next group of accounts. edit = ["GRP", "AREA", "CHARGES"] ptype = "NULL" area = "NULL" for line in f: if line[:12] == 'ACCOUNT GROUP': ptype = line[16:] # The account group starts on the 16th character of the line elif line[:11] == 'SERVICE AREA': area = line[11:] # The service area starts on the 11th character of the line elif line(-1) == 'F' and line(1) != ' ': edit.append(ptype,area,line[56:66]) # I wanted to append the edit stack with the variables collected above. f.close() print edit I get this error message - Traceback (most recent call last): File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript exec codeObject in __main__.__dict__ File "C:\Documents and Settings\menesea\My Documents\scripts\readfile.py", line 11, in elif line(-1) == 'F' and line(1) != ' ': TypeError: 'str' object is not callable Thanks in advance, Alden -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071123/3282c3b2/attachment.htm From rdm at cfcl.com Sun Nov 25 16:41:17 2007 From: rdm at cfcl.com (Rich Morin) Date: Sun, 25 Nov 2007 07:41:17 -0800 Subject: [Baypiggies] BASS Meeting (SF), Wed. November 28 Message-ID: Thanksgiving leftovers starting to get boring? Join us for some tasty Chinese food and scintillating talk... The Beer and Scripting SIG rides again! If you'd like to eat good Chinese food, chat with other local scripters, and possibly take a look at laptop-demoed scripting hacks, this is the place to do it! For your convenience, here are the critical details: Date: Wednesday, November 28, 2007 (4th. Wed.) Time: 8:00 pm Place: Wild Pepper 3601 26th St. (near San Jose Ave.) San Francisco, CA, USA 415/695-767[89] See the BASS web page for more information: http://cfcl.com/rdm/bass/ -r P.S. Mark your calendar for the inaugural PeepCode & Pizza gathering (Tuesday, 12/4 in Redwood City). We'll be watching and discussing the Git screencast; for more information, see http://ruby.meetup.com/123/ -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development From aahz at pythoncraft.com Sun Nov 25 17:47:49 2007 From: aahz at pythoncraft.com (Aahz) Date: Sun, 25 Nov 2007 08:47:49 -0800 Subject: [Baypiggies] Synchronized in Python In-Reply-To: <4737D78E.1020801@alluvialsw.com> References: <4737D78E.1020801@alluvialsw.com> Message-ID: <20071125164749.GA7821@panix.com> On Sun, Nov 11, 2007, Monte Davidoff wrote: > > Stephen McInerney and I were talking after the last BayPIGgies meeting > (Concurrency in Python) and thought it might be of help to post how to > get the effect of the Java synchronized keyword in Python. (I arrived a > little late, so perhaps this was mentioned before I got there.) This > post is meant as a quick example, so the explanation is brief and I hope > not too confusing. In Java, the synchronized keyword ensures that only > one thread is executing a method or block at a time. Generally speaking, my recommendation is that you ensure that only one thread has access to an object at any time. It's much simpler. Just use a queue to pass objects between threads. You can find examples in my thread tutorial slides. Another heavy-weight option is to allow only one thread at a time to access attributes or methods within a class. I don't have example code handy, but you override __getattribute__ to do the locking, roughly the same way that Monte describes for individual sections. It gets a bit tricky with methods, and I think you may need to use a metaclass to get it right. (IOW, I recommend against this approach, but I mention it in case someone finds it useful.) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith From donnamsnow at gmail.com Mon Nov 26 19:05:09 2007 From: donnamsnow at gmail.com (Donna Snow) Date: Mon, 26 Nov 2007 10:05:09 -0800 Subject: [Baypiggies] temporary help needed Message-ID: Hi, (I posted this to plone-users but wanted to see if anyone local is interested in helping with this project.. we are looking for a third person to help on occasional projects so this is a good opportunity for someone who has background in zope/plone to get to know us and establish an ongoing relationship with our company.. ) We need someone who just happens to be in between projects and can spare a week or two helping us to get caught up on an intranet project we inherited. Need someone who can be brought up to speed quickly... is comfy in Zope/Plone (2.5.3) and a good python coder with some experience in z3..we won't have time to "teach you" and you need to be able to look at the code .. and figure out what it's doing.... documentation is better than it was.. but it's still not as good as it could be... .. we need someone who can help with development on an application and help squash bugs... (you also need to be able to setup vpn on your machine to log into the dev environment and must be comfortable with svn) Someone who can take over an application (product)..finish it and debug it OR Someone who can go through an elementool bug tracker and start squashing bugs AND/OR Someone who has strong templating/css skills to help with some of the form layout work on these applications... we could also use someone with some strong Mochi Kit (javascript) knowledge for some javascript debugging on one of the apps If your rate is higher than $50 an hour.. we can't afford you :-( (wish we could) but we'll consider you for projects in the future... I'd like to get someone started ASAP.. (so we can bring you up to speed.) Please submit your resume and hourly.. and your availability (offlist please) to donna at csquaredtech.com No calls please C Squared Enterprises illuminating your path to Open Source http://www.csquaredtech.com imagination | innovation | brilliance Business 408.385.1812 Fax 408.649.5543 From aldenm at gmail.com Mon Nov 26 20:34:45 2007 From: aldenm at gmail.com (Alden Meneses) Date: Mon, 26 Nov 2007 11:34:45 -0800 Subject: [Baypiggies] Help with code In-Reply-To: <47478361.2030202@bigasterisk.com> References: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> <47478361.2030202@bigasterisk.com> Message-ID: <221610dc0711261134r6cee2bafm7f1b9a3ac0a7d212@mail.gmail.com> Thank you to everyone for your comments and for the extra eyeballs on this line of code..... elif line(-1) == 'F' and line(1) != ' ': I blame that on stuffing myself with turkey. :) Got a new question - How do you convert text to integer? I want to sum charges by group and area? Thanks in advance, Alden On 11/23/07, Drew Perttula wrote: > > Alden Meneses wrote: > > f = open('H:\xxxx\xxxx\xxxx\9-7-07') > > #File is a report that summarizes each account by account group and > > service area then has the details for each account and Totals before the > > next group of accounts. > > edit = ["GRP", "AREA", "CHARGES"] > > ptype = "NULL" > > area = "NULL" > > for line in f: > > if line[:12] == 'ACCOUNT GROUP': > > ptype = line[16:] # The > > account group starts on the 16th character of the line > > elif line[:11] == 'SERVICE AREA': > > area = line[11:] # > > The service area starts on the 11th character of the line > > elif line(-1) == 'F' and line(1) != ' ': > > edit.append(ptype,area,line[56:66]) # I wanted to append > > the edit stack with the variables collected above. > > f.close() > > print edit > > The others are correct about line[-1], but in some of these cases you > could use string methods: > > if line.startswith('ACCOUNT GROUP'): > ... > elif line.startswith('SERVICE AREA'): > ... > elif line.endswith('F') # less important > > str.startswith is easier to read and maintain, since it's got an english > name and you don't have to count the length of your test string. > > > > Then, edit.append takes only one argument. I'd guess you wanted to make > a list of 3-tuples: > > edit = [("GRP", "AREA", "CHARGES")] # len-1 list of one tuple > ... > edit.append((ptype, area, line[56:66])) # append one item to list > > > > > Your last line is probably just for testing, but you should be aware of > the pretty-printing library: > > from pprint import pprint > ... > pprint(edit) > > [('GRP', 'AREA', 'CHARGES'), > ('piggies', 'bay', '$99.99'), > ('drew', 'bay', '$10.00')] > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/baypiggies/attachments/20071126/245600ce/attachment.htm From bgutierrez at gmail.com Mon Nov 26 21:00:11 2007 From: bgutierrez at gmail.com (Ben Gutierrez) Date: Mon, 26 Nov 2007 12:00:11 -0800 Subject: [Baypiggies] Help with code In-Reply-To: <221610dc0711261134r6cee2bafm7f1b9a3ac0a7d212@mail.gmail.com> References: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> <47478361.2030202@bigasterisk.com> <221610dc0711261134r6cee2bafm7f1b9a3ac0a7d212@mail.gmail.com> Message-ID: <49f20c660711261200t3153d949u5bc45e018a6d93f9@mail.gmail.com> Hey Alden, Use the int function. E.g., int('4'). If you're not confident that all the strings are actual numbers, you'll need to catch exceptions: try: value = int(some_string) except ValueError: value = 0 Later! Ben On Nov 26, 2007 11:34 AM, Alden Meneses wrote: > Thank you to everyone for your comments and for the extra eyeballs on this > line of code..... > > > elif line(-1) == 'F' and line(1) != ' ': > > I blame that on stuffing myself with turkey. :) > > Got a new question - How do you convert text to integer? I want to sum > charges by group and area? > > Thanks in advance, > > Alden > > > > > > > On 11/23/07, Drew Perttula wrote: > > Alden Meneses wrote: > > > f = open('H:\xxxx\xxxx\xxxx\9-7-07') > > > #File is a report that summarizes each account by account group and > > > service area then has the details for each account and Totals before the > > > next group of accounts. > > > edit = ["GRP", "AREA", "CHARGES"] > > > ptype = "NULL" > > > area = "NULL" > > > for line in f: > > > if line[:12] == 'ACCOUNT GROUP': > > > ptype = line[16:] # The > > > account group starts on the 16th character of the line > > > elif line[:11] == 'SERVICE AREA': > > > area = line[11:] # > > > The service area starts on the 11th character of the line > > > elif line(-1) == 'F' and line(1) != ' ': > > > edit.append(ptype,area,line[56:66]) # I wanted to append > > > the edit stack with the variables collected above. > > > f.close() > > > print edit > > > > The others are correct about line[-1], but in some of these cases you > > could use string methods: > > > > if line.startswith('ACCOUNT GROUP'): > > ... > > elif line.startswith('SERVICE AREA'): > > ... > > elif line.endswith('F') # less important > > > > str.startswith is easier to read and maintain, since it's got an english > > name and you don't have to count the length of your test string. > > > > > > > > Then, edit.append takes only one argument. I'd guess you wanted to make > > a list of 3-tuples: > > > > edit = [("GRP", "AREA", "CHARGES")] # len-1 list of one tuple > > ... > > edit.append((ptype, area, line[56:66])) # append one item to list > > > > > > > > > > Your last line is probably just for testing, but you should be aware of > > the pretty-printing library: > > > > from pprint import pprint > > ... > > pprint(edit) > > > > [('GRP', 'AREA', 'CHARGES'), > > ('piggies', 'bay', '$99.99'), > > ('drew', 'bay', '$10.00')] > > > > > > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From aldenm at gmail.com Tue Nov 27 20:08:16 2007 From: aldenm at gmail.com (Alden Meneses) Date: Tue, 27 Nov 2007 11:08:16 -0800 Subject: [Baypiggies] Help with code In-Reply-To: <49f20c660711261200t3153d949u5bc45e018a6d93f9@mail.gmail.com> References: <221610dc0711231504q30004ca0p5e617c1f353bb390@mail.gmail.com> <47478361.2030202@bigasterisk.com> <221610dc0711261134r6cee2bafm7f1b9a3ac0a7d212@mail.gmail.com> <49f20c660711261200t3153d949u5bc45e018a6d93f9@mail.gmail.com> Message-ID: <221610dc0711271108i6c0557abrc0931b1f963ec764@mail.gmail.com> Thanks Ben. Yeah. I tried that and thought I was doing something wrong. My problem was I was iterating the float or the integer which python didn't like. On 11/26/07, Ben Gutierrez wrote: > > Hey Alden, > > Use the int function. E.g., int('4'). > > If you're not confident that all the strings are actual numbers, > you'll need to catch exceptions: > > try: > value = int(some_string) > except ValueError: > value = 0 > > Later! > > Ben > > On Nov 26, 2007 11:34 AM, Alden Meneses wrote: > > Thank you to everyone for your comments and for the extra eyeballs on > this > > line of code..... > > > > > > elif line(-1) == 'F' and line(1) != ' ': > > > > I blame that on stuffing myself with turkey. :) > > > > Got a new question - How do you convert text to integer? I want to sum > > charges by group and area? > > > > Thanks in advance, > > > > Alden > > > > > > > > > > > > > > On 11/23/07, Drew Perttula wrote: > > > Alden Meneses wrote: > > > > f = open('H:\xxxx\xxxx\xxxx\9-7-07') > > > > #File is a report that summarizes each account by account group and > > > > service area then has the details for each account and Totals before > the > > > > next group of accounts. > > > > edit = ["GRP", "AREA", "CHARGES"] > > > > ptype = "NULL" > > > > area = "NULL" > > > > for line in f: > > > > if line[:12] == 'ACCOUNT GROUP': > > > > ptype = line[16:] # The > > > > account group starts on the 16th character of the line > > > > elif line[:11] == 'SERVICE AREA': > > > > area = line[11:] # > > > > The service area starts on the 11th character of the line > > > > elif line(-1) == 'F' and line(1) != ' ': > > > > edit.append(ptype,area,line[56:66]) # I wanted to > append > > > > the edit stack with the variables collected above. > > > > f.close() > > > > print edit > > > > > > The others are correct about line[-1], but in some of these cases you > > > could use string methods: > > > > > > if line.startswith('ACCOUNT GROUP'): > > > ... > > > elif line.startswith('SERVICE AREA'): > > > ... > > > elif line.endswith('F') # less important > > > > > > str.startswith is easier to read and maintain, since it's got an > english > > > name and you don't have to count the length of your test string. > > > > > > > > > > > > Then, edit.append takes only one argument. I'd guess you wanted to > make > > > a list of 3-tuples: > > > > > > edit = [("GRP", "AREA", "CHARGES")] # len-1 list of one tuple > > > ... > > > edit.append((ptype, area, line[56:66])) # append one item to list > > > > > > > > > > > > > > > Your last line is probably just for testing, but you should be aware > of > > > the pretty-printing library: > > > > > > from pprint import pprint > > > ... > > > pprint(edit) > > > > > > [('GRP', 'AREA', 'CHARGES'), > > > ('piggies', 'bay', '$99.99'), > > > ('drew', 'bay', '$10.00')] > > > > > > > > > > > > > > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > _______________________________________________ > 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: http://mail.python.org/pipermail/baypiggies/attachments/20071127/86b893d1/attachment.htm From lavendula6654 at yahoo.com Fri Nov 30 08:28:44 2007 From: lavendula6654 at yahoo.com (Elaine) Date: Thu, 29 Nov 2007 23:28:44 -0800 (PST) Subject: [Baypiggies] Ruby on Rails course at Foothill College Message-ID: <378660.91850.qm@web31707.mail.mud.yahoo.com> If you would like to get an introduction to web application development with Ruby on Rails, Foothill College in Los Altos Hills, CA is offering a course starting Tues. evening, January 8th, 2008, at 6pm. The course is designed for students who are already familiar with web application development using tools such as Perl or PHP. Here is the course description: COIN 67 RUBY ON RAILS - WEB APPLICATION DEVELOPMENT 5 Units Introduction to web application development with Ruby on Rails. Students learn how to create database-driven web applications using the Ruby language and the Rails framework. Fours hours lecture, four hours laboratory. Advisories: Prior programming experience and CIS 52A or database experience. Please preregister for Winter quarter by going to: http://www.foothill.fhda.edu/reg/index.php ____________________________________________________________________________________ Get easy, one-click access to your favorites. Make Yahoo! your homepage. http://www.yahoo.com/r/hs