From slander at unworkable.org Fri Jan 1 02:53:50 2010 From: slander at unworkable.org (Harry Tormey) Date: Thu, 31 Dec 2009 17:53:50 -0800 Subject: [Baypiggies] PyGameSF meetup Tuesday January 12th 6pm @ Stong Main San Francisco Public Library Message-ID: <20100101015350.GB2741@unworkable.org> Hi All, Just writing to say the January PyGameSF meet up will be at the STONG conference room on the first floor of the main San Francisco public library beside civic center BART. The library closes at 8pm so we will reconvene to frjtz on hayes street for dinner/drinks afterwords. This months presentations are: -Tim Thompson: the NthControl. For musical and visual performers, new touchscreen netbooks (Asus T91MT) and USB-connected touchscreens (Mimo 720-S) can augment the ubiquitous slider/knob/button box by providing a completely software-driven interface that avoids the bulk and distraction of a laptop interface. Tim has been experimenting in this area and will share his experience so far, including a demonstration of a python-based display/controller (NthControl) he is developing for upcoming musical/visual performances. -Casey Duncan: Grease. Introducing Grease, a new open-source game engine for developing 2D games in Python. Grease is an component-based entity system with support for data-driven game development. Grease is designed from the ground-up for simplicity, rapid development and high-performance. It is intended to be fully interoperable with both pygame and pyglet, providing pluggable services for sprite and vector rendering, post-processing effects, physics, particle effects, event-driven logic scripting and eventually network support. Grease is in the early stages of development, Casey hopes to get input on the design and architecture, as well as encourage folks to contribute so they can use it for their own projects. PyGame SF is an informal group meet up in San Francisco for Software engineers interested in python, OpenGL, audio, pygame, SDL, programming and generally anything to do with multimedia development. The format of our meetings typically involve several people giving presentations on projects they are developing followed by group discussion and feedback. If anyone else would like to give a micro presentation, show demos or just talk about what they are doing or generally give examples of any relevant software they are working on please feel free to head along To subscribe to the pygamesf mailing list simply email pygame-sf+subscribe at unworkable.org -- Harry Tormey Co Founder P2P Research http://p2presearch.com Founder PyGameSF http://pygamesf.org Software Engineer Digidesign http://digidesign.com From aahz at pythoncraft.com Fri Jan 1 04:29:54 2010 From: aahz at pythoncraft.com (Aahz) Date: Thu, 31 Dec 2009 19:29:54 -0800 Subject: [Baypiggies] FWD: She's Geeky invite for women Message-ID: <20100101032954.GA1045@panix.com> Forgot to forward this earlier: ----- Forwarded message from Steve Holden ----- Date: Thu, 10 Dec 2009 05:42:53 -0500 From: Steve Holden To: diversity Subject: [Diversity] [Fwd: [Foundations] She's Geeky invite for women] Maybe of interest to the members of this list. regards Steve -------- Original Message -------- Subject: [Foundations] She's Geeky invite for women Date: Thu, 10 Dec 2009 01:06:28 -0800 From: Kaliya To: foundations at lists.freedesktop.org So one of the issues that has been circulating in the tech world for some time has been the issue of women (and other diversity) along with the challenge of how to address it. 2 years ago I founded a women's technology unconference to support women sharing and learning from one another with the ultimate goal of helping those women who are geeky feeling more confident in their geekiness to actually come out and express themselves more often in mixed settings. We are having our 3rd Bay Area event at the end of January and I wanted to extend an invitation to all the women on this foundations list to attend. Unfortunately this event is for women only - we have thought a lot about this choice and why we made it - it is decidedly not about be being "anti-male" and mostly about creating a safe space for women who have been shy to express themselves. If this makes you feel uncomfortable you can read more about this nuance and what we are about here. http://www.shesgeeky.org/about Please consider passing this along to your over all FLOSS communities or just women you know who participate - knowing about it and attending it could make a big difference for women in your communities. Thanks, -Kaliya *She?s Geeky: Connecting Women in Tech* Returning to the Bay Area January 29, 30 & 31, 2010 @ the Computer History Museum in Mountain View */She's Geeky is just 7 weeks away! /* */Early Bird Tickets are available for just 2 more weeks until December 20th. /* http://shesgeekybayarea3.eventbrite.com/ www.shesgeeky. org *This event is for:* * Women Working in Science, Technology, Engineering and Mathematic Fields. * Women into their gadgets and SciFi Fan?s. * Women students of the sciences, those training to be engineers, aspiring mathematicians and technology professions. * Women who are kernel hackers and all those who aspire to deepen their geekiness by learning how to code the php on their blogs. * Daughters, Nieces and mentees of all of the above * Women who are retired used to work in tech related fields. *What happens?* * All the women who attend are invited to create the agenda live the day of the event. * Women can present/share about their area of professional expertise. * Women learn from one another. * Women discuss critical issues affecting them in the digital age. * Women talk about work place and community issues they face. * Women are inspired to follow their passion and believe in their own abilities. * Women find connections and support for their work and vision. *About The Format* She?s Geeky is an unConference (http://www.unconference.net/ ) where the agenda is created by all participants live the day the event happens. This format supports peer to peer learning, dialogue about the issues that are top of mind and networking. In this women?s only environment attendees have the opportunity to see their contribution to their field in a new light and gain confidence to step forward in their lives and careers. Click here (http://shesgeeky.org/sg/2009/11/twitter-highlights-from-shes-geeky-dc/ ) for a dip into the Twitter Stream from the November 13 & 14, 2009, sold out, Washington, DC She?s Geeky Event to get a sense of the experience from those who attended! Or to read answers to the end of day question: ?As a result of today?? click here . (http://www.shesgeeky.org/wiki/Sg2009dc:Results ) *About She's Geeky* She?s Geeky convenes to inspire women for the future, providing a gathering space to create enduring communities that foster collaboration and innovation, while promoting initiative and leadership among women tech professionals. Beginning with its resoundingly successful 2007 unConference in Silicon Valley, She?s Geeky attracts women from a broad spectrum of technological specialties, diverse social groups, generations, and levels of expertise. The inclusive quality of She?s Geeky events promotes discussion, furthers cooperation, and encourages learning. She?s Geeky advances systemic change in tech culture by disseminating effective practices to address the challenges of women working in Science, Technology, Engineering and Mathematics. She?s Geeky isn?t a ?women in tech group? and we don?t have chapters around the country. We are an unConference event that works to connect and promote existing tech groups. Currently we work with DevChix, LinuxChix, Women 2.0, Women Who Tech, Digital Sistas, Girl Geek Dinners, Gaming Angels, the Anita Borg Institute for Women in Technology. *We hope you will join us! * * * If you want to post about the event you can find graphics here along with a PDF flyer. http://shesgeeky.org/sg/graphics/ If you have questions we can be reached via info at shesgeeky.org You can find us on Twitter at - http://www.twitter.com/shesgeeky Our website is http://www.shesgeeky.org -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ UPCOMING EVENTS: http://holdenweb.eventbrite.com/ ----- End forwarded message ----- -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. From aahz at pythoncraft.com Fri Jan 1 09:37:32 2010 From: aahz at pythoncraft.com (Aahz) Date: Fri, 1 Jan 2010 00:37:32 -0800 Subject: [Baypiggies] Happy New Decade! Message-ID: <20100101083731.GA27285@panix.com> From cappy2112 at gmail.com Fri Jan 1 11:00:58 2010 From: cappy2112 at gmail.com (Tony Cappellini) Date: Fri, 1 Jan 2010 02:00:58 -0800 Subject: [Baypiggies] Dave Beazely's Coroutines presentation from Pycon 09 Message-ID: <8249c4ac1001010200v5960b78nf9b4a6d0d399cd51@mail.gmail.com> Does anyone know what happened between Part 1 & Part 2 of Dave's presentation? Part 1 ends around slide 51, Part2 begins at slide 109. http://blip.tv/file/1995823 -------------- next part -------------- An HTML attachment was scrubbed... URL: From badri.act at gmail.com Fri Jan 1 12:14:17 2010 From: badri.act at gmail.com (BADRI NARAYANAN) Date: Fri, 1 Jan 2010 16:44:17 +0530 Subject: [Baypiggies] Happy New Decade! In-Reply-To: <20100101083731.GA27285@panix.com> References: <20100101083731.GA27285@panix.com> Message-ID: <26d886911001010314v7041e45bwcbb58d067b9fdafe@mail.gmail.com> Hello all, Happy new year! On Fri, Jan 1, 2010 at 2:07 PM, Aahz wrote: > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Best Regards, BADRI NARAYANAN.K. If at first you don't succeed, call it VERSION 1.0! -------------- next part -------------- An HTML attachment was scrubbed... URL: From daryl.spitzer at gmail.com Fri Jan 1 15:24:05 2010 From: daryl.spitzer at gmail.com (Daryl Spitzer) Date: Fri, 1 Jan 2010 06:24:05 -0800 Subject: [Baypiggies] Dave Beazely's Coroutines presentation from Pycon 09 In-Reply-To: <8249c4ac1001010200v5960b78nf9b4a6d0d399cd51@mail.gmail.com> References: <8249c4ac1001010200v5960b78nf9b4a6d0d399cd51@mail.gmail.com> Message-ID: The slides (and code samples) are at: http://www.dabeaz.com/coroutines/. Cosmin, it looks like part of this video has gone missing. Do you know who might be able to help us with that? -- Daryl On Fri, Jan 1, 2010 at 2:00 AM, Tony Cappellini wrote: > > Does anyone know what happened between Part 1 & Part 2 of Dave's > presentation? > Part 1 ends around slide 51, Part2 begins at slide 109. > > http://blip.tv/file/1995823 > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From jjinux at gmail.com Sat Jan 2 06:27:41 2010 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Fri, 1 Jan 2010 21:27:41 -0800 Subject: [Baypiggies] new moderator of BayPiggies Message-ID: I'm having a harder and harder time keeping up with email these days, so I've asked Simeon to take over as moderator of BayPiggies. He's friendly, level-headed, and competent. I think he'll do a great job. If you have any objections to this move, please contact me privately. Best Regards, -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From craigfrazersmith at gmail.com Sat Jan 2 20:38:42 2010 From: craigfrazersmith at gmail.com (Craig Smith) Date: Sat, 2 Jan 2010 11:38:42 -0800 Subject: [Baypiggies] new moderator of BayPiggies In-Reply-To: References: Message-ID: JJ: Thanks for all the work you've put in helping keep this list the interesting place it is. -Craig Smith. On Fri, Jan 1, 2010 at 9:27 PM, Shannon -jj Behrens wrote: > I'm having a harder and harder time keeping up with email these days, > so I've asked Simeon to take over as moderator of BayPiggies. ?He's > friendly, level-headed, and competent. ?I think he'll do a great job. > > If you have any objections to this move, please contact me privately. > > Best Regards, > -jj > > -- > In this life we cannot do great things. We can only do small things > with great love. -- Mother Teresa > http://jjinux.blogspot.com/ > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From eric at ericwalstad.com Sat Jan 2 21:15:13 2010 From: eric at ericwalstad.com (Eric Walstad) Date: Sat, 2 Jan 2010 12:15:13 -0800 Subject: [Baypiggies] new moderator of BayPiggies In-Reply-To: References: Message-ID: Hi JJ, On Fri, Jan 1, 2010 at 9:27 PM, Shannon -jj Behrens wrote: > I'm having a harder and harder time keeping up with email these days, > so I've asked Simeon to take over as moderator of BayPiggies. ?He's > friendly, level-headed, and competent. ?I think he'll do a great job. Thanks for your work moderating the BayPiggies list over the last 2 years, 49 weeks, 11 hours and 54 minutes[0]. It's been interesting watching so much change with this group: from new meeting venues to forking the mailing list to new folks joining, interesting perspectives and topics of conversation. I've appreciated how you've handled the list through all these changes. Thanks, too, to Simeon for taking over as moderator. Eric. [0] http://thread.gmane.org/gmane.comp.python.org.baypiggies/1937 From eric at ericwalstad.com Sat Jan 2 21:25:04 2010 From: eric at ericwalstad.com (Eric Walstad) Date: Sat, 2 Jan 2010 12:25:04 -0800 Subject: [Baypiggies] Website problem Message-ID: ...wherefore art thou, Zope? ewalstad at asu:~$ curl -i http://www.baypiggies.net/ HTTP/1.1 502 Bad Gateway Date: Sat, 02 Jan 2010 20:20:54 GMT Content-Length: 232 Content-Type: text/html; charset=iso-8859-1 502 Bad Gateway

Bad Gateway

The proxy server received an invalid response from an upstream server.

From bdbaddog at gmail.com Sat Jan 2 22:22:11 2010 From: bdbaddog at gmail.com (William Deegan) Date: Sat, 2 Jan 2010 13:22:11 -0800 Subject: [Baypiggies] Website problem In-Reply-To: References: Message-ID: <8540148a1001021322i3fef0f20h58ed76ad38d7e07e@mail.gmail.com> Fixed. -Bill On Sat, Jan 2, 2010 at 12:25 PM, Eric Walstad wrote: > ...wherefore art thou, Zope? > > ewalstad at asu:~$ curl -i http://www.baypiggies.net/ > HTTP/1.1 502 Bad Gateway > Date: Sat, 02 Jan 2010 20:20:54 GMT > Content-Length: 232 > Content-Type: text/html; charset=iso-8859-1 > > > > 502 Bad Gateway > >

Bad Gateway

>

The proxy server received an invalid > response from an upstream server.
>

> > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From jjinux at gmail.com Sun Jan 3 10:56:45 2010 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Sun, 3 Jan 2010 01:56:45 -0800 Subject: [Baypiggies] new moderator of BayPiggies In-Reply-To: References: Message-ID: On Sat, Jan 2, 2010 at 12:15 PM, Eric Walstad wrote: > Hi JJ, > > On Fri, Jan 1, 2010 at 9:27 PM, Shannon -jj Behrens wrote: > > I'm having a harder and harder time keeping up with email these days, > > so I've asked Simeon to take over as moderator of BayPiggies. ?He's > > friendly, level-headed, and competent. ?I think he'll do a great job. > Thanks for your work moderating the BayPiggies list over the last 2 > years, 49 weeks, 11 hours and 54 minutes[0]. ?It's been interesting > watching so much change with this group: from new meeting venues to > forking the mailing list to new folks joining, interesting > perspectives and topics of conversation. ?I've appreciated how you've > handled the list through all these changes. ?Thanks, too, to Simeon > for taking over as moderator. > > Eric. > [0] http://thread.gmane.org/gmane.comp.python.org.baypiggies/1937 Thanks, guys ;) -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From p at ulmcnett.com Sun Jan 3 18:51:09 2010 From: p at ulmcnett.com (Paul McNett) Date: Sun, 03 Jan 2010 09:51:09 -0800 Subject: [Baypiggies] new moderator of BayPiggies In-Reply-To: References: Message-ID: <4B40D90D.1090108@ulmcnett.com> Eric Walstad wrote: > forking the mailing list to new folks joining, interesting The mailing list was forked? Paul From eric at ericwalstad.com Mon Jan 4 07:46:39 2010 From: eric at ericwalstad.com (Eric Walstad) Date: Sun, 3 Jan 2010 22:46:39 -0800 Subject: [Baypiggies] new moderator of BayPiggies In-Reply-To: <4B40D90D.1090108@ulmcnett.com> References: <4B40D90D.1090108@ulmcnett.com> Message-ID: On Sun, Jan 3, 2010 at 9:51 AM, Paul McNett

wrote: > The mailing list was forked? Yes, PyOP http://thread.gmane.org/gmane.comp.python.org.baypiggies/2314 From aahz at pythoncraft.com Mon Jan 4 16:55:32 2010 From: aahz at pythoncraft.com (Aahz) Date: Mon, 4 Jan 2010 07:55:32 -0800 Subject: [Baypiggies] new moderator of BayPiggies In-Reply-To: References: <4B40D90D.1090108@ulmcnett.com> Message-ID: <20100104155531.GA28842@panix.com> On Sun, Jan 03, 2010, Eric Walstad wrote: > On Sun, Jan 3, 2010 at 9:51 AM, Paul McNett

wrote: >> >> The mailing list was forked? > > Yes, PyOP > http://thread.gmane.org/gmane.comp.python.org.baypiggies/2314 Hard to call that "forking" when the other list is essentially moribund. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. From aahz at pythoncraft.com Tue Jan 5 18:04:57 2010 From: aahz at pythoncraft.com (Aahz) Date: Tue, 5 Jan 2010 09:04:57 -0800 Subject: [Baypiggies] FWD: PyCon early-bird ends TOMORROW (Jan 6) Message-ID: <20100105170457.GA9742@panix.com> ----- Forwarded message from Catherine Devlin ----- > Date: Tue, 5 Jan 2010 10:02:16 -0500 > Subject: PyCon early-bird ends TOMORROW (Jan 6) > From: Catherine Devlin > To: python-announce-list at python.org > Reply-To: python-list at python.org > Newsgroups: comp.lang.python.announce > > PyCon early-bird registration discounts end TOMORROW, Jan. 6. > > The time for raw panic has arrived. Run into the nearest open public > place. Wave your arms in the air, tear your hair, and scream wildly. > Sobbing hysterically is a nice touch. > > Or, if all that sounds too tiring for you, just stop by > http://us.pycon.org/2010/registration/ and register. > > After tomorrow, rates will go from wonderfully-cheap $450/300/400 > (corporate/individual/student) to still-pretty-darn-cheap $600/350/225. > > Remind your friends! See you in Atlanta! > -- > - Catherine > http://catherinedevlin.blogspot.com/ > *** PyCon * Feb 17-25, 2010 * Atlanta, GA * us.pycon.org *** > ----- End forwarded message ----- -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ Weinberg's Second Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. From simeonf at gmail.com Wed Jan 6 01:23:00 2010 From: simeonf at gmail.com (Simeon Franklin) Date: Tue, 5 Jan 2010 16:23:00 -0800 Subject: [Baypiggies] If we had time... Face memory game app In-Reply-To: References: Message-ID: On Sat, Dec 26, 2009 at 6:50 PM, Eric Walstad wrote: > Nice work, Simeon. > Eric. > > Thanks Eric - In case anybody tried to check this out over the holidays and was unable to see it - my new dedicated server (<1 Month old) chose Christmas night to start rebooting randomly and eventually died (Both a bad stick of RAM and a bad SATA connector on a hard drive according to my hosting company). At any rate I spent my holiday time rebuilding my server from backups and my domain had quite a bit of downtime. Everything is back up now, however, so check it out if you missed it before. I'll refresh the pictures from gravatar in a few days and then quit messing with it so if you wanted your mugshot on the board now's the time... -regards Simeon Franklin -------------- next part -------------- An HTML attachment was scrubbed... URL: From gracelaw at mac.com Tue Jan 5 23:07:24 2010 From: gracelaw at mac.com (Grace Law) Date: Tue, 05 Jan 2010 14:07:24 -0800 Subject: [Baypiggies] Noah Gift talks about Writing a RESTful web service in Pylons on Jan 13 at sfpython meetup Message-ID: <9448020A-EBAA-4E9B-B3D4-BDA7CAB6E740@mac.com> Hi there, Thought I should post Noah Gift's talk to bay piggies as well - Happy new year and hope to see you there - Grace ------ Announcing a new Meetup for San Francisco Python Meetup Group! What: Writing a RESTful web service in Pylons by Noah Gift When: January 13, 2010 6:30 PM Where: Slide 301 Brannan Street San Francisco, CA 94107 Happy New Year! Hope you have all enjoyed the nice holiday break. We are starting off 2010 with another well accomplished speaker. Noah Gift is currently the Senior Technical Director at ImageMovers Digital working on Python software development for Film Pipelines. Prior to that, he has worked on Python development projects as diverse as writing an SNMP auto-discovery system, writing a Content Management System from scratch, creating a large scale Web 2.0/Social Networking Application in Django for Turner Studios, writing iPhone applications that talk to Google App Engine... He is also credited to producing animated films such as Chicken Little , and Surf's Up earlier on in his career. Noah is also the co-author of Python For Unix and Linux System Administration by O'Reilly. He writes for publications such as IBM Developerworks, Red Hat Magazine, O'Reilly, and MacTech, and Manning, and is currently working on a book on Google App Engine. Noah has graciously accepted our invitation to speak at our group. He plans to use real life examples in the film industry and talk about about writing a RESTful web service in Pylons. Stay tune for a more detailed abstract of the talk. Meanwhile, please RSVP here. If you RSVP and cannot attend, please be kind and change your RSVP to allow other members on wait list to attend. Agenda- 6:30p - 7:00p Check-in, Pizza and Networking 7:00p - 8:30p Main talk / Q&A 9:15 / 9:30p Door close and move the after-hour party to 21st Amendment About Slide's office: 2.5 blocks from Cal Train Easy parking along 2nd street and Brannan Thanks and look forward to meeting you - Grace Learn more here: http://www.meetup.com/sfpython/calendar/12232104/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From wescpy at gmail.com Wed Jan 6 19:10:02 2010 From: wescpy at gmail.com (wesley chun) Date: Wed, 6 Jan 2010 10:10:02 -0800 Subject: [Baypiggies] PyCon Reminders Message-ID: <78b3a9581001061010k79018643h748e62d52dfad538@mail.gmail.com> if you're not going to PyCon in Atlanta next month, click [DELETE]. final reminder that today is the LAST DAY of earlybird registration. rates go up tomorrow. http://us.pycon.org also, i'd like to fwd the below thread from another mailing list where someone attempted to book their stay at the Hyatt in Atlanta for PyCon. repeating what doug says down below, the hyatt is NOT sold out. do NOT go to hyatt directly but book through the conference housing bureau. cheers, -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python Programming", Prentice Hall, (c)2007,2001 "Python Fundamentals", Prentice Hall, (c)2009 http://corepython.com wesley.j.chun :: wescpy-at-gmail.com python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com On Wed, Jan 6, 2010 at 4:42 AM, Doug Hellmann wrote: > The Hyatt is NOT sold out. > > PyCon has reserved a large block of rooms, and there are still open places, > but ONLY if you go through the PyCon housing web site. They are not > available through the regular Hyatt registration system because that system > doesn't know you're part of PyCon. > > Please don't discourage people from registering at the Hyatt! Any rooms not > paid for by conference attendees will have to be paid for by the PSF > directly in order to meet the contractual obligations for the reservations. > > On Jan 5, 2010, at 8:55 PM, Stuart Freeman wrote: > >> If the Hyatt is indeed sold out, you might consider the Mariott Marquis >> or the Hilton. Both are connected to the Hyatt by sky bridges >> (habitrails), so you can get there without even going outside. >> >> On Tue, Jan 05, 2010 at 02:47:38PM -0500, Skylar Saveland wrote: >>> >>> Hello all, >>> According to [1]http://atlantaregency.hyatt.com/hyatt/hotels/index.jsp, >>> the Hyatt is sold out for the 17th-25th. ?I'm wondering what people are >>> planning and what is a good second choice, if there are any promotion >>> codes, deals, people that want to? >>> go in on a room, that sort of thing. ?I have a friend coming in from >>> Singapore and I live about 35-40minutes away and was just planning on >>> getting a room at the Hyatt. ?If indeed it is sold out, well, I don't >>> know. ?Any ideas? >>> Skylar From glen at glenjarvis.com Wed Jan 6 19:33:24 2010 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 6 Jan 2010 10:33:24 -0800 Subject: [Baypiggies] PyCon Reminders In-Reply-To: <78b3a9581001061010k79018643h748e62d52dfad538@mail.gmail.com> References: <78b3a9581001061010k79018643h748e62d52dfad538@mail.gmail.com> Message-ID: <6281CE2E-0DB4-4DA0-A680-EAA80319D3BE@glenjarvis.com> I have the registration fee covered but am still working on transportation and hotel. Is anyone here going? Glen On Jan 6, 2010, at 10:10 AM, wesley chun wrote: > if you're not going to PyCon in Atlanta next month, click [DELETE]. > > final reminder that today is the LAST DAY of earlybird registration. > rates go up tomorrow. http://us.pycon.org > > also, i'd like to fwd the below thread from another mailing list where > someone attempted to book their stay at the Hyatt in Atlanta for > PyCon. repeating what doug says down below, the hyatt is NOT sold out. > do NOT go to hyatt directly but book through the conference housing > bureau. > > cheers, > -- wesley > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > "Core Python Programming", Prentice Hall, (c)2007,2001 > "Python Fundamentals", Prentice Hall, (c)2009 > http://corepython.com > > wesley.j.chun :: wescpy-at-gmail.com > python training and technical consulting > cyberweb.consulting : silicon valley, ca > http://cyberwebconsulting.com > > > > On Wed, Jan 6, 2010 at 4:42 AM, Doug Hellmann > wrote: >> The Hyatt is NOT sold out. >> >> PyCon has reserved a large block of rooms, and there are still open >> places, >> but ONLY if you go through the PyCon housing web site. They are not >> available through the regular Hyatt registration system because >> that system >> doesn't know you're part of PyCon. >> >> Please don't discourage people from registering at the Hyatt! Any >> rooms not >> paid for by conference attendees will have to be paid for by the PSF >> directly in order to meet the contractual obligations for the >> reservations. >> >> On Jan 5, 2010, at 8:55 PM, Stuart Freeman wrote: >> >>> If the Hyatt is indeed sold out, you might consider the Mariott >>> Marquis >>> or the Hilton. Both are connected to the Hyatt by sky bridges >>> (habitrails), so you can get there without even going outside. >>> >>> On Tue, Jan 05, 2010 at 02:47:38PM -0500, Skylar Saveland wrote: >>>> >>>> Hello all, >>>> According to [1]http://atlantaregency.hyatt.com/hyatt/hotels/index.jsp >>>> , >>>> the Hyatt is sold out for the 17th-25th. ?I'm wondering what >>>> people are >>>> planning and what is a good second choice, if there are any >>>> promotion >>>> codes, deals, people that want to? >>>> go in on a room, that sort of thing. ?I have a friend coming in >>>> from >>>> Singapore and I live about 35-40minutes away and was just >>>> planning on >>>> getting a room at the Hyatt. ?If indeed it is sold out, well, I >>>> don't >>>> know. ?Any ideas? >>>> Skylar > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From p at ulmcnett.com Wed Jan 6 19:47:30 2010 From: p at ulmcnett.com (Paul McNett) Date: Wed, 06 Jan 2010 10:47:30 -0800 Subject: [Baypiggies] PyCon Reminders In-Reply-To: <6281CE2E-0DB4-4DA0-A680-EAA80319D3BE@glenjarvis.com> References: <78b3a9581001061010k79018643h748e62d52dfad538@mail.gmail.com> <6281CE2E-0DB4-4DA0-A680-EAA80319D3BE@glenjarvis.com> Message-ID: <4B44DAC2.4040800@ulmcnett.com> Glen Jarvis wrote: > I have the registration fee covered but am still working on > transportation and hotel. Is anyone here going? I just booked the only available direct flight from SJC to ATL - a redeye leaving San Jose at 10:30 on Tuesday and arriving in Atlanta 6am Wednesday. I'm already sharing a room at the Hyatt but perhaps there's another pythonista or two that will be on the same flight to share a cab with... Paul From p at ulmcnett.com Wed Jan 6 19:53:27 2010 From: p at ulmcnett.com (Paul McNett) Date: Wed, 06 Jan 2010 10:53:27 -0800 Subject: [Baypiggies] PyCon Reminders In-Reply-To: <4B44DAC2.4040800@ulmcnett.com> References: <78b3a9581001061010k79018643h748e62d52dfad538@mail.gmail.com> <6281CE2E-0DB4-4DA0-A680-EAA80319D3BE@glenjarvis.com> <4B44DAC2.4040800@ulmcnett.com> Message-ID: <4B44DC27.3040702@ulmcnett.com> Paul McNett wrote: > Glen Jarvis wrote: >> I have the registration fee covered but am still working on >> transportation and hotel. Is anyone here going? > > I just booked the only available direct flight from SJC to ATL - a > redeye leaving San Jose at 10:30 on Tuesday and arriving in Atlanta 6am > Wednesday. I'm already sharing a room at the Hyatt but perhaps there's > another pythonista or two that will be on the same flight to share a cab > with... Oh, hang on: MARTA rail service from airport to hotel at Peachtree Center is only $2. But we could still find the MARTA rail together! :) Actually, I may need to take a cab depending on how long the rail will take, since I'm volunteering to video tutorials and need to try to get there before they actually begin - I assume the tutorials start at 8:00 but can't find that specific on the site. Paul From aahz at pythoncraft.com Wed Jan 6 23:53:15 2010 From: aahz at pythoncraft.com (Aahz) Date: Wed, 6 Jan 2010 14:53:15 -0800 Subject: [Baypiggies] PyCon Reminders In-Reply-To: <4B44DAC2.4040800@ulmcnett.com> References: <78b3a9581001061010k79018643h748e62d52dfad538@mail.gmail.com> <6281CE2E-0DB4-4DA0-A680-EAA80319D3BE@glenjarvis.com> <4B44DAC2.4040800@ulmcnett.com> Message-ID: <20100106225315.GB5634@panix.com> On Wed, Jan 06, 2010, Paul McNett wrote: > > I just booked the only available direct flight from SJC to ATL - a redeye > leaving San Jose at 10:30 on Tuesday and arriving in Atlanta 6am > Wednesday. I'm already sharing a room at the Hyatt but perhaps there's > another pythonista or two that will be on the same flight to share a cab > with... Warning: when I stayed at the airport Crowne Plaza a year ago, they canceled my room when I arrived on the redeye despite confirming with them. Obviously, this is a different hotel, but I've had enough problems with Hyatt lately that I definitely recommend confirming with hotel the day of arrival. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair From wescpy at gmail.com Thu Jan 7 01:50:50 2010 From: wescpy at gmail.com (wesley chun) Date: Wed, 6 Jan 2010 16:50:50 -0800 Subject: [Baypiggies] PyCon Reminders In-Reply-To: <20100106225315.GB5634@panix.com> References: <78b3a9581001061010k79018643h748e62d52dfad538@mail.gmail.com> <6281CE2E-0DB4-4DA0-A680-EAA80319D3BE@glenjarvis.com> <4B44DAC2.4040800@ulmcnett.com> <20100106225315.GB5634@panix.com> Message-ID: <78b3a9581001061650i33ae74b6o79ce19e1b57edcab@mail.gmail.com> On Wed, Jan 6, 2010 at 2:53 PM, Aahz wrote: > On Wed, Jan 06, 2010, Paul McNett wrote: >> >> I just booked the only available direct flight from SJC to ATL - a redeye >> leaving San Jose at 10:30 on Tuesday and arriving in Atlanta 6am >> Wednesday. I'm already sharing a room at the Hyatt but perhaps there's >> another pythonista or two that will be on the same flight to share a cab >> with... > > Warning: when I stayed at the airport Crowne Plaza a year ago, they > canceled my room when I arrived on the redeye despite confirming with > them. ?Obviously, this is a different hotel, but I've had enough > problems with Hyatt lately that I definitely recommend confirming with > hotel the day of arrival. i'm not taking a RE flight this time (as there are more non-stops from SFO), but i too, also call both the night before and the morning of to make sure that even if i can't get into my room yet since i am arriving before check-out time, that they have room to store my luggage (or perhaps am lucky enough to get a room that was either uninhabited the night before or that someone took off early enough to let housekeeping clear it out before my arrival). one other note i wanted to pass on is that airfares are the *best* they can be now to get out there. i book my plane ticket for $425 last week, and it's dropped over a hundred bucks. airtran and delta have RT flights from SFO-ATL for $319(!) like *now* (and even less from OAK starting from $289[!] but more from SJC starting at $359). let my pain be your gain! -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Python Web Development with Django", Addison Wesley, (c) 2009 http://withdjango.com wesley.j.chun :: wescpy-at-gmail.com python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com From rami.chowdhury at gmail.com Thu Jan 7 11:32:58 2010 From: rami.chowdhury at gmail.com (Rami Chowdhury) Date: Thu, 7 Jan 2010 16:32:58 +0600 Subject: [Baypiggies] PyCon Reminders In-Reply-To: <78b3a9581001061650i33ae74b6o79ce19e1b57edcab@mail.gmail.com> References: <78b3a9581001061010k79018643h748e62d52dfad538@mail.gmail.com> <6281CE2E-0DB4-4DA0-A680-EAA80319D3BE@glenjarvis.com> <4B44DAC2.4040800@ulmcnett.com> <20100106225315.GB5634@panix.com> <78b3a9581001061650i33ae74b6o79ce19e1b57edcab@mail.gmail.com> Message-ID: <61915DCC-E595-4EE6-A012-D83A7BDF705A@gmail.com> On Jan 7, 2010, at 06:50 , wesley chun wrote: > > one other note i wanted to pass on is that airfares are the *best* > they can be now to get out there. i book my plane ticket for $425 last > week, and it's dropped over a hundred bucks. airtran and delta have RT > flights from SFO-ATL for $319(!) like *now* (and even less from OAK > starting from $289[!] but more from SJC starting at $359). let my pain > be your gain! Thanks for the tip, Wes! From kbighorse at yahoo.com Fri Jan 8 01:22:54 2010 From: kbighorse at yahoo.com (Kimball Bighorse) Date: Thu, 7 Jan 2010 16:22:54 -0800 (PST) Subject: [Baypiggies] Newbie: Deployment tools? Message-ID: <81689.68769.qm@web82308.mail.mud.yahoo.com> Working on a Twisted Web app coming from a Java/Ruby background, used to Capistrano for Rails deployment. Looking at zc.buildout and fabric for deployment, any opinions or other options for me to investigate? Gratefully, Kimball From simeonf at gmail.com Fri Jan 8 01:40:43 2010 From: simeonf at gmail.com (Simeon Franklin) Date: Thu, 7 Jan 2010 16:40:43 -0800 Subject: [Baypiggies] Newbie: Deployment tools? In-Reply-To: <81689.68769.qm@web82308.mail.mud.yahoo.com> References: <81689.68769.qm@web82308.mail.mud.yahoo.com> Message-ID: Fabric is the more capistrano-ish tool if all your looking for is scriptable deployment. Buildout does more but it seems more "magic" to me and imposes a bit of structure on your project. Fabric on the other hand is pretty much just a quick way of creating command line tools that do 3 common deployment tasks: run local commands, use ssh to move files, and run remote commands on the deployment target. I found fabric much easier to wrap my head around and it satisfied my (limited) deployment needs. YMMV! -regards Simeon Franklin On Thu, Jan 7, 2010 at 4:22 PM, Kimball Bighorse wrote: > Working on a Twisted Web app coming from a Java/Ruby background, used to > Capistrano for Rails deployment. Looking at zc.buildout and fabric for > deployment, any opinions or other options for me to investigate? > > Gratefully, > > Kimball > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From puruiw at yahoo.com Fri Jan 8 05:56:20 2010 From: puruiw at yahoo.com (Purui Wang) Date: Thu, 7 Jan 2010 20:56:20 -0800 (PST) Subject: [Baypiggies] My search engine for Python source code Message-ID: <993398.94116.qm@web45016.mail.sp1.yahoo.com> I wrote a search engine for python source code. It helps you find samples from open source projects. It understands python syntax, and can find samples that other engines can't find. Please take a look and send me a feed back. http://nullege.com - Purui -------------- next part -------------- An HTML attachment was scrubbed... URL: From harish.mallipeddi at gmail.com Fri Jan 8 09:22:13 2010 From: harish.mallipeddi at gmail.com (Harish Mallipeddi) Date: Fri, 8 Jan 2010 13:52:13 +0530 Subject: [Baypiggies] Newbie: Deployment tools? In-Reply-To: References: <81689.68769.qm@web82308.mail.mud.yahoo.com> Message-ID: +1 Fabric - fabric is very minimal and doesn't get in your way. And the most important thing to remember is it's just plain old python code (not some fancy DSL). -- Harish On Fri, Jan 8, 2010 at 6:10 AM, Simeon Franklin wrote: > Fabric is the more capistrano-ish tool if all your looking for is > scriptable deployment. Buildout does more but it seems more "magic" to me > and imposes a bit of structure on your project. Fabric on the other hand is > pretty much just a quick way of creating command line tools that do 3 common > deployment tasks: run local commands, use ssh to move files, and run remote > commands on the deployment target. I found fabric much easier to wrap my > head around and it satisfied my (limited) deployment needs. YMMV! > > -regards > Simeon Franklin > > > On Thu, Jan 7, 2010 at 4:22 PM, Kimball Bighorse wrote: > >> Working on a Twisted Web app coming from a Java/Ruby background, used to >> Capistrano for Rails deployment. Looking at zc.buildout and fabric for >> deployment, any opinions or other options for me to investigate? >> >> Gratefully, >> >> Kimball >> _______________________________________________ >> 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 > -- Harish Mallipeddi http://blog.poundbang.in -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcboik at stanford.edu Sat Jan 9 12:56:55 2010 From: jcboik at stanford.edu (John Boik) Date: Sat, 09 Jan 2010 03:56:55 -0800 Subject: [Baypiggies] programmer wanted for short job --- python/C/Fortran scientific application Message-ID: <1263038215.13691.18.camel@quad1> Hello: I need a few hours of help (asap) in altering two existing C and Fortran programs to allow passing of data directly from python (as opposed to reading data from text files). This is for a scientific application related to protein folding. Please write for more information and to discuss compensation. John, jcboik at stanford.edu From ovikanobi at yahoo.com Sat Jan 9 21:32:34 2010 From: ovikanobi at yahoo.com (ovi chitayat) Date: Sat, 9 Jan 2010 12:32:34 -0800 (PST) Subject: [Baypiggies] need help Message-ID: <285564.51211.qm@web112117.mail.gq1.yahoo.com> Hi, I am trying to install Python on my private Linux machine. Below is the build result: ================================================= [root at centos48_1 Python-3.1.1]# make running build running build_ext building dbm using gdbm building '_tkinter' extension gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./Include -I/usr/local/include -IInclude -I/root/Python-3.1.1 -c /root/Python-3.1.1/Modules/_tkinter.c -o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/_tkinter.o gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./Include -I/usr/local/include -IInclude -I/root/Python-3.1.1 -c /root/Python-3.1.1/Modules/tkappinit.c -o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/tkappinit.o gcc -pthread -shared build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/_tkinter.o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/tkappinit.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.5 -ltcl8.5 -lX11 -o build/lib.linux-i686-3.1/_tkinter.so *** WARNING: renaming "_tkinter" since importing it failed: libtk8.5.so: cannot open shared object file: No such file or directory Failed to build these modules: _tkinter running build_scripts ================================================================ As you can see, I am running this as root. The Linux version is CentOS 4 It complains about not being able to open libtk8.5 I do not understand why that would be the case since this library does exist in /usr/local/lib that appear in the -L link search Below is the listing of the /usr/local/lib: ========================================================= p[root at centos48_1 Python-3.1.1]# ls -l /usr/local/lib total 15156 -rw-r--r-- 1 root root 1551330 Dec 29 11:10 libsqlite3.a -rwxr-xr-x 1 root root 818 Dec 29 11:10 libsqlite3.la lrwxrwxrwx 1 root root 19 Dec 29 11:10 libsqlite3.so -> libsqlite3.so.0.8.6 lrwxrwxrwx 1 root root 19 Dec 29 11:10 libsqlite3.so.0 -> libsqlite3.so.0.8.6 -rwxr-xr-x 1 root root 1342442 Dec 29 11:10 libsqlite3.so.0.8.6 -rwxr-xr-x 1 root root 4035692 Dec 28 12:53 libtcl8.5.so -rw-r--r-- 1 root root 71042 Dec 28 12:53 libtclstub8.5.a -rwxr-xr-x 1 root root 8229606 Dec 28 16:04 libtk8.5.so -rw-r--r-- 1 root root 144516 Dec 28 16:04 libtkstub8.5.a drwxr-xr-x 2 root root 4096 Dec 29 11:10 pkgconfig drwxr-xr-x 5 root root 4096 Dec 28 12:53 tcl8 drwxr-xr-x 6 root root 4096 Dec 28 12:53 tcl8.5 -rw-r--r-- 1 root root 7916 Dec 28 12:53 tclConfig.sh drwxr-xr-x 6 root root 4096 Dec 28 16:04 tk8.5 -rw-r--r-- 1 root root 4391 Dec 28 16:04 tkConfig.shath. ============================================================= Please help Ovi From dalke at dalkescientific.com Sat Jan 9 22:23:53 2010 From: dalke at dalkescientific.com (Andrew Dalke) Date: Sat, 9 Jan 2010 22:23:53 +0100 Subject: [Baypiggies] need help In-Reply-To: <285564.51211.qm@web112117.mail.gq1.yahoo.com> References: <285564.51211.qm@web112117.mail.gq1.yahoo.com> Message-ID: <35166D06-BC89-429E-A2C2-FD612F7B97A0@dalkescientific.com> On Jan 9, 2010, at 9:32 PM, ovi chitayat wrote: > *** WARNING: renaming "_tkinter" since importing it failed: libtk8.5.so: cannot open shared object file: No such file or directory > I do not understand why that would be the case since this library does > exist in /usr/local/lib that appear in the -L link search Is /usr/local/lib also in your LD_LIBRARY_PATH ? Andrew dalke at dalkescientific.com From wescpy at gmail.com Sat Jan 9 22:30:41 2010 From: wescpy at gmail.com (wesley chun) Date: Sat, 9 Jan 2010 13:30:41 -0800 Subject: [Baypiggies] need help In-Reply-To: <285564.51211.qm@web112117.mail.gq1.yahoo.com> References: <285564.51211.qm@web112117.mail.gq1.yahoo.com> Message-ID: <78b3a9581001091330s6149634cif193ab7241c3176c@mail.gmail.com> not really hijacking this thread, but is there no py3k package available yet? IOW, you can't run "sudo yum install python3"? just curious, -wesley On Sat, Jan 9, 2010 at 12:32 PM, ovi chitayat wrote: > Hi, > I am trying to install Python on my private Linux machine. > Below is the build result: > ================================================= > [root at centos48_1 Python-3.1.1]# make > running build > running build_ext > building dbm using gdbm > building '_tkinter' extension > gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./Include -I/usr/local/include -IInclude -I/root/Python-3.1.1 -c /root/Python-3.1.1/Modules/_tkinter.c -o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/_tkinter.o > gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./Include -I/usr/local/include -IInclude -I/root/Python-3.1.1 -c /root/Python-3.1.1/Modules/tkappinit.c -o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/tkappinit.o > gcc -pthread -shared build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/_tkinter.o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/tkappinit.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.5 -ltcl8.5 -lX11 -o build/lib.linux-i686-3.1/_tkinter.so > *** WARNING: renaming "_tkinter" since importing it failed: libtk8.5.so: cannot open shared object file: No such file or directory > > Failed to build these modules: > _tkinter > > running build_scripts > ================================================================ > As you can see, I am running this as root. The Linux version is CentOS 4 > It complains about not being able to open libtk8.5 > I do not understand why that would be the case since this library does > exist in /usr/local/lib that appear in the -L link search > Below is the listing of the /usr/local/lib: > ========================================================= > p[root at centos48_1 Python-3.1.1]# ls -l /usr/local/lib > total 15156 > -rw-r--r-- ?1 root root 1551330 Dec 29 11:10 libsqlite3.a > -rwxr-xr-x ?1 root root ? ? 818 Dec 29 11:10 libsqlite3.la > lrwxrwxrwx ?1 root root ? ? ?19 Dec 29 11:10 libsqlite3.so -> libsqlite3.so.0.8.6 > lrwxrwxrwx ?1 root root ? ? ?19 Dec 29 11:10 libsqlite3.so.0 -> libsqlite3.so.0.8.6 > -rwxr-xr-x ?1 root root 1342442 Dec 29 11:10 libsqlite3.so.0.8.6 > -rwxr-xr-x ?1 root root 4035692 Dec 28 12:53 libtcl8.5.so > -rw-r--r-- ?1 root root ? 71042 Dec 28 12:53 libtclstub8.5.a > -rwxr-xr-x ?1 root root 8229606 Dec 28 16:04 libtk8.5.so > -rw-r--r-- ?1 root root ?144516 Dec 28 16:04 libtkstub8.5.a > drwxr-xr-x ?2 root root ? ?4096 Dec 29 11:10 pkgconfig > drwxr-xr-x ?5 root root ? ?4096 Dec 28 12:53 tcl8 > drwxr-xr-x ?6 root root ? ?4096 Dec 28 12:53 tcl8.5 > -rw-r--r-- ?1 root root ? ?7916 Dec 28 12:53 tclConfig.sh > drwxr-xr-x ?6 root root ? ?4096 Dec 28 16:04 tk8.5 > -rw-r--r-- ?1 root root ? ?4391 Dec 28 16:04 tkConfig.shath. -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python Programming", Prentice Hall, (c)2007,2001 "Python Fundamentals", Prentice Hall, (c)2009 http://corepython.com wesley.j.chun :: wescpy-at-gmail.com python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com From simeonf at gmail.com Sat Jan 9 22:49:12 2010 From: simeonf at gmail.com (Simeon Franklin) Date: Sat, 9 Jan 2010 13:49:12 -0800 Subject: [Baypiggies] need help In-Reply-To: <78b3a9581001091330s6149634cif193ab7241c3176c@mail.gmail.com> References: <285564.51211.qm@web112117.mail.gq1.yahoo.com> <78b3a9581001091330s6149634cif193ab7241c3176c@mail.gmail.com> Message-ID: CentOS is *very* stable - I wouldn't expect Python 3 in supported repos for a while. CentOS 5 (the current version) packages python2.4, CentOS 4 packages python2.3 IIRC. -regards Simeon Franklin On Sat, Jan 9, 2010 at 1:30 PM, wesley chun wrote: > not really hijacking this thread, but is there no py3k package > available yet? IOW, you can't run "sudo yum install python3"? > > just curious, > -wesley > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rich at noir.com Sat Jan 9 22:56:44 2010 From: rich at noir.com (K. Richard Pixley) Date: Sat, 09 Jan 2010 13:56:44 -0800 Subject: [Baypiggies] need help In-Reply-To: References: <285564.51211.qm@web112117.mail.gq1.yahoo.com> <78b3a9581001091330s6149634cif193ab7241c3176c@mail.gmail.com> Message-ID: <4B48FB9C.1010605@noir.com> Debian stable used to have that problem a lot. The people who worked on debian tended to use the unstable releases so those, while being a tiny bit unstable, tended to be more current and much more popular while almost no one used debian stable. That's a big part of the reason Ubuntu exists, to deliver more recent versions in stable integrations. And I think we can all see how popular that has been. (Ubuntu-9.10 includes an optional python-3.1). --rich Simeon Franklin wrote: > CentOS is *very* stable - I wouldn't expect Python 3 in supported > repos for a while. CentOS 5 (the current version) packages python2.4, > CentOS 4 packages python2.3 IIRC. > > -regards > Simeon Franklin > > On Sat, Jan 9, 2010 at 1:30 PM, wesley chun > wrote: > > not really hijacking this thread, but is there no py3k package > available yet? IOW, you can't run "sudo yum install python3"? > > just curious, > -wesley > > > ------------------------------------------------------------------------ > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From emile at fenx.com Sat Jan 9 22:58:32 2010 From: emile at fenx.com (Emile van Sebille) Date: Sat, 09 Jan 2010 13:58:32 -0800 Subject: [Baypiggies] Job: Equipment Support Tech Message-ID: <4B48FC08.1070006@fenx.com> Equipment Support Tech I need someone that will take over responsibility for maintaining the equipment at my various customer sites. You would become the third member of my small company and would coordinate closely with the two of us. We do a lot with python, and although your skills with python are not the primary job function, there will be plenty of exposure to existing python glue that will need to be enhanced, maintained, or tweaked to keep systems up and running. During quiet times when all systems are up and running you will likely be deploying python based tools to monitor systems' health proactively. You will need to have your own reliable transportation. I currently drive about 500 miles/week, and I expect you'll be doing about the same and sometimes much more. Locations currently include Watsonville, San Jose, Mountain View, Fremont, Millbrae, Emeryville, San Ramon, Sacramento, Petaluma, Sonoma, Sacramento, Fresno, Riverside and Phoenix. Each site consists minimally of a linux based firewall, main linux application server, and client PCs, typically running Windows, and printers shared to all. Some sites have mulitple servers (web,email,pcbackup,fax,etc) and as many as 80 client PCs. There's a large assortment of equipment (CNC, RF handhelds, label printers, timeclocks,etc) and technologies (30+ years of custom solutions) deployed as I'm essentially the contracted IT department for these companies. You'll need to be sufficiently familiar and comfortable diagnosing and fixing problems with linux, windows, vmware, kvm, openvpn, iptables, cups, samba, laserjets, lineprinters, networking, cron and scheduled tasks, ssh, vnc, command line tools, bash, wsh, and more. I once put a list together of 100 tech buzz words* that I deal with weekly, so there's plenty of opportunity to get involved with all sorts of things. Your time will be re-billed, so diligent time keeping is required. This is a long term position (3+ years anyway) that I'd like to fill before April and I expect to interview qualified prospects multiple times to confirm capability and compatibility. Compensation open and competitive based on experience. Please email me off-list at job at salesinq.com if you're interested. Please ask relevant questions on-list so others can benefit from the responses. Emile van Sebille For this position please email job at salesinq.com * Found the list: activefax, apache, bash, bbx, bios, centOS, clam, CNC, courier, crontab, css, cups, df, dhcp, django, dns, dom, DPL, dtml, du, Excel, expect, ftp, gcode, ghostview, HPGL, html, IE, imap, ipadder, ipchains, iptables, javascript, kvm, ldap, lightning, links, lpd, mailman, mencoder, mnt, msched, msconfig, mysql, nat, nfs, nmap, OE, open office, osx, outlook, pcanywhere, perl, php, PIL, plone, pop, POST, postgresql, postscript, pro5, python, raid, rc.d, rdp, reportlab, redhat, rs232, rsync, samba, scp, sendmail, smtp, spamd, spybot, sql, squid, squidguard, squirrelmail, ssh, svn, tal, tales, tar, taskmgr, tcpdump, thunderbird, up2date, vi, vmware, vnc, webmin, wget, wiki, win2k, winpatrol, xpsp2, xxcopy, yum, zope, zwiki. From bdbaddog at gmail.com Sat Jan 9 23:44:05 2010 From: bdbaddog at gmail.com (William Deegan) Date: Sat, 9 Jan 2010 14:44:05 -0800 Subject: [Baypiggies] need help In-Reply-To: <285564.51211.qm@web112117.mail.gq1.yahoo.com> References: <285564.51211.qm@web112117.mail.gq1.yahoo.com> Message-ID: <8540148a1001091444r5da9822eob2ef384d1168d992@mail.gmail.com> Ovi, On Sat, Jan 9, 2010 at 12:32 PM, ovi chitayat wrote: > Hi, > I am trying to install Python on my private Linux machine. > Below is the build result: > ================================================= > [root at centos48_1 Python-3.1.1]# make > running build > running build_ext > building dbm using gdbm > building '_tkinter' extension > gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./Include -I/usr/local/include -IInclude -I/root/Python-3.1.1 -c /root/Python-3.1.1/Modules/_tkinter.c -o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/_tkinter.o > gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11R6/include -I. -I./Include -I/usr/local/include -IInclude -I/root/Python-3.1.1 -c /root/Python-3.1.1/Modules/tkappinit.c -o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/tkappinit.o > gcc -pthread -shared build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/_tkinter.o build/temp.linux-i686-3.1/root/Python-3.1.1/Modules/tkappinit.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.5 -ltcl8.5 -lX11 -o build/lib.linux-i686-3.1/_tkinter.so > *** WARNING: renaming "_tkinter" since importing it failed: libtk8.5.so: cannot open shared object file: No such file or directory > > Failed to build these modules: > _tkinter > > running build_scripts > ================================================================ > As you can see, I am running this as root. The Linux version is CentOS 4 > It complains about not being able to open libtk8.5 > I do not understand why that would be the case since this library does > exist in /usr/local/lib that appear in the -L link search Do you have the tk8.5-devel packages installed? You may check the DAG and/or the EPEL repository (for centos4) and see if they have packages for Python3.x. http://dag.wieers.com/rpm/ http://fedoraproject.org/wiki/EPEL These are two repositories I always add to my centos installs. (Well almost). My bet though is that you don't have the -devel packages installed. -Bill > Please help > Ovi > > > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From chris.leemesser at gmail.com Sun Jan 10 03:56:49 2010 From: chris.leemesser at gmail.com (Christopher Lee-Messer) Date: Sat, 9 Jan 2010 18:56:49 -0800 Subject: [Baypiggies] Baypiggies Digest, Vol 51, Issue 10 In-Reply-To: References: Message-ID: <4cccdc8b1001091856q7c84d83cyb45ec185e47c894@mail.gmail.com> > > > Message: 2 > Date: Sat, 9 Jan 2010 12:32:34 -0800 (PST) > From: ovi chitayat > To: baypiggies at python.org > Subject: [Baypiggies] need help > Message-ID: <285564.51211.qm at web112117.mail.gq1.yahoo.com> > Content-Type: text/plain; charset=us-ascii > > Hi, > I am trying to install Python on my private Linux machine. > Below is the build result: > [snip] Often the library is installed, but not headers. try: yum install tk-devel you can also search for this, sometime like yum search tk-devel will show you which package -------------- next part -------------- An HTML attachment was scrubbed... URL: From ovikanobi at yahoo.com Sun Jan 10 04:43:29 2010 From: ovikanobi at yahoo.com (ovi chitayat) Date: Sat, 9 Jan 2010 19:43:29 -0800 (PST) Subject: [Baypiggies] log on problem Message-ID: <754672.19955.qm@web112110.mail.gq1.yahoo.com> hi, i am having troubles logging in. Is the log on user name same as email address? From bdbaddog at gmail.com Sun Jan 10 05:58:45 2010 From: bdbaddog at gmail.com (William Deegan) Date: Sat, 9 Jan 2010 20:58:45 -0800 Subject: [Baypiggies] log on problem In-Reply-To: <754672.19955.qm@web112110.mail.gq1.yahoo.com> References: <754672.19955.qm@web112110.mail.gq1.yahoo.com> Message-ID: <8540148a1001092058r176d65aeh86d09f19187c7fad@mail.gmail.com> Ovi On Sat, Jan 9, 2010 at 7:43 PM, ovi chitayat wrote: > hi, > i am having troubles logging in. > Is the log on user name same as email address? Logging on to what? The website? If so, you need to register on the website seperately from the mailing list. -BIll From ovikanobi at yahoo.com Sun Jan 10 19:25:09 2010 From: ovikanobi at yahoo.com (ovi chitayat) Date: Sun, 10 Jan 2010 10:25:09 -0800 (PST) Subject: [Baypiggies] help Message-ID: <630815.67097.qm@web112106.mail.gq1.yahoo.com> How do I log on to http://www.baypiggies.net/index_html ? Below the log on dialog box on the left, there is a 'here' link I used to (apparently) just sign up for the mailing list. Apparently, the password/user name I setup there does not apply to this log on box... Ovi From aahz at pythoncraft.com Mon Jan 11 05:31:55 2010 From: aahz at pythoncraft.com (Aahz) Date: Sun, 10 Jan 2010 23:31:55 -0500 (EST) Subject: [Baypiggies] REMINDER: OSCON 2010: Call for Proposals Message-ID: <20100111043155.24FD6302C2@mailbackend.panix.com> Deadline: Feb 1, 2010 OSCON, the O'Reilly Open Source Convention July 19 - 23, 2010 Oregon Convention Center Portland, OR http://post.oreilly.com/rd/9z1zg6ii2gsi1l6cshb1806k2apmotnacpkrk77ttgg Faster, Freer, Smarter: Whatever your Goal, Make It Happen with Open Source More than 2,500 experts, developers, sys admins, and hackers will meet up at OSCON 2010 to explore the tools, services, and platforms that make up the vibrant open source ecosystem. Join us! The OSCON Call for Participation is now open. If you have winning techniques, favorite lifesavers, war stories, productivity tips, or other ideas to share, we want to hear from you. We're especially on the look-out for ways to do more with less, design and usability best practices, mobile device innovations, cloud computing, parallelization, open standards and data, open source in government, business models, and beyond. Speak up about the freedom--and opportunity--of open source at OSCON 2010. Submit your proposal by February 1, 2010 at: http://post.oreilly.com/rd/9z1zr5embktof4hi37tr30hm2qshjaug3mfrdjltsmg -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair From john_re at fastmail.us Mon Jan 11 13:29:02 2010 From: john_re at fastmail.us (giovanni_re) Date: Mon, 11 Jan 2010 04:29:02 -0800 Subject: [Baypiggies] TONIGHT Join 5-6P Mon 11th - 1st Evening Meeting test IRC & VOIP online Python at BerkeleyTIP-Global - for forwarding Message-ID: <1263212942.6772.1354001243@webmail.messagingengine.com> You're invited to the first test of the Global Python bimonthly evening meetings at BerkeleyTIP-Global. :) Join in tonight, Monday Jan 11, 5-6P Pacific, 8-9P Eastern, = Tues Jan 12 1A-2A UTC. http://sites.google.com/site/berkeleytip/schedule On #berkeleytip on irc.freenode.net, & on voip - whatever is working - try btip server first. http://sites.google.com/site/berkeleytip/remote-attendance This will be an online only meeting - no in person meeting at UCB. Hot topics: Community Leadership Summit review of interesting sessions, Spring 2010 efforts for UCB & all UC's & all college activities, Upcoming KDE conference end of next week, for 1 week, in Los Angeles. What do _you_ want to discuss? == Some people have asked for an evening meeting, because: a) they can't make weekend meetings, b) they want more BTIP-Global. ;) So, this will be a test, everyone invited, to see if we can make this work. == BerkeleyTIP-Global is the Global All Free SW HW & Culture meeting online via VOIP. http://sites.google.com/site/berkeleytip/ Join the global mailing list, say "hi", & what you're interested in. :) http://groups.google.com/group/BerkTIPGlobal For Forwarding: You are invited to forward this announcement wherever it might be appreciated. From glen at glenjarvis.com Mon Jan 11 23:37:45 2010 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 11 Jan 2010 14:37:45 -0800 Subject: [Baypiggies] My search engine for Python source code In-Reply-To: <993398.94116.qm@web45016.mail.sp1.yahoo.com> References: <993398.94116.qm@web45016.mail.sp1.yahoo.com> Message-ID: I just looked at this. I really like the idea that you do code suggestion. For example, just to test, I typed: os.path.... and at this point, I saw quite a few solutions to choose from. The actual results, seem big on the page, however, compared to Google's code search (I compared os.path.abspath on both): http://www.google.com/codesearch I've not really used either of these tools much (as I should) since I usually just google the phrase I'm looking for generally and get to the documentation. There are times I just want quick examples, so this can be very helpful. Either way, thank you for sharing your work.. And, again, the 'suggest' that I get is a very nice touch if I don't remember exactly what I'm looking for.. Cheers, Glen On Thu, Jan 7, 2010 at 8:56 PM, Purui Wang wrote: > I wrote a search engine for python source code. It helps you find samples > from open source projects. It understands python syntax, and can find > samples that other engines can't find. > Please take a look and send me a feed back. > http://nullege.com > > - Purui > -------------- next part -------------- An HTML attachment was scrubbed... URL: From puruiw at yahoo.com Tue Jan 12 01:05:57 2010 From: puruiw at yahoo.com (Purui Wang) Date: Mon, 11 Jan 2010 16:05:57 -0800 (PST) Subject: [Baypiggies] My search engine for Python source code In-Reply-To: References: <993398.94116.qm@web45016.mail.sp1.yahoo.com> Message-ID: <153896.87947.qm@web45014.mail.sp1.yahoo.com> The idea for this project is to find samples that google can't. I started this project after I spent a few days on looking for wxpython samples that no tutorial covers. I knew some other people must have done the thing I want. But I just couldn't find it. Google code search use string match for code, which does not work well for OO languages. 'os.path.join' is a special case that string matching works. For many other cases, like '@'.join(...), or f = wx.Frame(...) f.SetFont(...) The string matching way will fail, and google can't recognize this is a sample for wx.Frame.SetFont. I wish my site can solve this problem. - Purui ________________________________ From: Glen Jarvis To: Purui Wang Cc: baypiggies at python.org Sent: Mon, January 11, 2010 2:37:45 PM Subject: Re: [Baypiggies] My search engine for Python source code I just looked at this. I really like the idea that you do code suggestion. For example, just to test, I typed: os.path.... and at this point, I saw quite a few solutions to choose from. The actual results, seem big on the page, however, compared to Google's code search (I compared os.path.abspath on both): http://www.google.com/codesearch I've not really used either of these tools much (as I should) since I usually just google the phrase I'm looking for generally and get to the documentation. There are times I just want quick examples, so this can be very helpful. Either way, thank you for sharing your work.. And, again, the 'suggest' that I get is a very nice touch if I don't remember exactly what I'm looking for.. Cheers, Glen On Thu, Jan 7, 2010 at 8:56 PM, Purui Wang wrote: I wrote a search engine for python source code. It helps you find samples from open source projects. It understands python syntax, and can find samples that other engines can't find. >>Please take a look and send me a feed back. >http://nullege.com > >- Purui -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Tue Jan 12 01:07:44 2010 From: cappy2112 at gmail.com (Tony Cappellini) Date: Mon, 11 Jan 2010 16:07:44 -0800 Subject: [Baypiggies] FWD GUI designers for wxPython (and more) Message-ID: <8249c4ac1001111607u5423fea5sd4b710aac1193cc5@mail.gmail.com> During my presentation on wxPython in Dec, Dave Galibi (apologies if the spelling is not correct) asked about the names of the commercial GUI designers for wxPython I had mentioned in my slides. I came across this link on StackOverflow and thought I would forward it to Dave and others. http://stackoverflow.com/questions/800849/nice-ide-for-wxpython-or-tkinter-gui-development The Q&A talks about some pros & cons of severla GUI designers. I'm neither recommending nor condemning any of the products. It's just a reference to the names of the products and opinions by some people. -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Tue Jan 12 01:38:34 2010 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 11 Jan 2010 16:38:34 -0800 Subject: [Baypiggies] Job Fair for Geeks Message-ID: I admit that I only skimmed this. The only reason I'm forwarding it is because I know several members of our community have been searching for work and have commented on this. It looks like there's a job fair: 10am-1pm: Hacker Dojo Job Fair @ The Hacker Dojo Good luck everyone! I hope we all have the jobs of our dreams within the year :) Details follow: Just like we did in 2009, the first SuperHappyDevHouse of 2010 is going to be a blowout! What can you look forward to? Check it: * Tons of other creative and curious people like you * A job fair at the Hacker Dojo before SHDH (details below) * Sweet T-shirts designed by Rasteroids Design (rasteroids.com) * A craft room * A Microsoft Surface that you can load your code onto (details below) * Someone on-site to help with Xbox game development (details below) * Someone on-site to help you try out Azure * Lightning Talks on a stage in an auditorium - it's time to show off your cool hacks! * A model living room where you can chill. * Snacks and drinks all day. * Beer and wine (Opt-in. You'll need to bring your ID and get a wristband) * Dinner: Three types of sliders as well as vegan options (all the more reason to RSVP!) * Ben & Jerry's Sundae Bar What can you bring? * You, your laptop and your ideas * Toys and gadgets, crafts and projects, books and manuals * Your friends! Here's the basic schedule: 10am-1pm: Hacker Dojo Job Fair @ The Hacker Dojo 1pm-6pm : Hacking + partying 6pm-7:30pm: Dinner (http://bit.ly/11ZYZ7) 8pm-9pm: Lightning Talks, 9pm-1am: Hacking + partying Want to give a 5 minute Lightning Talk? Start here: http://superhappydevhouse.org/LightningTalks Post your name and plans for others to see on the wiki: http://superhappydevhouse.org/SuperHappyDevHouse36 RSVP @ Facebook: http://www.facebook.com/event.php?eid=401533520044 RSVP @ Upcoming: http://upcoming.yahoo.com/event/5035306 SuperHappyDevHouse is better with friends, and although we have lots of friends for you to meet when you come, we encourage you to invite your friends! People tell us all the time how great SHDH is, and how much happier/smarter/sexier they are after starting to attend. Wouldn't you like to be the one to introduce your friends to DevHouse? They'll be like, "Oh my gosh, if it weren't for YOUR NAME HERE, I wouldn't have been exposed to such an amazing life changing experience. I'm going to remember YOUR NAME HERE when I'm rich and famous from all the connections, knowledge and inspiration I found at SuperHappyDevHouse!" Want to know more? http://superhappydevhouse.org/HowToInviteFriends We look forward to hacking with you! DevHouse Crew [ P.S. ] Here are the details for some of the things you can look forward to at SHDH 36: [ Hacker Dojo Job Fair ] Are you looking for a job? We want to help you find work. Get up a little earlier and go to the Hacker Dojo before SHDH 36! The Hacker Dojo is putting on a "Hacker Fair", where the job seekers are the ones giving demonstrations, and the recruiters are the ones walking around. Recruiters will be present from over 40 local companies. Sound interesting? Read the TechCrunch article: http://www.techcrunch.com/2010/01/06/hacker-fair/ Or sign up here: http://hackerdojo.pbworks.com/Hacker-Dojo-Job-Fair [ Microsoft Surface ] Are you interested trying out some of your own code on a Surface? We're going to have one at SHDH 36 for you to do so! Here are some links so you can get started now: * SDK: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=3db8987b-47c8-46ca-aafb-9c3b36f43bcc * Resources: http://www.microsoft.com/surface/Pages/Technical/Learn.aspx [ Xbox game development ] Are you interested in developing a game for the Xbox? We are going to have 3 Xboxes available at SHDH 36 for doing development. Come to SHDH with the following: * Graphics and and idea for your game, so you can focus on coding at SHDH. * XNA Game Studio 3.1 * Visual Studio 2008, if you have it * If you don't have Visual Studio 2008, You can use Visual C# 2008 Express Edition XNA Game Studio and Visual Studio C# 2008 can be downloaded for free here: http://creators.xna.com/ [ P.P.S. ] Our hosts have patched their systems to ignore unauthorized regeneration commands from Soong-type androids. Thank you for your concern. -------------- next part -------------- An HTML attachment was scrubbed... URL: From slander at unworkable.org Tue Jan 12 02:06:48 2010 From: slander at unworkable.org (Harry Tormey) Date: Mon, 11 Jan 2010 17:06:48 -0800 Subject: [Baypiggies] Reminder PyGameSF meetup Tuesday January 12th 6pm @ Stong Main San Francisco Public Library Message-ID: <20100112010648.GB20728@unworkable.org> Hi All, Just a reminder that the January PyGameSF meet up will be on tomorrow at the STONG conference room on the first floor of the main San Francisco public library beside civic center BART. The library closes at 8pm so we will reconvene to frjtz on hayes street for dinner/drinks afterwords. This months presentations are: -Tim Thompson: the NthControl. For musical and visual performers, new touchscreen netbooks (Asus T91MT) and USB-connected touchscreens (Mimo 720-S) can augment the ubiquitous slider/knob/button box by providing a completely software-driven interface that avoids the bulk and distraction of a laptop interface. Tim has been experimenting in this area and will share his experience so far, including a demonstration of a python-based display/controller (NthControl) he is developing for upcoming musical/visual performances. -Casey Duncan: Grease. Introducing Grease, a new open-source game engine for developing 2D games in Python. Grease is an component-based entity system with support for data-driven game development. Grease is designed from the ground-up for simplicity, rapid development and high-performance. It is intended to be fully interoperable with both pygame and pyglet, providing pluggable services for sprite and vector rendering, post-processing effects, physics, particle effects, event-driven logic scripting and eventually network support. Grease is in the early stages of development, Casey hopes to get input on the design and architecture, as well as encourage folks to contribute so they can use it for their own projects. PyGame SF is an informal group meet up in San Francisco for Software engineers interested in python, OpenGL, audio, pygame, SDL, programming and generally anything to do with multimedia development. The format of our meetings typically involve several people giving presentations on projects they are developing followed by group discussion and feedback. If anyone else would like to give a micro presentation, show demos or just talk about what they are doing or generally give examples of any relevant software they are working on please feel free to head along To subscribe to the pygamesf mailing list simply email pygame-sf+subscribe at unworkable.org From laban.patrick at gmail.com Tue Jan 12 04:04:59 2010 From: laban.patrick at gmail.com (Patrick Laban) Date: Mon, 11 Jan 2010 19:04:59 -0800 Subject: [Baypiggies] Job Fair for Geeks In-Reply-To: References: Message-ID: <5ee958ff1001111904n6489570dj708d2428fc5a695@mail.gmail.com> Thanks Glen for posting. There is also a more formal tech job fair on the 14th. http://www.targetedjobfairs.com/tjf/events/detail.jsp?eventid=3267 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.leemesser at gmail.com Tue Jan 12 18:34:56 2010 From: chris.leemesser at gmail.com (Chris Lee-Messer) Date: Tue, 12 Jan 2010 09:34:56 -0800 Subject: [Baypiggies] anyone tried moksha? In-Reply-To: References: Message-ID: <288319CB-697C-420D-BBEC-D923A17D6ACB@gmail.com> I use django on a regular basis, but I try to watch for what else is going on In other frameworks. I was wondering if anyone has worked with Moksha. it is built in pylons/turbo gears2 and looks like a slick platform to do comet-style apps. https://fedorahosted.org/moksha/ It might make an interesting baypiggies presentation topic as well. -chris > From brianz at gmail.com Tue Jan 12 20:47:06 2010 From: brianz at gmail.com (Brian Zambrano) Date: Tue, 12 Jan 2010 11:47:06 -0800 Subject: [Baypiggies] Job opportunities at Eventbrite Message-ID: <5db256251001121147t1fdfb1bav7f6df4962d857b17@mail.gmail.com> I started working at Eventbrite about two months ago. We're actively looking for a good front end engineer: http://bit.ly/73yPRW Also, while not advertised, we'd be interested in talking to *experienced* Python developers who have done web development before. The short list of skills we need for that positions are: - Django - MySQL - *nix - All that other typical web stuff Feel free to forward this on and/or email me directly at brianz at eventbrite.com. BZ -------------- next part -------------- An HTML attachment was scrubbed... URL: From kacey at tokbox.com Tue Jan 12 20:51:10 2010 From: kacey at tokbox.com (Kacey Aumack) Date: Tue, 12 Jan 2010 11:51:10 -0800 Subject: [Baypiggies] Job opportunities at Eventbrite In-Reply-To: <5db256251001121147t1fdfb1bav7f6df4962d857b17@mail.gmail.com> References: <5db256251001121147t1fdfb1bav7f6df4962d857b17@mail.gmail.com> Message-ID: <6B11F25B-60C6-44A7-AB97-363C3172B3F7@tokbox.com> Hello all We are also looking for a senior front-end (Flex) engineer to join us here at TokBox. Have a great day! Kacey kacey at tokbox.com On Jan 12, 2010, at 11:47 AM, Brian Zambrano wrote: > I started working at Eventbrite about two months ago. We're > actively looking for a good front end engineer: > > http://bit.ly/73yPRW > > Also, while not advertised, we'd be interested in talking to > *experienced* Python developers who have done web development > before. The short list of skills we need for that positions are: > > - Django > - MySQL > - *nix > - All that other typical web stuff > > Feel free to forward this on and/or email me directly at brianz at eventbrite.com > . > > BZ > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Tue Jan 12 21:04:52 2010 From: aahz at pythoncraft.com (Aahz) Date: Tue, 12 Jan 2010 12:04:52 -0800 Subject: [Baypiggies] Wanted: Python developer @ Egnyte Message-ID: <20100112200452.GA6094@panix.com> This time I'm just copying our standard job ad, feel free to ask me for details, but please send your resume to jobs at egnyte.com: Python Engineer ------------------------- Egnyte, the leader in on-demand file server solutions for small businesses and professionals, is seeking a Python Engineer to work on an exciting new product extension. This is a perfect opportunity to participate in the cloud computing revolution in a well funded, rapidly expanding company. We use python extensively on the server and client side. With increasing demand for our solution, we have embarked on an aggressive product development road map and Python plays a critical part in that plan. Responsibilities: This person will be responsible for developing and enhancing a new product that requires knowledge in Python and Linux areas. If you are strong on Python and not so strong on Linux, that may still work. Must Have: - Strong computer science fundamentals: data structures, algorithms, concurrency management - 2+ years Python experience is a must, experience in Java a plus - Experience with JSON/XML is a plus - Experience in packaging Linux application is a plus - Strong implementation and release practices Egnyte is conveniently located just off Hwy. 101 in Mountain View and offers competitive salary and benefits. For more info about our products, see http://www.egnyte.com/ -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair From laban.patrick at gmail.com Tue Jan 12 21:07:36 2010 From: laban.patrick at gmail.com (Patrick Laban) Date: Tue, 12 Jan 2010 12:07:36 -0800 Subject: [Baypiggies] Job opportunities at Eventbrite In-Reply-To: <6B11F25B-60C6-44A7-AB97-363C3172B3F7@tokbox.com> References: <5db256251001121147t1fdfb1bav7f6df4962d857b17@mail.gmail.com> <6B11F25B-60C6-44A7-AB97-363C3172B3F7@tokbox.com> Message-ID: <5ee958ff1001121207p4620ef22q393a7987b27a96bb@mail.gmail.com> Hello Brian and Kacey, Do either of your companies currently have interships available for new graduates? Regards, Patrick Laban 803-727-4756 On Tue, Jan 12, 2010 at 11:51 AM, Kacey Aumack wrote: > Hello all > > We are also looking for a senior front-end (Flex) engineer to join us here > at TokBox. > > Have a great day! > > Kacey > kacey at tokbox.com > > On Jan 12, 2010, at 11:47 AM, Brian Zambrano wrote: > > I started working at Eventbrite about two months ago. We're actively > looking for a good front end engineer: > > http://bit.ly/73yPRW > > Also, while not advertised, we'd be interested in talking to *experienced* > Python developers who have done web development before. The short list of > skills we need for that positions are: > > - Django > - MySQL > - *nix > - All that other typical web stuff > > Feel free to forward this on and/or email me directly at > brianz at eventbrite.com. > > BZ > _______________________________________________ > 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: From simeonf at gmail.com Tue Jan 12 21:10:59 2010 From: simeonf at gmail.com (Simeon Franklin) Date: Tue, 12 Jan 2010 12:10:59 -0800 Subject: [Baypiggies] Job opportunities at Eventbrite In-Reply-To: <6B11F25B-60C6-44A7-AB97-363C3172B3F7@tokbox.com> References: <5db256251001121147t1fdfb1bav7f6df4962d857b17@mail.gmail.com> <6B11F25B-60C6-44A7-AB97-363C3172B3F7@tokbox.com> Message-ID: Kacey - Please see the jobs policy at http://www.baypiggies.net/index_html/job-listings before posting job announcements to the list. This list is for python-related news so point number four "Please make clear how Python will be used on the job" is pretty strictly followed. -regards Simeon Franklin On Tue, Jan 12, 2010 at 11:51 AM, Kacey Aumack wrote: > Hello all > > We are also looking for a senior front-end (Flex) engineer to join us here > at TokBox. > > Have a great day! > > Kacey > kacey at tokbox.com > > On Jan 12, 2010, at 11:47 AM, Brian Zambrano wrote: > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianz at gmail.com Tue Jan 12 21:30:25 2010 From: brianz at gmail.com (Brian Zambrano) Date: Tue, 12 Jan 2010 12:30:25 -0800 Subject: [Baypiggies] Job opportunities at Eventbrite In-Reply-To: <5ee958ff1001121207p4620ef22q393a7987b27a96bb@mail.gmail.com> References: <5db256251001121147t1fdfb1bav7f6df4962d857b17@mail.gmail.com> <6B11F25B-60C6-44A7-AB97-363C3172B3F7@tokbox.com> <5ee958ff1001121207p4620ef22q393a7987b27a96bb@mail.gmail.com> Message-ID: <5db256251001121230w5ed100c6i26e25c8189c95a54@mail.gmail.com> Hi Patrick, Thanks for reminding me....we are, indeed, interested in interns. I know we'd love to have one here on our dev team. Just scroll to the bottom of the jobs page and have a look. The description is very vague, but send me your resume if you think you'd fit in with the skill set I listed below. Obviously, requirements for an intern wouldn't be as strict as those for a full-time position. BZ On Tue, Jan 12, 2010 at 12:07 PM, Patrick Laban wrote: > Hello Brian and Kacey, > > Do either of your companies currently have interships available for new > graduates? > > Regards, > Patrick Laban > 803-727-4756 > > > On Tue, Jan 12, 2010 at 11:51 AM, Kacey Aumack wrote: > >> Hello all >> >> We are also looking for a senior front-end (Flex) engineer to join us here >> at TokBox. >> >> Have a great day! >> >> Kacey >> kacey at tokbox.com >> >> On Jan 12, 2010, at 11:47 AM, Brian Zambrano wrote: >> >> I started working at Eventbrite about two months ago. We're actively >> looking for a good front end engineer: >> >> http://bit.ly/73yPRW >> >> Also, while not advertised, we'd be interested in talking to *experienced* >> Python developers who have done web development before. The short list of >> skills we need for that positions are: >> >> - Django >> - MySQL >> - *nix >> - All that other typical web stuff >> >> Feel free to forward this on and/or email me directly at >> brianz at eventbrite.com. >> >> BZ >> _______________________________________________ >> 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: From meenalpant at gmail.com Wed Jan 13 20:46:19 2010 From: meenalpant at gmail.com (Meenal Pant) Date: Wed, 13 Jan 2010 11:46:19 -0800 Subject: [Baypiggies] Template language for django Message-ID: Hi friends, So far I have worked with django templates and the built in template engine. In a new project I am required to build a very dynamic frontend with a lot of ajax features. I am looking for suggestions from this excellent group for alternatives. So far I am thinking Django template engine (simply because I am more familiar with it) + Jquery for ajax effects + CSS. Thanks and Happy New Year ! Meenal -- Sent from my mobile device From spmcinerney at hotmail.com Thu Jan 14 00:15:27 2010 From: spmcinerney at hotmail.com (Stephen McInerney) Date: Wed, 13 Jan 2010 15:15:27 -0800 Subject: [Baypiggies] My search engine for Python source code In-Reply-To: <153896.87947.qm@web45014.mail.sp1.yahoo.com> References: <993398.94116.qm@web45016.mail.sp1.yahoo.com>, , <153896.87947.qm@web45014.mail.sp1.yahoo.com> Message-ID: It's pretty impressive. Coupla comments: - it fails on "A*" (as in A* search algorithm) or "A\*". It would be awesome if you could handle that. In fact, you might like to post whatever regex syntax it takes. It seems that '*' matches '.', so if you type 'a*n' you get a bunch of near-random results. - it fails on '@' (the decorator symbol) - there's no 'summary'/'long' mode to just see the matches (without details) for searches which return a ton of results e.g. 'numpy.*e' - I don't see anywhere for people to submit their URLs to you for indexing Best, Stephen Date: Mon, 11 Jan 2010 16:05:57 -0800 From: puruiw at yahoo.com To: glen at glenjarvis.com CC: baypiggies at python.org Subject: Re: [Baypiggies] My search engine for Python source code The idea for this project is to find samples that google can't. I started this project after I spent a few days on looking for wxpython samples that no tutorial covers. I knew some other people must have done the thing I want. But I just couldn't find it.Google code search use string match for code, which does not work well for OO languages. 'os.path.join' is a special case that string matching works. For many other cases, like '@'.join(...), orf = wx.Frame(...)f.SetFont(...)The string matching way will fail, and google can't recognize this is a sample for wx.Frame.SetFont.I wish my site can solve this problem. - Purui From: Glen Jarvis To: Purui Wang Cc: baypiggies at python.org Sent: Mon, January 11, 2010 2:37:45 PM Subject: Re: [Baypiggies] My search engine for Python source code I just looked at this. I really like the idea that you do code suggestion. For example, just to test, I typed: os.path.... and at this point, I saw quite a few solutions to choose from. The actual results, seem big on the page, however, compared to Google's code search (I compared os.path.abspath on both): http://www.google.com/codesearch I've not really used either of these tools much (as I should) since I usually just google the phrase I'm looking for generally and get to the documentation. There are times I just want quick examples, so this can be very helpful. Either way, thank you for sharing your work.. And, again, the 'suggest' that I get is a very nice touch if I don't remember exactly what I'm looking for.. Cheers, Glen On Thu, Jan 7, 2010 at 8:56 PM, Purui Wang wrote: I wrote a search engine for python source code. It helps you find samples from open source projects. It understands python syntax, and can find samples that other engines can't find. Please take a look and send me a feed back. http://nullege.com - Purui _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/196390710/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From kbighorse at gmail.com Wed Jan 13 23:11:38 2010 From: kbighorse at gmail.com (Kimball) Date: Wed, 13 Jan 2010 14:11:38 -0800 Subject: [Baypiggies] Newbie: Deployment tools? In-Reply-To: References: <81689.68769.qm@web82308.mail.mud.yahoo.com> Message-ID: Simeon and Harish, Thank you for the kind tips. I did end up hitting a problem using public key authentication to my remote host, specifically a Paramiko SSHException, and couldn't find any help online. Nothing tricky or fancy, just a public/private key pair from keygen. If you care to comment, I'd be grateful, but I'll just hold off for now otherwise. Gratefully, Kimball ps- http://stackoverflow.com/questions/2045880/invalid-key-error-from-paramiko On Fri, Jan 8, 2010 at 12:22 AM, Harish Mallipeddi < harish.mallipeddi at gmail.com> wrote: > +1 Fabric - fabric is very minimal and doesn't get in your way. And the > most important thing to remember is it's just plain old python code (not > some fancy DSL). > > -- Harish > > On Fri, Jan 8, 2010 at 6:10 AM, Simeon Franklin wrote: > >> Fabric is the more capistrano-ish tool if all your looking for is >> scriptable deployment. Buildout does more but it seems more "magic" to me >> and imposes a bit of structure on your project. Fabric on the other hand is >> pretty much just a quick way of creating command line tools that do 3 common >> deployment tasks: run local commands, use ssh to move files, and run remote >> commands on the deployment target. I found fabric much easier to wrap my >> head around and it satisfied my (limited) deployment needs. YMMV! >> >> -regards >> Simeon Franklin >> >> >> On Thu, Jan 7, 2010 at 4:22 PM, Kimball Bighorse wrote: >> >>> Working on a Twisted Web app coming from a Java/Ruby background, used to >>> Capistrano for Rails deployment. Looking at zc.buildout and fabric for >>> deployment, any opinions or other options for me to investigate? >>> >>> Gratefully, >>> >>> Kimball >>> _______________________________________________ >>> 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 >> > > > > -- > Harish Mallipeddi > http://blog.poundbang.in > -- One often meets his destiny on the road he takes to avoid it. --Oogway -------------- next part -------------- An HTML attachment was scrubbed... URL: From simeonf at gmail.com Thu Jan 14 08:57:08 2010 From: simeonf at gmail.com (Simeon Franklin) Date: Wed, 13 Jan 2010 23:57:08 -0800 Subject: [Baypiggies] Newbie: Deployment tools? In-Reply-To: References: <81689.68769.qm@web82308.mail.mud.yahoo.com> Message-ID: On Wed, Jan 13, 2010 at 2:11 PM, Kimball wrote: > Thank you for the kind tips. I did end up hitting a problem using public > key authentication to my remote host, specifically a Paramiko SSHException, > and couldn't find any help online. Nothing tricky or fancy, just a > public/private key pair from keygen. If you care to comment, I'd be > grateful, but I'll just hold off for now otherwise. > > > > You could post a traceback on stackoverflow and maybe fill in the details of your OS, python version, etc. I hadn't been using passwordless ssh but I set it up on my ubuntu box and it worked with the older version of Fabric I was using. I also made a virtualenv with no site-packages and pip installed fabric 0.9 to make sure I was using the latest and greatest and this also worked fine. I'm using Ubuntu with Python 2.5 if that helps... -regards Simeon Franklin -------------- next part -------------- An HTML attachment was scrubbed... URL: From puruiw at yahoo.com Thu Jan 14 10:57:38 2010 From: puruiw at yahoo.com (Purui Wang) Date: Thu, 14 Jan 2010 01:57:38 -0800 (PST) Subject: [Baypiggies] My search engine for Python source code In-Reply-To: References: <993398.94116.qm@web45016.mail.sp1.yahoo.com>, , <153896.87947.qm@web45014.mail.sp1.yahoo.com> Message-ID: <935618.87541.qm@web45005.mail.sp1.yahoo.com> Thanks for feedback. I added your suggestions to my todo list. BTW: Thanks everybody for feedbacks. My little crawler is pulling source from pypi now. Result should come out next week. When it is stable enough (this will take some time), I'll open the door and let everybody submit projects you love. - Purui ________________________________ From: Stephen McInerney To: puruiw at yahoo.com; glen at glenjarvis.com Cc: baypiggies at python.org Sent: Wed, January 13, 2010 3:15:27 PM Subject: RE: [Baypiggies] My search engine for Python source code It's pretty impressive. Coupla comments: - it fails on "A*" (as in A* search algorithm) or "A\*". It would be awesome if you could handle that. In fact, you might like to post whatever regex syntax it takes. It seems that '*' matches '.', so if you type 'a*n' you get a bunch of near-random results. - it fails on '@' (the decorator symbol) - there's no 'summary'/'long' mode to just see the matches (without details) for searches which return a ton of results e.g. 'numpy.*e' - I don't see anywhere for people to submit their URLs to you for indexing Best, Stephen ________________________________ Date: Mon, 11 Jan 2010 16:05:57 -0800 From: puruiw at yahoo.com To: glen at glenjarvis.com CC: baypiggies at python.org Subject: Re: [Baypiggies] My search engine for Python source code The idea for this project is to find samples that google can't. I started this project after I spent a few days on looking for wxpython samples that no tutorial covers. I knew some other people must have done the thing I want. But I just couldn't find it. Google code search use string match for code, which does not work well for OO languages. 'os.path.join' is a special case that string matching works. For many other cases, like '@'.join(...), or f = wx.Frame(...) f.SetFont(...) The string matching way will fail, and google can't recognize this is a sample for wx.Frame.SetFont. I wish my site can solve this problem. - Purui ________________________________ From: Glen Jarvis To: Purui Wang Cc: baypiggies at python.org Sent: Mon, January 11, 2010 2:37:45 PM Subject: Re: [Baypiggies] My search engine for Python source code I just looked at this. I really like the idea that you do code suggestion. For example, just to test, I typed: os.path.... and at this point, I saw quite a few solutions to choose from. The actual results, seem big on the page, however, compared to Google's code search (I compared os.path.abspath on both): http://www.google.com/codesearch I've not really used either of these tools much (as I should) since I usually just google the phrase I'm looking for generally and get to the documentation. There are times I just want quick examples, so this can be very helpful. Either way, thank you for sharing your work.. And, again, the 'suggest' that I get is a very nice touch if I don't remember exactly what I'm looking for.. Cheers, Glen On Thu, Jan 7, 2010 at 8:56 PM, Purui Wang wrote: I wrote a search engine for python source code. It helps you find samples from open source projects. It understands python syntax, and can find samples that other engines can't find. >>Please take a look and send me a feed back. >http://nullege.com > >- Purui ________________________________ Hotmail: Powerful Free email with security by Microsoft. Get it now. -------------- next part -------------- An HTML attachment was scrubbed... URL: From meenalpant at gmail.com Thu Jan 14 13:51:37 2010 From: meenalpant at gmail.com (Meenal Pant) Date: Thu, 14 Jan 2010 04:51:37 -0800 Subject: [Baypiggies] Django frontend alternatives Message-ID: Hello friends, I am sending this email again as the previous one got lost somewhere, sorry for duplicates if anyone sees two of these :) I am working on a new Django project with a heavy ajax frontend alongwith graphs, buttons, forms etc. I am wondering if anyone has suggestions for alternative front end technologies tha Django Template engine which are more suited for Ajax. At this point I have thought of using Django Templates with Jquery for Ajax and Blueprint CSS for style. Thoughts, comments , suggestions are much appreciated, Thanks Meenal From hasan.diwan at gmail.com Thu Jan 14 14:55:14 2010 From: hasan.diwan at gmail.com (Hasan Diwan) Date: Thu, 14 Jan 2010 05:55:14 -0800 Subject: [Baypiggies] My search engine for Python source code In-Reply-To: <993398.94116.qm@web45016.mail.sp1.yahoo.com> References: <993398.94116.qm@web45016.mail.sp1.yahoo.com> Message-ID: <2cda2fc91001140555p7d9760acpd9c4da01d54c0a0f@mail.gmail.com> 2010/1/7 Purui Wang : > I wrote a search engine for python source code. It helps you find samples > from open source projects. It understands python syntax, and can find > samples that other engines can't find. I don't see what this can do that koders.com can't. Although, I do like this interface better (the highlighting is very useful). Unfortunately, my job requires more than just python (and I have neither the seniority or the requisite power to change this). Still, a fine start and I look forward to what you come up with. -- Sent from my mobile device Envoyait de mon telephone mobil From python at dylanreinhardt.com Thu Jan 14 16:22:19 2010 From: python at dylanreinhardt.com (Dylan Reinhardt) Date: Thu, 14 Jan 2010 07:22:19 -0800 Subject: [Baypiggies] Django frontend alternatives In-Reply-To: References: Message-ID: <4c645a721001140722h7f85f3cdp9d83de7dc8c73fff@mail.gmail.com> It's tough to know how to answer this, as it isn't clear what problem you anticipate having. Jquery is not a required component of an AJAX system... Django can handle AJAX just fine out of the box. But lots of people *do* use jquery with Django, so it shouldn't be difficult to find information on that. Can jquery work for your situation? Almost certainly. Will it make your site faster or make you a more productive programmer? Maybe. Without knowing more about your project, it's difficult to say very much. As for templates, Python is blessed with many fine templating systems. Whatever system fits your style best, I would guess someone has documented how to integrate it with Django. You haven't said what makes Django templates unsuited for your purposes, but I use lots of AJAX and they work just fine for me. Without knowing more about the problems you're anticipating, it's tough to offer many specific comments. $.02, Dylan On Thu, Jan 14, 2010 at 4:51 AM, Meenal Pant wrote: > Hello friends, > I am sending this email again as the previous one got lost somewhere, > sorry for duplicates if anyone sees two of these :) > > I am working on a new Django project with a heavy ajax frontend > alongwith graphs, buttons, forms etc. I am wondering if anyone has > suggestions for alternative front end technologies tha Django Template > engine which are more suited for Ajax. > > At this point I have thought of using Django Templates with Jquery for > Ajax and Blueprint CSS for style. > > Thoughts, comments , suggestions are much appreciated, > Thanks > Meenal > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rich at noir.com Thu Jan 14 17:06:42 2010 From: rich at noir.com (K. Richard Pixley) Date: Thu, 14 Jan 2010 08:06:42 -0800 Subject: [Baypiggies] Django frontend alternatives In-Reply-To: References: Message-ID: <4B4F4112.3050405@noir.com> I researched toolkits and server side engines a few months back. Personally, I decided to go with something pylons based, but I don't think it really matters much at this point. Server side problems are all pretty well solved for now and all of the modern ones seem comparably functional, (or comparably extensible). The browser side toolkit is a different question. Which one you chose will depend on what you need and how you want to use it. I'm probably going with ext-js because I'm specifically looking for a strong grid widget, (user selectable columns, user sortable columns, user selectable column order), nothing else has a suitable grid widget, and the entire widget set looks good and seems pretty well integrated. (I wrote here about comparisons a few months back.) As far as I can tell, the only attempt to mix server side anything with browser code is TurboWidgets, but the documentation is so sparse that I couldn't see how to use it easily. I suspect that this may be a superior approach and one that will be very hot very soon, but just now the barrier to entry seems exceedingly high, (and the mailing list isn't particularly supportive of newbies). Without an actual server side/browser side integration, (like TurboWidgets), I don't think the template really matters. You'll still be writing javascript separately and shipping it down to the browser more or less as opaque code from the point of view of the templating system. Pyjamas merits special mention. It's a different paradigm entirely. In Pyjamas, you write browser code in python with ajax calls and it's compiled into javascript. The down side is that the widget library for pyjamas is rudimentary, (no grid widget, no complex widgets). --rich From aleax at google.com Thu Jan 14 19:46:21 2010 From: aleax at google.com (Alex Martelli) Date: Thu, 14 Jan 2010 10:46:21 -0800 Subject: [Baypiggies] Django frontend alternatives In-Reply-To: <4B4F4112.3050405@noir.com> References: <4B4F4112.3050405@noir.com> Message-ID: <55dc209b1001141046g3979082ev5d3e5012fdd44a38@mail.gmail.com> Take a look at dojango, http://code.google.com/p/dojango/ -- it helps integrate Django with the Dojo javascript framework (not quite as popular as JQuery, but not too far -- for a Pythonista, Dojo has the advantage of being designed by Python enthusiasts, e.g. async operations use Deferred objects that are closely modeled after Twisted Python's own Deferreds, etc, etc). Alex On Thu, Jan 14, 2010 at 8:06 AM, K. Richard Pixley wrote: > I researched toolkits and server side engines a few months back. > ?Personally, I decided to go with something pylons based, but I don't think > it really matters much at this point. ?Server side problems are all pretty > well solved for now and all of the modern ones seem comparably functional, > (or comparably extensible). > > The browser side toolkit is a different question. ?Which one you chose will > depend on what you need and how you want to use it. ?I'm probably going with > ext-js because I'm specifically looking for a strong grid widget, (user > selectable columns, user sortable columns, user selectable column order), > nothing else has a suitable grid widget, and the entire widget set looks > good and seems pretty well integrated. ?(I wrote here about comparisons a > few months back.) > > As far as I can tell, the only attempt to mix server side anything with > browser code is TurboWidgets, but the documentation is so sparse that I > couldn't see how to use it easily. ?I suspect that this may be a superior > approach and one that will be very hot very soon, but just now the barrier > to entry seems exceedingly high, (and the mailing list isn't particularly > supportive of newbies). > > Without an actual server side/browser side integration, (like TurboWidgets), > I don't think the template really matters. ?You'll still be writing > javascript separately and shipping it down to the browser more or less as > opaque code from the point of view of the templating system. > > Pyjamas merits special mention. ?It's a different paradigm entirely. ?In > Pyjamas, you write browser code in python with ajax calls and it's compiled > into javascript. ?The down side is that the widget library for pyjamas is > rudimentary, (no grid widget, no complex widgets). > > --rich > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From rich at noir.com Thu Jan 14 20:09:54 2010 From: rich at noir.com (K. Richard Pixley) Date: Thu, 14 Jan 2010 11:09:54 -0800 Subject: [Baypiggies] Django frontend alternatives In-Reply-To: <55dc209b1001141046g3979082ev5d3e5012fdd44a38@mail.gmail.com> References: <4B4F4112.3050405@noir.com> <55dc209b1001141046g3979082ev5d3e5012fdd44a38@mail.gmail.com> Message-ID: <4B4F6C02.9010900@noir.com> Alex Martelli wrote: > Take a look at dojango, http://code.google.com/p/dojango/ -- it helps > integrate Django with the Dojo javascript framework (not quite as > popular as JQuery, but not too far -- for a Pythonista, Dojo has the > advantage of being designed by Python enthusiasts, e.g. async > operations use Deferred objects that are closely modeled after Twisted > Python's own Deferreds, etc, etc). Dojo is also completely free software, which is a big win imo. --rich From puruiw at yahoo.com Thu Jan 14 20:21:58 2010 From: puruiw at yahoo.com (Purui Wang) Date: Thu, 14 Jan 2010 11:21:58 -0800 (PST) Subject: [Baypiggies] My search engine for Python source code In-Reply-To: <2cda2fc91001140555p7d9760acpd9c4da01d54c0a0f@mail.gmail.com> References: <993398.94116.qm@web45016.mail.sp1.yahoo.com> <2cda2fc91001140555p7d9760acpd9c4da01d54c0a0f@mail.gmail.com> Message-ID: <102879.19652.qm@web45003.mail.sp1.yahoo.com> Try a few search and you will find the difference: str.upper zipfile.zipfile.extract wx.Frame.Bind Maybe someone knows django can find a better demo case? - Purui ________________________________ From: Hasan Diwan To: baypiggies at python.org Sent: Thu, January 14, 2010 5:55:14 AM Subject: Re: [Baypiggies] My search engine for Python source code 2010/1/7 Purui Wang : > I wrote a search engine for python source code. It helps you find samples > from open source projects. It understands python syntax, and can find > samples that other engines can't find. I don't see what this can do that koders.com can't. Although, I do like this interface better (the highlighting is very useful). Unfortunately, my job requires more than just python (and I have neither the seniority or the requisite power to change this). Still, a fine start and I look forward to what you come up with. -- Sent from my mobile device Envoyait de mon telephone mobil _______________________________________________ Baypiggies mailing list Baypiggies at python.org To change your subscription options or unsubscribe: http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From aleax at google.com Thu Jan 14 23:04:41 2010 From: aleax at google.com (Alex Martelli) Date: Thu, 14 Jan 2010 14:04:41 -0800 Subject: [Baypiggies] Django frontend alternatives In-Reply-To: <4B4F6C02.9010900@noir.com> References: <4B4F4112.3050405@noir.com> <55dc209b1001141046g3979082ev5d3e5012fdd44a38@mail.gmail.com> <4B4F6C02.9010900@noir.com> Message-ID: <55dc209b1001141404u3d5f36e5ya34b282ca5c7e548@mail.gmail.com> On Thu, Jan 14, 2010 at 11:09 AM, K. Richard Pixley wrote: > Alex Martelli wrote: >> >> Take a look at dojango, http://code.google.com/p/dojango/ -- it helps >> integrate Django with the Dojo javascript framework (not quite as >> popular as JQuery, but not too far -- for a Pythonista, Dojo has the >> advantage of being designed by Python enthusiasts, e.g. async >> operations use Deferred objects that are closely modeled after Twisted >> Python's own Deferreds, etc, etc). > > Dojo is also completely free software, which is a big win imo. Dojo can be used with AFL or BSD licenses at your choice; jQuery, with MIT or GPL licenses at your choice; Google's Closure Library, with Apache 2.0 license (Google's Closure Compiler, Closure Templates and Closure Inspector are also all Apache 2.0-licensed). So I'd say all of these Javascript frameworks are "completely free software" (so is dojango -- "New BSD" license, like Django), unless your definition of "completely free" is somewhat peculiar. Alex From simeonf at gmail.com Thu Jan 14 23:56:42 2010 From: simeonf at gmail.com (Simeon Franklin) Date: Thu, 14 Jan 2010 14:56:42 -0800 Subject: [Baypiggies] Django frontend alternatives In-Reply-To: <55dc209b1001141404u3d5f36e5ya34b282ca5c7e548@mail.gmail.com> References: <4B4F4112.3050405@noir.com> <55dc209b1001141046g3979082ev5d3e5012fdd44a38@mail.gmail.com> <4B4F6C02.9010900@noir.com> <55dc209b1001141404u3d5f36e5ya34b282ca5c7e548@mail.gmail.com> Message-ID: Maybe Richard was referring to the Ext-JS toolkit he's using. It's had a variety of licenses in the past - I think now it's dual-licensed commercial and full GPL with a custom exception clause or something. A couple of years ago when I was playing with different libraries (I was unhappy with Scriptaculous so I tried out Mochikit, dojo, yui, Jquery, etc) Ext-JS had really beautiful widgets and tons of turmoil in it's dev community due to licensing issues - enough to keep me from investigating it further... -regards Simeon Franklin On Thu, Jan 14, 2010 at 2:04 PM, Alex Martelli wrote: > On Thu, Jan 14, 2010 at 11:09 AM, K. Richard Pixley wrote: > > Alex Martelli wrote: > >> > >> Take a look at dojango, http://code.google.com/p/dojango/ -- it helps > >> integrate Django with the Dojo javascript framework (not quite as > >> popular as JQuery, but not too far -- for a Pythonista, Dojo has the > >> advantage of being designed by Python enthusiasts, e.g. async > >> operations use Deferred objects that are closely modeled after Twisted > >> Python's own Deferreds, etc, etc). > > > > Dojo is also completely free software, which is a big win imo. > > Dojo can be used with AFL or BSD licenses at your choice; jQuery, with > MIT or GPL licenses at your choice; Google's Closure Library, with > Apache 2.0 license (Google's Closure Compiler, Closure Templates and > Closure Inspector are also all Apache 2.0-licensed). So I'd say all of > these Javascript frameworks are "completely free software" (so is > dojango -- "New BSD" license, like Django), unless your definition of > "completely free" is somewhat peculiar. > > > Alex > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kbighorse at gmail.com Fri Jan 15 05:42:32 2010 From: kbighorse at gmail.com (Kimball) Date: Thu, 14 Jan 2010 20:42:32 -0800 Subject: [Baypiggies] Newbie: Deployment tools? In-Reply-To: References: <81689.68769.qm@web82308.mail.mud.yahoo.com> Message-ID: I added a comment with a pastebin to stackoverflow, both copied below: http://stackoverflow.com/questions/2045880/invalid-key-error-from-paramiko http://pastebin.com/dd0987d Actually tried to do it with password, but didn't find a flag to force password-only, seems to always call load_system_host_keys(). Kimball -------------- next part -------------- An HTML attachment was scrubbed... URL: From meenalpant at gmail.com Fri Jan 15 18:59:39 2010 From: meenalpant at gmail.com (Meenal Pant) Date: Fri, 15 Jan 2010 09:59:39 -0800 Subject: [Baypiggies] Django frontend alternatives In-Reply-To: References: <4B4F4112.3050405@noir.com> <55dc209b1001141046g3979082ev5d3e5012fdd44a38@mail.gmail.com> <4B4F6C02.9010900@noir.com> <55dc209b1001141404u3d5f36e5ya34b282ca5c7e548@mail.gmail.com> Message-ID: Thanks everyone for the great suggestions. I am going to explore dojo and dojango since it is most similar to python :) Have a great weekend, Meenal On 1/14/10, Simeon Franklin wrote: > Maybe Richard was referring to the Ext-JS toolkit he's using. It's had a > variety of licenses in the past - I think now it's dual-licensed commercial > and full GPL with a custom exception clause or something. A couple of years > ago when I was playing with different libraries (I was unhappy with > Scriptaculous so I tried out Mochikit, dojo, yui, Jquery, etc) Ext-JS had > really beautiful widgets and tons of turmoil in it's dev community due to > licensing issues - enough to keep me from investigating it further... > > -regards > Simeon Franklin > > On Thu, Jan 14, 2010 at 2:04 PM, Alex Martelli wrote: > >> On Thu, Jan 14, 2010 at 11:09 AM, K. Richard Pixley wrote: >> > Alex Martelli wrote: >> >> >> >> Take a look at dojango, http://code.google.com/p/dojango/ -- it helps >> >> integrate Django with the Dojo javascript framework (not quite as >> >> popular as JQuery, but not too far -- for a Pythonista, Dojo has the >> >> advantage of being designed by Python enthusiasts, e.g. async >> >> operations use Deferred objects that are closely modeled after Twisted >> >> Python's own Deferreds, etc, etc). >> > >> > Dojo is also completely free software, which is a big win imo. >> >> Dojo can be used with AFL or BSD licenses at your choice; jQuery, with >> MIT or GPL licenses at your choice; Google's Closure Library, with >> Apache 2.0 license (Google's Closure Compiler, Closure Templates and >> Closure Inspector are also all Apache 2.0-licensed). So I'd say all of >> these Javascript frameworks are "completely free software" (so is >> dojango -- "New BSD" license, like Django), unless your definition of >> "completely free" is somewhat peculiar. >> >> >> Alex >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > -- Sent from my mobile device From jeff.enderwick at gmail.com Fri Jan 15 21:08:27 2010 From: jeff.enderwick at gmail.com (Jeff Enderwick) Date: Fri, 15 Jan 2010 12:08:27 -0800 Subject: [Baypiggies] Favorite python encryption package? Message-ID: Hey All, Does anyone have opinions about python crypto packages? My requirements: 3DES or AES are fine, highest performance is not a big deal, not having bugs *is* a big deal. The stuff will run under CentOS, but with no encryption HW support. Even a pure python implementation is probably okay. Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From puruiw at yahoo.com Fri Jan 15 21:23:14 2010 From: puruiw at yahoo.com (Purui Wang) Date: Fri, 15 Jan 2010 12:23:14 -0800 (PST) Subject: [Baypiggies] Favorite python encryption package? Message-ID: <893396.16682.qm@web45003.mail.sp1.yahoo.com> Have tryed Pycrypto? On Jan 15, 2010, at 12:08 PM, Jeff Enderwick wrote: Hey All, Does anyone have opinions about python crypto packages? My requirements: 3DES or AES are fine, highest performance is not a big deal, not having bugs *is* a big deal. The stuff will run under CentOS, but with no encryption HW support. Even a pure python implementation is probably okay. Thanks, Jeff _______________________________________________ Baypiggies mailing list Baypiggies at python.org To change your subscription options or unsubscribe: http://mail.python.org/mailman/listinfo/baypiggies From Chris.Clark at ingres.com Fri Jan 15 21:41:35 2010 From: Chris.Clark at ingres.com (Chris Clark) Date: Fri, 15 Jan 2010 12:41:35 -0800 Subject: [Baypiggies] Favorite python encryption package? In-Reply-To: <893396.16682.qm@web45003.mail.sp1.yahoo.com> References: <893396.16682.qm@web45003.mail.sp1.yahoo.com> Message-ID: <4B50D2FF.9030107@ingres.com> I can recommend PyCrypto (although I never build it, I use pre-built binaries), which has a wealth of ciphers. I use a pure Python Blowfish implementation (that has a similar API) when I can't get prebuilt bins for my platform. If you want a copy of it see http://code.google.com/p/pytombo/source/browse/trunk/src/pytombo/blowfish.py NOTE I didn't write it. There are older (and alternative) versions around (just google for blowfish.py) but I know this one works and happens to be compatible with the canonical C versions (to the point where I've used this to read stuff encrypted with other peoples C/C++ based tools). Chris Purui Wang wrote: > Have tryed Pycrypto? > > > > On Jan 15, 2010, at 12:08 PM, Jeff Enderwick wrote: > > Hey All, > > Does anyone have opinions about python crypto packages? > > My requirements: 3DES or AES are fine, highest performance is not a big deal, not having bugs *is* a big deal. > The stuff will run under CentOS, but with no encryption HW support. Even a pure python implementation is probably okay. > > Thanks, > Jeff > > _______________________________________________ > 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 > From emile at fenx.com Fri Jan 15 22:07:31 2010 From: emile at fenx.com (Emile van Sebille) Date: Fri, 15 Jan 2010 13:07:31 -0800 Subject: [Baypiggies] Job: Equipment Support Tech In-Reply-To: <4B48FC08.1070006@fenx.com> References: <4B48FC08.1070006@fenx.com> Message-ID: <4B50D913.3080507@fenx.com> Bump... Emile On 1/9/2010 1:58 PM Emile van Sebille said... > Equipment Support Tech > > I need someone that will take over responsibility for maintaining the > equipment at my various customer sites. You would become the third > member of my small company and would coordinate closely with the two > of us. We do a lot with python, and although your skills with python > are not the primary job function, there will be plenty of exposure to > existing python glue that will need to be enhanced, maintained, or > tweaked to keep systems up and running. During quiet times when all > systems are up and running you will likely be deploying python based > tools to monitor systems' health proactively. > > You will need to have your own reliable transportation. I currently > drive about 500 miles/week, and I expect you'll be doing about the > same and sometimes much more. Locations currently include > Watsonville, San Jose, Mountain View, Fremont, Millbrae, Emeryville, > San Ramon, Sacramento, Petaluma, Sonoma, Sacramento, Fresno, Riverside > and Phoenix. Each site consists minimally of a linux based firewall, > main linux application server, and client PCs, typically running > Windows, and printers shared to all. Some sites have mulitple servers > (web,email,pcbackup,fax,etc) and as many as 80 client PCs. > > There's a large assortment of equipment (CNC, RF handhelds, label > printers, timeclocks,etc) and technologies (30+ years of custom > solutions) deployed as I'm essentially the contracted IT department > for these companies. You'll need to be sufficiently familiar and > comfortable diagnosing and fixing problems with linux, windows, > vmware, kvm, openvpn, iptables, cups, samba, laserjets, lineprinters, > networking, cron and scheduled tasks, ssh, vnc, command line tools, > bash, wsh, and more. I once put a list together of 100 tech buzz > words* that I deal with weekly, so there's plenty of opportunity to > get involved with all sorts of things. > > Your time will be re-billed, so diligent time keeping is required. > This is a long term position (3+ years anyway) that I'd like to fill > before April and I expect to interview qualified prospects multiple > times to confirm capability and compatibility. Compensation open and > competitive based on experience. > > Please email me off-list at job at salesinq.com if you're interested. > Please ask relevant questions on-list so others can benefit from the > responses. > > Emile van Sebille > For this position please email job at salesinq.com > > > * Found the list: > activefax, apache, bash, bbx, bios, centOS, clam, CNC, courier, > crontab, css, cups, df, dhcp, django, dns, dom, DPL, dtml, du, Excel, > expect, ftp, gcode, ghostview, HPGL, html, IE, imap, ipadder, > ipchains, iptables, javascript, kvm, ldap, lightning, links, lpd, > mailman, mencoder, mnt, msched, msconfig, mysql, nat, nfs, nmap, OE, > open office, osx, outlook, pcanywhere, perl, php, PIL, plone, pop, > POST, postgresql, postscript, pro5, python, raid, rc.d, rdp, > reportlab, redhat, rs232, rsync, samba, scp, sendmail, smtp, spamd, > spybot, sql, squid, squidguard, squirrelmail, ssh, svn, tal, tales, > tar, taskmgr, tcpdump, thunderbird, up2date, vi, vmware, vnc, webmin, > wget, wiki, win2k, winpatrol, xpsp2, xxcopy, yum, zope, zwiki. > > _______________________________________________ > 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 Fri Jan 15 22:29:53 2010 From: aahz at pythoncraft.com (Aahz) Date: Fri, 15 Jan 2010 13:29:53 -0800 Subject: [Baypiggies] Job: Equipment Support Tech In-Reply-To: <4B50D913.3080507@fenx.com> References: <4B48FC08.1070006@fenx.com> <4B50D913.3080507@fenx.com> Message-ID: <20100115212953.GA15753@panix.com> On Fri, Jan 15, 2010, Emile van Sebille wrote: > > Bump... > > Sure seems that way -- I haven't gotten many responses to my ad, either. BTW, don't forget to use the Python Jobs Board. Reminder: please post ads at most once per month -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair From annaraven at gmail.com Sat Jan 16 00:18:47 2010 From: annaraven at gmail.com (Anna Ravenscroft) Date: Fri, 15 Jan 2010 15:18:47 -0800 Subject: [Baypiggies] Fwd: [acm-members] FW: Python programmers for Haiti earthquake relief In-Reply-To: <353642D3E51140658370D58FAB5257C9@stanford.edu> References: <353642D3E51140658370D58FAB5257C9@stanford.edu> Message-ID: ---------- Forwarded message ---------- From: David Gobaud Date: Thu, Jan 14, 2010 at 11:25 AM Subject: [acm-members] FW: Python programmers for Haiti earthquake relief To: acm-members at lists.stanford.edu David Gobaud (650) 353-1084 -----Original Message----- From: all-cs106-staff-bounces at lists.stanford.edu [mailto:all-cs106-staff-bounces at lists.stanford.edu] On Behalf Of Eric Roberts Sent: Thursday, January 14, 2010 11:23 AM To: sl-jobs at cs.stanford.edu Cc: eroberts at Eeyore.Stanford.EDU Subject: Python programmers for Haiti earthquake relief Everyone, I don't know anything specific about this project, but this note arrived in my inbox this morning, and it seemed as if the cause would interest some of you: > This is an urgent call for experienced Python programmers to help in > the Sahana Disaster Management System immediately - knowledge of > Web2Py platform would be best. ?Please recruit any available > programmers for the Haiti effort as quickly as possible and have them > contact me immediately so that i can put them in touch with the > correct people. ?Thank you kindly and I do hope that we can quickly > identlfy some contributors for this monumental effort - They are > needed ASAP. > > http://sahanapy.org/ is the developer site and the demo is > http://demo.sahanapy.org/ > > Please forward to others: Can we identify some student and or faculty > programmers who could help and ask them if they are willing to do so > to contact me straight away. ?Thank you - > connie.m.white at gmail.com -- Eric _______________________________________________ all-cs106-staff mailing list all-cs106-staff at lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/all-cs106-staff _______________________________________________ acm-members mailing list acm-members at lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/acm-members -- cordially, Anna -- I am the mother of all things and all things shall wear a sweater! From drewp at bigasterisk.com Sat Jan 16 21:00:53 2010 From: drewp at bigasterisk.com (Drew Perttula) Date: Sat, 16 Jan 2010 12:00:53 -0800 Subject: [Baypiggies] anyone tried moksha? In-Reply-To: <288319CB-697C-420D-BBEC-D923A17D6ACB@gmail.com> References: <288319CB-697C-420D-BBEC-D923A17D6ACB@gmail.com> Message-ID: <4B521AF5.7070601@bigasterisk.com> On 01/12/2010 09:34 AM, Chris Lee-Messer wrote: > I use django on a regular basis, but I try to watch for what else is > going on In other frameworks. I was wondering if anyone has worked with > Moksha. it is built in pylons/turbo gears2 and looks like a slick > platform to do comet-style apps. > > https://fedorahosted.org/moksha/ > I recently chose just orbited (with stompservice, stomp.js) for adding comet to my existing project. And I'm already writing half of this project with twisted/nevow, so that should tell you something about my eagerness to use nevow's comet system again. I used http://cometdaily.com/2008/10/10/scalable-real-time-web-architecture-part-2-a-live-graph-with-orbited-morbidq-and-jsio/ as my initial guide. So far it's been super, for my needs. Moksha looks like a pretty big chunk of extra integration-- it's unclear whether one can use it to make anything that doesn't look just like their demos (in terms of functionality, of course the styles can be changed). Stuff like this in the docs is a big turn off for me: "Moksha also provides a simple yet powerful API for creating DataStreamers that can do basically anything at anytime." I already had the ability to do anything at anytime before I bought into your framework! From jeff.enderwick at gmail.com Sat Jan 16 22:25:13 2010 From: jeff.enderwick at gmail.com (Jeff Enderwick) Date: Sat, 16 Jan 2010 13:25:13 -0800 Subject: [Baypiggies] Favorite python encryption package? In-Reply-To: <893396.16682.qm@web45003.mail.sp1.yahoo.com> References: <893396.16682.qm@web45003.mail.sp1.yahoo.com> Message-ID: thanks - that seems perfect for what I am doing! On Fri, Jan 15, 2010 at 12:23 PM, Purui Wang wrote: > Have tryed Pycrypto? > > > > On Jan 15, 2010, at 12:08 PM, Jeff Enderwick > wrote: > > Hey All, > > Does anyone have opinions about python crypto packages? > > My requirements: 3DES or AES are fine, highest performance is not a big > deal, not having bugs *is* a big deal. > The stuff will run under CentOS, but with no encryption HW support. Even a > pure python implementation is probably okay. > > Thanks, > Jeff > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at well.com Mon Jan 18 18:07:03 2010 From: jim at well.com (jim) Date: Mon, 18 Jan 2010 09:07:03 -0800 Subject: [Baypiggies] call for newbie nuggets Message-ID: <1263834423.7544.151.camel@jim-laptop> volunteer to present a five to ten minute talk on some aspect of python programming that enlightens experienced coders who are relatively new to python. develop your public-speaking skills. present your shocking opinions or favorite techniques and agitate discussion. step right up! jim From aahz at pythoncraft.com Mon Jan 18 18:42:42 2010 From: aahz at pythoncraft.com (Aahz) Date: Mon, 18 Jan 2010 09:42:42 -0800 Subject: [Baypiggies] call for newbie nuggets In-Reply-To: <1263834423.7544.151.camel@jim-laptop> References: <1263834423.7544.151.camel@jim-laptop> Message-ID: <20100118174242.GA16860@panix.com> On Mon, Jan 18, 2010, jim wrote: > > volunteer to present a five to ten minute talk on some aspect of > python programming that enlightens experienced coders who are > relatively new to python. For which meeting? -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair From jeff at drinktomi.com Tue Jan 19 01:20:33 2010 From: jeff at drinktomi.com (Jeff Younker) Date: Mon, 18 Jan 2010 16:20:33 -0800 Subject: [Baypiggies] Job contacts at Slide Message-ID: I'm looking for work back into San Francisco, and it looks like Slide is hiring. Does anyone happen to have contacts there that I can talk to? - Jeff Younker - jeff at drinktomi.com - From nagappan at gmail.com Tue Jan 19 05:59:41 2010 From: nagappan at gmail.com (Nagappan Alagappan) Date: Mon, 18 Jan 2010 20:59:41 -0800 Subject: [Baypiggies] Announce: Linux Desktop Testing Project (LDTP) 2.0.1 released Message-ID: <9d0602eb1001182059s591a737dvf2e57c3e4a351691@mail.gmail.com> Hello all, LDTPv2 a complete rewrite of LDTPv1 in Python. This release is dedicated to Eitan Isaacson[1]. Eitan wrote the LDTPv2 framework and important API's in LDTPv2 ! My co-workers in VMware Ranjith Murugan, Gaurav Sharma and Anupa Kamath, did a wonderful job in verifying the compatibility of LDTPv1 and v2. Special thanks to them and my manager Greg McShea on supporting this effort. Special thanks to Ara Pulido[2] for tracking the LDTPv2 status and pushing us to make the release at the earliest, as Ara wants to include LDTPv2 in Ubuntu Lucid, before feature freeze. Following are the difference between LDTPv1 and v2: * getlabel function is deprecated - you can use getobjectproperty('winodw', 'objectname', 'label') # To verify the display text * Label in v2 doesn't return the accelerator key (eg: in v1 "_Find" will be returned on v2 just "Find" is returned) * Strict data types are checked, in v1 most of the inputs are considered as string, if not they will be converted to string, but on v2 exception will be thrown, if incorrect type is passed to any function * In v1 we have ldtp binary, on v2 we need to check ldtpd.sh for now, this doesn't return the version for now, it has to be implemented, if you check for "ldtp --version" in v1 * In v1 each action command was given 1 second sleep time internally before execution, but on v2 there is no delay unless its set in environment variable LDTP_COMMAND_DELAY. So, the script has to use appropriate wait time * As Javier (from Ubuntu QA team) found, launchapp, argument name changed from 'arg' to 'args' Some of missing API in v2: * Calendar object * logFailures in v1 is not implemented in v2 * LDTP logging methods * appundertest * launchapp2 * blackoutregion * label object * panel object * ProcessStatistics LTFX is completely removed in LDTP v2 in favor of wnck implmentation Download LDTPv2 source from http://download.freedesktop.org/ldtp/2.x/2.0.x/ldtp2-2.0.1.tar.gz New dependency: python-twisted-web python-pyatspi python-gtk python-gnome Will schedule binary package building for different Linux distribution using openSUSE Build Service - http://download.opensuse.org/repositories/home:/anagappan:/ldtp2:/ Documentation references: For detailed information on LDTP framework and latest updates visit http://ldtp.freedesktop.org For information on various APIs in LDTP including those added for this release can be got from http://ldtp.freedesktop.org/user-doc/index.html Report bugs - http://ldtp.freedesktop.org/wiki/Bugs To subscribe to LDTP mailing lists, visit http://ldtp.freedesktop.org/wiki/Mailing_20list IRC Channel - #ldtp on irc.freenode.net Thanks Nagappan [1] - http://monotonous.org/ [2] - http://ubuntutesting.wordpress.com/ -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From niallo at unworkable.org Wed Jan 20 21:01:07 2010 From: niallo at unworkable.org (Niall O'Higgins) Date: Wed, 20 Jan 2010 12:01:07 -0800 Subject: [Baypiggies] PyWebSF #7 (01/21 - tomorrow) - Marius A Eriksen - GeoAPI.com Message-ID: <20100120200107.GQ32186@unworkable.org> Hi folks, This month's Py Web SF meet is tomorrow, 01/21. We have a great talk lined up, so hope to see you there. Who/What -------- * Marius A. Eriksen - "GeoAPI.com" GeoAPI.com was recently purchased by Twitter, and Marius says he plans to go into deep technical detail about geo querying on big-table like data stores, so this should be an awesome talk! http://www.pywebsf.org/2010/01/07/marius-a-eriksen-geoapi-com/ When ---- 6PM, Thursday 21 January 2010. Please try to arrive on time to avoid disappointment. We have space for around 10-20 people. Where ----- Stong conference room, 1st floor, SF Main Public Library. Map: http://tinyurl.com/pywebsfmap The library is easily accessible via both BART and Muni at the Civic Center station. The library closes at 8pm so we will continue the discussion over food/drinks at Frjtz Fries [http://www.frjtzfries.com]. More info --------- Subscribe to our Google Calendar at http://tinyurl.com/pywebcal Slides, links, and more at http://pywebsf.org/ Thanks! -- Niall O'Higgins PyWebSF http://pywebsf.org http://niallohiggins.com http://twitter.com/niallohiggins From cappy2112 at gmail.com Thu Jan 21 06:37:28 2010 From: cappy2112 at gmail.com (Tony Cappellini) Date: Wed, 20 Jan 2010 21:37:28 -0800 Subject: [Baypiggies] 2 Reviewers wanted for "Bioinformatics Programming Using Python" Message-ID: <8249c4ac1001202137xe114cdew47262d01b38bd09c@mail.gmail.com> I'm looking for 2 people to read & review Bioinformatics Programming Using Python http://oreilly.com/catalog/9780596154516/ Please reply off-list. Thanks Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Thu Jan 21 16:17:07 2010 From: cappy2112 at gmail.com (Tony Cappellini) Date: Thu, 21 Jan 2010 07:17:07 -0800 Subject: [Baypiggies] 2 Reviewers wanted for "Bioinformatics Programming Using Python"- no more replies needed. Message-ID: <8249c4ac1001210717re00ce68m3a711c744c54984d@mail.gmail.com> Thanks to all who replied, I have reviewers for this book. No more replies are needed. Tony From aahz at pythoncraft.com Fri Jan 22 05:21:01 2010 From: aahz at pythoncraft.com (Aahz) Date: Thu, 21 Jan 2010 23:21:01 -0500 (EST) Subject: [Baypiggies] REMINDER: OSCON 2010: Call for Proposals Message-ID: <20100122042101.5E6972F9A3@mailbackend.panix.com> Deadline: Feb 1, 2010 OSCON, the O'Reilly Open Source Convention July 19 - 23, 2010 Oregon Convention Center Portland, OR http://post.oreilly.com/rd/9z1zg6ii2gsi1l6cshb1806k2apmotnacpkrk77ttgg Faster, Freer, Smarter: Whatever your Goal, Make It Happen with Open Source More than 2,500 experts, developers, sys admins, and hackers will meet up at OSCON 2010 to explore the tools, services, and platforms that make up the vibrant open source ecosystem. Join us! The OSCON Call for Participation is now open. If you have winning techniques, favorite lifesavers, war stories, productivity tips, or other ideas to share, we want to hear from you. We're especially on the look-out for ways to do more with less, design and usability best practices, mobile device innovations, cloud computing, parallelization, open standards and data, open source in government, business models, and beyond. Speak up about the freedom--and opportunity--of open source at OSCON 2010. Submit your proposal by February 1, 2010 at: http://post.oreilly.com/rd/9z1zr5embktof4hi37tr30hm2qshjaug3mfrdjltsmg -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair From cappy2112 at gmail.com Fri Jan 22 07:00:27 2010 From: cappy2112 at gmail.com (Tony Cappellini) Date: Thu, 21 Jan 2010 22:00:27 -0800 Subject: [Baypiggies] Sikuli Script - an visual scripting language for the Mac, based on Jython Message-ID: <8249c4ac1001212200seea47f1xdc403b05cdb62542@mail.gmail.com> http://www.youtube.com/watch?v=FxDOlhysFcM From luca.pellicoro at gmail.com Fri Jan 22 07:52:25 2010 From: luca.pellicoro at gmail.com (Luca Pellicoro) Date: Thu, 21 Jan 2010 22:52:25 -0800 Subject: [Baypiggies] Sikuli Script - an visual scripting language for the Mac, based on Jython In-Reply-To: <8249c4ac1001212200seea47f1xdc403b05cdb62542@mail.gmail.com> References: <8249c4ac1001212200seea47f1xdc403b05cdb62542@mail.gmail.com> Message-ID: On Thu, Jan 21, 2010 at 10:00 PM, Tony Cappellini wrote: > http://www.youtube.com/watch?v=FxDOlhysFcM Very exciting, the potential for automated testing is enormous. In the same vein as Autopy (http://github.com/msanders/autopy) also python based and Eggplant (http://www.testplant.com/products/eggplant_functional_tester/movie) From wescpy at gmail.com Fri Jan 22 19:22:28 2010 From: wescpy at gmail.com (wesley chun) Date: Fri, 22 Jan 2010 10:22:28 -0800 Subject: [Baypiggies] Fwd: New Meetup: The San Francisco Django January Meetup In-Reply-To: <583820202.1263333658347.JavaMail.nobody@james1> References: <583820202.1263333658347.JavaMail.nobody@james1> Message-ID: <78b3a9581001221022q3bc4ef78pa40c5fc835bcf7e1@mail.gmail.com> for those who can make it, come join us in the city at Google next week for the SF Django Meetup! Django plus App Engine... what more could you ask for? :-) -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python Programming", Prentice Hall, (c)2007,2001 "Python Fundamentals", Prentice Hall, (c)2009 http://corepython.com wesley.j.chun :: wescpy-at-gmail.com python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com ---------- Forwarded message ---------- From: Eric Florenzano Date: Tue, Jan 12, 2010 at 2:00 PM Subject: [django-7] New Meetup: The San Francisco Django January Meetup To: django-7-announce at meetup.com Announcing a new Meetup for The San Francisco Django Meetup Group! What: The San Francisco Django January Meetup When: Wednesday, January 27, 2010 6:30 PM Where: Google San Francisco 345 Spear Street Duboce Triangle on 4th Floor San Francisco, CA 94105 415-736-0000 We're back with the first Django meetup of the new year! This month's meetup features Andy Smith (a.k.a. Termie) of Google, who will be talking about using Django with Google App Engine, and the efforts to provide proper non-relational database support to Django. Having spearheaded the effort to port Jaiku to Google App Engine, he brings years of practical experience to the discussion. Pizza and Soda will be provided for free, sponsored by Google. Note that this location is at Google SF, NOT at Six Apart as all of the other meetups have been. Learn more here: http://www.meetup.com/The-San-Francisco-Django-Meetup-Group/calendar/12302008/ From donnamsnow at gmail.com Fri Jan 22 20:19:15 2010 From: donnamsnow at gmail.com (Donna Snow) Date: Fri, 22 Jan 2010 11:19:15 -0800 Subject: [Baypiggies] [Training Reminder] Develop & Deploy: Django - February 1 - February 5 @TheHackerDojo Message-ID: Hi, Just a reminder for those who may have been interested in attending the Django training at the Hacker Dojo. Asking price is $750.00 per seat to cover cost of flying Andy McKay in from Canada and pay both Zain Memon and Andy for their time and hard work (oh + breakfast and lunch each day) If'n the above price is a bit steep (unemployed, underemployed or just plain struggling) please let me know. I can work out an amicable price. At this point I'm more interested in making this a nice solid class and making my expenses for the session. Here is info about the course: http://www.c2etraining.com/?p=7 syllabus www.c2etraining.com/django-training-syllabus.doc http://c2etraining100201.eventbrite.com/ If you know of a company that uses Django extensively and would like to sponsor/support this week long session please point them my way :-) I will be recording the session and putting it online for those who work full-time and can't be there in person. There will be a fee to view the classes online. Please contact me off list for more information Donna 'SnowWrite' Snow Owner, C2E Training illuminating your path to Open Source http://www.c2etraining.com (working on this site now) Are you an expert in a popular Open Source technology? Would you like to teach? We provide offline and online teaching opportunities - email info at c2etraining.com Founder, GirlsLuvTech facebook.com/girlsluvtech -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at well.com Sat Jan 23 17:13:23 2010 From: jim at well.com (jim) Date: Sat, 23 Jan 2010 08:13:23 -0800 Subject: [Baypiggies] Motion | Andrew to speak on Scientific computing? In-Reply-To: References: <1255365249.6428.185.camel@jim-laptop> <5C34F748-7D96-42C0-916A-4748DC8363CA@dalkescientific.com> <1255375262.6350.9.camel@jim-laptop> <5066506580664DA7AD6270F029BE5C2E@delsci.local> Message-ID: <1264263203.6506.34.camel@jim-laptop> pymol sounds great for baypiggies. we have a commitment for our january meeting: unladen swallow by collin winter and jeffrey yasskin. i've got feelers out to possible speakers for february and march, though nothing's committed for 2010 past january. (baypiggies meet on the fourth thursday of each month.) are there some preferred months that'd be easier for you to present a talk on Scientific computing. hopefully, jim for baypiggies 415 823 4590 my cellphone, call anytime On Wed, 2009-10-14 at 09:09 -0400, Warren DeLano wrote: > Here! Schedule permitting, I'd be happy to give a baypiggies preso on > pymol, either together with Andrew or another time. > > Cheers, > Warren > -- > Warren L. DeLano, Ph.D. > warren at delsci.com > > (Sent from an iPhone -- please forgive brevity and/or typos!) > > On Oct 14, 2009, at 8:03 AM, "Shannon -jj Behrens" > wrote: > > > I like the idea of this talk. Remember, the author of PyMOL, Warren > > DeLano, is not only local, he's a BayPiggie ;) > > > > -jj > > > > -- > > In this life we cannot do great things. We can only do small things > > with great love. -- Mother Teresa > > http://jjinux.blogspot.com/ > > > > > From Chris.Clark at ingres.com Sat Jan 23 17:42:13 2010 From: Chris.Clark at ingres.com (Chris M. Clark) Date: Sat, 23 Jan 2010 11:42:13 -0500 Subject: [Baypiggies] Motion | Andrew to speak on Scientific computing? References: <1255365249.6428.185.camel@jim-laptop><5C34F748-7D96-42C0-916A-4748DC8363CA@dalkescientific.com><1255375262.6350.9.camel@jim-laptop><5066506580664DA7AD6270F029BE5C2E@delsci.local> <1264263203.6506.34.camel@jim-laptop> Message-ID: link from the pymol website; http://www.wldmemorialfund.org/WLDMemorialFund/Home.html -----Original Message----- From: baypiggies-bounces+chris.clark=ingres.com at python.org on behalf of jim Sent: Sat 1/23/2010 8:13 AM To: Warren DeLano Cc: Baypiggies Subject: Re: [Baypiggies] Motion | Andrew to speak on Scientific computing? pymol sounds great for baypiggies. we have a commitment for our january meeting: unladen swallow by collin winter and jeffrey yasskin. i've got feelers out to possible speakers for february and march, though nothing's committed for 2010 past january. (baypiggies meet on the fourth thursday of each month.) are there some preferred months that'd be easier for you to present a talk on Scientific computing. hopefully, jim for baypiggies 415 823 4590 my cellphone, call anytime On Wed, 2009-10-14 at 09:09 -0400, Warren DeLano wrote: > Here! Schedule permitting, I'd be happy to give a baypiggies preso on > pymol, either together with Andrew or another time. > > Cheers, > Warren > -- > Warren L. DeLano, Ph.D. > warren at delsci.com > > (Sent from an iPhone -- please forgive brevity and/or typos!) > > On Oct 14, 2009, at 8:03 AM, "Shannon -jj Behrens" > wrote: > > > I like the idea of this talk. Remember, the author of PyMOL, Warren > > DeLano, is not only local, he's a BayPiggie ;) > > > > -jj > > > > -- > > In this life we cannot do great things. We can only do small things > > with great love. -- Mother Teresa > > http://jjinux.blogspot.com/ > > > > > _______________________________________________ Baypiggies mailing list Baypiggies at python.org To change your subscription options or unsubscribe: http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From hassan.baig at alumni.duke.edu Mon Jan 25 09:40:41 2010 From: hassan.baig at alumni.duke.edu (Hassan Baig) Date: Mon, 25 Jan 2010 13:40:41 +0500 Subject: [Baypiggies] Help with Python/Django issue in FB app Message-ID: <6fa835a81001250040u612390c9k30ff1daf87e3dc33@mail.gmail.com> Dear BayPIGgies, I was wondering if you could give me any pointers in this regard. I'm a Facebook developer and I'm facing the following problem: I have a flash file which calls up a url say http://test.com/createXML/ which is caught and used up by a python/django code and it creates and redirects to an XML. which is loaded by flash, to get values from the database. The setup works fine when outside facebook, but as soon as I put the setup in facebook, it stops loading the XML completely. I am using Facebook's crossdomain.xml. Any clues? -Hassan Baig -------------- next part -------------- An HTML attachment was scrubbed... URL: From bdbaddog at gmail.com Mon Jan 25 22:11:47 2010 From: bdbaddog at gmail.com (William Deegan) Date: Mon, 25 Jan 2010 13:11:47 -0800 Subject: [Baypiggies] Is there an equivalent to perl -S for python? Message-ID: <8540148a1001251311u2162f698g29d85d014582e401@mail.gmail.com> Greetings, perl -S xyz.pl will find the xyz.pl in the PATH and run it. Is there an equivalent flag for python? Or do I need to do: x=`which xyz.py` python $x Thanks, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: From max at theslimmers.net Mon Jan 25 22:12:33 2010 From: max at theslimmers.net (Max Slimmer) Date: Mon, 25 Jan 2010 13:12:33 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons Message-ID: Can anyone explain the following: >>> a = 1 >>> b = 2 >>> alist = [5,6] >>> print a in alist False >>> a in alist == b in alist False >>> a in alist == a in alist False >>> bool(a in alist) == bool(b in alist) # this does what we expect True >>> c = 5 >>> c in alist == c in alist False >>> max -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.r.fishman at gmail.com Mon Jan 25 22:22:52 2010 From: jeremy.r.fishman at gmail.com (Jeremy Fishman) Date: Mon, 25 Jan 2010 13:22:52 -0800 Subject: [Baypiggies] Is there an equivalent to perl -S for python? In-Reply-To: <1f7713e31001251321o3830b923xbb3c0fd0ee534cfb@mail.gmail.com> References: <8540148a1001251311u2162f698g29d85d014582e401@mail.gmail.com> <1f7713e31001251321o3830b923xbb3c0fd0ee534cfb@mail.gmail.com> Message-ID: <1f7713e31001251322y6c806fdbjb0aa29d3b4d16ff1@mail.gmail.com> 'python -m xyz' will search for xyz.py in the path and run it as __main__. - Jeremy On Jan 25, 2010 1:15 PM, "William Deegan" wrote: Greetings, perl -S xyz.pl will find the xyz.pl in the PATH and run it. Is there an equivalent flag for python? Or do I need to do: x=`which xyz.py` python $x Thanks, Bill _______________________________________________ Baypiggies mailing list Baypiggies at python.org To change your subscription options or unsubscribe: http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.r.fishman at gmail.com Mon Jan 25 22:24:24 2010 From: jeremy.r.fishman at gmail.com (Jeremy Fishman) Date: Mon, 25 Jan 2010 13:24:24 -0800 Subject: [Baypiggies] Is there an equivalent to perl -S for python? In-Reply-To: <1f7713e31001251322y6c806fdbjb0aa29d3b4d16ff1@mail.gmail.com> References: <8540148a1001251311u2162f698g29d85d014582e401@mail.gmail.com> <1f7713e31001251321o3830b923xbb3c0fd0ee534cfb@mail.gmail.com> <1f7713e31001251322y6c806fdbjb0aa29d3b4d16ff1@mail.gmail.com> Message-ID: <1f7713e31001251324i7f8d4ad9n7a6a6a815efad63a@mail.gmail.com> That is, the PYTHONPATH. On Jan 25, 2010 1:22 PM, "Jeremy Fishman" wrote: 'python -m xyz' will search for xyz.py in the path and run it as __main__. - Jeremy > > On Jan 25, 2010 1:15 PM, "William Deegan" wrote: > > Greetings, > > perl -S... _______________________________________________ Baypiggies mailing list Baypiggies at python.org To change your subscription options or unsubscribe: http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From jon at inklesspen.com Mon Jan 25 22:18:51 2010 From: jon at inklesspen.com (Jon Rosebaugh) Date: Mon, 25 Jan 2010 13:18:51 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: References: Message-ID: >>> (a in alist) == (a in alist) True On Jan 25, 2010, at 1:12 PM, Max Slimmer wrote: > Can anyone explain the following: > > >>> a = 1 > >>> b = 2 > >>> alist = [5,6] > >>> print a in alist > False > > >>> a in alist == b in alist > False > >>> a in alist == a in alist > False > >>> bool(a in alist) == bool(b in alist) # this does what we expect > True > >>> c = 5 > >>> c in alist == c in alist > False > >>> > > max > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From bender at onsrc.com Mon Jan 25 22:25:46 2010 From: bender at onsrc.com (Ryan Delucchi) Date: Mon, 25 Jan 2010 13:25:46 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: References: Message-ID: This appears to be an order of precedence issue. Observe: >>> (a in alist) == (b in alist) True Ryan On Jan 25, 2010, at 1:12 PM, Max Slimmer wrote: > Can anyone explain the following: > > >>> a = 1 > >>> b = 2 > >>> alist = [5,6] > >>> print a in alist > False > > >>> a in alist == b in alist > False > >>> a in alist == a in alist > False > >>> bool(a in alist) == bool(b in alist) # this does what we > expect > True > >>> c = 5 > >>> c in alist == c in alist > False > >>> > > max > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From bpederse at gmail.com Mon Jan 25 22:26:21 2010 From: bpederse at gmail.com (Brent Pedersen) Date: Mon, 25 Jan 2010 13:26:21 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: References: Message-ID: http://docs.python.org/reference/expressions.html#summary so == and 'in' have the same precedence. so your statement is equivalent to: >>> ((a in alist) == b) in alist On Mon, Jan 25, 2010 at 1:12 PM, Max Slimmer wrote: > Can anyone explain the following: > >>>> a = 1 >>>> b = 2 >>>> alist = [5,6] >>>> print a in alist > False > >>>> a in alist == b in alist > False >>>> a in alist == a in alist > False >>>> bool(a in alist) == bool(b in alist)????? # this does what we expect > True >>>> c = 5 >>>> c in alist == c in alist > False >>>> > > max > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From akwright at mac.com Mon Jan 25 22:28:11 2010 From: akwright at mac.com (Kevin Wright) Date: Mon, 25 Jan 2010 13:28:11 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: References: Message-ID: On Jan 25, 2010, at 1:12 PM, Max Slimmer wrote: > Can anyone explain the following: > > >>> a = 1 > >>> b = 2 > >>> alist = [5,6] > >>> print a in alist > False > > >>> a in alist == b in alist > False > >>> a in alist == a in alist > False > >>> bool(a in alist) == bool(b in alist) # this does what we > expect > True > >>> c = 5 > >>> c in alist == c in alist > False > >>> I assume it has to do with precedence: >>> (c in alist) == (c in alist) True Using the parentheses insures you are making the correct comparison > > max > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From ppergame at cisco.com Mon Jan 25 22:22:47 2010 From: ppergame at cisco.com (Pavel Pergamenshchik) Date: Mon, 25 Jan 2010 13:22:47 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: References: Message-ID: <20100125132247.53a33e74@bile> "in" and "==" are left-associative and have equal priority. "a in alist == b in alist" is equivalent to "((a in alist) == b) in alist" On Mon, 25 Jan 2010 13:12:33 -0800 Max Slimmer wrote: > Can anyone explain the following: > > >>> a = 1 > >>> b = 2 > >>> alist = [5,6] > >>> print a in alist > False > > >>> a in alist == b in alist > False > >>> a in alist == a in alist > False > >>> bool(a in alist) == bool(b in alist) # this does what we > >>> expect > True > >>> c = 5 > >>> c in alist == c in alist > False > >>> > > max From langton2 at llnl.gov Mon Jan 25 22:27:30 2010 From: langton2 at llnl.gov (Asher Langton) Date: Mon, 25 Jan 2010 13:27:30 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: References: Message-ID: <3E7EACB1-6665-43EE-AF35-6F0501210EDB@llnl.gov> On Jan 25, 2010, at 1:12 PM, Max Slimmer wrote: > Can anyone explain the following: > > >>> a = 1 > >>> b = 2 > >>> alist = [5,6] > >>> print a in alist > False > > >>> a in alist == b in alist > False > >>> a in alist == a in alist > False > >>> bool(a in alist) == bool(b in alist) # this does what we > expect > True > >>> c = 5 > >>> c in alist == c in alist > False > >>> The '==' and 'in' operators have the same precedence, so the expression 'a in alist == b in alist' is evaluated left-to-right as: >>> ( (a in alist) == b) in alist Since 'a in alist' is False, this is the same as >>> ( False == b) in alist which can be simplified to >>> False in alist which is False. -Asher From damonmc at gmail.com Tue Jan 26 00:03:30 2010 From: damonmc at gmail.com (Damon McCormick) Date: Mon, 25 Jan 2010 15:03:30 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: <3E7EACB1-6665-43EE-AF35-6F0501210EDB@llnl.gov> References: <3E7EACB1-6665-43EE-AF35-6F0501210EDB@llnl.gov> Message-ID: <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> While the suggested *fixes* are all correct (when in doubt, explicilty parenthesize!), none of the *explanations* for the unexpected output are quite right. Since this involves a subtle issue, I thought I'd send a full explanation. It's tempting to assume that >>> a in alist == b in alist is equivalent to >>> ((a in alist) == b) in alist However, this is not correct! For a simpler (but perhaps more confusing) example of the hazards of using "in" and "==", non-parenthesized, in an expression like this, consider the following: >>> a = 1 # as before >>> alist = [5,6] # as before >>> a in alist == False False >>> (a in alist) == False True Weird, right? And no, putting parens around (alist == False) won't work--that would be an exception because the right side of the 'in' operator wouldn't be iterable. Here's one last example: >>> blist = [1, [5,6]] >>> 5 in alist == [5,6] in blist True You might enjoy the exercise of figuring out why the above output is correct. But to cut to the chase, what's going on is the following. Python allows comparisons to be chained, as in the following: >>> a == 1 == 2/2 True >>> 1 < 5 < 7 True The way the chaining works (see 5.9 in http://tinyurl.com/3vsb6m) is that >>> a == 1 == 2/2 is equivalent to >>> (a == 1) and (1 == 2/2) and >>> 1 < 5 < 7 is equivalent to >>> (1 < 5) and (5 < 7) Since 'in' is just another comparison operator, it works the same way. Thus, the the original expression >>> a in alist == b in alist is equivalent to >>>(a in alist) and (alist == b) and (b in alist) which is False because all three comparisons are False. You'll see that the two other examples I came up with make sense in this context as well. -Damon On Mon, Jan 25, 2010 at 1:27 PM, Asher Langton wrote: > On Jan 25, 2010, at 1:12 PM, Max Slimmer wrote: > >> Can anyone explain the following: >> >> >>> a = 1 >> >>> b = 2 >> >>> alist = [5,6] >> >>> print a in alist >> False >> >> >>> a in alist == b in alist >> False >> >>> a in alist == a in alist >> False >> >>> bool(a in alist) == bool(b in alist) # this does what we expect >> True >> >>> c = 5 >> >>> c in alist == c in alist >> False >> >>> >> > > The '==' and 'in' operators have the same precedence, so the expression 'a > in alist == b in alist' is evaluated left-to-right as: > > >>> ( (a in alist) == b) in alist > > Since 'a in alist' is False, this is the same as > > >>> ( False == b) in alist > > which can be simplified to > > >>> False in alist > > which is False. > > > -Asher > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From langton2 at llnl.gov Tue Jan 26 00:20:25 2010 From: langton2 at llnl.gov (Asher Langton) Date: Mon, 25 Jan 2010 15:20:25 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> References: <3E7EACB1-6665-43EE-AF35-6F0501210EDB@llnl.gov> <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> Message-ID: <6CC4440D-86D1-4877-8C48-B01DD16CB906@llnl.gov> On Jan 25, 2010, at 3:03 PM, Damon McCormick wrote: > Since 'in' is just another comparison operator, it works the same > way. Thus, the the original expression > > >>> a in alist == b in alist > is equivalent to > >>>(a in alist) and (alist == b) and (b in alist) Thanks for the correction. I don't typically use chained expressions, and I had no idea that dissimilar operators like '==' and 'in' could be chained like that. -Asher From bender at onsrc.com Tue Jan 26 00:25:19 2010 From: bender at onsrc.com (Ryan Delucchi) Date: Mon, 25 Jan 2010 15:25:19 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> References: <3E7EACB1-6665-43EE-AF35-6F0501210EDB@llnl.gov> <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> Message-ID: huh, I knew about chaining in Python but didn't realize that "in" also exhibits this behavior. Now, as much as I like many of the neat features in Python (including logic chaining), I am going to go out on a limb and say that this is a particularly confusing use of chaining and should be avoided (for the same reason that folks programming in C should make judicious use of pointer arithmetic). But pragmatics aside, this is actually pretty cool and good to know. Ryan On Jan 25, 2010, at 3:03 PM, Damon McCormick wrote: > While the suggested *fixes* are all correct (when in doubt, > explicilty parenthesize!), none of the *explanations* for the > unexpected output are quite right. Since this involves a subtle > issue, I thought I'd send a full explanation. > > It's tempting to assume that > > >>> a in alist == b in alist > is equivalent to > >>> ((a in alist) == b) in alist > > However, this is not correct! > > For a simpler (but perhaps more confusing) example of the hazards of > using "in" and "==", non-parenthesized, in an expression like this, > consider the following: > > >>> a = 1 # as before > >>> alist = [5,6] # as before > >>> a in alist == False > False > >>> (a in alist) == False > True > > Weird, right? And no, putting parens around (alist == False) won't > work--that would be an exception because the right side of the 'in' > operator wouldn't be iterable. > > Here's one last example: > > >>> blist = [1, [5,6]] > >>> 5 in alist == [5,6] in blist > True > > You might enjoy the exercise of figuring out why the above output is > correct. But to cut to the chase, what's going on is the > following. Python allows comparisons to be chained, as in the > following: > > >>> a == 1 == 2/2 > True > >>> 1 < 5 < 7 > True > > The way the chaining works (see 5.9 in http://tinyurl.com/3vsb6m) is > that > > >>> a == 1 == 2/2 > is equivalent to > >>> (a == 1) and (1 == 2/2) > > and > > >>> 1 < 5 < 7 > is equivalent to > >>> (1 < 5) and (5 < 7) > > Since 'in' is just another comparison operator, it works the same > way. Thus, the the original expression > > >>> a in alist == b in alist > is equivalent to > >>>(a in alist) and (alist == b) and (b in alist) > > which is False because all three comparisons are False. You'll see > that the two other examples I came up with make sense in this > context as well. > > -Damon > > > > On Mon, Jan 25, 2010 at 1:27 PM, Asher Langton > wrote: > On Jan 25, 2010, at 1:12 PM, Max Slimmer wrote: > Can anyone explain the following: > > >>> a = 1 > >>> b = 2 > >>> alist = [5,6] > >>> print a in alist > False > > >>> a in alist == b in alist > False > >>> a in alist == a in alist > False > >>> bool(a in alist) == bool(b in alist) # this does what we > expect > True > >>> c = 5 > >>> c in alist == c in alist > False > >>> > > The '==' and 'in' operators have the same precedence, so the > expression 'a in alist == b in alist' is evaluated left-to-right as: > > >>> ( (a in alist) == b) in alist > > Since 'a in alist' is False, this is the same as > > >>> ( False == b) in alist > > which can be simplified to > > >>> False in alist > > which is False. > > > -Asher > > _______________________________________________ > 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: From rich at noir.com Tue Jan 26 00:30:21 2010 From: rich at noir.com (K. Richard Pixley) Date: Mon, 25 Jan 2010 15:30:21 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> References: <3E7EACB1-6665-43EE-AF35-6F0501210EDB@llnl.gov> <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> Message-ID: <4B5E298D.8080901@noir.com> Damon McCormick wrote: > Since 'in' is just another comparison operator, it works the same way. Thank you! Good explanation and clearly needed. --rich -------------- next part -------------- An HTML attachment was scrubbed... URL: From max at theslimmers.net Tue Jan 26 01:06:01 2010 From: max at theslimmers.net (Max Slimmer) Date: Mon, 25 Jan 2010 16:06:01 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> References: <3E7EACB1-6665-43EE-AF35-6F0501210EDB@llnl.gov> <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> Message-ID: Great explanation, this should be a good newbie nugget. Thanks, Max Slimmer On Mon, Jan 25, 2010 at 3:03 PM, Damon McCormick wrote: > While the suggested *fixes* are all correct (when in doubt, explicilty > parenthesize!), none of the *explanations* for the unexpected output are > quite right. Since this involves a subtle issue, I thought I'd send a full > explanation. > > It's tempting to assume that > > >>> a in alist == b in alist > is equivalent to > >>> ((a in alist) == b) in alist > > However, this is not correct! > > For a simpler (but perhaps more confusing) example of the hazards of using > "in" and "==", non-parenthesized, in an expression like this, consider the > following: > > >>> a = 1 # as before > >>> alist = [5,6] # as before > >>> a in alist == False > False > >>> (a in alist) == False > True > > Weird, right? And no, putting parens around (alist == False) won't > work--that would be an exception because the right side of the 'in' operator > wouldn't be iterable. > > Here's one last example: > > >>> blist = [1, [5,6]] > >>> 5 in alist == [5,6] in blist > True > > You might enjoy the exercise of figuring out why the above output is > correct. But to cut to the chase, what's going on is the following. Python > allows comparisons to be chained, as in the following: > > >>> a == 1 == 2/2 > True > >>> 1 < 5 < 7 > True > > The way the chaining works (see 5.9 in http://tinyurl.com/3vsb6m) is that > > >>> a == 1 == 2/2 > is equivalent to > >>> (a == 1) and (1 == 2/2) > > and > > >>> 1 < 5 < 7 > is equivalent to > >>> (1 < 5) and (5 < 7) > > Since 'in' is just another comparison operator, it works the same way. > Thus, the the original expression > > >>> a in alist == b in alist > is equivalent to > >>>(a in alist) and (alist == b) and (b in alist) > > which is False because all three comparisons are False. You'll see that > the two other examples I came up with make sense in this context as well. > > -Damon > > > > On Mon, Jan 25, 2010 at 1:27 PM, Asher Langton wrote: > >> On Jan 25, 2010, at 1:12 PM, Max Slimmer wrote: >> >>> Can anyone explain the following: >>> >>> >>> a = 1 >>> >>> b = 2 >>> >>> alist = [5,6] >>> >>> print a in alist >>> False >>> >>> >>> a in alist == b in alist >>> False >>> >>> a in alist == a in alist >>> False >>> >>> bool(a in alist) == bool(b in alist) # this does what we expect >>> True >>> >>> c = 5 >>> >>> c in alist == c in alist >>> False >>> >>> >>> >> >> The '==' and 'in' operators have the same precedence, so the expression 'a >> in alist == b in alist' is evaluated left-to-right as: >> >> >>> ( (a in alist) == b) in alist >> >> Since 'a in alist' is False, this is the same as >> >> >>> ( False == b) in alist >> >> which can be simplified to >> >> >>> False in alist >> >> which is False. >> >> >> -Asher >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Tue Jan 26 02:37:10 2010 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 25 Jan 2010 17:37:10 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: References: <3E7EACB1-6665-43EE-AF35-6F0501210EDB@llnl.gov> <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> Message-ID: Agreed. Jim prepared a similar newbie nugget about chaining, but had a toothache and couldn't present it. I did at the last minute, but don't think I sid it justice. Jim, what are the chances you present again with some of these examples. Or, Max. Or anyone. I'd like to learn more. Cheers, Glen On Jan 25, 2010, at 4:06 PM, Max Slimmer wrote: > Great explanation, this should be a good newbie nugget. > > Thanks, > Max Slimmer > > > > On Mon, Jan 25, 2010 at 3:03 PM, Damon McCormick > wrote: > While the suggested *fixes* are all correct (when in doubt, > explicilty parenthesize!), none of the *explanations* for the > unexpected output are quite right. Since this involves a subtle > issue, I thought I'd send a full explanation. > > It's tempting to assume that > > >>> a in alist == b in alist > is equivalent to > >>> ((a in alist) == b) in alist > > However, this is not correct! > > For a simpler (but perhaps more confusing) example of the hazards of > using "in" and "==", non-parenthesized, in an expression like this, > consider the following: > > >>> a = 1 # as before > >>> alist = [5,6] # as before > >>> a in alist == False > False > >>> (a in alist) == False > True > > Weird, right? And no, putting parens around (alist == False) won't > work--that would be an exception because the right side of the 'in' > operator wouldn't be iterable. > > Here's one last example: > > >>> blist = [1, [5,6]] > >>> 5 in alist == [5,6] in blist > True > > You might enjoy the exercise of figuring out why the above output is > correct. But to cut to the chase, what's going on is the > following. Python allows comparisons to be chained, as in the > following: > > >>> a == 1 == 2/2 > True > >>> 1 < 5 < 7 > True > > The way the chaining works (see 5.9 in http://tinyurl.com/3vsb6m) is > that > > >>> a == 1 == 2/2 > is equivalent to > >>> (a == 1) and (1 == 2/2) > > and > > >>> 1 < 5 < 7 > is equivalent to > >>> (1 < 5) and (5 < 7) > > Since 'in' is just another comparison operator, it works the same > way. Thus, the the original expression > > >>> a in alist == b in alist > is equivalent to > >>>(a in alist) and (alist == b) and (b in alist) > > which is False because all three comparisons are False. You'll see > that the two other examples I came up with make sense in this > context as well. > > -Damon > > > > On Mon, Jan 25, 2010 at 1:27 PM, Asher Langton > wrote: > On Jan 25, 2010, at 1:12 PM, Max Slimmer wrote: > Can anyone explain the following: > > >>> a = 1 > >>> b = 2 > >>> alist = [5,6] > >>> print a in alist > False > > >>> a in alist == b in alist > False > >>> a in alist == a in alist > False > >>> bool(a in alist) == bool(b in alist) # this does what we > expect > True > >>> c = 5 > >>> c in alist == c in alist > False > >>> > > The '==' and 'in' operators have the same precedence, so the > expression 'a in alist == b in alist' is evaluated left-to-right as: > > >>> ( (a in alist) == b) in alist > > Since 'a in alist' is False, this is the same as > > >>> ( False == b) in alist > > which can be simplified to > > >>> False in alist > > which is False. > > > -Asher > > _______________________________________________ > 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: From jim at well.com Tue Jan 26 05:24:30 2010 From: jim at well.com (jim) Date: Mon, 25 Jan 2010 20:24:30 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: References: <3E7EACB1-6665-43EE-AF35-6F0501210EDB@llnl.gov> <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> Message-ID: <1264479870.6506.312.camel@jim-laptop> i think the examples in this thread are pretty good. you and i gave it a shot, glen; it'd be interesting to listen to Damon's pitch. what say, Damon: want to do a newbie nugget at one of the bayPIGgies' meetings? On Mon, 2010-01-25 at 17:37 -0800, Glen Jarvis wrote: > Agreed. Jim prepared a similar newbie nugget about chaining, but had a > toothache and couldn't present it. I did at the last minute, but don't > think I sid it justice. > > > Jim, what are the chances you present again with some of these > examples. Or, Max. Or anyone. I'd like to learn more. > > > Cheers, > > > Glen > > On Jan 25, 2010, at 4:06 PM, Max Slimmer wrote: > > > > > Great explanation, this should be a good newbie nugget. > > > > Thanks, > > Max Slimmer > > > > > > > > On Mon, Jan 25, 2010 at 3:03 PM, Damon McCormick > > wrote: > > While the suggested *fixes* are all correct (when in doubt, > > explicilty parenthesize!), none of the *explanations* for > > the unexpected output are quite right. Since this involves > > a subtle issue, I thought I'd send a full explanation. > > > > It's tempting to assume that > > > > >>> a in alist == b in alist > > is equivalent to > > >>> ((a in alist) == b) in alist > > > > However, this is not correct! > > > > For a simpler (but perhaps more confusing) example of the > > hazards of using "in" and "==", non-parenthesized, in an > > expression like this, consider the following: > > > > >>> a = 1 # as before > > >>> alist = [5,6] # as before > > >>> a in alist == False > > False > > >>> (a in alist) == False > > True > > > > Weird, right? And no, putting parens around (alist == > > False) won't work--that would be an exception because the > > right side of the 'in' operator wouldn't be iterable. > > > > Here's one last example: > > > > >>> blist = [1, [5,6]] > > >>> 5 in alist == [5,6] in blist > > True > > > > You might enjoy the exercise of figuring out why the above > > output is correct. But to cut to the chase, what's going on > > is the following. Python allows comparisons to be chained, > > as in the following: > > > > >>> a == 1 == 2/2 > > True > > >>> 1 < 5 < 7 > > True > > > > The way the chaining works (see 5.9 in > > http://tinyurl.com/3vsb6m) is that > > > > >>> a == 1 == 2/2 > > is equivalent to > > >>> (a == 1) and (1 == 2/2) > > > > and > > > > >>> 1 < 5 < 7 > > is equivalent to > > >>> (1 < 5) and (5 < 7) > > > > Since 'in' is just another comparison operator, it works the > > same way. Thus, the the original expression > > > > >>> a in alist == b in alist > > is equivalent to > > >>>(a in alist) and (alist == b) and (b in alist) > > > > which is False because all three comparisons are False. > > You'll see that the two other examples I came up with make > > sense in this context as well. > > > > -Damon > > > > > > > > On Mon, Jan 25, 2010 at 1:27 PM, Asher Langton > > wrote: > > On Jan 25, 2010, at 1:12 PM, Max Slimmer wrote: > > > > > > Can anyone explain the following: > > > > >>> a = 1 > > >>> b = 2 > > >>> alist = [5,6] > > >>> print a in alist > > False > > > > >>> a in alist == b in alist > > False > > >>> a in alist == a in alist > > False > > >>> bool(a in alist) == bool(b in alist) > > # this does what we expect > > True > > >>> c = 5 > > >>> c in alist == c in alist > > False > > >>> > > > > > > The '==' and 'in' operators have the same > > precedence, so the expression 'a in alist == b in > > alist' is evaluated left-to-right as: > > > > >>> ( (a in alist) == b) in alist > > > > Since 'a in alist' is False, this is the same as > > > > >>> ( False == b) in alist > > > > which can be simplified to > > > > >>> False in alist > > > > which is False. > > > > > > -Asher > > > > > > _______________________________________________ > > 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 > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From jeff at drinktomi.com Tue Jan 26 07:03:18 2010 From: jeff at drinktomi.com (Jeff Younker) Date: Mon, 25 Jan 2010 22:03:18 -0800 Subject: [Baypiggies] Python media libraries Message-ID: <9B1790E4-72E2-4466-93A1-7CA41E42CAD6@drinktomi.com> I'm looking for recommendations on a Python media library. The primary purpose is to extract metadata. What do you folks recommend? - Jeff Younker - jeff at drinktomi.com - From drewp at bigasterisk.com Tue Jan 26 07:33:52 2010 From: drewp at bigasterisk.com (Drew Perttula) Date: Mon, 25 Jan 2010 22:33:52 -0800 Subject: [Baypiggies] Is there an equivalent to perl -S for python? In-Reply-To: <8540148a1001251311u2162f698g29d85d014582e401@mail.gmail.com> References: <8540148a1001251311u2162f698g29d85d014582e401@mail.gmail.com> Message-ID: <4B5E8CD0.1050507@bigasterisk.com> On 01/25/2010 01:11 PM, William Deegan wrote: > Greetings, > > perl -S xyz.pl will find the xyz.pl in > the PATH and run it. > Is there an equivalent flag for python? > Or do I need to do: > x=`which xyz.py` > python $x > zsh has a shell shortcut for `which foo`, letting you do this: python =xyz.py Now the -S version is the long way :) zsh users can also do "less =xyz.py", etc. From aahz at pythoncraft.com Tue Jan 26 16:49:50 2010 From: aahz at pythoncraft.com (Aahz) Date: Tue, 26 Jan 2010 07:49:50 -0800 Subject: [Baypiggies] Python media libraries In-Reply-To: <9B1790E4-72E2-4466-93A1-7CA41E42CAD6@drinktomi.com> References: <9B1790E4-72E2-4466-93A1-7CA41E42CAD6@drinktomi.com> Message-ID: <20100126154949.GA3531@panix.com> On Mon, Jan 25, 2010, Jeff Younker wrote: > > I'm looking for recommendations on a Python media library. The > primary purpose is to extract metadata. I'm using the EXIF module for JPG. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ import antigravity From eric at ericwalstad.com Tue Jan 26 17:45:32 2010 From: eric at ericwalstad.com (Eric Walstad) Date: Tue, 26 Jan 2010 08:45:32 -0800 Subject: [Baypiggies] Python media libraries In-Reply-To: <9B1790E4-72E2-4466-93A1-7CA41E42CAD6@drinktomi.com> References: <9B1790E4-72E2-4466-93A1-7CA41E42CAD6@drinktomi.com> Message-ID: On Mon, Jan 25, 2010 at 10:03 PM, Jeff Younker wrote: > I'm looking for recommendations on a Python media library. ?The primary purpose is to extract metadata. I recently added EXIF reading code to my photo/image processing script. I ended up using PIL's _getexif method because I was already using PIL for other functions. PIL works well for my simple photo editing needs, mostly resizing and rotating images (and now reading some EXIF data). EW From mikeyp at snaplogic.com Tue Jan 26 17:20:52 2010 From: mikeyp at snaplogic.com (Michael Pittaro) Date: Tue, 26 Jan 2010 08:20:52 -0800 Subject: [Baypiggies] Python media libraries In-Reply-To: <9B1790E4-72E2-4466-93A1-7CA41E42CAD6@drinktomi.com> References: <9B1790E4-72E2-4466-93A1-7CA41E42CAD6@drinktomi.com> Message-ID: <4B5F1664.6070902@snaplogic.com> Jeff Younker wrote: > I'm looking for recommendations on a Python media library. The primary purpose is to extract metadata. > > What do you folks recommend? > > - Jeff Younker - jeff at drinktomi.com I've use eyed3 for ID3 / MP3 tag processing. http://eyed3.nicfit.net/ mike -- Mike Pittaro Co-Founder Snaplogic, Inc. mikeyp at snaplogic.com http://www.snaplogic.com Know an App ? Write a Snap ! http://tinyurl.com/snapstore-challenge From janssen at parc.com Tue Jan 26 19:11:49 2010 From: janssen at parc.com (Bill Janssen) Date: Tue, 26 Jan 2010 10:11:49 PST Subject: [Baypiggies] Python media libraries In-Reply-To: <9B1790E4-72E2-4466-93A1-7CA41E42CAD6@drinktomi.com> References: <9B1790E4-72E2-4466-93A1-7CA41E42CAD6@drinktomi.com> Message-ID: <15975.1264529509@parc.com> Jeff Younker wrote: > I'm looking for recommendations on a Python media library. The primary purpose is to extract metadata. > > What do you folks recommend? Jeff, I've looked at a lot of these libraries for UpLib. Hachoir may come closest to what you want. For UpLib, I wound up using these: * hachoir (and a tiny bit of pyglet) for video, * mutagen for ID3 tags in music, * vobject for iCalendar/vCard, * PIL for EXIF data in TIFF and JPEG files. All of my source code for this is available at http://uplib.parc.com/. Bill From damonmc at gmail.com Wed Jan 27 00:06:03 2010 From: damonmc at gmail.com (Damon McCormick) Date: Tue, 26 Jan 2010 15:06:03 -0800 Subject: [Baypiggies] What is happening here with true/false comparisons In-Reply-To: <1264479870.6506.312.camel@jim-laptop> References: <3E7EACB1-6665-43EE-AF35-6F0501210EDB@llnl.gov> <3cce76f61001251503n4b550854l531b85fea7c69d5c@mail.gmail.com> <1264479870.6506.312.camel@jim-laptop> Message-ID: <3cce76f61001261506u2d342470ie9f7b2b387edfe7c@mail.gmail.com> Sure--I'd be up for that. -Damon On Mon, Jan 25, 2010 at 8:24 PM, jim wrote: > > i think the examples in this thread are pretty good. > you and i gave it a shot, glen; it'd be interesting to > listen to Damon's pitch. > what say, Damon: want to do a newbie nugget at one of > the bayPIGgies' meetings? > > > > On Mon, 2010-01-25 at 17:37 -0800, Glen Jarvis wrote: > > Agreed. Jim prepared a similar newbie nugget about chaining, but had a > > toothache and couldn't present it. I did at the last minute, but don't > > think I sid it justice. > > > > > > Jim, what are the chances you present again with some of these > > examples. Or, Max. Or anyone. I'd like to learn more. > > > > > > Cheers, > > > > > > Glen > > > > On Jan 25, 2010, at 4:06 PM, Max Slimmer wrote: > > > > > > > > > Great explanation, this should be a good newbie nugget. > > > > > > Thanks, > > > Max Slimmer > > > > > > > > > > > > On Mon, Jan 25, 2010 at 3:03 PM, Damon McCormick > > > wrote: > > > While the suggested *fixes* are all correct (when in doubt, > > > explicilty parenthesize!), none of the *explanations* for > > > the unexpected output are quite right. Since this involves > > > a subtle issue, I thought I'd send a full explanation. > > > > > > It's tempting to assume that > > > > > > >>> a in alist == b in alist > > > is equivalent to > > > >>> ((a in alist) == b) in alist > > > > > > However, this is not correct! > > > > > > For a simpler (but perhaps more confusing) example of the > > > hazards of using "in" and "==", non-parenthesized, in an > > > expression like this, consider the following: > > > > > > >>> a = 1 # as before > > > >>> alist = [5,6] # as before > > > >>> a in alist == False > > > False > > > >>> (a in alist) == False > > > True > > > > > > Weird, right? And no, putting parens around (alist == > > > False) won't work--that would be an exception because the > > > right side of the 'in' operator wouldn't be iterable. > > > > > > Here's one last example: > > > > > > >>> blist = [1, [5,6]] > > > >>> 5 in alist == [5,6] in blist > > > True > > > > > > You might enjoy the exercise of figuring out why the above > > > output is correct. But to cut to the chase, what's going on > > > is the following. Python allows comparisons to be chained, > > > as in the following: > > > > > > >>> a == 1 == 2/2 > > > True > > > >>> 1 < 5 < 7 > > > True > > > > > > The way the chaining works (see 5.9 in > > > http://tinyurl.com/3vsb6m) is that > > > > > > >>> a == 1 == 2/2 > > > is equivalent to > > > >>> (a == 1) and (1 == 2/2) > > > > > > and > > > > > > >>> 1 < 5 < 7 > > > is equivalent to > > > >>> (1 < 5) and (5 < 7) > > > > > > Since 'in' is just another comparison operator, it works the > > > same way. Thus, the the original expression > > > > > > >>> a in alist == b in alist > > > is equivalent to > > > >>>(a in alist) and (alist == b) and (b in alist) > > > > > > which is False because all three comparisons are False. > > > You'll see that the two other examples I came up with make > > > sense in this context as well. > > > > > > -Damon > > > > > > > > > > > > On Mon, Jan 25, 2010 at 1:27 PM, Asher Langton > > > wrote: > > > On Jan 25, 2010, at 1:12 PM, Max Slimmer wrote: > > > > > > > > > Can anyone explain the following: > > > > > > >>> a = 1 > > > >>> b = 2 > > > >>> alist = [5,6] > > > >>> print a in alist > > > False > > > > > > >>> a in alist == b in alist > > > False > > > >>> a in alist == a in alist > > > False > > > >>> bool(a in alist) == bool(b in alist) > > > # this does what we expect > > > True > > > >>> c = 5 > > > >>> c in alist == c in alist > > > False > > > >>> > > > > > > > > > The '==' and 'in' operators have the same > > > precedence, so the expression 'a in alist == b in > > > alist' is evaluated left-to-right as: > > > > > > >>> ( (a in alist) == b) in alist > > > > > > Since 'a in alist' is False, this is the same as > > > > > > >>> ( False == b) in alist > > > > > > which can be simplified to > > > > > > >>> False in alist > > > > > > which is False. > > > > > > > > > -Asher > > > > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ > > 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: From glen at glenjarvis.com Wed Jan 27 07:26:43 2010 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 26 Jan 2010 22:26:43 -0800 Subject: [Baypiggies] Filming BayPIGgies meeting Thursday Message-ID: I have a meeting that is going to keep me late at work. I'm not going to be able to get to Mountain View in time to video tape. In fact, I'm not certain I'll make it on time to attend personally. Can we get alternate volunteers to tape again. Cheers, Glen -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff at drinktomi.com Wed Jan 27 08:54:31 2010 From: jeff at drinktomi.com (Jeff Younker) Date: Tue, 26 Jan 2010 23:54:31 -0800 Subject: [Baypiggies] Looking for a ride from Alameda/Oakland/SF to BP on Thursday Message-ID: The message sums it up. I work in Alameda. I can get to Oakland to depart, and I live in SF. - Jeff Younker - jeff at drinktomi.com - From voidref at gmail.com Wed Jan 27 08:54:39 2010 From: voidref at gmail.com (Alan Westbrook) Date: Tue, 26 Jan 2010 23:54:39 -0800 Subject: [Baypiggies] Filming BayPIGgies meeting Thursday In-Reply-To: References: Message-ID: <5df1e9b01001262354l408e1783mc4616e089677cb8@mail.gmail.com> I'm afraid that I won't be able to make the meeting this month either. Alan On Tue, Jan 26, 2010 at 10:26 PM, Glen Jarvis wrote: > I have a meeting that is going to keep me late at work. I'm not going to be > able to get to Mountain View in time to video tape. In fact, I'm not certain > I'll make it on time to attend personally. > > Can we get alternate volunteers to tape again. > > > Cheers, > > > Glen > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at well.com Wed Jan 27 22:45:54 2010 From: jim at well.com (jim) Date: Wed, 27 Jan 2010 13:45:54 -0800 Subject: [Baypiggies] BayPIGgies meeting Thursday, January 28, 2010: Unladen Swallow Message-ID: <1264628754.6604.5.camel@jim-laptop> BayPIGgies meeting Thursday, January 28, 2010: Unladen Swallow Tonight's talk is * Unladen Swallow by Collin Winter and Jeffrey Yasskin Meetings usually start with a Newbie Nugget, a short discussion of an essential Python feature, especially for those new to Python. Tonight's Newbie Nugget: Comprehensions and Other Such Stuff LOCATION Symantec Corporation Symantec Vcafe 350 Ellis Street Mountain View, CA 94043 http://maps.google.com/maps/ms?oe=utf-8&client=firefox-a&ie=UTF8&fb=1&split=1&gl=us&ei=w6i_Sfr6MZmQsQOzlv0v&hl=en&t=h&msa=0&msid=116202735295394761637.00046550c09ff3d96bff1&ll=37.397693,-122.053707&spn=0.002902,0.004828&z=18 BayPIGgies meeting information is available at http://www.baypiggies.net/ ------------------------ Agenda ------------------------ ..... 7:30 PM ........................... General hubbub, inventory end-of-meeting announcements, any first-minute announcements. ..... 7:35 PM to 7:45 PM ................ Newbie Nugget: Comprehensions and Other Such Stuff by Wesley Chun ..... 7:45 PM to 8:40 PM (or so) ................ * Unladen Swallow by Collin Winter and Jeffrey Yasskin Abstract: A discussion about optimizing dynamic languages generally, optimizing Python specifically, and how Google's Unladen Swallow project is speeding up CPython. This talk will cover Google's motivation for UnladenSwallow, the approach being taken, results so far, challenges faced, cancers cured, and plans for merger with CPython. Bio: Collin Winter is a software engineer on Google's compiler team, where he serves as tech lead for Unladen Swallow, a Google-sponsored open-source project to speed up CPython. He's a long-time core Python developer, having contributed to the development of Python 3000 and having co-authored the 2to3 tool with Guido van Rossum. Bio: Jeffrey Yasskin is a software engineer on Google's compiler team, where he works on Unladen Swallow, a Google-sponsored open-source project to speed up CPython. He's a Python and LLVM committer, having contributed to the development of Python 3000 and fixed several critical bugs in LLVM's JIT infrastructure. Links: http://code.google.com/p/unladen-swallow/ http://code.google.com/p/unladen-swallow/wiki/ProjectPlan http://code.google.com/p/unladen-swallow/wiki/GettingStarted ..... 8:30 PM to 9:20 PM ................ Mapping and Random Access Mapping is a rapid-fire audience announcement of issues, hiring, events, and other topics. Random Access follows people immediately to allow follow up on the announcements and other interests. From me at silastoms.com Wed Jan 27 23:03:23 2010 From: me at silastoms.com (Silas Toms) Date: Wed, 27 Jan 2010 14:03:23 -0800 Subject: [Baypiggies] Python SVG and CGI In-Reply-To: <5df1e9b01001262354l408e1783mc4616e089677cb8@mail.gmail.com> References: <5df1e9b01001262354l408e1783mc4616e089677cb8@mail.gmail.com> Message-ID: <14C04BC92F414F93A2184435DCC07478@ebparks.org> Hello All- I'm trying to create a Python CGI application that will serve dynamically generated SVG maps (mostly of parcel data generated using supplied GPS coordinates) but I seem to be hitting the twin limitations of my (lack of) knowledge of CGI and the sparseness of Python CGI documentation with regards to the inclusion of SVG embeds or objects. Do any of you have any information/documentation that you could point me towards? The whole thing is so frustrating because this seems really promising, and I feel like I'm so close to creating something really useful. PS I'm more of a GIS guy so even the most basic info might be what I need. Thanks- Silas -------------- next part -------------- An HTML attachment was scrubbed... URL: From simeonf at gmail.com Wed Jan 27 23:53:45 2010 From: simeonf at gmail.com (Simeon Franklin) Date: Wed, 27 Jan 2010 14:53:45 -0800 Subject: [Baypiggies] Python SVG and CGI In-Reply-To: <14C04BC92F414F93A2184435DCC07478@ebparks.org> References: <5df1e9b01001262354l408e1783mc4616e089677cb8@mail.gmail.com> <14C04BC92F414F93A2184435DCC07478@ebparks.org> Message-ID: On Wed, Jan 27, 2010 at 2:03 PM, Silas Toms wrote: > I seem to be hitting the twin limitations of my (lack of) knowledge of CGI > and the sparseness of Python CGI documentation with regards to the inclusion > of SVG embeds or objects. Do any of you have any information/documentation > that you could point me towards? > Silas - Using CGI is pretty old school at this point and I suspect you'd find better documentation if you looked at one of the modern frameworks on the Python Wiki Web Frameworks page (http://wiki.python.org/moin/WebFrameworks). SVG on the other hand is a data standard for representing vector images in XML and has nothing to do with CGI or any other HTTP processing model. Perhaps you're trying to figure out how to get SVG images in HTML documents? You could start out with static HTML and a static SVG image. A List Apart just published a good overview of the browser support for various methods for getting SVG in HTML documents that you might find useful - Part 1 is at http://www.alistapart.com/articles/using-svg-for-flexible-scalable-and-fun-backgrounds-part-i/and part 2 is linked at the bottom of the page... -regards Simeon Franklin -------------- next part -------------- An HTML attachment was scrubbed... URL: From mvoorhie at yahoo.com Thu Jan 28 00:12:27 2010 From: mvoorhie at yahoo.com (Mark Voorhies) Date: Wed, 27 Jan 2010 15:12:27 -0800 Subject: [Baypiggies] Python SVG and CGI In-Reply-To: <14C04BC92F414F93A2184435DCC07478@ebparks.org> References: <5df1e9b01001262354l408e1783mc4616e089677cb8@mail.gmail.com> <14C04BC92F414F93A2184435DCC07478@ebparks.org> Message-ID: <201001271512.27630.mvoorhie@yahoo.com> On Wednesday 27 January 2010 2:03 pm Silas Toms wrote: > Hello All- > > > > I'm trying to create a Python CGI application that will serve dynamically > generated SVG maps (mostly of parcel data generated using supplied GPS > coordinates) but I seem to be hitting the twin limitations of my (lack of) > knowledge of CGI and the sparseness of Python CGI documentation with regards > to the inclusion of SVG embeds or objects. Do any of you have any > information/documentation that you could point me towards? > > The whole thing is so frustrating because this seems really promising, and I > feel like I'm so close to creating something really useful. > > > > PS I'm more of a GIS guy so even the most basic info might be what I need. > > > > Thanks- Silas > > I haven't had time to play with it, but mapnik from the OpenStreetMap project is C++ with python bindings and can generate SVG renderings of maps. It's LGPL-licensed, so it's probably worth at least looking at their code. http://mapnik.org/ http://wiki.openstreetmap.org/wiki/Beginners_Guide_1.5 --Mark From mvoorhie at yahoo.com Thu Jan 28 00:20:05 2010 From: mvoorhie at yahoo.com (Mark Voorhies) Date: Wed, 27 Jan 2010 15:20:05 -0800 Subject: [Baypiggies] Python SVG and CGI In-Reply-To: <201001271512.27630.mvoorhie@yahoo.com> References: <14C04BC92F414F93A2184435DCC07478@ebparks.org> <201001271512.27630.mvoorhie@yahoo.com> Message-ID: <201001271520.05710.mvoorhie@yahoo.com> On Wednesday 27 January 2010 3:12 pm Mark Voorhies wrote: > On Wednesday 27 January 2010 2:03 pm Silas Toms wrote: > > Hello All- > > > > > > > > I'm trying to create a Python CGI application that will serve dynamically > > generated SVG maps (mostly of parcel data generated using supplied GPS > > coordinates) but I seem to be hitting the twin limitations of my (lack of) > > knowledge of CGI and the sparseness of Python CGI documentation with regards > > to the inclusion of SVG embeds or objects. Do any of you have any > > information/documentation that you could point me towards? > > > > The whole thing is so frustrating because this seems really promising, and I > > feel like I'm so close to creating something really useful. > > > > > > > > PS I'm more of a GIS guy so even the most basic info might be what I need. > > > > > > > > Thanks- Silas > > > > > > I haven't had time to play with it, but mapnik from the OpenStreetMap project > is C++ with python bindings and can generate SVG renderings of maps. It's > LGPL-licensed, so it's probably worth at least looking at their code. > > http://mapnik.org/ > http://wiki.openstreetmap.org/wiki/Beginners_Guide_1.5 > > --Mark > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > Slightly off topic, but Inkscape is useful for debugging SVG output. ctrl-shift-x in Inkscape brings up an XML editor linked to the rendered SVG image, so you can get immediate feedback on the results of tweaking an SVG element. There's also a nice collection of examples for scripting Inkscape extensions with Python. http://www.inkscape.org/ --Mark From andywiggin at gmail.com Thu Jan 28 05:23:06 2010 From: andywiggin at gmail.com (Andy Wiggin) Date: Wed, 27 Jan 2010 20:23:06 -0800 Subject: [Baypiggies] Python SVG and CGI In-Reply-To: <14C04BC92F414F93A2184435DCC07478@ebparks.org> References: <5df1e9b01001262354l408e1783mc4616e089677cb8@mail.gmail.com> <14C04BC92F414F93A2184435DCC07478@ebparks.org> Message-ID: <74e7428a1001272023v108a64eqfeeb9d1608325e8c@mail.gmail.com> On Wed, Jan 27, 2010 at 2:03 PM, Silas Toms wrote: > I?m trying to create a Python CGI application that will serve dynamically > generated SVG maps (mostly of parcel data generated using supplied GPS > coordinates) but I seem to be hitting the twin limitations of my (lack of) > knowledge of CGI and the sparseness of Python CGI documentation with regards > to the inclusion of SVG embeds or objects. Do any of you have any > information/documentation that you could point me towards? > > The whole thing is so frustrating because this seems really promising, and I > feel like I?m so close to creating something really useful. > > PS I?m more of a GIS guy so even the most basic info might be what I need. Silas, I haven't done quite you're trying to do, but I have served SVG files from a web server. In the spirit of offering you the most basic info, I have two tips, both of which you may already know. The Internet Explorer web browser is not too friendly towards SVG, so if you're testing with IE, it could be part of your problem. Second is that when your CGI script services the request for the SVG file, you probably have to set the content type correctly. Modifying the example from the Python CGI module docs, you would want something like: print "Content-Type: image/svg+xml" print # blank line, end of headers -Andy From jjkunce at gmail.com Thu Jan 28 23:48:17 2010 From: jjkunce at gmail.com (Jeff Kunce) Date: Thu, 28 Jan 2010 14:48:17 -0800 Subject: [Baypiggies] Python SVG and CGI In-Reply-To: <74e7428a1001272023v108a64eqfeeb9d1608325e8c@mail.gmail.com> References: <5df1e9b01001262354l408e1783mc4616e089677cb8@mail.gmail.com> <14C04BC92F414F93A2184435DCC07478@ebparks.org> <74e7428a1001272023v108a64eqfeeb9d1608325e8c@mail.gmail.com> Message-ID: <833f4cd71001281448q57d59cbcj7ae0124ad366bd3@mail.gmail.com> Here's a good basic tutorial on CGI with Python: http://gnosis.cx/publish/programming/feature_5min_python.html A big gotcha for python CGI (especially serving binary data) is not running the interpreter in "unbuffered mode" (-u startup option.) An explanation can be found at: http://www.imladris.com/Scripts/PythonForWindows.html (scroll down to the last section "Cross-platform shebang lines") -- Jeff On Wed, Jan 27, 2010 at 8:23 PM, Andy Wiggin wrote: > On Wed, Jan 27, 2010 at 2:03 PM, Silas Toms wrote: > > I?m trying to create a Python CGI application that will serve dynamically > > generated SVG maps (mostly of parcel data generated using supplied GPS > > coordinates) but I seem to be hitting the twin limitations of my (lack > of) > > knowledge of CGI and the sparseness of Python CGI documentation with > regards > > to the inclusion of SVG embeds or objects. Do any of you have any > > information/documentation that you could point me towards? > > > > The whole thing is so frustrating because this seems really promising, > and I > > feel like I?m so close to creating something really useful. > > > > PS I?m more of a GIS guy so even the most basic info might be what I > need. > > Silas, > I haven't done quite you're trying to do, but I have served SVG files > from a web server. In the spirit of offering you the most basic info, > I have two tips, both of which you may already know. The Internet > Explorer web browser is not too friendly towards SVG, so if you're > testing with IE, it could be part of your problem. Second is that when > your CGI script services the request for the SVG file, you probably > have to set the content type correctly. Modifying the example from the > Python CGI module docs, you would want something like: > > print "Content-Type: image/svg+xml" > print # blank line, end of headers > > -Andy > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kbighorse at yahoo.com Fri Jan 29 00:23:00 2010 From: kbighorse at yahoo.com (Kimball Bighorse) Date: Thu, 28 Jan 2010 15:23:00 -0800 (PST) Subject: [Baypiggies] HTML Parsers (n00b) Message-ID: <904216.31743.qm@web82302.mail.mud.yahoo.com> Looking at beautiful soup, html5lib and pyquery, anything else I should be aware of? Many thanks, Kimball From jjkunce at gmail.com Fri Jan 29 00:40:59 2010 From: jjkunce at gmail.com (Jeff Kunce) Date: Thu, 28 Jan 2010 15:40:59 -0800 Subject: [Baypiggies] HTML Parsers (n00b) In-Reply-To: <904216.31743.qm@web82302.mail.mud.yahoo.com> References: <904216.31743.qm@web82302.mail.mud.yahoo.com> Message-ID: <833f4cd71001281540vc92bbc0q93a5af4c7c37c37c@mail.gmail.com> HTMLParser, libxml2dom, other stuff in the pyXML world. But if BeautifulSoup will do what you want, no need to look further. -- Jeff On Thu, Jan 28, 2010 at 3:23 PM, Kimball Bighorse wrote: > Looking at beautiful soup, html5lib and pyquery, anything else I should be > aware of? > > Many thanks, > > Kimball > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From max at theslimmers.net Fri Jan 29 00:43:48 2010 From: max at theslimmers.net (Max Slimmer) Date: Thu, 28 Jan 2010 15:43:48 -0800 Subject: [Baypiggies] HTML Parsers (n00b) In-Reply-To: <904216.31743.qm@web82302.mail.mud.yahoo.com> References: <904216.31743.qm@web82302.mail.mud.yahoo.com> Message-ID: I like lxml max On Thu, Jan 28, 2010 at 3:23 PM, Kimball Bighorse wrote: > Looking at beautiful soup, html5lib and pyquery, anything else I should be > aware of? > > Many thanks, > > Kimball > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alecf at flett.org Fri Jan 29 01:58:13 2010 From: alecf at flett.org (Alec Flett) Date: Thu, 28 Jan 2010 16:58:13 -0800 Subject: [Baypiggies] HTML Parsers (n00b) In-Reply-To: References: <904216.31743.qm@web82302.mail.mud.yahoo.com> Message-ID: lxml is awesome, don't be fooled by the name - it has great understanding of HTML, even malformed. ianbicking did a great comparison years ago but it still stands: http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/ and an update: http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/ Basically: lxml is fast as hell, (uses libxml2 under the hood)low memory footprint, and very forgiving of wacky html, better than Beautiful Soup. I think pyquery actually uses lxml under the hood? or at least libxml2? Alec On Thu, Jan 28, 2010 at 3:43 PM, Max Slimmer wrote: > > I like lxml > max > > > On Thu, Jan 28, 2010 at 3:23 PM, Kimball Bighorse wrote: > >> Looking at beautiful soup, html5lib and pyquery, anything else I should be >> aware of? >> >> Many thanks, >> >> Kimball >> _______________________________________________ >> 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: From glen at glenjarvis.com Fri Jan 29 02:17:36 2010 From: glen at glenjarvis.com (Glen Jarvis) Date: Thu, 28 Jan 2010 17:17:36 -0800 Subject: [Baypiggies] Step right up.. step right up.. Videographer positions open Message-ID: I've announced a few days ago that I couldn't make the meeting. So, I can't schlep all of that video equipment down there (I'm still in Berkeley... bloodshot eyes... groaning and moaning.... and and over-exaggerating a bit :) I received a phone call asking if I'd video tape and when I couldn't, they made a very good suggestion. They suggested, very kindly, that I turn this over to someone else. That's a great idea! Somehow, we made this into a real position... very cool. So, step right up.. step right up... The equipment I am using is owned by different members of the community ... so lack of equipment is not a reason. Do you want to be more involved in the community, but are afraid of getting up in front of everyone? Do you want to contribute, but aren't yet a coder. This is a great way to share your talents. I have missed the past two meetings and it's only going to get worse as long as I stay in my current employment position (I shall *not* complain since I didn't *HAVE* employment for so long :) If you have your own camera -- even a laptop camera -- or audio -- why not jump in there and video tape tonight... Cheers, Glen From jjkunce at gmail.com Fri Jan 29 02:26:08 2010 From: jjkunce at gmail.com (Jeff Kunce) Date: Thu, 28 Jan 2010 17:26:08 -0800 Subject: [Baypiggies] HTML Parsers (n00b) In-Reply-To: References: <904216.31743.qm@web82302.mail.mud.yahoo.com> Message-ID: <833f4cd71001281726o6577183w46f1c00c90d769e8@mail.gmail.com> No question about lxml's speed. I'm using it (as part of Deliverance) on a current project to re-theme a website on the fly. But for day-to-day use, it's Beautiful Soup. I can't resist pure python :) -- Jeff On Thu, Jan 28, 2010 at 4:58 PM, Alec Flett wrote: > lxml is awesome, don't be fooled by the name - it has great understanding > of HTML, even malformed. > > ianbicking did a great comparison years ago but it still stands: > http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/ > > and an update: > > http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/ > > Basically: lxml is fast as hell, (uses libxml2 under the hood)low memory > footprint, and very forgiving of wacky html, better than Beautiful Soup. > > I think pyquery actually uses lxml under the hood? or at least libxml2? > > > Alec > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.daluz at gazillion.com Fri Jan 29 02:41:11 2010 From: kevin.daluz at gazillion.com (Kevin da Luz) Date: Thu, 28 Jan 2010 17:41:11 -0800 Subject: [Baypiggies] Tkinter trouble - scrolling canvas with mouse wheel Message-ID: Hi fellow piggies, I am having trouble getting a canvas to scroll using the mouse wheel. Can anyone offer an explanation to why this isn't working for me? Sample code attached. - Kevin da Luz -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: scrolledCanvas.py Type: application/octet-stream Size: 1878 bytes Desc: scrolledCanvas.py URL: From baig.hassan at gmail.com Fri Jan 29 07:17:48 2010 From: baig.hassan at gmail.com (Hassan Baig) Date: Fri, 29 Jan 2010 11:17:48 +0500 Subject: [Baypiggies] Crossdomain.xml problem Message-ID: <6fa835a81001282217v2571af7dw3442b4840eb428b5@mail.gmail.com> Howdy folks, I have a crossdomain.xml problem I was hoping any of you gurus could help solve. The main problem is , the website essentially apps.facebook.com does not give a crossdomain.xml so you cannot directly retrieve a data driven xml from there. You need to setup a proxy which calls apps.facebook.com and retrieves the data for you creating the xml on your server. Then sends it to flash. A similar method is used at http://www.switchonthecode.com/tutorials/using-a-php-proxy-with-flex-to-talk-cross-domain . I just need the python conversion of the code and how to redirect the render. Any pointers? -Hassan Baig -------------- next part -------------- An HTML attachment was scrubbed... URL: From puruiw at yahoo.com Fri Jan 29 07:50:49 2010 From: puruiw at yahoo.com (Purui Wang) Date: Thu, 28 Jan 2010 22:50:49 -0800 (PST) Subject: [Baypiggies] Tkinter trouble - scrolling canvas with mouse wheel In-Reply-To: References: Message-ID: <845411.13568.qm@web45003.mail.sp1.yahoo.com> I never used tkinter, but I found a sample though my search engine that works. I tested on Ubuntu9.10. http://nullege.com/codes/show/src%40quisk-3.3.1%40quisk_tk.py/562/Tkinter.Canvas.bind - Purui ________________________________ From: Kevin da Luz To: baypiggies at python.org Sent: Thu, January 28, 2010 5:41:11 PM Subject: [Baypiggies] Tkinter trouble - scrolling canvas with mouse wheel Hi fellow piggies, I am having trouble getting a canvas to scroll using the mouse wheel. Can anyone offer an explanation to why this isn?t working for me? Sample code attached. - Kevin da Luz -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Fri Jan 29 15:02:16 2010 From: aahz at pythoncraft.com (Aahz) Date: Fri, 29 Jan 2010 09:02:16 -0500 (EST) Subject: [Baypiggies] FINAL REMINDER: OSCON 2010: Call for Proposals Message-ID: <20100129140216.1627530587@mailbackend.panix.com> Deadline: Feb 1, 2010 OSCON, the O'Reilly Open Source Convention July 19 - 23, 2010 Oregon Convention Center Portland, OR http://post.oreilly.com/rd/9z1zg6ii2gsi1l6cshb1806k2apmotnacpkrk77ttgg Faster, Freer, Smarter: Whatever your Goal, Make It Happen with Open Source More than 2,500 experts, developers, sys admins, and hackers will meet up at OSCON 2010 to explore the tools, services, and platforms that make up the vibrant open source ecosystem. Join us! The OSCON Call for Participation is now open. If you have winning techniques, favorite lifesavers, war stories, productivity tips, or other ideas to share, we want to hear from you. We're especially on the look-out for ways to do more with less, design and usability best practices, mobile device innovations, cloud computing, parallelization, open standards and data, open source in government, business models, and beyond. Speak up about the freedom--and opportunity--of open source at OSCON 2010. Submit your proposal by February 1, 2010 at: http://en.oreilly.com/oscon2010/public/cfp/92 -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair From ahk1212 at yahoo.com Sat Jan 30 23:12:45 2010 From: ahk1212 at yahoo.com (Andrew Klein) Date: Sat, 30 Jan 2010 14:12:45 -0800 Subject: [Baypiggies] Contract job opportunity - Django / Python CMS Message-ID: <24B83C313ABC4B1488B07DF558F20065@JenniferPC> I am looking for a django / python architect / engineering lead to oversee the construction of a high traffic CMS backed public web site. Design starts now. Launch is in April or thereabouts. I am ideally looking for someone in the San Francisco bay area but that is not a requirement. I am also willing to consider hiring a development company to do the work as we may decide not to hire a team in house. If you are interested and available during this time frame, please respond to this email with a brief resume and a couple of URLs that point to recent work. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.enderwick at gmail.com Sun Jan 31 23:58:48 2010 From: jeff.enderwick at gmail.com (Jeff Enderwick) Date: Sun, 31 Jan 2010 14:58:48 -0800 Subject: [Baypiggies] HTML Parsers (n00b) In-Reply-To: <833f4cd71001281726o6577183w46f1c00c90d769e8@mail.gmail.com> References: <904216.31743.qm@web82302.mail.mud.yahoo.com> <833f4cd71001281726o6577183w46f1c00c90d769e8@mail.gmail.com> Message-ID: I've used beautiful soup to programmatically extract content from word docs saved as HTML - yuck!!! Beautiful Soup performed ... beautifully :-). Speed was NOT a consideration for me, though. On Thu, Jan 28, 2010 at 5:26 PM, Jeff Kunce wrote: > No question about lxml's speed. I'm using it (as part of Deliverance) on a > current project to re-theme a website on the fly. > > But for day-to-day use, it's Beautiful Soup. I can't resist pure python :) > > -- Jeff > > > On Thu, Jan 28, 2010 at 4:58 PM, Alec Flett wrote: > >> lxml is awesome, don't be fooled by the name - it has great understanding >> of HTML, even malformed. >> >> ianbicking did a great comparison years ago but it still stands: >> http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/ >> >> and an update: >> >> http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/ >> >> Basically: lxml is fast as hell, (uses libxml2 under the hood)low memory >> footprint, and very forgiving of wacky html, better than Beautiful Soup. >> >> I think pyquery actually uses lxml under the hood? or at least libxml2? >> >> >> Alec >> >> > > _______________________________________________ > 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: