From fperez.net at gmail.com Mon Mar 2 10:25:23 2009 From: fperez.net at gmail.com (Fernando Perez) Date: Mon, 2 Mar 2009 01:25:23 -0800 Subject: [Baypiggies] Review for Expert Python Programming In-Reply-To: <8249c4ac0902272342y98008d3t7d490d0199512da4@mail.gmail.com> References: <8249c4ac0902272342y98008d3t7d490d0199512da4@mail.gmail.com> Message-ID: On Fri, Feb 27, 2009 at 11:42 PM, Tony Cappellini wrote: > Hi Everyone, > > Jim Stockford has written a review of the new book "Expert Python Programming." Here's mine, though I'm afraid it wasn't too flattering for the book: https://cirl.berkeley.edu/fperez/py4scienc/expert_python_programming_review.html It is my honest take on the matter, though. Cheers, f From ziade.tarek at gmail.com Mon Mar 2 10:34:04 2009 From: ziade.tarek at gmail.com (=?ISO-8859-1?Q?Tarek_Ziad=E9?=) Date: Mon, 2 Mar 2009 10:34:04 +0100 Subject: [Baypiggies] Review for Expert Python Programming In-Reply-To: References: <8249c4ac0902272342y98008d3t7d490d0199512da4@mail.gmail.com> Message-ID: <94bdd2610903020134x55393e92mb7c73cb6cfc26dfa@mail.gmail.com> On Mon, Mar 2, 2009 at 10:25 AM, Fernando Perez wrote: > On Fri, Feb 27, 2009 at 11:42 PM, Tony Cappellini wrote: >> Hi Everyone, >> >> Jim Stockford has written a review of the new book "Expert Python Programming." > > Here's mine, though I'm afraid it wasn't too flattering for the book: > > https://cirl.berkeley.edu/fperez/py4scienc/expert_python_programming_review.html > > It is my honest take on the matter, though. > > Cheers, Hi Fernando, Thanks for the review. ""I really hope that the author and publisher consider this to be constructive criticism and revisit the book with a careful eye for a solid second edition"" I can answer for this one: Packt is doing almost Print On Demand. So the typo you mentioned, and many others, are already available if you buy the book now Regards Tarek > > f > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Tarek Ziad? | Association AfPy | www.afpy.org Blog FR | http://programmation-python.org Blog EN | http://tarekziade.wordpress.com/ From ziade.tarek at gmail.com Mon Mar 2 10:34:48 2009 From: ziade.tarek at gmail.com (=?ISO-8859-1?Q?Tarek_Ziad=E9?=) Date: Mon, 2 Mar 2009 10:34:48 +0100 Subject: [Baypiggies] Review for Expert Python Programming In-Reply-To: <94bdd2610903020134x55393e92mb7c73cb6cfc26dfa@mail.gmail.com> References: <8249c4ac0902272342y98008d3t7d490d0199512da4@mail.gmail.com> <94bdd2610903020134x55393e92mb7c73cb6cfc26dfa@mail.gmail.com> Message-ID: <94bdd2610903020134j8188a5ara2e0be05664fc9e9@mail.gmail.com> On Mon, Mar 2, 2009 at 10:34 AM, Tarek Ziad? wrote: > > I can answer for this one: Packt is doing almost Print On Demand. So > the typo you mentioned, and many others, are already available > if you buy the book now s/available/fixed/ ;) From hyperneato at gmail.com Mon Mar 2 11:26:02 2009 From: hyperneato at gmail.com (Isaac) Date: Mon, 2 Mar 2009 02:26:02 -0800 Subject: [Baypiggies] Review for Expert Python Programming In-Reply-To: References: <8249c4ac0902272342y98008d3t7d490d0199512da4@mail.gmail.com> Message-ID: <7260654a0903020226m45e0ac37o8913d19f94b8e15d@mail.gmail.com> typo in link update: https://cirl.berkeley.edu/fperez/py4science/expert_python_programming_review.html the 'e' in py4science is missing in the url. On Mon, Mar 2, 2009 at 1:25 AM, Fernando Perez wrote: > On Fri, Feb 27, 2009 at 11:42 PM, Tony Cappellini > wrote: > > Hi Everyone, > > > > Jim Stockford has written a review of the new book "Expert Python > Programming." > > Here's mine, though I'm afraid it wasn't too flattering for the book: > > > https://cirl.berkeley.edu/fperez/py4scienc/expert_python_programming_review.html > > It is my honest take on the matter, though. > > Cheers, > > f > _______________________________________________ > 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 fperez.net at gmail.com Mon Mar 2 20:51:16 2009 From: fperez.net at gmail.com (Fernando Perez) Date: Mon, 2 Mar 2009 11:51:16 -0800 Subject: [Baypiggies] Review for Expert Python Programming In-Reply-To: <94bdd2610903020134x55393e92mb7c73cb6cfc26dfa@mail.gmail.com> References: <8249c4ac0902272342y98008d3t7d490d0199512da4@mail.gmail.com> <94bdd2610903020134x55393e92mb7c73cb6cfc26dfa@mail.gmail.com> Message-ID: Hi Tarek, On Mon, Mar 2, 2009 at 1:34 AM, Tarek Ziad? wrote: > Thanks for the review. > > ""I really hope that the author and publisher consider this to be > constructive criticism and revisit the book with a careful eye for a > solid second edition"" > > I can answer for this one: Packt is doing almost Print On Demand. So > the typo you mentioned, and many others, are already available > if you buy the book now That's great to hear. And as I said, I think there is value in the book as it is now, but even more promise. I hope to see an improved 2nd edition at some point in the future! I realize that writing is hard and takes courage (you're putting yourself out in the spotlight, for reviewers like myself to come and beat you up :) I really hope this experience will not put a damper on your energy for continuing to write. Sorry if I came across as harsh, but I figured the best way to repay your effort was with an honest review, even if it wasn't the most flattering. All the best, f ps - sorry for the URL typo, thanks to those who figured it out and quickly corrected it. From jjinux at gmail.com Mon Mar 2 22:27:08 2009 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Mon, 2 Mar 2009 13:27:08 -0800 Subject: [Baypiggies] A day of PyConsolation Message-ID: I know that there are a lot of us who can't make it to PyCon this year. I think we should have a day of PyConsolation here in the BayArea. I'm thinking of an all day event on Saturday, March 28. We can have an all day hack session, similar to SuperHappyDevHouse. Instead of longer presentations, we can do what SHDH does and have a ton of 5 minute presentations. Those are fun to give and fun to watch. Here are my questions: - Are you interested in going? - Do you know where we can host it? (If all else fails, I'll host it at my place.) - Are you willing to bring food or help pay for pizza? 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 progrium at gmail.com Mon Mar 2 22:33:19 2009 From: progrium at gmail.com (Jeff Lindsay) Date: Mon, 2 Mar 2009 13:33:19 -0800 Subject: [Baypiggies] A day of PyConsolation In-Reply-To: References: Message-ID: I support anything DevHouse inspired. I can go and even give a lightning talk on one of my new Python projects. No suggestions for venue. Also, it will soon be announced that on March 14th, there will be a SuperHappyDevHouse in Cupertino and you are all invited to hack with us there as well. <3 -jeff On Mon, Mar 2, 2009 at 1:27 PM, Shannon -jj Behrens wrote: > I know that there are a lot of us who can't make it to PyCon this > year. I think we should have a day of PyConsolation here in the > BayArea. > > I'm thinking of an all day event on Saturday, March 28. We can have > an all day hack session, similar to SuperHappyDevHouse. Instead of > longer presentations, we can do what SHDH does and have a ton of 5 > minute presentations. Those are fun to give and fun to watch. > > Here are my questions: > > - Are you interested in going? > - Do you know where we can host it? (If all else fails, I'll host it > at my place.) > - Are you willing to bring food or help pay for pizza? > > 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 > -- Jeff Lindsay http://webhooks.org -- HTTP callbacks are the future http://shdh.org -- A party for hackers and thinkers http://tigdb.com -- Discover indie games -------------- next part -------------- An HTML attachment was scrubbed... URL: From tony at tcapp.com Mon Mar 2 22:39:38 2009 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 2 Mar 2009 13:39:38 -0800 Subject: [Baypiggies] A day of PyConsolation In-Reply-To: References: Message-ID: <8249c4ac0903021339l241e53bfy84bf7b3472019a3b@mail.gmail.com> > - Are you interested in going? Yes- assuming my employer will give me that Saturday off. (they can be Py-Non-Conformists at times) > - Do you know where we can host it? (If all else fails, I'll host it > at my place.) Hmm, well here we go with the north-south debate again. Symantec- possibly > - Are you willing to bring food or help pay for pizza? definitely From spmcinerney at hotmail.com Mon Mar 2 23:13:31 2009 From: spmcinerney at hotmail.com (Stephen McInerney) Date: Mon, 2 Mar 2009 14:13:31 -0800 Subject: [Baypiggies] Upcoming unconferences: LaidOffCamp (Mar 3, SF) and other future BarCamps Message-ID: [Marginally on the Python topic but probably relevant and useful in today's economy. Free wireless, usually free food if sponsored, networking opportunities, how can you go wrong?] March 3, 2009 - LaidOffCamp - San Francisco (conf 9am-5:45pm, afterparty in night-club 6-8pm) March 21, 2009 - SocialCampSF: San Francisco (social networking technologies) April 25, 2009 - BarCampBankSF2 - San Francisco (- to foster innovations and the creation of new business models in the world of banking and finance) April 25-26, 2009 - SacBarCamp - Sacramento May-June 2009 - Nuestra Voz - San Francisco (Spanish-speaking tech people) August 15, 2009 - Freelance Camp 3 - Santa Cruz, CA _________________________________________________________________ Hotmail? is up to 70% faster. Now good news travels really fast. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009 -------------- next part -------------- An HTML attachment was scrubbed... URL: From annaraven at gmail.com Mon Mar 2 23:19:20 2009 From: annaraven at gmail.com (Anna Ravenscroft) Date: Mon, 2 Mar 2009 14:19:20 -0800 Subject: [Baypiggies] A day of PyConsolation In-Reply-To: References: Message-ID: On Mon, Mar 2, 2009 at 1:27 PM, Shannon -jj Behrens wrote: > I know that there are a lot of us who can't make it to PyCon this > year. I think we should have a day of PyConsolation here in the > BayArea. GREAT name JJ! -- cordially, Anna -- I am the mother of all things and all things shall wear a sweater! -------------- next part -------------- An HTML attachment was scrubbed... URL: From wescpy at gmail.com Mon Mar 2 23:29:47 2009 From: wescpy at gmail.com (wesley chun) Date: Mon, 2 Mar 2009 14:29:47 -0800 Subject: [Baypiggies] Review for Expert Python Programming In-Reply-To: References: <8249c4ac0902272342y98008d3t7d490d0199512da4@mail.gmail.com> <94bdd2610903020134x55393e92mb7c73cb6cfc26dfa@mail.gmail.com> Message-ID: <78b3a9580903021429w50a3c817hffe340301c1c5ea1@mail.gmail.com> > I realize that writing is hard and takes courage (you're putting > yourself out in the spotlight, for reviewers like myself to come and > beat you up :) ?I really hope this experience will not put a damper on > your energy for continuing to write. ?Sorry if I came across as harsh, > but I figured the best way to repay your effort was with an honest > review, even if it wasn't the most flattering. fernando, while i can't speak for others, i highly value reader feedback, regardless of the direction of the review. if something sucks or if i'm completely wrong somewhere, i need to know about it. the point is to continue to improve it so for future posterity. that's why i put both all reviews i can find on the book's website, so that hopefully people can make more informed decisions than just judging a book by its cover. if you're scared of negative feedback, you shouldn't be writing a book for the general public; or, as an alternative, write a book soooo long, that no one can possibly finish it much less review it. ;-) -- 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 From ziade.tarek at gmail.com Tue Mar 3 01:21:38 2009 From: ziade.tarek at gmail.com (=?ISO-8859-1?Q?Tarek_Ziad=E9?=) Date: Tue, 3 Mar 2009 01:21:38 +0100 Subject: [Baypiggies] Review for Expert Python Programming In-Reply-To: References: <8249c4ac0902272342y98008d3t7d490d0199512da4@mail.gmail.com> <94bdd2610903020134x55393e92mb7c73cb6cfc26dfa@mail.gmail.com> Message-ID: <94bdd2610903021621n42eb5039x7b719ae01c2c083d@mail.gmail.com> On Mon, Mar 2, 2009 at 8:51 PM, Fernando Perez wrote: > Hi Tarek, > > On Mon, Mar 2, 2009 at 1:34 AM, Tarek Ziad? wrote: > >> Thanks for the review. >> >> ""I really hope that the author and publisher consider this to be >> constructive criticism and revisit the book with a careful eye for a >> solid second edition"" >> >> I can answer for this one: Packt is doing almost Print On Demand. So >> the typo you mentioned, and many others, are already available >> if you buy the book now > > That's great to hear. ?And as I said, I think there is value in the > book as it is now, but even more promise. ?I hope to see an improved > 2nd edition at some point in the future! > > I realize that writing is hard and takes courage (you're putting > yourself out in the spotlight, for reviewers like myself to come and > beat you up :) ?I really hope this experience will not put a damper on > your energy for continuing to write. ?Sorry if I came across as harsh, > but I figured the best way to repay your effort was with an honest > review, even if it wasn't the most flattering. Don't be sorry, I am making progress with this kind of review. Cheers Tarek > > All the best, > > f > > ps - sorry for the URL typo, thanks to those who figured it out and > quickly corrected it. > -- Tarek Ziad? | Association AfPy | www.afpy.org Blog FR | http://programmation-python.org Blog EN | http://tarekziade.wordpress.com/ From jjinux at gmail.com Tue Mar 3 10:52:48 2009 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Tue, 3 Mar 2009 01:52:48 -0800 Subject: [Baypiggies] JJ: Easy Decorator Example: TimeIt In-Reply-To: <22A7DE9F-3C0D-406D-84D6-E7F4EE73CCC4@glenjarvis.com> References: <22A7DE9F-3C0D-406D-84D6-E7F4EE73CCC4@glenjarvis.com> Message-ID: On Fri, Feb 27, 2009 at 5:57 PM, Glen Jarvis wrote: > JJ, > ?? ?Last night you mentioned you had a real easy code snippet (TimeIt) that > clearly explains decorators (or what we sometimes refer to as functional > decorators). Do you mind sending a copy of that code snippet to supplement > the Newbie Nugget last night? I'm learning about?decorators?and am starting > to get my head around them, so any extra code would be helpful. > Warmest Regards, No problem. Tell me if it makes sense :) -jj #!/usr/bin/env python """Demonstrate function decorators. BASIC IDEA: Use a function decorator to tell when and how a function should be logged. All kinds of things can be logged automatically, including the function arguments, how long it took to run, and (theoretically) even the stack. The syntax looks like: @logged("post") def hello(name): print "Hello,", name """ import sys import time def logged(when): """Log every invocation of the function. when -- This should be "pre" or "post". If "post", then I'll also time the function, which may be useful for profiling. """ def log(f, *args, **kargs): print >> sys.stderr, """\ Called: function: %s args: %s kargs: %s""" % (`f`, `args`, `kargs`) def pre_logged(f): def wrapper(*args, **kargs): log(f, *args, **kargs) return f(*args, **kargs) return wrapper def post_logged(f): def wrapper(*args, **kargs): start = time.time() try: return f(*args, **kargs) finally: log(f, *args, **kargs) print >> sys.stderr, """\ time delta: %s""" % (time.time() - start) return wrapper try: return {"pre": pre_logged, "post": post_logged}[when] except KeyError, e: raise ValueError(e) @logged("post") def hello(name): print "Hello,", name hello("World!") From rocky at teampatent.com Tue Mar 3 18:38:50 2009 From: rocky at teampatent.com (Rocky Kahn) Date: Tue, 3 Mar 2009 09:38:50 -0800 Subject: [Baypiggies] Python Developer for National Science Foundation Startup Message-ID: <5e7dca810903030938w4d6eababwc3bca260ade2566f@mail.gmail.com> TeamPatent, an innovative National Science Foundation-funded startup, is looking for an expert Python software engineer to help build our document management engine. This may sound straightforward, but it turns out that what we're doing is ground-breaking research--the National Science Foundation describes our technology as "game changing". We've recently launched a beta and have about 18 months of funding--enough to take us through this dismal economy. We're building a high-performance, browser-based word processor with an integrated drawing editor. It provides responsive collaboration for large, multimedia documents... imagine a mixture of Mozilla Bespin and Google Docs. We're first applying our editor to drafting patent applications--a highly-constrained, high-value niche in which we have both technical and market expertise. Longer-term, we're designing a new type of general word processor that could be an important part of the future of Office 2.0. Strong candidates will have previously led architectural design and implementation of a data-driven web application, preferably in a smaller company or team where you had to wear many hats. You'll be working in Python and other open-source tools including SQLAlchemy and PostgreSQL as you refine our document versioning engine and build a deployment system on Linux-based Amazon EC2 instances. Upcoming backend design/implementation challenges include real-time federated search across dynamically-instantiated servers. As a member of TeamPatent, you'll help contribute to open source--we already maintain two of the largest widgets in Dojo--dijit.Editor & dojox.Sketch--and, with your involvement, we hope to contribute facets of our backend infrastructure. TeamPatent holds the potential to be a career-making project with enormous intellectual scope and market potential. We're smart, creative, and open to new ideas...join us! This position is full-time (with a startup ethos) and on-site in Alameda (10min bike from Fruitvale BART). You can see an application screenshot on our homepage but the beta is still private so if you'd like to try the editor and/or watch demonstration videos, please ask for an account. Write to me, the founder, at rocky at teampatent.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tungwaiyip at yahoo.com Tue Mar 3 18:55:07 2009 From: tungwaiyip at yahoo.com (Tung Wai Yip) Date: Tue, 03 Mar 2009 09:55:07 -0800 Subject: [Baypiggies] how to programmatically invoke: from module import * Message-ID: I always have some trouble in understanding the API for modules importing like the __import__(). And this one I really need some help. How can I programmatically invoke: from module import *? I want to put the references in a dictionary and pass it some other module. Thank you, Wai Yip From aleax at google.com Tue Mar 3 19:27:34 2009 From: aleax at google.com (Alex Martelli) Date: Tue, 3 Mar 2009 10:27:34 -0800 Subject: [Baypiggies] how to programmatically invoke: from module import * In-Reply-To: References: Message-ID: <55dc209b0903031027w73855fe3ga697c2b25f16a90d@mail.gmail.com> vars(__import__('module')) should get you a dictionary close to what you desire. It may need tweaking because it does not apply the extra restrictions that "import *" does (__all__ and leading underscores). Alex On Tue, Mar 3, 2009 at 9:55 AM, Tung Wai Yip wrote: > I always have some trouble in understanding the API for modules importing > like the __import__(). And this one I really need some help. How can I > programmatically invoke: from module import *? I want to put the references > in a dictionary and pass it some other module. > > Thank you, > > Wai Yip > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From john_re at fastmail.us Wed Mar 4 14:15:57 2009 From: john_re at fastmail.us (john_re) Date: Wed, 04 Mar 2009 05:15:57 -0800 Subject: [Baypiggies] Global FreeSW Meeting March 7 Sat BerkeleyTIP -Global - For Forwarding Message-ID: <1236172557.27054.1303577967@webmail.messagingengine.com> Ekiga(Gnome meeting), Asterisk, Xen, Virtualbox, Debian 15 Years, Free and Open Future, Amarok, ZFS, FreeBSD, Python, OLPC ===== SCHEDULE Schedule: All times Pacific Std Time = GMT -8H ex: 10A PST = 1P Eastern ST 10 A Begin: Set up. Get on IRC & VOIP 11 A Ekiga3 talk LIVE INSTALLFEST begin 12 N Asterisk, OLPC; PROGRAMMING PARTY: VOIP Conference client & server 1 P Xen, Virtualbox; GNOME 2 P KDE ? GUI; Macintosh 3 P Debian; BSD; College & University groups 4 P Free & Open Future; Culture; Hardware 5 P LIGHTNING TALKS Python; INetWebDev; Local Simultaneous Meetings Arrangements ===== PHYSICAL LOCATION: UC Berkeley FREE SPEECH CAFE At Moffitt Undergrad Library. http://maps.google.com/?ie=UTF8&t=h&ll=37.872558,-122.260795&spn=0.001776,0.002529&z=19 http://sites.google.com/site/berkeleytip/directions BART: Berkeley Downtown Station. Caltrain: Berkeley Station, bus up University to campus. Car: 880 Freeway, University Exit. ===== IRC & VOIP Join IRC freenode.net #berkeleytip, & we'll help you get on VOIP http://sites.google.com/site/berkeleytip/remote-attendance ===== Come to the: Great global meeting planned for this Saturday! :) Yes! You can join in with the friendly global BTIP people - get a headset & join the VOIP conference, from home, or wherever. Hey - invite your friends over & you can haz parte. ;) Be the first in your state - or country - to join in. Since Chaitanya joined from India in February, we have now officially moved up to global. :) BerkeleyTIP - Global Monthly GNU(Linux), BSD & All Free SW HW & Culture meeting. Talks, Installfest, Potluck & ProgrammingParty Educational, Productive, Social http://sites.google.com/site/berkeleytip/ ===== TALKS: 11A LIVE, - DOWNLOAD & WATCH VIDEOS BEFORE Ekiga 3 on KUbuntu 8.04 - Chaitanya Mehandru, LIVE 11AM PST = GMT -8H Asterisk Free Software Telephone System - Paul Charles Leddy, NYLUG-08 Xen Virtualization - Ian Pratt, FOSDEM-08 Virtualbox, Achim Hasenmueller, FOSDEM-08 Debian, Bdale Garbee, FOSDEM-09 Free and Open Future - Mark Surman, FOSDEM-09 Amarok v2 - Akademy-08 Debian: 15 Years and Counting - Steve McIntyre, Debconf-08 - Keynote ZFS for FreeBSD - Pawel Jakub Dawidek, MeetBSD-08 Python on the OLPC laptop - Ed Cherlin, BayPIGgies-08 Links to the videos & more info here: http://sites.google.com/site/berkeleytip/talk-videos Suggestion: Download & watch the videos _you_ are interested in _before_ the meeting, so you can spend the scheduled topic time _discussing_ that talk. All the talk/video speakers are invited to join in for Q&A & discussion. [Please pass that word on to the speakers, because I probably wont have time to notify them individually.] Thanks to all the speakerz, videographerz, & sponsoring groupiez. :) & doubble plus big thanks to David Fox, r noo talk/vid finder/scheduler. :) == LIGHTNING TALKS - 5PM - Sign up anytime. ===== PROGRAMMING PARTY: 1) Help get Ekiga 3 compiled, running & packaged for KUbuntu8.04 2) Help get a local Asterisk VOIP conference server working. 3) Whatever _you_ are interested in - Email the list inviting us to join on your project. :) ===== PEOPLE ARE TALKING: Chris said: the meeting went very well for Feb. 7. Windsor said: I am interested in Jack's idea of focusing a group on promotion of Linux as a desktop operating system and targeting perspective Linux users. I'm enthusiastic about doing something to this effect, like hosting an install night, standing in Sproul Plaza near a card table, etc.. David said: the USB headset I ordered and will pick up at the post office tomorrow - Markt9 (from virtual lug) told me that it was a very nice one. I can't wait until I get the chance to try it live. & Windsor says: I posted some guidelines for people editing the web page. Also, (and I'm not trying to be a kill-joy) I think the smilies should be left in IRC and private e-mails. Every time I see one on the site I think of myspace.com or icanhazcheeseburger.com. john_re says: Thanks for the tipz, everyone. - I'll keep 'em in mind. ;) ps: & more doubbble pluz big thanks to Windsor, for the new website design. :) [Someone, call the doctor, got a case of love bipolar. Staccato, roller coaster, can't get off this riiiiiiiiiiiiiiiiiiiiiiiide.] http://equine-ranch.com/horseinfo.php?horseid=240482 ===== JOIN THE MAILING LIST & say "Hi", where you're from, what you're interested in, & whatever project you invite others to join in on. http://groups.google.com/group/BerkTIPGlobal Click "Join this group" on the right side of the page. ===== FLYER - Opportunity - Put 10 up so your friends will know. http://sites.google.com/site/berkeleytip/home/March09_BTIPFlyer.odt?attredirects=0 ==== FOR FORWARDING - You are invited to forward this message anywhere appropriate. C-ya there :) From tungwaiyip at yahoo.com Wed Mar 4 20:36:20 2009 From: tungwaiyip at yahoo.com (Tung Wai Yip) Date: Wed, 04 Mar 2009 11:36:20 -0800 Subject: [Baypiggies] how to programmatically invoke: from module import * In-Reply-To: <55dc209b0903031027w73855fe3ga697c2b25f16a90d@mail.gmail.com> References: <55dc209b0903031027w73855fe3ga697c2b25f16a90d@mail.gmail.com> Message-ID: I end up writing something like this mod = __import__(module_name,fromlist=['*']) imported = dict((n,v) for n, v in vars(mod).items() if not n.startswith('_')) This code has not considered __all__. The fromlist=['*'] argument in __import__() is rather surprising. It doesn't really execute a "from module import *" as I expect. I still have to do filtering manually. All it does is a subtle difference in the module returned. In fact I can pass fromlist=['xxx'] and the result obtained seems to be the same. Wai Yip > vars(__import__('module')) should get you a dictionary close to what > you desire. It may need tweaking because it does not apply the extra > restrictions that "import *" does (__all__ and leading underscores). > > > Alex > > > On Tue, Mar 3, 2009 at 9:55 AM, Tung Wai Yip > wrote: >> I always have some trouble in understanding the API for modules >> importing >> like the __import__(). And this one I really need some help. How can I >> programmatically invoke: from module import *? I want to put the >> references >> in a dictionary and pass it some other module. >> >> Thank you, >> >> Wai Yip >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> From robert.e.smith1 at lmco.com Thu Mar 5 10:00:34 2009 From: robert.e.smith1 at lmco.com (Smith1, Robert E) Date: Thu, 05 Mar 2009 01:00:34 -0800 Subject: [Baypiggies] FW: Baypiggies Digest, Vol 41, Issue 3 Message-ID: <18E2675C0D478E4494108B55120A61AF1942A668@emss01m15.us.lmco.com> >>On Fri, Feb 27, 2009 at 5:57 PM, Glen Jarvis wrote: >> JJ, >> ?? ?Last night you mentioned you had a real easy code snippet (TimeIt) that >> clearly explains decorators (or what we sometimes refer to as functional >> decorators). Do you mind sending a copy of that code snippet to supplement >> the Newbie Nugget last night? I'm learning about?decorators?and am starting >> to get my head around them, so any extra code would be helpful. >> Warmest Regards, >No problem. Tell me if it makes sense :) >-jj I put some print statements into your code to try and understand it. It appears that the logged "decorator function" gets executed during import/load, which also causes either pre_logged(f) or post_logged(f) to get executed. This statement appears to be the one that invokes pre_logged(f) or post_logged(f) (or at least it occurs right before): return {"pre": pre_logged, "post": post_logged}[when] Is that correct - that invokes one of those two functions? And if so, how does "return pre_logged" invoke "pre_logged(f)"? Also, why is "f" explicitly declared as a parameter for "log", "pre_logged", and "post_logged", but not "logged"? Robert From aahz at pythoncraft.com Thu Mar 5 16:06:18 2009 From: aahz at pythoncraft.com (Aahz) Date: Thu, 5 Mar 2009 07:06:18 -0800 Subject: [Baypiggies] JJ's decorators In-Reply-To: <18E2675C0D478E4494108B55120A61AF1942A668@emss01m15.us.lmco.com> References: <18E2675C0D478E4494108B55120A61AF1942A668@emss01m15.us.lmco.com> Message-ID: <20090305150617.GA17084@panix.com> On Thu, Mar 05, 2009, Smith1, Robert E wrote: > > I put some print statements into your code to try and understand > it. It appears that the logged "decorator function" gets executed > during import/load, which also causes either pre_logged(f) or > post_logged(f) to get executed. This statement appears to be the one > that invokes pre_logged(f) or post_logged(f) (or at least it occurs > right before): > > return {"pre": pre_logged, "post": post_logged}[when] > > Is that correct - that invokes one of those two functions? And if so, > how does "return pre_logged" invoke "pre_logged(f)"? It doesn't. The problem is that there are really two different kinds of decorators, those without arguments and those that take an argument. Unfortunately, the second kind is more complicated, and therefore JJ's example really isn't that simple. Here's a hyper simplified tracing decorator: from functools import wraps def tracer(f): @wraps(f) def t(*args, **kwargs): print f.func_name, args, kwargs return f(*args, **kwargs) return t @tracer def foo(x): print x > Also, why is "f" explicitly declared as a parameter for "log", > "pre_logged", and "post_logged", but not "logged"? Because the first three are the actual wrappers, called during the execution of f, but ``logged`` is the decorator. In the simplified case, you get f for free when calling t() because you can rely on Python lexical closures passing f when tracer() is called the first time to decorate foo. However, when a decorator takes arguments, the wrappers need to include f in their signatures. Basically, to *write* decorators, you *REALLY* need to understand closures and passing functions around as first-class objects or you won't get anywhere. On the other hand, as Charles was at pains to point out, when you're just using someone else's decorators, you only need to follow their instructions: notice how calling foo() is exactly the same regardless of whether you use the @tracer line. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "All problems in computer science can be solved by another level of indirection." --Butler Lampson From jjinux at gmail.com Fri Mar 6 07:19:12 2009 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Thu, 5 Mar 2009 22:19:12 -0800 Subject: [Baypiggies] JJ's decorators In-Reply-To: <20090305150617.GA17084@panix.com> References: <18E2675C0D478E4494108B55120A61AF1942A668@emss01m15.us.lmco.com> <20090305150617.GA17084@panix.com> Message-ID: On Thu, Mar 5, 2009 at 7:06 AM, Aahz wrote: > On Thu, Mar 05, 2009, Smith1, Robert E wrote: > > > > I put some print statements into your code to try and understand > > it. It appears that the logged "decorator function" gets executed > > during import/load, which also causes either pre_logged(f) or > > post_logged(f) to get executed. This statement appears to be the one > > that invokes pre_logged(f) or post_logged(f) (or at least it occurs > > right before): > > > > return {"pre": pre_logged, "post": post_logged}[when] > > > > Is that correct - that invokes one of those two functions? And if so, > > how does "return pre_logged" invoke "pre_logged(f)"? > > It doesn't. ?The problem is that there are really two different kinds of > decorators, those without arguments and those that take an argument. > Unfortunately, the second kind is more complicated, and therefore JJ's > example really isn't that simple. ?Here's a hyper simplified tracing > decorator: > > from functools import wraps > > def tracer(f): > ? ?@wraps(f) > ? ?def t(*args, **kwargs): > ? ? ? ?print f.func_name, args, kwargs > ? ? ? ?return f(*args, **kwargs) > ? ?return t > > @tracer > def foo(x): > ? ?print x > > > Also, why is "f" explicitly declared as a parameter for "log", > > "pre_logged", and "post_logged", but not "logged"? > > Because the first three are the actual wrappers, called during the > execution of f, but ``logged`` is the decorator. ?In the simplified > case, you get f for free when calling t() because you can rely on Python > lexical closures passing f when tracer() is called the first time to > decorate foo. ?However, when a decorator takes arguments, the wrappers > need to include f in their signatures. > > Basically, to *write* decorators, you *REALLY* need to understand > closures and passing functions around as first-class objects or you won't > get anywhere. ?On the other hand, as Charles was at pains to point out, > when you're just using someone else's decorators, you only need to > follow their instructions: notice how calling foo() is exactly the same > regardless of whether you use the @tracer line. Thanks, Aahz. -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 glen at glenjarvis.com Sat Mar 7 04:33:53 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 6 Mar 2009 19:33:53 -0800 Subject: [Baypiggies] Beautiful Documentation with Sphinx Message-ID: There was an earlier thread where I was struggling getting Sphinx setup so I could test how my documentation of code in rich text would look both in code and in documentation tools like Sphinx. Jim even suggested I bring this as a newbie nugget. I'm still struggling and learning. But, there is a tech talk at the Py4Science group in Berkeley: This came from a recent posting from Paul Ivanov (from Py4Science). The meeting is this next week: The py4science group consists of a bunch of UC Berkeley users who are interested in using, learning about and developing Python-based tools for scientific research. While our initial focus was in projects useful to neuroscience (the group was started by fellows from the Redwood and Helen Wills neuroscience institutes on campus), we hope to bring together a wider audience of users on campus from all disciplines. Next meeting: March 11th. Fernando Perez: creating intelligent and beautiful documentation with Sphinx. All meetings are held on Wednesdays at 4pm, 508-20 Evans Hall, every two weeks. Please see the website for a summary of past topics covered, as well as information about the listserve. cheers, Paul Ivanov -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert.e.smith1 at lmco.com Sun Mar 8 09:52:40 2009 From: robert.e.smith1 at lmco.com (Smith1, Robert E) Date: Sun, 08 Mar 2009 00:52:40 -0800 Subject: [Baypiggies] JJ's decorators In-Reply-To: References: Message-ID: <18E2675C0D478E4494108B55120A61AF194D0AF4@emss01m15.us.lmco.com> > > It doesn't. The problem is that there are really two different kinds of > decorators, those without arguments and those that take an argument. > Unfortunately, the second kind is more complicated, Thanks for the reply. Now that I think about it, I do seem to recall Charles Merriam saying that "you get called twice" in the case of decorators with arguments. So the first return - "return {"pre": pre_logged, "post": post_logged}[when]" - must be to give Python the function to call the second time during setup. To my untrained eye it looks like the "decorator with arguments" scenario could have been handled with a single call that included the decorated function as an argument in addition to the arguments for the decorator, but I must be missing something. From aahz at pythoncraft.com Sun Mar 8 16:08:58 2009 From: aahz at pythoncraft.com (Aahz) Date: Sun, 8 Mar 2009 08:08:58 -0700 Subject: [Baypiggies] JJ's decorators In-Reply-To: <18E2675C0D478E4494108B55120A61AF194D0AF4@emss01m15.us.lmco.com> References: <18E2675C0D478E4494108B55120A61AF194D0AF4@emss01m15.us.lmco.com> Message-ID: <20090308150858.GA1461@panix.com> On Sun, Mar 08, 2009, Smith1, Robert E wrote: >Aahz: >> >> It doesn't. The problem is that there are really two different kinds of >> decorators, those without arguments and those that take an argument. >> Unfortunately, the second kind is more complicated, > > Thanks for the reply. Now that I think about it, I do seem to recall > Charles Merriam saying that "you get called twice" in the case of > decorators with arguments. So the first return - "return {"pre": > pre_logged, "post": post_logged}[when]" - must be to give Python the > function to call the second time during setup. To my untrained eye it > looks like the "decorator with arguments" scenario could have been > handled with a single call that included the decorated function as an > argument in addition to the arguments for the decorator, but I must be > missing something. While writing that post, I looked at PEP 318 to figure out why it was done, and the most I was able to find was that @deco('bar') def foo(): pass was equivalent to def foo(): pass foo = deco('bar')(foo) without any justification for why that was preferred over foo = deco(foo, 'bar') I'm assuming there was some prior art or a preference for simplifying the call signature for deco(), but unless someone asks on python-dev (or can search the python-dev archives or is reading baypiggies and decides to answer), I don't think we'll get an authoritative answer. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "All problems in computer science can be solved by another level of indirection." --Butler Lampson From jjinux at gmail.com Mon Mar 9 07:39:00 2009 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Sun, 8 Mar 2009 22:39:00 -0800 Subject: [Baypiggies] JJ's decorators In-Reply-To: <18E2675C0D478E4494108B55120A61AF194D0AF4@emss01m15.us.lmco.com> References: <18E2675C0D478E4494108B55120A61AF194D0AF4@emss01m15.us.lmco.com> Message-ID: On Sun, Mar 8, 2009 at 12:52 AM, Smith1, Robert E wrote: >> >> It doesn't. ?The problem is that there are really two different kinds > of >> decorators, those without arguments and those that take an argument. >> Unfortunately, the second kind is more complicated, > > Thanks for the reply. Now that I think about it, I do seem to recall > Charles Merriam saying that "you get called twice" in the case of > decorators with arguments. So the first return - "return {"pre": > pre_logged, "post": post_logged}[when]" - must be to give Python the > function to call the second time during setup. To my untrained eye it > looks like the "decorator with arguments" scenario could have been > handled with a single call that included the decorated function as an > argument in addition to the arguments for the decorator, but I must be > missing something. You can get the decorator package to work like that: http://pypi.python.org/pypi/decorator Here's an example from their documentation: from decorator import decorator def _trace(f, *args, **kw): print "calling %s with args %s, %s" % (f.__name__, args, kw) return f(*args, **kw) def trace(f): return decorator(_trace, f) @trace def f1(x): pass As Charles mentioned, the decorator package will take care of all those irritating things like making the API match and keeping the __doc__ in tact. By the way, don't forget that you can also do tricks like this: def _trace(f, *args, **kw): print "calling %s with args %s, %s" % (f.__name__, args, kw) try: return f(*args, **kw) finally: print "Hmm, well that was fun. You should call f again!" 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 daryl.spitzer at gmail.com Tue Mar 10 16:26:26 2009 From: daryl.spitzer at gmail.com (Daryl Spitzer) Date: Tue, 10 Mar 2009 08:26:26 -0700 Subject: [Baypiggies] urllib2, basic HTTP authentication, and tr.im Message-ID: I'm playing around, trying to write some code to use the http://tr.im APIs (http://tr.im/api/) to shorten a URL. After reading http://docs.python.org/library/urllib2.html, I tried: TRIM_API_URL = 'http://api.tr.im/api' auth_handler = urllib2.HTTPBasicAuthHandler() auth_handler.add_password(realm='tr.im', uri=TRIM_API_URL, user=USERNAME, passwd=PASSWORD) opener = urllib2.build_opener(auth_handler) urllib2.install_opener(opener) response = urllib2.urlopen('%s/trim_simple?url=%s' % (TRIM_API_URL, url_to_trim)) url = response.read().strip() response.code is 200 (I think it should be 202). url is valid, but the basic HTTP authentication doesn't seem to have worked, because the shortened URL isn't in my list of URLs (at http://tr.im/?page=1). After reading http://www.voidspace.org.uk/python/articles/authentication.shtml#doing-it-properly I also tried: TRIM_API_URL = 'api.tr.im/api' password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm() password_mgr.add_password(None, TRIM_API_URL, USERNAME, PASSWORD) auth_handler = urllib2.HTTPBasicAuthHandler(password_mgr) opener = urllib2.build_opener(auth_handler) urllib2.install_opener(opener) response = urllib2.urlopen('http://%s/trim_simple?url=%s' % (TRIM_API_URL, url_to_trim)) url = response.read().strip() But I get the same results. (response.code is 200 and url is valid, but not recorded in my account at http://tr.im/.) If I use query string parameters instead of basic HTTP authentication, like this: TRIM_API_URL = 'http://api.tr.im/api' response = urllib2.urlopen('%s/trim_simple?url=%s&username=%s&password=%s' % (TRIM_API_URL, url_to_trim, USERNAME, PASSWORD)) url = response.read().strip() ...then not only is url valid but it's recorded in my tr.im account. (Though response.code is still 200.) Either there must be something wrong in my authentication code, or in tr.im's. (I've written api at tr.im to see if it's a known problem and haven't received a response.) Can anyone spot any problems? -- Daryl From jjinux at gmail.com Wed Mar 11 07:51:15 2009 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Tue, 10 Mar 2009 23:51:15 -0700 Subject: [Baypiggies] urllib2, basic HTTP authentication, and tr.im In-Reply-To: References: Message-ID: It may help to look at what is being sent over the wire. -jj On Tue, Mar 10, 2009 at 8:26 AM, Daryl Spitzer wrote: > I'm playing around, trying to write some code to use the http://tr.im > APIs (http://tr.im/api/) to shorten a URL. > > After reading http://docs.python.org/library/urllib2.html, I tried: > > ? ?TRIM_API_URL = 'http://api.tr.im/api' > ? ?auth_handler = urllib2.HTTPBasicAuthHandler() > ? ?auth_handler.add_password(realm='tr.im', > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?uri=TRIM_API_URL, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?user=USERNAME, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?passwd=PASSWORD) > ? ?opener = urllib2.build_opener(auth_handler) > ? ?urllib2.install_opener(opener) > ? ?response = urllib2.urlopen('%s/trim_simple?url=%s' > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? % (TRIM_API_URL, url_to_trim)) > ? ?url = response.read().strip() > > response.code is 200 (I think it should be 202). ?url is valid, but > the basic HTTP authentication doesn't seem to have worked, because the > shortened URL isn't in my list of URLs (at http://tr.im/?page=1). > > After reading http://www.voidspace.org.uk/python/articles/authentication.shtml#doing-it-properly > I also tried: > > ? ?TRIM_API_URL = 'api.tr.im/api' > ? ?password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm() > ? ?password_mgr.add_password(None, TRIM_API_URL, USERNAME, PASSWORD) > ? ?auth_handler = urllib2.HTTPBasicAuthHandler(password_mgr) > ? ?opener = urllib2.build_opener(auth_handler) > ? ?urllib2.install_opener(opener) > ? ?response = urllib2.urlopen('http://%s/trim_simple?url=%s' > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? % (TRIM_API_URL, url_to_trim)) > ? ?url = response.read().strip() > > But I get the same results. ?(response.code is 200 and url is valid, > but not recorded in my account at http://tr.im/.) > > If I use query string parameters instead of basic HTTP authentication, > like this: > > ? ?TRIM_API_URL = 'http://api.tr.im/api' > ? ?response = urllib2.urlopen('%s/trim_simple?url=%s&username=%s&password=%s' > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? % (TRIM_API_URL, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?url_to_trim, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?USERNAME, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?PASSWORD)) > ? ?url = response.read().strip() > > ...then not only is url valid but it's recorded in my tr.im account. > (Though response.code is still 200.) > > Either there must be something wrong in my authentication code, or in > tr.im's. ?(I've written api at tr.im to see if it's a known problem and > haven't received a response.) > > Can anyone spot any problems? > > -- > Daryl > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From glen at glenjarvis.com Wed Mar 11 18:44:45 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 11 Mar 2009 10:44:45 -0700 Subject: [Baypiggies] Python Utility Tools for PyS60/MeetUp Message-ID: <0DD6A15A-91BA-48CB-9F57-AB2C5B976276@glenjarvis.com> I've been trying to start a PyS60/Symbian MeetUp group since January. I'm not a very knowledgeable developer on S60. But, sometimes one only needs to get the talent organized and together and we all learn something. I'm especially interested in both web frameworks and mobile platforms. I heard there was a BayPIGgie tech talk on Python for Symbian before. Would that speaker or ANY speaker interested on Python for S60 please speak on the topic (or a similar topic) on March 24? I'm doing my best to build a small community and feel I would do a disservice to them by being the only speaker -- especially when I'm just learning the technology myself. Here is the link to our meet-up: http://www.meetup.com/Bay-Area-Symbian-Phone-Fanatics/ The PyS60 MeetUp will be on March 24 at 7 p.m. I have a lead on a solid meeting place, but its not finalized yet. Thank you in advance Glen -- 415-680-3964 glen at glenjarvis.com http://www.glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi -------------- next part -------------- An HTML attachment was scrubbed... URL: From charles.merriam at gmail.com Wed Mar 11 19:24:50 2009 From: charles.merriam at gmail.com (Charles Merriam) Date: Wed, 11 Mar 2009 11:24:50 -0700 Subject: [Baypiggies] Decorator example programs Message-ID: Hello All, Here is a set of the source files I used for last month's decorator talk. I plan to post an updated set later, using the kind feedback everyone provided. Charles Merriam -------------- next part -------------- A non-text attachment was scrubbed... Name: b.zip Type: application/zip Size: 9078 bytes Desc: not available URL: From fperez.net at gmail.com Wed Mar 11 20:07:52 2009 From: fperez.net at gmail.com (Fernando Perez) Date: Wed, 11 Mar 2009 12:07:52 -0700 Subject: [Baypiggies] Py4Science talk at Berkeley: change of schedule Message-ID: [ I'm sending this to this list because several of you have contacted me about the sphinx talk. Sorry about the semi-spam] Hi all, sorry for the short notice, but we have a visitor from out of town who agreed to present on a number of topics close to the work many of us are doing and its Python interfaces, so I'm pushing my Sphinx talk to *next week* (unless the room isn't available). I hope to see you there, and sorry for the last-minute change of schedule for those who were waiting on the Sphinx talk. But I really didn't want to pass up the opportunity of Steve's presentation. Cheers, f Speaker: Steve Pieper, from the Brigham and Women's Hospital at Harvard. Title: NA-MIC, Slicer and Python Abstract: The National Alliance for Medical Image Computing (http://na-mic.org/) is an NIH sponsored effort to provide tools for developers and end-users of new biomedical imaging algorithms to deploy their efforts. Applications include such topics as neuroimaging, image guided therapy, biomechanics, and microscopy (http://slicer.org/). A fully open source set of tools including CMake, VTK, ITK, and 3D Slicer, are bundled in the NA-MIC Kit. Particularly in the end-user applications, we are working to expose the full range of functionality via python scripts in order to provide direct access to visualization as well as image registration and segmentation. While the bulk of development, particularly for ITK algorithms, takes place in C++, several opportunities exist for leveraging the best of the both styles of programming. For this venue I will give some specific examples of how we are currently using python in this context and a few of the thorny issues related to deployment and integration with various C and C++ toolkits. An overview of the current interface is given here: http://slicer.spl.harvard.edu/slicerWiki/index.php/Slicer3:Python From bsergean at gmail.com Wed Mar 11 22:07:09 2009 From: bsergean at gmail.com (Benjamin Sergeant) Date: Wed, 11 Mar 2009 14:07:09 -0700 Subject: [Baypiggies] urllib2, basic HTTP authentication, and tr.im In-Reply-To: References: Message-ID: <1621f9fa0903111407k44d0fb55y574c1f494ef815d@mail.gmail.com> Warning: quick and dirty solution with no error checking using curl and a unix pipe. - Benjamin [bsergean at localhost bin]$ cat trim.py #!/usr/bin/env python import os, sys from getpass import getpass import xml.dom.minidom if len(sys.argv) != 2: print 'Usage: trim.py ' sys.exit(0) user = raw_input('username: ') passwd = getpass('password: ') # See http://tr.im/api url = 'http://api.tr.im/api/trim_url.xml?url=%s&newtrim=yes' % sys.argv[1] # Warning: --silent don't show error messages cmd = 'curl --silent --basic -u %s:%s ' % (user, passwd) cmd += url fd = os.popen(cmd, 'r') response = fd.read() print response fd.close() Doc = xml.dom.minidom.parseString(response) N = Doc.getElementsByTagName("url") shortened_url = str((N[0].childNodes)[0].data) print 'shortened url:', shortened_url [bsergean at localhost bin]$ python trim.py Usage: trim.py [bsergean at localhost bin]$ python trim.py http://www.reddit.com/r/programming/ username: bsergean password: http://tr.im/hglC ZfCAq7qcyouYXwfR2WsuBR6v3V4q7L hglC shortened url: http://tr.im/hglC On Tue, Mar 10, 2009 at 11:51 PM, Shannon -jj Behrens wrote: > It may help to look at what is being sent over the wire. > > -jj > > On Tue, Mar 10, 2009 at 8:26 AM, Daryl Spitzer > wrote: > > I'm playing around, trying to write some code to use the http://tr.im > > APIs (http://tr.im/api/) to shorten a URL. > > > > After reading http://docs.python.org/library/urllib2.html, I tried: > > > > TRIM_API_URL = 'http://api.tr.im/api' > > auth_handler = urllib2.HTTPBasicAuthHandler() > > auth_handler.add_password(realm='tr.im', > > uri=TRIM_API_URL, > > user=USERNAME, > > passwd=PASSWORD) > > opener = urllib2.build_opener(auth_handler) > > urllib2.install_opener(opener) > > response = urllib2.urlopen('%s/trim_simple?url=%s' > > % (TRIM_API_URL, url_to_trim)) > > url = response.read().strip() > > > > response.code is 200 (I think it should be 202). url is valid, but > > the basic HTTP authentication doesn't seem to have worked, because the > > shortened URL isn't in my list of URLs (at http://tr.im/?page=1). > > > > After reading > http://www.voidspace.org.uk/python/articles/authentication.shtml#doing-it-properly > > I also tried: > > > > TRIM_API_URL = 'api.tr.im/api' > > password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm() > > password_mgr.add_password(None, TRIM_API_URL, USERNAME, PASSWORD) > > auth_handler = urllib2.HTTPBasicAuthHandler(password_mgr) > > opener = urllib2.build_opener(auth_handler) > > urllib2.install_opener(opener) > > response = urllib2.urlopen('http://%s/trim_simple?url=%s' > > % (TRIM_API_URL, url_to_trim)) > > url = response.read().strip() > > > > But I get the same results. (response.code is 200 and url is valid, > > but not recorded in my account at http://tr.im/.) > > > > If I use query string parameters instead of basic HTTP authentication, > > like this: > > > > TRIM_API_URL = 'http://api.tr.im/api' > > response = > urllib2.urlopen('%s/trim_simple?url=%s&username=%s&password=%s' > > % (TRIM_API_URL, > > url_to_trim, > > USERNAME, > > PASSWORD)) > > url = response.read().strip() > > > > ...then not only is url valid but it's recorded in my tr.im account. > > (Though response.code is still 200.) > > > > Either there must be something wrong in my authentication code, or in > > tr.im's. (I've written api at tr.im to see if it's a known problem and > > haven't received a response.) > > > > Can anyone spot any problems? > > > > -- > > Daryl > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > > > > -- > 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 daryl.spitzer at gmail.com Wed Mar 11 23:14:11 2009 From: daryl.spitzer at gmail.com (Daryl Spitzer) Date: Wed, 11 Mar 2009 15:14:11 -0700 Subject: [Baypiggies] urllib2, basic HTTP authentication, and tr.im In-Reply-To: <1621f9fa0903111407k44d0fb55y574c1f494ef815d@mail.gmail.com> References: <1621f9fa0903111407k44d0fb55y574c1f494ef815d@mail.gmail.com> Message-ID: Thanks Benjamin. I should have wrote sooner to add that I've confirmed that curl -u works. So the problem is definitely with my Python basic HTTP authentication code. I also should have explained that I want to use urllib2 because (as Michael Foord wrote in http://www.voidspace.org.uk/python/articles/urllib2.shtml#proxies), urllib2 will auto-detect proxy settings and use them; curl--as far as I know--doesn't auto-detect proxy settings. (So my code using query string parameters works fine at work through a proxy server and at home.) Also, I'd just like to learn why my code doesn't work! I guess I should take jj's advice and look at what is being sent over the wire. (And compare that to what's going over the wire with curl.) I've never done that before. Can anyone recommend a tool for that (preferably that works on Mac OS X)? -- Daryl On Wed, Mar 11, 2009 at 2:07 PM, Benjamin Sergeant wrote: > Warning: quick and dirty solution with no error checking using curl and a > unix pipe. > > - Benjamin > > [bsergean at localhost bin]$ cat trim.py > #!/usr/bin/env python > > import os, sys > from getpass import getpass > import xml.dom.minidom > > if len(sys.argv) != 2: > ??? print 'Usage: trim.py ' > ??? sys.exit(0) > > user = raw_input('username: ') > passwd = getpass('password: ') > > # See http://tr.im/api > url = 'http://api.tr.im/api/trim_url.xml?url=%s&newtrim=yes' % sys.argv[1] > > # Warning: --silent don't show error messages > cmd? = 'curl --silent --basic -u %s:%s ' % (user, passwd) > cmd += url > > fd = os.popen(cmd, 'r') > response = fd.read() > print response > fd.close() > > Doc = xml.dom.minidom.parseString(response) > N = Doc.getElementsByTagName("url") > shortened_url = str((N[0].childNodes)[0].data) > > print 'shortened url:', shortened_url > > > [bsergean at localhost bin]$ python trim.py > Usage: trim.py > [bsergean at localhost bin]$ python trim.py > http://www.reddit.com/r/programming/ > username: bsergean > password: > > > ? > ? http://tr.im/hglC > ? ZfCAq7qcyouYXwfR2WsuBR6v3V4q7L > ? hglC > > > shortened url: http://tr.im/hglC > > > > > > > On Tue, Mar 10, 2009 at 11:51 PM, Shannon -jj Behrens > wrote: >> >> It may help to look at what is being sent over the wire. >> >> -jj >> >> On Tue, Mar 10, 2009 at 8:26 AM, Daryl Spitzer >> wrote: >> > I'm playing around, trying to write some code to use the http://tr.im >> > APIs (http://tr.im/api/) to shorten a URL. >> > >> > After reading http://docs.python.org/library/urllib2.html, I tried: >> > >> > ? ?TRIM_API_URL = 'http://api.tr.im/api' >> > ? ?auth_handler = urllib2.HTTPBasicAuthHandler() >> > ? ?auth_handler.add_password(realm='tr.im', >> > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?uri=TRIM_API_URL, >> > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?user=USERNAME, >> > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?passwd=PASSWORD) >> > ? ?opener = urllib2.build_opener(auth_handler) >> > ? ?urllib2.install_opener(opener) >> > ? ?response = urllib2.urlopen('%s/trim_simple?url=%s' >> > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? % (TRIM_API_URL, url_to_trim)) >> > ? ?url = response.read().strip() >> > >> > response.code is 200 (I think it should be 202). ?url is valid, but >> > the basic HTTP authentication doesn't seem to have worked, because the >> > shortened URL isn't in my list of URLs (at http://tr.im/?page=1). >> > >> > After reading >> > http://www.voidspace.org.uk/python/articles/authentication.shtml#doing-it-properly >> > I also tried: >> > >> > ? ?TRIM_API_URL = 'api.tr.im/api' >> > ? ?password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm() >> > ? ?password_mgr.add_password(None, TRIM_API_URL, USERNAME, PASSWORD) >> > ? ?auth_handler = urllib2.HTTPBasicAuthHandler(password_mgr) >> > ? ?opener = urllib2.build_opener(auth_handler) >> > ? ?urllib2.install_opener(opener) >> > ? ?response = urllib2.urlopen('http://%s/trim_simple?url=%s' >> > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? % (TRIM_API_URL, url_to_trim)) >> > ? ?url = response.read().strip() >> > >> > But I get the same results. ?(response.code is 200 and url is valid, >> > but not recorded in my account at http://tr.im/.) >> > >> > If I use query string parameters instead of basic HTTP authentication, >> > like this: >> > >> > ? ?TRIM_API_URL = 'http://api.tr.im/api' >> > ? ?response = >> > urllib2.urlopen('%s/trim_simple?url=%s&username=%s&password=%s' >> > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? % (TRIM_API_URL, >> > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?url_to_trim, >> > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?USERNAME, >> > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?PASSWORD)) >> > ? ?url = response.read().strip() >> > >> > ...then not only is url valid but it's recorded in my tr.im account. >> > (Though response.code is still 200.) >> > >> > Either there must be something wrong in my authentication code, or in >> > tr.im's. ?(I've written api at tr.im to see if it's a known problem and >> > haven't received a response.) >> > >> > Can anyone spot any problems? >> > >> > -- >> > Daryl >> > _______________________________________________ >> > Baypiggies mailing list >> > Baypiggies at python.org >> > To change your subscription options or unsubscribe: >> > http://mail.python.org/mailman/listinfo/baypiggies >> > >> >> >> >> -- >> 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 damonmc at gmail.com Wed Mar 11 23:37:37 2009 From: damonmc at gmail.com (Damon McCormick) Date: Wed, 11 Mar 2009 15:37:37 -0700 Subject: [Baypiggies] urllib2, basic HTTP authentication, and tr.im In-Reply-To: References: <1621f9fa0903111407k44d0fb55y574c1f494ef815d@mail.gmail.com> Message-ID: <3cce76f60903111537n7a246acbwa6b6d6384464160b@mail.gmail.com> I've used a tool called Charles for http, and Wireshark is the standard for general protocol analysis. Both run on OS X. -Damon On Wed, Mar 11, 2009 at 3:14 PM, Daryl Spitzer wrote: > Thanks Benjamin. I should have wrote sooner to add that I've > confirmed that curl -u works. So the problem is definitely with my > Python basic HTTP authentication code. > > I also should have explained that I want to use urllib2 because (as > Michael Foord wrote in > http://www.voidspace.org.uk/python/articles/urllib2.shtml#proxies), > urllib2 will auto-detect proxy settings and use them; curl--as far as > I know--doesn't auto-detect proxy settings. (So my code using query > string parameters works fine at work through a proxy server and at > home.) > > Also, I'd just like to learn why my code doesn't work! > > I guess I should take jj's advice and look at what is being sent over > the wire. (And compare that to what's going over the wire with curl.) > I've never done that before. Can anyone recommend a tool for that > (preferably that works on Mac OS X)? > > -- > Daryl > > > On Wed, Mar 11, 2009 at 2:07 PM, Benjamin Sergeant > wrote: > > Warning: quick and dirty solution with no error checking using curl and a > > unix pipe. > > > > - Benjamin > > > > [bsergean at localhost bin]$ cat trim.py > > #!/usr/bin/env python > > > > import os, sys > > from getpass import getpass > > import xml.dom.minidom > > > > if len(sys.argv) != 2: > > print 'Usage: trim.py ' > > sys.exit(0) > > > > user = raw_input('username: ') > > passwd = getpass('password: ') > > > > # See http://tr.im/api > > url = 'http://api.tr.im/api/trim_url.xml?url=%s&newtrim=yes' % > sys.argv[1] > > > > # Warning: --silent don't show error messages > > cmd = 'curl --silent --basic -u %s:%s ' % (user, passwd) > > cmd += url > > > > fd = os.popen(cmd, 'r') > > response = fd.read() > > print response > > fd.close() > > > > Doc = xml.dom.minidom.parseString(response) > > N = Doc.getElementsByTagName("url") > > shortened_url = str((N[0].childNodes)[0].data) > > > > print 'shortened url:', shortened_url > > > > > > [bsergean at localhost bin]$ python trim.py > > Usage: trim.py > > [bsergean at localhost bin]$ python trim.py > > http://www.reddit.com/r/programming/ > > username: bsergean > > password: > > > > > > > > http://tr.im/hglC > > ZfCAq7qcyouYXwfR2WsuBR6v3V4q7L > > hglC > > > > > > shortened url: http://tr.im/hglC > > > > > > > > > > > > > > On Tue, Mar 10, 2009 at 11:51 PM, Shannon -jj Behrens > > wrote: > >> > >> It may help to look at what is being sent over the wire. > >> > >> -jj > >> > >> On Tue, Mar 10, 2009 at 8:26 AM, Daryl Spitzer > > >> wrote: > >> > I'm playing around, trying to write some code to use the http://tr.im > >> > APIs (http://tr.im/api/) to shorten a URL. > >> > > >> > After reading http://docs.python.org/library/urllib2.html, I tried: > >> > > >> > TRIM_API_URL = 'http://api.tr.im/api' > >> > auth_handler = urllib2.HTTPBasicAuthHandler() > >> > auth_handler.add_password(realm='tr.im', > >> > uri=TRIM_API_URL, > >> > user=USERNAME, > >> > passwd=PASSWORD) > >> > opener = urllib2.build_opener(auth_handler) > >> > urllib2.install_opener(opener) > >> > response = urllib2.urlopen('%s/trim_simple?url=%s' > >> > % (TRIM_API_URL, url_to_trim)) > >> > url = response.read().strip() > >> > > >> > response.code is 200 (I think it should be 202). url is valid, but > >> > the basic HTTP authentication doesn't seem to have worked, because the > >> > shortened URL isn't in my list of URLs (at http://tr.im/?page=1). > >> > > >> > After reading > >> > > http://www.voidspace.org.uk/python/articles/authentication.shtml#doing-it-properly > >> > I also tried: > >> > > >> > TRIM_API_URL = 'api.tr.im/api' > >> > password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm() > >> > password_mgr.add_password(None, TRIM_API_URL, USERNAME, PASSWORD) > >> > auth_handler = urllib2.HTTPBasicAuthHandler(password_mgr) > >> > opener = urllib2.build_opener(auth_handler) > >> > urllib2.install_opener(opener) > >> > response = urllib2.urlopen('http://%s/trim_simple?url=%s' > >> > % (TRIM_API_URL, url_to_trim)) > >> > url = response.read().strip() > >> > > >> > But I get the same results. (response.code is 200 and url is valid, > >> > but not recorded in my account at http://tr.im/.) > >> > > >> > If I use query string parameters instead of basic HTTP authentication, > >> > like this: > >> > > >> > TRIM_API_URL = 'http://api.tr.im/api' > >> > response = > >> > urllib2.urlopen('%s/trim_simple?url=%s&username=%s&password=%s' > >> > % (TRIM_API_URL, > >> > url_to_trim, > >> > USERNAME, > >> > PASSWORD)) > >> > url = response.read().strip() > >> > > >> > ...then not only is url valid but it's recorded in my tr.im account. > >> > (Though response.code is still 200.) > >> > > >> > Either there must be something wrong in my authentication code, or in > >> > tr.im's. (I've written api at tr.im to see if it's a known problem and > >> > haven't received a response.) > >> > > >> > Can anyone spot any problems? > >> > > >> > -- > >> > Daryl > >> > _______________________________________________ > >> > Baypiggies mailing list > >> > Baypiggies at python.org > >> > To change your subscription options or unsubscribe: > >> > http://mail.python.org/mailman/listinfo/baypiggies > >> > > >> > >> > >> > >> -- > >> 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 > > > > > _______________________________________________ > 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 stephen.cattaneo at gmail.com Thu Mar 12 00:05:26 2009 From: stephen.cattaneo at gmail.com (Stephen Cattaneo) Date: Wed, 11 Mar 2009 16:05:26 -0700 Subject: [Baypiggies] urllib2, basic HTTP authentication, and tr.im In-Reply-To: <3cce76f60903111537n7a246acbwa6b6d6384464160b@mail.gmail.com> References: <1621f9fa0903111407k44d0fb55y574c1f494ef815d@mail.gmail.com> <3cce76f60903111537n7a246acbwa6b6d6384464160b@mail.gmail.com> Message-ID: <9cc0dd6f0903111605w48a34b4ev80d09b34895928f8@mail.gmail.com> As Damon suggested; get wireshark (formerly called ethereal) it is typically the best place to start when debugging weird network issues. cheers, S On Wed, Mar 11, 2009 at 3:37 PM, Damon McCormick wrote: > I've used a tool called Charles for http, > and Wireshark is the standard for general > protocol analysis. Both run on OS X. > > -Damon > > > On Wed, Mar 11, 2009 at 3:14 PM, Daryl Spitzer wrote: > >> Thanks Benjamin. I should have wrote sooner to add that I've >> confirmed that curl -u works. So the problem is definitely with my >> Python basic HTTP authentication code. >> >> I also should have explained that I want to use urllib2 because (as >> Michael Foord wrote in >> http://www.voidspace.org.uk/python/articles/urllib2.shtml#proxies), >> urllib2 will auto-detect proxy settings and use them; curl--as far as >> I know--doesn't auto-detect proxy settings. (So my code using query >> string parameters works fine at work through a proxy server and at >> home.) >> >> Also, I'd just like to learn why my code doesn't work! >> >> I guess I should take jj's advice and look at what is being sent over >> the wire. (And compare that to what's going over the wire with curl.) >> I've never done that before. Can anyone recommend a tool for that >> (preferably that works on Mac OS X)? >> >> -- >> Daryl >> >> >> On Wed, Mar 11, 2009 at 2:07 PM, Benjamin Sergeant >> wrote: >> > Warning: quick and dirty solution with no error checking using curl and >> a >> > unix pipe. >> > >> > - Benjamin >> > >> > [bsergean at localhost bin]$ cat trim.py >> > #!/usr/bin/env python >> > >> > import os, sys >> > from getpass import getpass >> > import xml.dom.minidom >> > >> > if len(sys.argv) != 2: >> > print 'Usage: trim.py ' >> > sys.exit(0) >> > >> > user = raw_input('username: ') >> > passwd = getpass('password: ') >> > >> > # See http://tr.im/api >> > url = 'http://api.tr.im/api/trim_url.xml?url=%s&newtrim=yes' % >> sys.argv[1] >> > >> > # Warning: --silent don't show error messages >> > cmd = 'curl --silent --basic -u %s:%s ' % (user, passwd) >> > cmd += url >> > >> > fd = os.popen(cmd, 'r') >> > response = fd.read() >> > print response >> > fd.close() >> > >> > Doc = xml.dom.minidom.parseString(response) >> > N = Doc.getElementsByTagName("url") >> > shortened_url = str((N[0].childNodes)[0].data) >> > >> > print 'shortened url:', shortened_url >> > >> > >> > [bsergean at localhost bin]$ python trim.py >> > Usage: trim.py >> > [bsergean at localhost bin]$ python trim.py >> > http://www.reddit.com/r/programming/ >> > username: bsergean >> > password: >> > >> > >> > >> > http://tr.im/hglC >> > ZfCAq7qcyouYXwfR2WsuBR6v3V4q7L >> > hglC >> > >> > >> > shortened url: http://tr.im/hglC >> > >> > >> > >> > >> > >> > >> > On Tue, Mar 10, 2009 at 11:51 PM, Shannon -jj Behrens > > >> > wrote: >> >> >> >> It may help to look at what is being sent over the wire. >> >> >> >> -jj >> >> >> >> On Tue, Mar 10, 2009 at 8:26 AM, Daryl Spitzer < >> daryl.spitzer at gmail.com> >> >> wrote: >> >> > I'm playing around, trying to write some code to use the >> http://tr.im >> >> > APIs (http://tr.im/api/) to shorten a URL. >> >> > >> >> > After reading http://docs.python.org/library/urllib2.html, I tried: >> >> > >> >> > TRIM_API_URL = 'http://api.tr.im/api' >> >> > auth_handler = urllib2.HTTPBasicAuthHandler() >> >> > auth_handler.add_password(realm='tr.im', >> >> > uri=TRIM_API_URL, >> >> > user=USERNAME, >> >> > passwd=PASSWORD) >> >> > opener = urllib2.build_opener(auth_handler) >> >> > urllib2.install_opener(opener) >> >> > response = urllib2.urlopen('%s/trim_simple?url=%s' >> >> > % (TRIM_API_URL, url_to_trim)) >> >> > url = response.read().strip() >> >> > >> >> > response.code is 200 (I think it should be 202). url is valid, but >> >> > the basic HTTP authentication doesn't seem to have worked, because >> the >> >> > shortened URL isn't in my list of URLs (at http://tr.im/?page=1). >> >> > >> >> > After reading >> >> > >> http://www.voidspace.org.uk/python/articles/authentication.shtml#doing-it-properly >> >> > I also tried: >> >> > >> >> > TRIM_API_URL = 'api.tr.im/api' >> >> > password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm() >> >> > password_mgr.add_password(None, TRIM_API_URL, USERNAME, PASSWORD) >> >> > auth_handler = urllib2.HTTPBasicAuthHandler(password_mgr) >> >> > opener = urllib2.build_opener(auth_handler) >> >> > urllib2.install_opener(opener) >> >> > response = urllib2.urlopen('http://%s/trim_simple?url=%s' >> >> > % (TRIM_API_URL, url_to_trim)) >> >> > url = response.read().strip() >> >> > >> >> > But I get the same results. (response.code is 200 and url is valid, >> >> > but not recorded in my account at http://tr.im/.) >> >> > >> >> > If I use query string parameters instead of basic HTTP >> authentication, >> >> > like this: >> >> > >> >> > TRIM_API_URL = 'http://api.tr.im/api' >> >> > response = >> >> > urllib2.urlopen('%s/trim_simple?url=%s&username=%s&password=%s' >> >> > % (TRIM_API_URL, >> >> > url_to_trim, >> >> > USERNAME, >> >> > PASSWORD)) >> >> > url = response.read().strip() >> >> > >> >> > ...then not only is url valid but it's recorded in my tr.im account. >> >> > (Though response.code is still 200.) >> >> > >> >> > Either there must be something wrong in my authentication code, or in >> >> > tr.im's. (I've written api at tr.im to see if it's a known problem and >> >> > haven't received a response.) >> >> > >> >> > Can anyone spot any problems? >> >> > >> >> > -- >> >> > Daryl >> >> > _______________________________________________ >> >> > Baypiggies mailing list >> >> > Baypiggies at python.org >> >> > To change your subscription options or unsubscribe: >> >> > http://mail.python.org/mailman/listinfo/baypiggies >> >> > >> >> >> >> >> >> >> >> -- >> >> 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 >> > >> > >> _______________________________________________ >> 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 > -- --- Failures are finger posts on the road to achievement. -- C.S. Lewis -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Thu Mar 12 06:53:33 2009 From: cappy2112 at gmail.com (Tony Cappellini) Date: Wed, 11 Mar 2009 22:53:33 -0700 Subject: [Baypiggies] High Performance Python - Rough Cut edition Message-ID: <8249c4ac0903112253g185acc4bp44652d3d1cb22eda@mail.gmail.com> O'REILLY gave me a few discount codes for free 45-day access to a "Rough Cut" edition of their upcoming release "High Performance Python" http://oreilly.com/catalog/9780596159894/?CMP=EMC-ormnewsletter&ATT=jan09-book-High-Performance-Python-Rough-Cuts-Version#top O'REILLY would like some feedback on the Rough Cut edition of this book, so be prepared to type up a few paragraphs about the book so that I can forward to O'REILLY. Your comments *may* help improve the final edition of this book. Consider this an informal book review. Only those interested parties who are committed to giving some constructive feedback and actually have time to complete this should reply. Too many people have requested books to review, only to disappear from contact thereafter. Lets follow through this time. O'REILLY and the other publishers are very generous with us. If you would like a discount code and commit to a short writeup, please email me off-list. I only have 3 , so they will be gone quickly. Thanks Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Thu Mar 12 20:44:11 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Thu, 12 Mar 2009 12:44:11 -0700 Subject: [Baypiggies] HIPAA, Django and security? Message-ID: I have a customer who has a Django application that I have upgraded to Django 1.1. The customer wants to take this software in a more public arena. He has to get HIPAA approval. The data is stored in a MySQL database and the standard Django User Authentication model is used (out of the box with no changes). Since security is a concern for the customer, I wanted to find all information from HIPAA regarding the Django User Authentication/Sessions security model. I expected to see documents that they have approved this model in the past. But, I'm getting caught in all types of minutia and can't seem to find information directly relating to HIPAA's criteria for web security and Django User Authentication. I only found one security report (and it wasn't related to session login at all): 07.45.60 CVE: Not Available Platform: Web Application Title: Django i18n Remote Denial of Service Description: Django is a Python-based framework for building web applications. The application is exposed to a remote denial of service issue because it fails to adequately handle user-supplied input. This issue affects the "i18n" internationalization system when processing specially crafted "Accept-Language" HTTP requests. Django versions 0.91, 0.95, 0.95.1, and 0.96 are affected. Ref: http://www.djangoproject.com/weblog/2007/oct/26/security-fix/ Does anyone know where to find such "stamp of approval" or "denial" from HIPAA's point of view? I can find no specific links to Django from hippa.org. Which governmental agency site should I be searching for with regard to Open Source and security? Thanks in advance for any direction you can lead me in (where to go or who to talk to), Cheers, Glen -- glen at glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen.cattaneo at gmail.com Thu Mar 12 22:34:40 2009 From: stephen.cattaneo at gmail.com (Stephen Cattaneo) Date: Thu, 12 Mar 2009 14:34:40 -0700 Subject: [Baypiggies] Django CMS or Plone ? Message-ID: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> Hi all, A friend of mine is starting up a community e-zine. He is currently using Joomla (PHP based CMS). Unfortunately he knows nothing of PHP/HTML/JavaScript, etc. He has come to me multiple times with questions. I know enough to be helpful, but have zero interest in spending any more time in Joomla. As I've been sucked into his project as some sort of tech adviser and its still early enough that it wont be TOO painful of a switch, I would like to move the project to a python based CMS. Is there a decent CMS Django application or should I just go with Plone? Any comments would be appreciated. Cheers, S -- --- Failures are finger posts on the road to achievement. -- C.S. Lewis -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Thu Mar 12 22:45:59 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Thu, 12 Mar 2009 14:45:59 -0700 Subject: [Baypiggies] Django CMS or Plone ? In-Reply-To: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> Message-ID: > A friend of mine is starting up a community e-zine. He is > currently using Joomla (PHP based CMS). Unfortunately he knows > nothing of PHP/HTML/JavaScript, etc. He has come to me multiple > times with questions. I know enough to be helpful, but have zero > interest in spending any more time in Joomla. As I've been sucked > into his project as some sort of tech adviser and its still early > enough that it wont be TOO painful of a switch, I would like to move > the project to a python based CMS. If a Python based CMS is what you're looking for, then I think Plone is your best option. I know little of Plone or it's underlying Zope architecture. However, I've had this same query time and again from customers myself. Plone does seem to be the fastest development and the product that best meets your needs. The problems, however, are that you need someone who knows enough about Plone architecture to do advise or do technical work. (There are some pretty good books out there if you have the time to dedicate to learning Plone yourself). Also know there have been some necessary backward-incompatible code rewrites that have fragmented the technical user base a little (IMHO). But, if you're starting a new project - in a new version - this shouldn't be much of an issue. You know the person who would be able to help you? Donna Snow. She's also a BayPIGgie. She's not a Python programmer, but is a Plone Skinner. Yet, she's being doing Plone quite a while -- long enough to build real relationships with Plone developers. She's a good contact to get you started on what you want. > Is there a decent CMS Django application or should I just go with > Plone? I *believe* (but could well be mistaken) that there's a CMS equivalent in the Pylons space. I believe that knowledge came from a technical presentation Charles gave a year ago (Buzzwords). But, I could be mistaken and Pylons may, or may not, be overkill depending upon your customer's needs. As far as I know, there is no decent CMS for Django. If you (or anyone reading) find that I'm wrong here, please let me know since I get this question a lot myself. I'm not sure if that's helpful, Stephen, but I hope it was a little. Warmest Regards, Glen Jarvis From donnamsnow at gmail.com Thu Mar 12 23:13:40 2009 From: donnamsnow at gmail.com (Donna Snow) Date: Thu, 12 Mar 2009 15:13:40 -0700 Subject: [Baypiggies] Django CMS or Plone ? In-Reply-To: References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> Message-ID: Hi, Ah yes, Glen is right. I am not a python programmer but have been using Plone since 2002. >From what I hear, Django is much better at tying into a relational database and if you want something clean and light, Django is it. Lots of fellow Plonistas also work with Django. Plone on the other hand comes with everything you need, security, membership, workflow, cms functions, and the ability to create more functionality through product creation. Plone is not easy to learn for the integrator/customizer . Plone is NOT good for social networking type stuff (unless you somehow connect to another application for the social networking stuff).At least right now it's not. Some other up and coming zope type apps: Try repoze (http://www.repoze.org), it's a wsgi based application using zope and it does have a Plone "layer" you can add. I'm actually starting to experiment with repoze as Plone 4 will be very ajaxy (move elements of your page in the browser without going back to the server) and definitely more wsgi so you can incorporate other python layers into Zope/Plone (ie you will be able to add a word press layer or non-zope ecommerce solution to your zope app - as long as it's a python egg). Zope/Plone has been very "closed" for a long time but we are moving towards allowing cross-app integration in the next year or so. Grok (http://grok.zope.org/) is another good one to try... and yeah I really need to learn python lol. I've gotten away with not knowing it for 7 years but it's time to buckle down and learn this because I anticipate many more years in Open Source for this old lady :-P Best Regards, Donna M Snow, Principal C Squared Enterprises illuminating your path to Open Source http://www.csquaredtech.com On Thu, Mar 12, 2009 at 2:45 PM, Glen Jarvis wrote: > A friend of mine is starting up a community e-zine. He is currently using >> Joomla (PHP based CMS). Unfortunately he knows nothing of >> PHP/HTML/JavaScript, etc. He has come to me multiple times with questions. >> I know enough to be helpful, but have zero interest in spending any more >> time in Joomla. As I've been sucked into his project as some sort of tech >> adviser and its still early enough that it wont be TOO painful of a switch, >> I would like to move the project to a python based CMS. >> > > If a Python based CMS is what you're looking for, then I think Plone is > your best option. I know little of Plone or it's underlying Zope > architecture. However, I've had this same query time and again from > customers myself. Plone does seem to be the fastest development and the > product that best meets your needs. The problems, however, are that you need > someone who knows enough about Plone architecture to do advise or do > technical work. (There are some pretty good books out there if you have the > time to dedicate to learning Plone yourself). Also know there have been some > necessary backward-incompatible code rewrites that have fragmented the > technical user base a little (IMHO). But, if you're starting a new project - > in a new version - this shouldn't be much of an issue. > > You know the person who would be able to help you? Donna Snow. She's also a > BayPIGgie. She's not a Python programmer, but is a Plone Skinner. Yet, she's > being doing Plone quite a while -- long enough to build real relationships > with Plone developers. She's a good contact to get you started on what you > want. > > Is there a decent CMS Django application or should I just go with Plone? >> > > I *believe* (but could well be mistaken) that there's a CMS equivalent in > the Pylons space. I believe that knowledge came from a technical > presentation Charles gave a year ago (Buzzwords). But, I could be mistaken > and Pylons may, or may not, be overkill depending upon your customer's > needs. As far as I know, there is no decent CMS for Django. If you (or > anyone reading) find that I'm wrong here, please let me know since I get > this question a lot myself. > > I'm not sure if that's helpful, Stephen, but I hope it was a little. > > Warmest Regards, > > > Glen Jarvis > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charles.merriam at gmail.com Fri Mar 13 00:40:48 2009 From: charles.merriam at gmail.com (Charles Merriam) Date: Thu, 12 Mar 2009 16:40:48 -0700 Subject: [Baypiggies] Django CMS or Plone ? In-Reply-To: References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> Message-ID: How many people want to upgrade their Python programming skills? I've gotten good at tutoring people in short blocks, and can be persuaded to teach random skills at coffee shops (say 11-2 on Fridays)? Charles > and yeah I really need to learn python lol. I've gotten away with not > knowing it for 7 years but it's time to buckle down and learn this because I > anticipate many more years in Open Source for this old lady :-P From aahz at pythoncraft.com Fri Mar 13 00:51:38 2009 From: aahz at pythoncraft.com (Aahz) Date: Thu, 12 Mar 2009 16:51:38 -0700 Subject: [Baypiggies] Python tutoring (was Re: Django CMS or Plone?) In-Reply-To: References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> Message-ID: <20090312235138.GA24755@panix.com> On Thu, Mar 12, 2009, Charles Merriam wrote: > > How many people want to upgrade their Python programming skills? I've > gotten good at tutoring people in short blocks, and can be persuaded > to teach random skills at coffee shops (say 11-2 on Fridays)? Maybe we should make this part of BayPIGgies evenings? I'm available to do some of the tutoring while I'm looking for work. My preference is for the area from Mountain View through Burlingame. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "All problems in computer science can be solved by another level of indirection." --Butler Lampson From charles.merriam at gmail.com Fri Mar 13 01:10:59 2009 From: charles.merriam at gmail.com (Charles Merriam) Date: Thu, 12 Mar 2009 17:10:59 -0700 Subject: [Baypiggies] Python tutoring (was Re: Django CMS or Plone?) In-Reply-To: <20090312235138.GA24755@panix.com> References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> <20090312235138.GA24755@panix.com> Message-ID: Hmm... Perhaps. Or maybe a wiki page. My time availability is odd, as evenings are harder than days. I expect others have this. Charles On Thu, Mar 12, 2009 at 4:51 PM, Aahz wrote: > On Thu, Mar 12, 2009, Charles Merriam wrote: >> >> How many people want to upgrade their Python programming skills? ?I've >> gotten good at tutoring people in short blocks, and can be persuaded >> to teach random skills at coffee shops (say 11-2 on Fridays)? > > Maybe we should make this part of BayPIGgies evenings? ?I'm available to > do some of the tutoring while I'm looking for work. ?My preference is for > the area from Mountain View through Burlingame. > -- > Aahz (aahz at pythoncraft.com) ? ? ? ? ? <*> ? ? ? ? http://www.pythoncraft.com/ > > "All problems in computer science can be solved by another level of > indirection." ?--Butler Lampson > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From cappy2112 at gmail.com Fri Mar 13 01:20:04 2009 From: cappy2112 at gmail.com (Tony Cappellini) Date: Thu, 12 Mar 2009 17:20:04 -0700 Subject: [Baypiggies] Fwd: UG News: New O'Reilly Training: Master Classes in San Francisco In-Reply-To: References: Message-ID: <8249c4ac0903121720m557d7142v1d9518e5791705d1@mail.gmail.com> New O'Reilly Training, Master Classes in San Francisco In this increasingly competitive job market, having top-of-the-line technical and management skills is critical. The good news is that you can improve your skills and learn some new techniques that will make you irreplaceable--without breaking the bank. Right now user group members can save 25% on an O'Reilly Master class, and learn directly from Scott Berkun on project management, Douglas Crockford on JavaScript coding, and Steve Souders on improving web site performance. Give your career a real boost--just go to and use special offer code masterclassug to register and save 25%. Register by March 15 and get an extra $50 off. Everyone in the class receives $100 worth of O'Reilly books. The first three one-day Master Classes on JavaScript, Creating High Performance Web Sites, and Project Management are scheduled for March 30 in San Francisco. Here are the details: O'Reilly Master Class: Douglas Crockford, March 30, 2009, San Francisco, CA JavaScript: The Good Parts Like most languages, JavaScript contains both good and bad parts. The bad parts keep it from becoming an elegant, lightweight, and highly expressive language. In this class, you'll discover good JavaScript you can use to create truly extensible code. The author of "JavaScript: The Good Parts," (O'Reilly Media), Crockford is a regular speaker at conferences on advanced JavaScript topics. He serves on the JavaScript 2.0 committee at ECMA. Register by March 15 and get an extra $50 off. Everyone in the class receives $100 worth of O'Reilly books. 1-day workshop, 9am-5pm, Mar. 30, $600 Mission Bay Conference Center University of California, San Francisco (UCSF) 1675 Owens St. San Francisco, CA 94143 For more information and to register: Call: (707) 827-7000 / (800) 998-9938 http://training.oreilly.com/javascript ******************************************* O'Reilly Master Class: Scott Berkun, March 30, 2009, San Francisco, CA Leading and Managing Breakthrough Projects Scott Berkun, author of the bestselling "The Myths of Innovation" (O'Reilly Media) uses valuable insights from the past as well as challenging in-class exercises to help you develop the leadership skills and knowledge you need to manage innovative people and projects. Register by March 15 and get an extra $50 off. Everyone in the class receives $100 worth of O'Reilly books. 1-day workshop, 10am-5pm, Mar. 30, $600 Mission Bay Conference Center University of California, San Francisco (UCSF) 1675 Owens St. San Francisco, CA 94143 For more information and to register: Call: (707) 827-7000 / (800) 998-9938 http://training.oreilly.com/projectmanagement ******************************************* O'Reilly Master Class: Steve Souders, March 30, 2009, San Francisco, CA Creating High Performance Web Sites While working at Google and Yahoo!, Steve Souders developed rules that cut up to 25% off response time for page requests. In this class, Souders, the author of the bestselling O'Reilly book, "High Performance Web Sites" (O'Reilly Media), explains those rules and shows you how you can greatly improve the performance of your existing web pages. Register by March 15 and get an extra $50 off. Everyone in the class receives $100 worth of O'Reilly books. 1-day workshop, 9am-5pm, Mar. 30, $600 Mission Bay Conference Center University of California, San Francisco (UCSF) 1675 Owens St. San Francisco, CA 94143 For more information and to register: Call: (707) 827-7000 / (800) 998-9938 http://training.oreilly.com/highperformancesites ================================================================ Marsee Henon UG Manager O'Reilly 1005 Gravenstein Highway North Sebastopol, CA 95472 marsee at oreilly.com 800-998-9938 http://ug.oreilly.com/ Follow us on Twitter at http://twitter.com/OReillyMedia You are receiving this email because you are a User Group contact with O'Reilly Media. If you would like to stop receiving these newsletters or announcements from O'Reilly, send an email to marsee at oreilly.com ================================================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at well.com Fri Mar 13 01:22:45 2009 From: jim at well.com (jim) Date: Thu, 12 Mar 2009 16:22:45 -0800 Subject: [Baypiggies] Django CMS or Plone ? In-Reply-To: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> Message-ID: <1236903765.6425.125.camel@jim-laptop> django supposedly arose from the needs of a newsroom environment, which may be a comfortably fit for a community e-zine. from what i've heard, django is easy for a python programmer to get live, and it integrates well with other apps. i know little of plone other than some sour remarks a few different people have made with regard to system administration. On Thu, 2009-03-12 at 14:34 -0700, Stephen Cattaneo wrote: > Hi all, > > A friend of mine is starting up a community e-zine. He is currently > using Joomla (PHP based CMS). Unfortunately he knows nothing of > PHP/HTML/JavaScript, etc. He has come to me multiple times with > questions. I know enough to be helpful, but have zero interest in > spending any more time in Joomla. As I've been sucked into his > project as some sort of tech adviser and its still early enough that > it wont be TOO painful of a switch, I would like to move the project > to a python based CMS. > > Is there a decent CMS Django application or should I just go with > Plone? Any comments would be appreciated. > > Cheers, > > S > > -- > --- > Failures are finger posts on the road to achievement. > > -- C.S. Lewis > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From bdbaddog at gmail.com Fri Mar 13 01:43:47 2009 From: bdbaddog at gmail.com (William Deegan) Date: Thu, 12 Mar 2009 17:43:47 -0700 Subject: [Baypiggies] Django CMS or Plone ? In-Reply-To: <1236903765.6425.125.camel@jim-laptop> References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> <1236903765.6425.125.camel@jim-laptop> Message-ID: <8540148a0903121743hf8fd5bbt90f0125c2abefcb6@mail.gmail.com> All, Having at least played around with both (including the baypiggies.net site which is an older version of plone), I'll make the following (somewhat educated) comments: 1. Plone will give you a lot more of what you need without writing any code, and if there are plone products which take care of the rest, your time to usefulness will be much shorter. If you have to write a product (extension) for plone, it will likely take longer to ramp up how to do it than it would to do the same with django. If you've never used a CMS before, you will need to learn some common CMS workflows ( but since they're using joomla they should be familiar with these anyway). 2. Django - you can probably get started writing code much quicker, but you may have to write a lot more code to get what you need. There may or may not be django components or packages to accomplish much of what you need. If I was going to publish an e-zine, likely I'd pick an existing CMS and build from that. Plone's not a bad one, joomla's probably easier to understand if you need to build any additional components (at least it was easier for me to pick up,even though I've not done any PHP). I have no idea how the two compare as far as scalabililty, nor in the breadth of addons available. If you're going to go with a CMS, probably worth finding an "expert" who's time you can pay for from time to time (minimally) to make sure you're not making bad decisions on "big" issues, like site organization and/or SEO issues. (Donna's the local resource for Plone that I know of.) One mistake I made on baypiggies was to use a blogging product for the book reviews. This has made it a pain to upgrade to newer version of plone (which I'll undo when I have more bandwidth) That's all the advice I got at the moment! Good luck, Bill Founder Bad Dog Consulting On Thu, Mar 12, 2009 at 5:22 PM, jim wrote: > > > django supposedly arose from the needs of a newsroom > environment, which may be a comfortably fit for a > community e-zine. from what i've heard, django is easy > for a python programmer to get live, and it integrates > well with other apps. > i know little of plone other than some sour remarks > a few different people have made with regard to system > administration. > > > > On Thu, 2009-03-12 at 14:34 -0700, Stephen Cattaneo wrote: > > Hi all, > > > > A friend of mine is starting up a community e-zine. He is currently > > using Joomla (PHP based CMS). Unfortunately he knows nothing of > > PHP/HTML/JavaScript, etc. He has come to me multiple times with > > questions. I know enough to be helpful, but have zero interest in > > spending any more time in Joomla. As I've been sucked into his > > project as some sort of tech adviser and its still early enough that > > it wont be TOO painful of a switch, I would like to move the project > > to a python based CMS. > > > > Is there a decent CMS Django application or should I just go with > > Plone? Any comments would be appreciated. > > > > Cheers, > > > > S > > > > -- > > --- > > Failures are finger posts on the road to achievement. > > > > -- C.S. Lewis > > _______________________________________________ > > 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 Fri Mar 13 01:47:05 2009 From: jim at well.com (jim) Date: Thu, 12 Mar 2009 16:47:05 -0800 Subject: [Baypiggies] Django CMS or Plone ? In-Reply-To: References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> Message-ID: <1236905225.6425.152.camel@jim-laptop> where? i.e. how close to sf are you willing to go? (doesn't have to be close, just curious as to what i'll have to do to participate.) On Thu, 2009-03-12 at 16:40 -0700, Charles Merriam wrote: > How many people want to upgrade their Python programming skills? > I've gotten good at tutoring people in short blocks, and can be > persuaded to teach random skills at coffee shops (say 11-2 on > Fridays)? > > Charles > > > and yeah I really need to learn python lol. I've gotten away with not > > knowing it for 7 years but it's time to buckle down and learn this because I > > anticipate many more years in Open Source for this old lady :-P > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From jim at well.com Fri Mar 13 01:51:36 2009 From: jim at well.com (jim) Date: Thu, 12 Mar 2009 16:51:36 -0800 Subject: [Baypiggies] Python tutoring (was Re: Django CMS or Plone?) In-Reply-To: References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> <20090312235138.GA24755@panix.com> Message-ID: <1236905496.6425.156.camel@jim-laptop> my availability is i'm busy most every evening and just about every minute of the weekend and i've got nothing to do weekdays from early AM till sometime around 5 PM. i've got some python stuff i'd like to do and an internet-accessible machine on which the stuff lives and a tiny, dwindling bit of money in my pocket that i can part with, and a car that seems to be drivable to the grand canyon and back (so it'll certainly reach "down there" south of sf). motivatedly, jim stockford 415 823 4590 my cellphone, call anytime On Thu, 2009-03-12 at 17:10 -0700, Charles Merriam wrote: > Hmm... > > Perhaps. Or maybe a wiki page. My time availability is odd, as > evenings are harder than days. I expect others have this. > > Charles > > > On Thu, Mar 12, 2009 at 4:51 PM, Aahz wrote: > > On Thu, Mar 12, 2009, Charles Merriam wrote: > >> > >> How many people want to upgrade their Python programming skills? I've > >> gotten good at tutoring people in short blocks, and can be persuaded > >> to teach random skills at coffee shops (say 11-2 on Fridays)? > > > > Maybe we should make this part of BayPIGgies evenings? I'm available to > > do some of the tutoring while I'm looking for work. My preference is for > > the area from Mountain View through Burlingame. > > -- > > Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ > > > > "All problems in computer science can be solved by another level of > > indirection." --Butler Lampson > > _______________________________________________ > > 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 bdurbin at gmail.com Fri Mar 13 02:01:52 2009 From: bdurbin at gmail.com (Brent Durbin) Date: Thu, 12 Mar 2009 18:01:52 -0700 Subject: [Baypiggies] Django CMS or Plone ? In-Reply-To: <8540148a0903121743hf8fd5bbt90f0125c2abefcb6@mail.gmail.com> References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> <1236903765.6425.125.camel@jim-laptop> <8540148a0903121743hf8fd5bbt90f0125c2abefcb6@mail.gmail.com> Message-ID: > 2. Django - you can probably get started writing code much quicker, but you > may have to write a lot more code to get what you need. There may or may > not be django components or packages to accomplish much of what you need. > > If you want to use Django, then you may want to look into pinax: http://pinaxproject.com/. I'm not hip to the word of web frameworks, but supposedly this is getting close to becoming a competitor to Drupal or Plone. Brent -------------- next part -------------- An HTML attachment was scrubbed... URL: From venkat83 at gmail.com Fri Mar 13 06:38:54 2009 From: venkat83 at gmail.com (Venkatraman S) Date: Fri, 13 Mar 2009 11:08:54 +0530 Subject: [Baypiggies] Django CMS or Plone ? In-Reply-To: References: <9cc0dd6f0903121434k3dc325c5h54c8aa1154588226@mail.gmail.com> <1236903765.6425.125.camel@jim-laptop> <8540148a0903121743hf8fd5bbt90f0125c2abefcb6@mail.gmail.com> Message-ID: On Fri, Mar 13, 2009 at 6:31 AM, Brent Durbin wrote: > > > If you want to use Django, then you may want to look into pinax: > http://pinaxproject.com/. I'm not hip to the word of web frameworks, but > supposedly this is getting close to becoming a competitor to Drupal or > Plone. > Pinax rocks!! It has pre-built library of apps(components) and has a pluggable arch which enables you to easily develop, customize and deploy things without pain :) -V- http://twitter.com/venkat83 -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Fri Mar 13 15:37:03 2009 From: aahz at pythoncraft.com (Aahz) Date: Fri, 13 Mar 2009 07:37:03 -0700 Subject: [Baypiggies] HIPAA, Django and security? In-Reply-To: References: Message-ID: <20090313143702.GB27930@panix.com> On Thu, Mar 12, 2009, Glen Jarvis wrote: > > The customer wants to take this software in a more public arena. He has > to get HIPAA approval. The data is stored in a MySQL database and the > standard Django User Authentication model is used (out of the box with no > changes). Since security is a concern for the customer, I wanted to find > all information from HIPAA regarding the Django User > Authentication/Sessions security model. I expected to see documents that > they have approved this model in the past. But, I'm getting caught in all > types of minutia and can't seem to find information directly relating to > HIPAA's criteria for web security and Django User Authentication. Based on my minimal past experience about looking into getting a web application authorized for HIPAA use, I doubt you'll find anything specific about Django (unless you ask on the Django mailing list about people's experience with HIPAA). HIPAA is more about specifying end-point goals, which you then need to translate yourself (or hire a HIPAA expert to do for you in the context of your application). You may find it easier to look at PCI/DSS (the credit card security standard) as a starting point; there are paid services that will certify you for PCI/DSS based on a combination of network probing and survey questions. HIPAA is stricter, but this should get you moving in the right direction; if you can't pass PCI/DSS, you certainly can't pass a HIPAA audit. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "All problems in computer science can be solved by another level of indirection." --Butler Lampson From glen at glenjarvis.com Sat Mar 14 00:11:51 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 13 Mar 2009 16:11:51 -0700 Subject: [Baypiggies] Super Happy Dev House Message-ID: Anyone going to Super Happy Dev House in Cupertino on Saturday? SuperHappyDevHouse 31. March 14, 2009. 21677 Rainbow Drive, Cupertino,CA. 1:59pm-11pm. Yes, it starts at 3/14 1:59... It's Pi Day (starting on 3 1 4 1 5 9..... 3/14 1:59) I'm not certain I'm going to go.. I have another event I could go on... Buuttt.. if other BayPIGgies are going... =) Cheers, Glen -- 415-680-3964 glen at glenjarvis.com http://www.glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Sat Mar 14 00:13:02 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 13 Mar 2009 16:13:02 -0700 Subject: [Baypiggies] Super Happy Dev House (tomorrow) In-Reply-To: References: Message-ID: <916241E5-CF9D-420E-BBDD-1BC2C9AE0927@glenjarvis.com> I meant to make this more clear -- it's tomorrow, Saturday... Cheers, Glen On Mar 13, 2009, at 4:11 PM, Glen Jarvis wrote: > Anyone going to Super Happy Dev House in Cupertino on Saturday? > > SuperHappyDevHouse > 31. March 14, 2009. > 21677 Rainbow Drive, Cupertino,CA. > 1:59pm-11pm. Yes, it starts at 3/14 1:59... > > > It's Pi Day (starting on 3 1 4 1 5 9..... 3/14 1:59) > > I'm not certain I'm going to go.. I have another event I could go > on... Buuttt.. if other BayPIGgies are going... =) > > Cheers, > > > Glen > -- > 415-680-3964 > glen at glenjarvis.com > http://www.glenjarvis.com > > "You must be the change you wish to see in the world." -M. Gandhi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From echerlin at gmail.com Sat Mar 14 02:25:38 2009 From: echerlin at gmail.com (Edward Cherlin) Date: Fri, 13 Mar 2009 18:25:38 -0700 Subject: [Baypiggies] Super Happy Dev House In-Reply-To: References: Message-ID: On Fri, Mar 13, 2009 at 4:11 PM, Glen Jarvis wrote: > Anyone going to Super Happy Dev House in Cupertino on Saturday? Great idea. Would anybody like to see what I am doing in Python to make Turtle Art more suitable for teaching math and Computer Science ideas to elementary school students? Also in Inkscape. I'm taking the text off the tiles and substituting icons, so that we can see how much of Turtle Art works with preliterate children. For the older ones, Euclidean geometry, analytic geometry, calculus, fractals, a toy Turing machine (finite tape, finite symbol set), programming in snap-together trees, not text... > SuperHappyDevHouse > 31. March 14, 2009. > 21677 Rainbow Drive, Cupertino,CA. > 1:59pm-11pm. Yes, it starts at 3/14 1:59... > > It's Pi Day (starting on 3 1 4 1 5 9..... ?3/14 1:59) > I'm not certain I'm going to go.. I have another event I could go on... Yes, it's Cabal day, too. > ?Buuttt.. if other BayPIGgies are going... =) > Cheers, > > Glen > -- > 415-680-3964 > glen at glenjarvis.com > http://www.glenjarvis.com > "You must be the change you wish to see in the world." -M. Gandhi > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Silent Thunder (??/???????????????/????????????? ?) is my name And Children are my nation. The Cosmos is my dwelling place, The Truth my destination. http://earthtreasury.net/ (Edward Mokurai Cherlin) From jjinux at gmail.com Sat Mar 14 08:32:21 2009 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Sat, 14 Mar 2009 00:32:21 -0700 Subject: [Baypiggies] Super Happy Dev House In-Reply-To: References: Message-ID: On Fri, Mar 13, 2009 at 4:11 PM, Glen Jarvis wrote: > Anyone going to Super Happy Dev House in Cupertino on Saturday? > SuperHappyDevHouse I'm hoping to make it. -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 bdbaddog at gmail.com Mon Mar 16 04:24:05 2009 From: bdbaddog at gmail.com (William Deegan) Date: Sun, 15 Mar 2009 20:24:05 -0700 Subject: [Baypiggies] Overdue book review list... Message-ID: <8540148a0903152024v4697dc86jcb654f0ad7de118a@mail.gmail.com> Greetings, I've been keeping track of books which Tony C. has handed out please take a look at: http://baypiggies.net/new/plone/user-group-association-program/BookReviews/SimpleBlogCatSearch?category=overdue And let me know if you have your review done and/or it got lost in the mail, or your dog ate it. If not and you still have the book, please write a review or contact Tony so he can arrange someone else to review it. We like to keep the publishers happy by giving them some return on their generosity. Thanks, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe.shapiro at ushow.com Mon Mar 16 18:02:17 2009 From: joe.shapiro at ushow.com (Joe Shapiro) Date: Mon, 16 Mar 2009 10:02:17 -0700 Subject: [Baypiggies] Software Engineer with Python/Django Exp for Breakthrough Online Video Site Message-ID: <1F83DA8F-43D8-4A6F-93B0-1BED26BBEEE9@ushow.com> uShow, Inc. is a privately-held Silicon Valley company developing a breakthrough online video software. Outstanding software engineers with advanced experience in Python / Django / Javascript wanted! Solve challenging engineering problems that come with building a highly interactive video website. Work within a small, fast-paced team with veteran engineers. Responsibilities: *Design and implement new video and social networking features and frameworks *Innovate and have fun changing the world Requirements: *B.S. in Computer Science or a related field *Advanced knowledge of Python and/or significant exposure to different programming languages and paradigms *Ability to work with minimum supervision to deliver well-designed high-quality code on time *Experience with LAMP stack web application development a plus *Experience with front-end technologies (HTML/CSS/JavaScript) also a plus If you are interested please email your information to Careers at uShow.com From glen at glenjarvis.com Mon Mar 16 18:10:16 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 16 Mar 2009 10:10:16 -0700 Subject: [Baypiggies] Software Engineer with Python/Django Exp for Breakthrough Online Video Site In-Reply-To: <1F83DA8F-43D8-4A6F-93B0-1BED26BBEEE9@ushow.com> References: <1F83DA8F-43D8-4A6F-93B0-1BED26BBEEE9@ushow.com> Message-ID: <537DC796-EC59-4C0E-8042-BD2DCD4A87EE@glenjarvis.com> Readers, Forgive me for not knowing the guidelines exactly, I could be wrong. JJ is the one who I remember knows this very well. So, although I may be mistaken, isn't a blind recruiter-like-post like this to BayPIGgies technically against our posting/mail etiquette guidelines? Cheers, Glen -- glen at glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi On Mar 16, 2009, at 10:02 AM, Joe Shapiro wrote: > uShow, Inc. is a privately-held Silicon Valley company developing a > breakthrough online video software. > > Outstanding software engineers with advanced experience in Python / > Django / Javascript wanted! Solve challenging engineering problems > that come with building a highly interactive video website. Work > within a small, fast-paced team with veteran engineers. > > Responsibilities: > *Design and implement new video and social networking features and > frameworks > *Innovate and have fun changing the world > > Requirements: > *B.S. in Computer Science or a related field > *Advanced knowledge of Python and/or significant exposure to > different programming languages and paradigms > *Ability to work with minimum supervision to deliver well-designed > high-quality code on time > *Experience with LAMP stack web application development a plus > *Experience with front-end technologies (HTML/CSS/JavaScript) also a > plus > > If you are interested please email your information to Careers at uShow.com > _______________________________________________ > 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 Mon Mar 16 18:25:33 2009 From: aahz at pythoncraft.com (Aahz) Date: Mon, 16 Mar 2009 10:25:33 -0700 Subject: [Baypiggies] Software Engineer with Python/Django Exp for Breakthrough Online Video Site In-Reply-To: <537DC796-EC59-4C0E-8042-BD2DCD4A87EE@glenjarvis.com> References: <1F83DA8F-43D8-4A6F-93B0-1BED26BBEEE9@ushow.com> <537DC796-EC59-4C0E-8042-BD2DCD4A87EE@glenjarvis.com> Message-ID: <20090316172533.GA29403@panix.com> On Mon, Mar 16, 2009, Glen Jarvis wrote: > > Forgive me for not knowing the guidelines exactly, I could be wrong. > JJ is the one who I remember knows this very well. > > So, although I may be mistaken, isn't a blind recruiter-like-post > like this to BayPIGgies technically against our posting/mail etiquette > guidelines? How so? He's posting from ushow.com. For more details, see http://baypiggies.net/jobs.html -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ Adopt A Process -- stop killing all your children! From glen at glenjarvis.com Mon Mar 16 18:29:06 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 16 Mar 2009 10:29:06 -0700 Subject: [Baypiggies] Software Engineer with Python/Django Exp for Breakthrough Online Video Site In-Reply-To: <20090316172533.GA29403@panix.com> References: <1F83DA8F-43D8-4A6F-93B0-1BED26BBEEE9@ushow.com> <537DC796-EC59-4C0E-8042-BD2DCD4A87EE@glenjarvis.com> <20090316172533.GA29403@panix.com> Message-ID: <22E8D850-926B-4B4F-8728-54102D5A7E3D@glenjarvis.com> > On Mon, Mar 16, 2009, Glen Jarvis wrote: >> >> Forgive me for not knowing the guidelines exactly, I could be >> wrong. >> JJ is the one who I remember knows this very well. >> >> So, although I may be mistaken, isn't a blind recruiter-like-post >> like this to BayPIGgies technically against our posting/mail >> etiquette >> guidelines? > > How so? He's posting from ushow.com. For more details, see > http://baypiggies.net/jobs.html I *must* be completely mistaken. Please ignore my previous email. Cheers, Glen From eric at ericwalstad.com Mon Mar 16 18:30:31 2009 From: eric at ericwalstad.com (Eric Walstad) Date: Mon, 16 Mar 2009 10:30:31 -0700 Subject: [Baypiggies] Software Engineer with Python/Django Exp for Breakthrough Online Video Site In-Reply-To: <537DC796-EC59-4C0E-8042-BD2DCD4A87EE@glenjarvis.com> References: <1F83DA8F-43D8-4A6F-93B0-1BED26BBEEE9@ushow.com> <537DC796-EC59-4C0E-8042-BD2DCD4A87EE@glenjarvis.com> Message-ID: On Mon, Mar 16, 2009 at 10:10 AM, Glen Jarvis wrote: > ? ?So, although I may be mistaken, isn't a blind recruiter-like-post like > this to BayPIGgies technically against our posting/mail etiquette > guidelines? The Baypiggies info page[0] has a link to the job posting guidelines[1]. Somewhat related: there's also a job listings on the website[2]. I introduced Joe to the mailing list because it appeared he was not a recruiter and I thought posting here might benefit one of our 'members'. Eric [0] http://mail.python.org/mailman/listinfo/baypiggies [1] http://baypiggies.net/jobs.html [2] http://baypiggies.net/new/plone/job-listings From glen at glenjarvis.com Mon Mar 16 18:32:13 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 16 Mar 2009 10:32:13 -0700 Subject: [Baypiggies] Software Engineer with Python/Django Exp for Breakthrough Online Video Site In-Reply-To: References: <1F83DA8F-43D8-4A6F-93B0-1BED26BBEEE9@ushow.com> <537DC796-EC59-4C0E-8042-BD2DCD4A87EE@glenjarvis.com> Message-ID: <27DA973C-9B38-4288-B46C-6701006F7FC5@glenjarvis.com> On Mar 16, 2009, at 10:30 AM, Eric Walstad wrote > On Mon, Mar 16, 2009 at 10:10 AM, Glen Jarvis > wrote: >> So, although I may be mistaken, isn't a blind recruiter-like- >> post like >> this to BayPIGgies technically against our posting/mail etiquette >> guidelines? > > The Baypiggies info page[0] has a link to the job posting > guidelines[1]. Somewhat related: there's also a job listings on the > website[2]. > I introduced Joe to the mailing list because it appeared he was not a > recruiter and I thought posting here might benefit one of our > 'members'. > > Eric > [0] http://mail.python.org/mailman/listinfo/baypiggies > [1] http://baypiggies.net/jobs.html > [2] http://baypiggies.net/new/plone/job-listings I was *completely* mistaken. I'm sorry for the confusion. This was *my* misunderstanding of the guidelines, not Joe's Again, apologizes all around. Cheers, glen From emma at lolapps.com Mon Mar 16 21:05:18 2009 From: emma at lolapps.com (Emma Donovan) Date: Mon, 16 Mar 2009 13:05:18 -0700 Subject: [Baypiggies] Seeking Web Developers for LOLapps Media Message-ID: <008901c9a672$88d4cda0$6900a8c0@Olive> We're a young and scrappy startup in the social application space. Here are a few bullets on us, because who doesn't love bullets? - We're profitable, which makes us pretty much the opposite of your typical echo chamber Silicon Valley startups. - We raised $4m in an A round with Polaris Ventures and value-add angels including Ron Conway and Ariel Poler. - We're only 12 people. You can make a MASSIVE impact here. - Our office is in San Francisco, in the old Yelp space, but we plan to upgrade our digs soon. We'll still be in SF. - We have all the typical startup stuff (free food, Rock Band, exposed brick walls, etc). - If you like beer, check out our kitchen . Responsibilities - Work with product management to break down high level goals into tasks and timelines - Design and implement large chunks of the product roadmap - Mentor junior engineers - Have a point of view on the product and be willing to debate it Requirements - Care more about the company and your group's goals rather than personal glory - Desire and ability to quickly learn new languages and technologies - 2+ years of experience as a software engineer - Appreciate owning a full spectrum of responsibilities from backend (SQL, memcache, etc) to frontend (JavaScript, FBML, FBJS) - Interested in using / learning Python - Detail-oriented: When someone sends you an email about something it automagically gets handled with no need for a follow-up - Interested in working in the social networking space - Comfortable working in an environment where ideas are thought of, described, and executed within a span of hours to days Desired Qualifications - Computer science or equivalent degree from a top computer science program - 1+ year working on a consumer facing web product with a high level of scale - Strong product sense - You write software for fun. You've worked on projects of your own outside of school or work - Entrepreneurial Emma Donovan Recruiter LOLapps Media direct 707 824 8111 cell 415 203 0015 emma at lolapps.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From charles.merriam at gmail.com Tue Mar 17 07:09:59 2009 From: charles.merriam at gmail.com (Charles Merriam) Date: Mon, 16 Mar 2009 23:09:59 -0700 Subject: [Baypiggies] Silent data corruption paper... Message-ID: I owed this to someone at the last meeting: http://fuji.web.cern.ch/fuji/talk/2007/kelemen-2007-C5-Silent_Corruptions.pdf Highlights: Desktop disks get a random silent corruption 10x more than enterprise hard drives. Everyone gets them occasionally. Figure a bit gets switched every couple of months in a data center, even with all the backups, checksums, etc. Charles From tony at tcapp.com Tue Mar 17 07:29:32 2009 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 16 Mar 2009 23:29:32 -0700 Subject: [Baypiggies] Silent data corruption paper... In-Reply-To: References: Message-ID: <8249c4ac0903162329k4c8bc9c7h39cc4da33ceaf3e5@mail.gmail.com> That was me- Thanks, I had forgotten. This should get heds turning tomorrow at work. (a storage company) On 3/16/09, Charles Merriam wrote: > > I owed this to someone at the last meeting: > > http://fuji.web.cern.ch/fuji/talk/2007/kelemen-2007-C5-Silent_Corruptions.pdf > > Highlights: Desktop disks get a random silent corruption 10x more > than enterprise hard drives. Everyone gets them occasionally. Figure > a bit gets switched every couple of months in a data center, even with > all the backups, checksums, etc. > > Charles > _______________________________________________ > 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 jjinux at gmail.com Tue Mar 17 07:59:14 2009 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Mon, 16 Mar 2009 23:59:14 -0700 Subject: [Baypiggies] Silent data corruption paper... In-Reply-To: References: Message-ID: On Mon, Mar 16, 2009 at 11:09 PM, Charles Merriam wrote: > I owed this to someone at the last meeting: > http://fuji.web.cern.ch/fuji/talk/2007/kelemen-2007-C5-Silent_Corruptions.pdf > > Highlights: ? Desktop disks get a random silent corruption 10x more > than enterprise hard drives. ?Everyone gets them occasionally. ?Figure > a bit gets switched every couple of months in a data center, even with > all the backups, checksums, etc. I remember hearing that Google operated at such a large scale that these sorts of things tended to catch up with them. Their approach was to use more redundancy. I'm regurgitating things I've heard. -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 drewp at bigasterisk.com Tue Mar 17 08:21:19 2009 From: drewp at bigasterisk.com (Drew Perttula) Date: Tue, 17 Mar 2009 00:21:19 -0700 Subject: [Baypiggies] Silent data corruption paper... In-Reply-To: References: Message-ID: <49BF4F6F.9000407@bigasterisk.com> Shannon -jj Behrens wrote: > I remember hearing that Google operated at such a large scale that > these sorts of things tended to catch up with them. Their approach > was to use more redundancy. """we were able to sort 1TB ... on 1,000 computers in 68 seconds. ... Where do you put 1PB of sorted data? We were writing it to 48,000 hard drives (we did not use the full capacity of these disks, though), and every time we ran our sort, at least one of our disks managed to break (this is not surprising at all given the duration of the test, the number of disks involved, and the expected lifetime of hard disks). To make sure we kept our sorted petabyte safe, we asked the Google File System to write three copies of each file to three different disks.""" http://googleblog.blogspot.com/2008/11/sorting-1pb-with-mapreduce.html and more commentary at http://royal.pingdom.com/2008/12/12/wanted-hard-drive-boys-for-our-new-ginormous-data-center/ From spmcinerney at hotmail.com Tue Mar 17 09:22:33 2009 From: spmcinerney at hotmail.com (Stephen McInerney) Date: Tue, 17 Mar 2009 01:22:33 -0700 Subject: [Baypiggies] Silent data corruption paper... In-Reply-To: References: Message-ID: On a sidebar you see the same concept in processors for use in satellites or other rad-hard application, anywhere where alpha particles are likely to flip a register in the hardware. The common design technique is Triple-Mode Redundancy (TMR) i.e. replicating the circuit three times, rule-of-three-voting etc. (Read the legal disclaimers on what applications Xilinx FPGA chips (which use CMOS memory for configuration) cannot be certified for if you want a good laugh... that's why those applications use antifuse instead) As for memory in enterprise computing, you always use ECC protection on it. Another amusing story from hardware certification was that in occasional cases the actual semiconductor package of a chip (such as packages containing lead) contained trace heavy metals which themselves produced a non-negligible level of alpha-particle radiation (possibly higher than background radiation, due to proximity), and that was hard to certify. (But sometimes you're stuck with using lead for its superior thermal conductivity) Stephen > Date: Mon, 16 Mar 2009 23:59:14 -0700 > From: jjinux at gmail.com > To: charles.merriam at gmail.com > CC: Baypiggies at python.org > Subject: Re: [Baypiggies] Silent data corruption paper... > > On Mon, Mar 16, 2009 at 11:09 PM, Charles Merriam > wrote: > > I owed this to someone at the last meeting: > > http://fuji.web.cern.ch/fuji/talk/2007/kelemen-2007-C5-Silent_Corruptions.pdf > > > > Highlights: Desktop disks get a random silent corruption 10x more > > than enterprise hard drives. Everyone gets them occasionally. Figure > > a bit gets switched every couple of months in a data center, even with > > all the backups, checksums, etc. > > I remember hearing that Google operated at such a large scale that > these sorts of things tended to catch up with them. Their approach > was to use more redundancy. > > I'm regurgitating things I've heard. > > -jj _________________________________________________________________ Windows Live?: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009 -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Tue Mar 17 15:12:13 2009 From: aahz at pythoncraft.com (Aahz) Date: Tue, 17 Mar 2009 07:12:13 -0700 Subject: [Baypiggies] Silent data corruption paper... In-Reply-To: References: Message-ID: <20090317141213.GA1460@panix.com> On Tue, Mar 17, 2009, Stephen McInerney wrote: > > (But sometimes you're stuck with using lead for its superior thermal > conductivity) Less and less often these days; apparently it's now almost impossible to purchase solder with lead in it. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Programming language design is not a rational science. Most reasoning about it is at best rationalization of gut feelings, and at worst plain wrong." --GvR, python-ideas, 2009-3-1 From spmcinerney at hotmail.com Tue Mar 17 18:09:21 2009 From: spmcinerney at hotmail.com (Stephen McInerney) Date: Tue, 17 Mar 2009 10:09:21 -0700 Subject: [Baypiggies] Silent data corruption paper... In-Reply-To: <20090317141213.GA1460@panix.com> References: <20090317141213.GA1460@panix.com> Message-ID: On an extreme sidebar: lead has been eliminated from solder due to the RoHS initiatives, but packaging is still lagging. You can't always have mongo heatsinks on boards. > Date: Tue, 17 Mar 2009 07:12:13 -0700 > From: aahz at pythoncraft.com > To: baypiggies at python.org > Subject: Re: [Baypiggies] Silent data corruption paper... > > On Tue, Mar 17, 2009, Stephen McInerney wrote: > > > > (But sometimes you're stuck with using lead for its superior thermal > > conductivity) > > Less and less often these days; apparently it's now almost impossible to > purchase solder with lead in it. > -- > Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ > > "Programming language design is not a rational science. Most reasoning > about it is at best rationalization of gut feelings, and at worst plain > wrong." --GvR, python-ideas, 2009-3-1 > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies _________________________________________________________________ Express your personality in color! Preview and select themes for Hotmail?. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff at drinktomi.com Wed Mar 18 00:00:53 2009 From: jeff at drinktomi.com (Jeff Younker) Date: Tue, 17 Mar 2009 16:00:53 -0700 Subject: [Baypiggies] Authkit, OpenID, Click Pass, and local accounts... aka AuthMess Message-ID: I'm in the process of putting together an authentication system for an application based on the most recent stable version of CherryPy. My feeling is that AuthKit is the way to go for authentication and authorization, but I'm not sure how integrating it with CherryPy will go. (If you have any suggests or alternatives then I'd love to hear about them.) That said, the real questions I have relate to authentication options. For most of the public facing users we'd like to use OpenID. Each OpenID instance will be linked to local account. When a user connects for the first time we'll need to do some sort automagic account creation. (Any suggestions or caveats about this aspect are appreciated.) I'm intensely wary of using OpenID for the only authentication mechanism, because external authentication systems have a way of failing when administrators most need them. Because of this admin accounts will also be able to log in through normal password mechanisms. In addition, it seems that OpenID is a little unfriendly. Opaque URLs are scary, so the login screens will use something along the lines of "use your google/msn/ yahoo account to connect to our system," to which the user selects one. Now it seems to me that this part of the system could be rather painful to implement. To that end I've started looking at Click Pass. I don't have a good feeling for how it would integrate with AuthKit, or the wisdom of going through their service for authorization. Given OpenID's nature it seems like, this shouldn't really be a problem, but I just don't have a intuition on this one. I'd also love to hear any stories about using their service rather than rolling your own. - Jeff Younker - jeff at drinktomi.com - From aahz at pythoncraft.com Wed Mar 18 01:22:13 2009 From: aahz at pythoncraft.com (Aahz) Date: Tue, 17 Mar 2009 17:22:13 -0700 Subject: [Baypiggies] Authkit, OpenID, Click Pass, and local accounts... aka AuthMess In-Reply-To: References: Message-ID: <20090318002213.GA26820@panix.com> On Tue, Mar 17, 2009, Jeff Younker wrote: > > I'm intensely wary of using OpenID for the only authentication > mechanism, because external authentication systems have a way > of failing when administrators most need them. Because of this > admin accounts will also be able to log in through normal password > mechanisms. You could run your own OpenID server -- I haven't tried this myself, but have heard this advice from other people. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Programming language design is not a rational science. Most reasoning about it is at best rationalization of gut feelings, and at worst plain wrong." --GvR, python-ideas, 2009-3-1 From drewp at bigasterisk.com Wed Mar 18 06:22:52 2009 From: drewp at bigasterisk.com (Drew Perttula) Date: Tue, 17 Mar 2009 22:22:52 -0700 Subject: [Baypiggies] Authkit, OpenID, Click Pass, and local accounts... aka AuthMess In-Reply-To: References: Message-ID: <49C0852C.70604@bigasterisk.com> Jeff Younker wrote: > In addition, it seems that OpenID is a little unfriendly. Opaque URLs > are scary, > so the login screens will use something along the lines of "use your > google/msn/ > yahoo account to connect to our system," to which the user selects one. Now > it seems to me that this part of the system could be rather painful to > implement. Another way out of this problem is EAUT (http://eaut.org). The user gives you his email address, you go look up whether there's an OpenID associated with it, and if there isn't (most common), you use an EAUT service to make a new association to a new openid. Then you get the user to signup with the openid and the rest is as usual. This means that, at first, most of your users will enter their email address, be forced to make a password, and then in the future they login with that email and password. In other words, it's not much worse than the standard sites they use today. It's "openid with your email address instead of a new id". But over time, other sites will perform the same Email Address to URL Translation and recognize the user's email+password right away. Some email providers might become openid providers themselves, so those users won't have to make a new password (they just have to be logged into their email website). And advanced users can use their own openids from day 1, so it's not like you locked anyone into tying their accounts together. From jared at wordzoo.com Wed Mar 18 13:07:15 2009 From: jared at wordzoo.com (Jared Rhine) Date: Wed, 18 Mar 2009 05:07:15 -0700 Subject: [Baypiggies] Fwd: UG News: New O'Reilly Training: Master Classes in San Francisco In-Reply-To: <8249c4ac0903121720m557d7142v1d9518e5791705d1@mail.gmail.com> References: <8249c4ac0903121720m557d7142v1d9518e5791705d1@mail.gmail.com> Message-ID: <49C0E3F3.9010708@wordzoo.com> On 03/12/2009 05:20 PM, Tony Cappellini wrote: > O'Reilly Master Class: Douglas Crockford, March 30, 2009, > San Francisco, CA > JavaScript: The Good Parts Does anyone from this list feel like attending the Crockford Javascript class? If there are 3 people, plus the discount code, that's $337.50 per person. I think I'm in for that. If there's even one other person from here, we might be able to dig up a third from any number of lists. Thought I should ask. -- Jared From venkat83 at gmail.com Wed Mar 18 15:39:43 2009 From: venkat83 at gmail.com (Venkatraman S) Date: Wed, 18 Mar 2009 20:09:43 +0530 Subject: [Baypiggies] Fwd: UG News: New O'Reilly Training: Master Classes in San Francisco In-Reply-To: <49C0E3F3.9010708@wordzoo.com> References: <8249c4ac0903121720m557d7142v1d9518e5791705d1@mail.gmail.com> <49C0E3F3.9010708@wordzoo.com> Message-ID: OTOH, do these guys share the presentations on public domain? -V- http://twitter.com/venkasub -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Wed Mar 18 16:12:17 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 18 Mar 2009 08:12:17 -0700 Subject: [Baypiggies] Fwd: UG News: New O'Reilly Training: Master Classes in San Francisco In-Reply-To: References: <8249c4ac0903121720m557d7142v1d9518e5791705d1@mail.gmail.com> <49C0E3F3.9010708@wordzoo.com> Message-ID: <548BA89F-4C8D-4B8E-A3E3-27F547A93D3E@glenjarvis.com> > OTOH, do these guys share the presentations on public domain? Several full length courses for Douglas Crockford are online. For example, here is a particular video series: http://video.yahoo.com/watch/630959/2974197 It's not the one that I subscribed to in iTunes, so there are definitely several. The one I have is a four-part video series of the course. And, its *incredibly* helpful. The book "JavaScript: The Good Parts" is also *awesome*! I still would *love* to see him in person. I just can't afford it right now. But, that's been a common theme for me since this past April. I wanted to attend classes from speakers from this group -- like, for example, the classes Wesley teaches. But, I hadn't been able to for the same reason. Would anyone be interested in getting together, watching the Crockford videos, and then collaborating/challenging each other to practice what we learned? This would, ideally, be after March so those who did attend the Crockford class in person can also share knowledge with the rest of the group. It's just an idea to kick around. Cheers, Glen From hjtoi at comcast.net Wed Mar 18 18:52:29 2009 From: hjtoi at comcast.net (Heikki Toivonen) Date: Wed, 18 Mar 2009 10:52:29 -0700 Subject: [Baypiggies] Authkit, OpenID, Click Pass, and local accounts... aka AuthMess In-Reply-To: References: Message-ID: <49C134DD.5070105@comcast.net> Jeff Younker wrote: > I'm in the process of putting together an authentication system for an > application > based on the most recent stable version of CherryPy. My feeling is > that AuthKit > is the way to go for authentication and authorization, but I'm not sure repoze.who and repoze.what were recommended on #pylons recently for Pylons projects over AuthKit. I haven't personally used repoze.* stuff myself, so I am unable to comment on them. http://static.repoze.org/whodocs/ http://static.repoze.org/whatdocs/ -- Heikki Toivonen - http://heikkitoivonen.net From slander at unworkable.org Wed Mar 18 18:48:18 2009 From: slander at unworkable.org (Harry Tormey) Date: Wed, 18 Mar 2009 10:48:18 -0700 Subject: [Baypiggies] PyGameSF meetup Tuesday March 24th 10th 6pm @ Main San Francisco Public Library Message-ID: <20090318174818.GA1463@unworkable.org> Hi All, This months PyGameSF meet up is 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 be reconviening to frjtz on hayes street for dinner/drinks afterwords. This month.s presentations are: - Casey Duncan: Going Low-level, A peek under the hood at the C implementation of the Lepton particle engine as an example of how to develop for Python in C for ultimate performance. We.ll take a peek at Lepton itself and take a crack at extending it with C. - Harry Tormey: Fast prototyping Word games with python and pyglet. An introduction to working with pyglet, the cross-platform windowing and multimedia library. This talk will cover how to structure a game with pyglet, how it differs from working with pygame, best practices for using the pyglet event loop, working with OpenGL vertex arrays to manipulate text and general tips on how not to go insane if you are an OpenGL newbie. 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 PyGameSF http://pygamesf.org/ P2P Research http://p2presearch.com Blog http://harrytormey.com From aahz at pythoncraft.com Thu Mar 19 00:29:39 2009 From: aahz at pythoncraft.com (Aahz) Date: Wed, 18 Mar 2009 16:29:39 -0700 Subject: [Baypiggies] Remove job listings? Message-ID: <20090318232939.GA27373@panix.com> How do you delete an expired job listing from http://baypiggies.net/new/plone/job-listings -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Programming language design is not a rational science. Most reasoning about it is at best rationalization of gut feelings, and at worst plain wrong." --GvR, python-ideas, 2009-3-1 From aahz at pythoncraft.com Thu Mar 19 00:33:53 2009 From: aahz at pythoncraft.com (Aahz) Date: Wed, 18 Mar 2009 16:33:53 -0700 Subject: [Baypiggies] March meeting? Message-ID: <20090318233353.GA9819@panix.com> Are we having a meeting on 3/26 at Symantec? Who's speaking? I can probably do a Newbie Nugget, anyone want to suggest one? -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Programming language design is not a rational science. Most reasoning about it is at best rationalization of gut feelings, and at worst plain wrong." --GvR, python-ideas, 2009-3-1 From wescpy at gmail.com Thu Mar 19 00:43:58 2009 From: wescpy at gmail.com (wesley chun) Date: Wed, 18 Mar 2009 16:43:58 -0700 Subject: [Baypiggies] March meeting? In-Reply-To: <20090318233353.GA9819@panix.com> References: <20090318233353.GA9819@panix.com> Message-ID: <78b3a9580903181643r382f7010ndd4caeffa58347da@mail.gmail.com> > Are we having a meeting on 3/26 at Symantec? ?Who's speaking? ?I can > probably do a Newbie Nugget, anyone want to suggest one? didn't JJ suggest an PyCon UNconference meeting to lament not being in chicago?!? ;-) From spmcinerney at hotmail.com Thu Mar 19 00:44:32 2009 From: spmcinerney at hotmail.com (Stephen McInerney) Date: Wed, 18 Mar 2009 16:44:32 -0700 Subject: [Baypiggies] Remove job listings? In-Reply-To: <20090318232939.GA27373@panix.com> References: <20090318232939.GA27373@panix.com> Message-ID: I don't know but is it possible to have them add most-recent-at-top? > How do you delete an expired job listing from > http://baypiggies.net/new/plone/job-listings _________________________________________________________________ Windows Live? Contacts: Organize your contact list. http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009 -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Thu Mar 19 00:45:18 2009 From: aahz at pythoncraft.com (Aahz) Date: Wed, 18 Mar 2009 16:45:18 -0700 Subject: [Baypiggies] March meeting? In-Reply-To: <78b3a9580903181643r382f7010ndd4caeffa58347da@mail.gmail.com> References: <20090318233353.GA9819@panix.com> <78b3a9580903181643r382f7010ndd4caeffa58347da@mail.gmail.com> Message-ID: <20090318234518.GA24429@panix.com> On Wed, Mar 18, 2009, wesley chun wrote: >Aahz: >> >> Are we having a meeting on 3/26 at Symantec? Who's speaking? I can >> probably do a Newbie Nugget, anyone want to suggest one? > > didn't JJ suggest an PyCon UNconference meeting to lament not being in > chicago?!? ;-) That was for Saturday 3/28. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Programming language design is not a rational science. Most reasoning about it is at best rationalization of gut feelings, and at worst plain wrong." --GvR, python-ideas, 2009-3-1 From glen at glenjarvis.com Thu Mar 19 00:48:48 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 18 Mar 2009 16:48:48 -0700 Subject: [Baypiggies] March meeting? In-Reply-To: <20090318233353.GA9819@panix.com> References: <20090318233353.GA9819@panix.com> Message-ID: > Are we having a meeting on 3/26 at Symantec? Who's speaking? I can > probably do a Newbie Nugget, anyone want to suggest one? Although I could be mistaken (see my previous email recently where I was flat out wrong), I believe this is currently the tentative plan... I don't know how solid this plan is at this stage: March 26: Tools Night, coordinated by Simeon Franklin April 23: Alternatives for Writing C and C++ Extensions for Computer Vision Research, by Dameon Eads I also believe all meetings will be at Symantec until further notice. Cheer, Glen -- 415-680-3964 glen at glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi From bdbaddog at gmail.com Thu Mar 19 01:19:51 2009 From: bdbaddog at gmail.com (William Deegan) Date: Wed, 18 Mar 2009 17:19:51 -0700 Subject: [Baypiggies] Remove job listings? In-Reply-To: References: <20090318232939.GA27373@panix.com> Message-ID: <8540148a0903181719q582c9b2dg7215ed38f300bfe4@mail.gmail.com> All, I'll purge them. No it's not possible with the current system to put most-recent-at-top. -Bill On Wed, Mar 18, 2009 at 4:44 PM, Stephen McInerney wrote: > I don't know but is it possible to have them add most-recent-at-top? > > > How do you delete an expired job listing from > > http://baypiggies.net/new/plone/job-listings > > > ------------------------------ > Windows Live? Contacts: Organize your contact list. Check it out. > > _______________________________________________ > 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 bdbaddog at gmail.com Thu Mar 19 01:20:29 2009 From: bdbaddog at gmail.com (William Deegan) Date: Wed, 18 Mar 2009 17:20:29 -0700 Subject: [Baypiggies] March meeting? In-Reply-To: References: <20090318233353.GA9819@panix.com> Message-ID: <8540148a0903181720r5eb30d30ta0a42b8ed8073c15@mail.gmail.com> I'll be posting meeting info on the website and send out a link to it later tonight. -Bill On Wed, Mar 18, 2009 at 4:48 PM, Glen Jarvis wrote: > Are we having a meeting on 3/26 at Symantec? Who's speaking? I can >> probably do a Newbie Nugget, anyone want to suggest one? >> > > > Although I could be mistaken (see my previous email recently where I was > flat out wrong), I believe this is currently the tentative plan... I don't > know how solid this plan is at this stage: > > March 26: Tools Night, coordinated by Simeon Franklin > > April 23: Alternatives for Writing C and C++ Extensions > for Computer Vision Research, by Dameon Eads > > > I also believe all meetings will be at Symantec until further notice. > > Cheer, > > > Glen > -- > 415-680-3964 > glen at glenjarvis.com > > "You must be the change you wish to see in the world." -M. Gandhi > > > _______________________________________________ > 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 bdbaddog at gmail.com Thu Mar 19 06:34:43 2009 From: bdbaddog at gmail.com (William Deegan) Date: Wed, 18 Mar 2009 22:34:43 -0700 Subject: [Baypiggies] Video's from Baypiggies meetings Message-ID: <8540148a0903182234h5dd17942if159fd7077fb2f57@mail.gmail.com> Greetings, If the group collectively will find links to all the video'd meetings, I'll put a page together on baypiggies to link to them. -Bill From glen at glenjarvis.com Thu Mar 19 06:35:00 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 18 Mar 2009 22:35:00 -0700 Subject: [Baypiggies] ReactOS: A true-to-life OpenSource version of Windows (not Linux) Message-ID: <81AE15EE-D527-4832-89F1-5B474D5C8923@glenjarvis.com> I have just heard about ReactOS. It's a true to life Open Source version of Windows (not a Windows emulator). I just installed it and it's surprisingly good for an Alpha version: http://www.reactos.org/ I loved the very small download and very quick install. Then, to download packages (like FIrefox, etc.), I started the Download application -- That's a very seamless and very quick install! I see Development section of packages to download only has FreeBasic as a language. I was curious if anyone we know is already working on a Python port to ReactOS? I tried to install the standard Windows version of Python, but the *msi file wouldn't execute (obviously ReactOS issue). I tried to download gcc so I could try to build Python. But, the self-extracting executable caused a memory exception. Here's where the Alpha side of the product started showing itself. I don't think it'll be long, however, before it will be easy to port Python to the platform. I know several people who would be very excited for the flexibility of a very well adopted OS that also has the freedom of truly OpenSource. Cheers, Glen -- 415-680-3964 glen at glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Thu Mar 19 06:39:09 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 18 Mar 2009 22:39:09 -0700 Subject: [Baypiggies] Video's from Baypiggies meetings In-Reply-To: <8540148a0903182234h5dd17942if159fd7077fb2f57@mail.gmail.com> References: <8540148a0903182234h5dd17942if159fd7077fb2f57@mail.gmail.com> Message-ID: > If the group collectively will find links to all the video'd meetings, > I'll put a page together on baypiggies to link to them. Great! Here's where I left off on my last attempt. I didn't know at the time, however, that Google Video was not moved to youtube. So, there's Google Video out there for many of the missing below. Also, I have two more videos that I've manually created for Jan and Feb of this year: October 2005: Alex Martelli: Python's Object Model; http://www.youtube.com/watch?v=VOzvpHoYQoo January 2006: Stephen McInerney; Member Survey Results; http://www.youtube.com/watch?v=hCJsNiZNs8E February 2006: Meeting info unknown Video unknown March 2006: Meeting info unknown Video unknown April 2006: Meeting info unknown Video unknown May 2006: Meeting info unknown Video unknown June 2006: Meeting info unknown Video unknown July 2006: Marylin Davis, Keith Dart, Mark Ivey and Mike Cheponis: Some Python Integrated Development Environments; http://www.youtube.com/watch?v=t6pdG1oWFX4 August 2006: Meeting info unknown Video unknown September 2006: Meeting info unknown Video unknown October 2006: Alex Martelli; Better, faster, smarter: Python better, faster, smarter; http://www.youtube.com/watch?v=A--VsTrwoMA November 2006: Meeting info unknown Video unknown December 2006: Meeting info unknown Video unknown January 2007: Meeting info unknown Video unknown February 2007: Drew Perttula & Dennis Reinhardt; Three Generations of User Interface; http://www.youtube.com/watch?v=cZ44E6O09j4 March 2007: Meeting info unknown Video unknown April 2007: Various Members: Snippets; http://www.youtube.com/watch?v=v6wRBwBxVyw May 2007: Meeting info unknown Video unknown June 2007: Meeting info unknown Video unknown July 2007: Stephen Bird(spelling), Euwin Klein(spelling), Edward Loper (spelling); The Natural Language Toolkit; http://www.youtube.com/watch?v=keXW_5-llD0 August 2007: Alex Martelli: Python for Programmers (Beginner's Night)(Newbies' Night Part Deux); http://www.youtube.com/watch?v=g7V89K8QfgQ [Wrong video linked from baypiggies site??] September 2007: Mike Pittaro Developing a Product in Python; http://www.youtube.com/watch?v=vsEy6HzXoCo October 2007: (Windmill?) Mikeal and Adam? or concurrency I'm not certain which month this was in November 2007: (Windmill?) Mikeal and Adam? or concurrency I'm not certain which month this was in December 2007: Charles Merriam: Overview of about Twenty Python Buzzwords; http://www.youtube.com/watch?v=nWuLftbyrOY http://charlesmerriam.com/talk/ January 2008: Aaron Maxwell, Ed Cherlin, Charles Merriam; http://www.youtube.com/watch?v=IPabiIHgmBU February 2008: Guido van Rossum; Python 3.0 PyCon Keynote preview; Video missing from 2008-02-21 (Kiev room) March 2008: Drew Perttula and Shannon JJ Behrens; Adventures at PyCon 2008; Video Missing from 2008-03-20 April 2008: PyCon reports Ed Cherlin and Daryl Spitzer on PyCon 2008 Video missing from 2008-04-10 May 2008: Christian Tismer; Stackless Python; Video not missing June 2008: Alex Martelli: Python Callbacks; http://www.youtube.com/watch?v=fzQ00f1oETs http://www.aleax.it/bayp_cback.pdf July 2008: Niall O'Higgins; P2P/BitTorrent data mining with Python and C; Video missing from 2008-July 10 August 2008: Steven Knight; Scons; Video missing from 2008-08-14; Seville Room September 2008: (Email list needs researched/reviewed) October 2008: (Email list needs researched/reviewed) November 2008: (Email list needs researched/reviewed) December 2008: (Email list needs researched/reviewed) =-=-=- Related Videos/Topics -=-=-=- Google I/O 2008 (May) Guido van Rossum: Python, Django, and App Engine Alex Martelli: Painless Python Part 1 of 2 http://www.youtube.com/watch?v=bDgD9whDfEY Alex Martelli: Painless Python Part 2 of 2 http://www.youtube.com/watch?v=y7vwZ20SDzc Google Developer Day 2007: Alex Martelli: Python Design Patterns DjangoCon 2008: Guido Van Rossum: Keynote Django & App Engine Pycon 2008: Alex Martelli: Don't call us, we'll call you: Callback patterns and idioms http://www.youtube.com/watch?v=LCZRJStwkKM Cheers, Glen -- 415-680-3964 glen at glenjarvis.com http://www.glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi O From bdbaddog at gmail.com Thu Mar 19 06:32:12 2009 From: bdbaddog at gmail.com (William Deegan) Date: Wed, 18 Mar 2009 22:32:12 -0700 Subject: [Baypiggies] Remove job listings? In-Reply-To: <8540148a0903181719q582c9b2dg7215ed38f300bfe4@mail.gmail.com> References: <20090318232939.GA27373@panix.com> <8540148a0903181719q582c9b2dg7215ed38f300bfe4@mail.gmail.com> Message-ID: <8540148a0903182232m723c9a6cwd69b284374ce949@mail.gmail.com> Done, Jobs > 1month old have been purged. -Bill On Wed, Mar 18, 2009 at 5:19 PM, William Deegan wrote: > All, > > I'll purge them. > No it's not possible with the current system to put most-recent-at-top. > > -Bill > > On Wed, Mar 18, 2009 at 4:44 PM, Stephen McInerney > wrote: >> >> I don't know but is it possible to have them add most-recent-at-top? >> >> > How do you delete an expired job listing from >> > http://baypiggies.net/new/plone/job-listings >> >> >> ________________________________ >> Windows Live? Contacts: Organize your contact list. Check it out. >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > From jim at well.com Thu Mar 19 17:10:11 2009 From: jim at well.com (jim) Date: Thu, 19 Mar 2009 08:10:11 -0800 Subject: [Baypiggies] March meeting? In-Reply-To: <20090318233353.GA9819@panix.com> References: <20090318233353.GA9819@panix.com> Message-ID: <1237479011.6434.153.camel@jim-laptop> yes, bayPIGgies meets at Symantec's Vcafe on 350 Ellis in Mountain View on march 26 at 7:30 PM. the topic is Tools for Python Programmers and will feature four speakers. Simeon Franklin has put this together. He'll know if there's room for a newbie nugget. if not for this meeting, how about presenting a newbie nugget at another meeting? jim On Wed, 2009-03-18 at 16:33 -0700, Aahz wrote: > Are we having a meeting on 3/26 at Symantec? Who's speaking? I can > probably do a Newbie Nugget, anyone want to suggest one? From aahz at pythoncraft.com Thu Mar 19 17:23:47 2009 From: aahz at pythoncraft.com (Aahz) Date: Thu, 19 Mar 2009 09:23:47 -0700 Subject: [Baypiggies] March meeting? In-Reply-To: <1237479011.6434.153.camel@jim-laptop> References: <20090318233353.GA9819@panix.com> <1237479011.6434.153.camel@jim-laptop> Message-ID: <20090319162347.GA27753@panix.com> On Thu, Mar 19, 2009, jim wrote: > > if not for this meeting, how about presenting a newbie nugget at > another meeting? Sure, I just need a few days' notice (or maybe a bit more depending on the subject). -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Programming language design is not a rational science. Most reasoning about it is at best rationalization of gut feelings, and at worst plain wrong." --GvR, python-ideas, 2009-3-1 From p at ulmcnett.com Thu Mar 19 22:39:37 2009 From: p at ulmcnett.com (Paul McNett) Date: Thu, 19 Mar 2009 14:39:37 -0700 Subject: [Baypiggies] How to tell if sys.excepthook has already been overridden? Message-ID: <49C2BB99.5030704@ulmcnett.com> Hi, Is there a general way to tell if sys.excepthook has been overridden already or not? I want to override it in my library, but only if it hasn't already been overridden by some other library or end-application code. I notice these differences on Python 2.5.4 Mac versus Ubuntu: Ubuntu: >>> print sys.excepthook.__module__ 'apport_python_hook' Mac: >>> print sys.excepthook.__module__ 'sys' Paul From alchaiken at gmail.com Fri Mar 20 14:03:16 2009 From: alchaiken at gmail.com (Alison Chaiken) Date: Fri, 20 Mar 2009 06:03:16 -0700 Subject: [Baypiggies] dinner before meeting Thurs night? Message-ID: Anyone want to meet up for dinner on Castro Street in MV before Toolz Nite on Thursday? I eat anything but pizza, but to get the ball rolling, how about Chef Liu at 6:15? -- Alison Chaiken (650) 279-5600 (cell) http://www.exerciseforthereader.org/ The Human Genome is smaller than Microsoft Office. -- Steve Jurvetson From simeonf at gmail.com Fri Mar 20 16:24:28 2009 From: simeonf at gmail.com (Simeon Franklin) Date: Fri, 20 Mar 2009 08:24:28 -0700 Subject: [Baypiggies] March meeting? In-Reply-To: <1237479011.6434.153.camel@jim-laptop> References: <20090318233353.GA9819@panix.com> <1237479011.6434.153.camel@jim-laptop> Message-ID: I'm sure we could fit in a newbie nugget. It would be nice (though not necessary) if it fit in with the overall Tools theme - two that occur to me would be a quick run through of IPython's features (%macro, %edit, %run and the wonderfulness of "?" and "??") or a simple distutils howto (adding a setup.py to a simple project and publishing to pypy for example). -Simeon On Thu, Mar 19, 2009 at 9:10 AM, jim wrote: > > > yes, bayPIGgies meets at Symantec's Vcafe on > 350 Ellis in Mountain View on march 26 at 7:30 > PM. the topic is Tools for Python Programmers > and will feature four speakers. > Simeon Franklin has put this together. He'll > know if there's room for a newbie nugget. > if not for this meeting, how about presenting > a newbie nugget at another meeting? > jim > > > > On Wed, 2009-03-18 at 16:33 -0700, Aahz wrote: > > Are we having a meeting on 3/26 at Symantec? Who's speaking? I can > > probably do a Newbie Nugget, anyone want to suggest one? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at well.com Fri Mar 20 16:49:36 2009 From: jim at well.com (jim) Date: Fri, 20 Mar 2009 07:49:36 -0800 Subject: [Baypiggies] March meeting? In-Reply-To: References: <20090318233353.GA9819@panix.com> <1237479011.6434.153.camel@jim-laptop> Message-ID: <1237564176.6434.344.camel@jim-laptop> aahz, if you respond positively today, i can include your newbie nugget in the broadcast to various groups. jim On Fri, 2009-03-20 at 08:24 -0700, Simeon Franklin wrote: > I'm sure we could fit in a newbie nugget. It would be nice (though not > necessary) if it fit in with the overall Tools theme - two that occur > to me would be a quick run through of IPython's features (%macro, % > edit, %run and the wonderfulness of "?" and "??") or a simple > distutils howto (adding a setup.py to a simple project and publishing > to pypy for example). > > -Simeon > > On Thu, Mar 19, 2009 at 9:10 AM, jim wrote: > > > yes, bayPIGgies meets at Symantec's Vcafe on > 350 Ellis in Mountain View on march 26 at 7:30 > PM. the topic is Tools for Python Programmers > and will feature four speakers. > Simeon Franklin has put this together. He'll > know if there's room for a newbie nugget. > if not for this meeting, how about presenting > a newbie nugget at another meeting? > jim > > > > On Wed, 2009-03-18 at 16:33 -0700, Aahz wrote: > > Are we having a meeting on 3/26 at Symantec? Who's > speaking? I can > > probably do a Newbie Nugget, anyone want to suggest one? > > From aahz at pythoncraft.com Fri Mar 20 16:59:03 2009 From: aahz at pythoncraft.com (Aahz) Date: Fri, 20 Mar 2009 08:59:03 -0700 Subject: [Baypiggies] March meeting? In-Reply-To: <1237564176.6434.344.camel@jim-laptop> References: <20090318233353.GA9819@panix.com> <1237479011.6434.153.camel@jim-laptop> <1237564176.6434.344.camel@jim-laptop> Message-ID: <20090320155903.GA21141@panix.com> On Fri, Mar 20, 2009, jim wrote: > > aahz, if you respond positively today, i can include your newbie > nugget in the broadcast to various groups. I'm about to leave for the weekend; although I'll have Net access, I won't have time to think about it until next week. (Both of the proposed ideas are ones that I'd need to experiment with before presenting, so if someone else wants to do them, go ahead.) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Programming language design is not a rational science. Most reasoning about it is at best rationalization of gut feelings, and at worst plain wrong." --GvR, python-ideas, 2009-3-1 From tony at tcapp.com Fri Mar 20 18:08:19 2009 From: tony at tcapp.com (Tony Cappellini) Date: Fri, 20 Mar 2009 10:08:19 -0700 Subject: [Baypiggies] March meeting? In-Reply-To: <78b3a9580903181643r382f7010ndd4caeffa58347da@mail.gmail.com> References: <20090318233353.GA9819@panix.com> <78b3a9580903181643r382f7010ndd4caeffa58347da@mail.gmail.com> Message-ID: <8249c4ac0903201008q5b485026i9a0fd1d62ad47cfc@mail.gmail.com> He did- I'm still waiting to hear back from Symantec if they will let us use their building on Saturday On 3/18/09, wesley chun wrote: > > > Are we having a meeting on 3/26 at Symantec? Who's speaking? I can > > probably do a Newbie Nugget, anyone want to suggest one? > > > > didn't JJ suggest an PyCon UNconference meeting to lament not being in > chicago?!? ;-) > > _______________________________________________ > 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 amax at redsymbol.net Tue Mar 24 09:22:54 2009 From: amax at redsymbol.net (Aaron Maxwell) Date: Tue, 24 Mar 2009 01:22:54 -0700 Subject: [Baypiggies] draft of pycon talk Message-ID: <200903240122.54514.amax@redsymbol.net> Hi all, I'm presenting at Pycon this year, about "Building an Automated QA Infrastructure using Open-Source Python Tools": http://us.pycon.org/2009/conference/schedule/event/22/ If anyone has some spare cycles and would like to help me with some feedback, I have a draft which I would sincerely appreciate comments on: http://redsymbol.net/media/pycon-draft/pres1.odp http://redsymbol.net/media/pycon-draft/pres1.ppt http://redsymbol.net/media/pycon-draft/pres1.mp3 That last link is a recording I made of myself going through it. It is about 33 minutes; you can just glance through the slides instead if that's too long. I pretty obviously tripped over my tongue a few places, which I'll hopefully manage to correct by the time I give the talk, so please focus on the more general content. In particular, if there is something that I don't explain that should be explained, or I use jargon without defining it, etc., please point that out. If anything important is missing, or if I put something in there for some reason actually shouldn't be there, that is what I would like to know about. I can say right now that I repeated myself several times and talked too long on some minor points. So I'll practice to improve those things. Thanks, Aaron -- Aaron Maxwell http://redsymbol.net/ From keith at dartworks.biz Tue Mar 24 11:22:44 2009 From: keith at dartworks.biz (Keith Dart) Date: Tue, 24 Mar 2009 03:22:44 -0700 Subject: [Baypiggies] How to tell if sys.excepthook has already been overridden? In-Reply-To: <49C2BB99.5030704@ulmcnett.com> References: <49C2BB99.5030704@ulmcnett.com> Message-ID: <49C8B474.2060109@dartworks.biz> Paul McNett wrote: > Hi, > > Is there a general way to tell if sys.excepthook has been overridden > already or not? I want to override it in my library, but only if it > hasn't already been overridden by some other library or > end-application code. The original (built-in) exception hook is available as "sys.__excepthook__. So you can test: if sys.excepthook is sys.__excepthook__: print "original hook" else: print "except hook overridden" From aahz at pythoncraft.com Tue Mar 24 14:56:51 2009 From: aahz at pythoncraft.com (Aahz) Date: Tue, 24 Mar 2009 06:56:51 -0700 Subject: [Baypiggies] dinner before meeting Thurs night? In-Reply-To: References: Message-ID: <20090324135650.GA23519@panix.com> On Fri, Mar 20, 2009, Alison Chaiken wrote: > > Anyone want to meet up for dinner on Castro Street in MV before Toolz > Nite on Thursday? I eat anything but pizza, but to get the ball > rolling, how about Chef Liu at 6:15? I'm game -- anyone else? (ba.food sez Chef Liu is good but not impressive.) I'm not sure an hour is enough time -- should we meet at 6pm? -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Programming language design is not a rational science. Most reasoning about it is at best rationalization of gut feelings, and at worst plain wrong." --GvR, python-ideas, 2009-3-1 From jim at well.com Tue Mar 24 17:10:20 2009 From: jim at well.com (jim) Date: Tue, 24 Mar 2009 08:10:20 -0800 Subject: [Baypiggies] BayPIGgies meeting Thursday March 26, 2009: Tools for Python Programmers Message-ID: <1237911020.8066.31.camel@jim-laptop> BayPIGgies meeting Thursday March 26, 2009: Tools for Python Programmers NOTE BayPIGgies is NO LONGER meeting at Google but at the Symantec Vcafe, at Symantec's location at 350 Ellis Street in Mountain View. 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 Tonight's talk is * Tools for Python Programmers (in four parts) Sandrine Ribeau on pylint JJ Behrens on the profiler module Drew Pertulla on visualising profiler results with KCacheGrind Simeon Franklin on virtualenv, pip, and fabric Meetings start with a Newbie Nugget, a short discussion of an essential Python feature, specially for those new to Python. Tonight's Newbie Nugget: unknown at this time NEW LOCATION FOR MARCH 26, 2009 Symantec Corporation Symantec Vcafe 350 Ellis Street Mountain View, CA 94043 BayPIGgies meeting information is available at http://baypiggies.net/new/plone About the Talks Tonight's talks focus on tools that improve code, performance, and package and library prowess. ------------------------ Agenda ------------------------ ..... 7:30 PM ........................... General hubbub, inventory end-of-meeting announcements, any first-minute announcements. ..... 7:35 PM to 7:45 PM ................ Newbie Nugget: unknown ..... 7:45 PM to 7:55 PM ................ Pylint by Sandrine Ribeau ..... 7:55 PM to 8:10 PM ................ Profiler Module by JJ Behrens ..... 8:10 PM to 8:25 PM ................ KCacheGrind by Drew Perttula ..... 8:25 PM to 8:45 PM ................ virtualenv, pip, and fabric by Simeon Franklin Note that the meeting may end promptly at 9 PM. ..... 8:45 PM to 9:00 PM ................ Mapping and Random Access Mapping is a rapid-fire audience announcement of topics the announcers are interested in. Random Access follows immediately to allow follow up individually on the announcements and other topics of interest. Note that the meeting may end promptly at 9 PM. From amax at redsymbol.net Tue Mar 24 17:08:28 2009 From: amax at redsymbol.net (Aaron Maxwell) Date: Tue, 24 Mar 2009 09:08:28 -0700 Subject: [Baypiggies] draft of pycon talk In-Reply-To: <274472.29724.qm@web35802.mail.mud.yahoo.com> References: <274472.29724.qm@web35802.mail.mud.yahoo.com> Message-ID: <200903240908.28571.amax@redsymbol.net> Hi Jd, Thanks for your comments. One thing I did not mention: the talk is supposed to be less than 30 minutes - which means I talk for 25 minutes, then answer questions for five. I can streamline what I said in the MP3 to fit in that pretty easily, I think, but I still have to make painful choices about eliminating things. On Tuesday 24 March 2009 04:31:50 jd wrote: > -- the flow..etc looks good. ok, that's good to get a comment on - good flow is what I am shooting for. > -- There is another dimension to automated testing... particularly when ur > automated tests take say 20 hrs. You need to have categories of tests. This is a good idea, I will try to work this idea in. > -- You need to pick one or two of the fwk / compare contrast and recommend. I more or less do that in the spoken word version. I basically recommend BuildBot for general use unless there is a specific reason otherwise, but I don't have time to go into detailed pros and cons of the other frameworks. > -- There is a lot more to it... like > -- how to setup components that makes up application. > -- how to set up initial data from > -- for each test > -- for each suite. I think these are more in the scope of the (lower-level) test harness, e.g. at the level of tools like the unittest module, py.test, nose, etc., rather than the higher-level QA system. They are certainly good things to talk about, but I will have to skip over them for want of time. > -- U might need to run migration tests every so often.. to make sure that > new features..etc. would get upgraded correctly at existing deployments. Again, not a bad idea but I expect I will have to omit this. > Hope this helps :) It does, thanks! > /Jd > > --- On Tue, 3/24/09, Aaron Maxwell wrote: > > From: Aaron Maxwell > > Subject: [Baypiggies] draft of pycon talk > > To: baypiggies at python.org > > Date: Tuesday, March 24, 2009, 1:22 AM > > > > -----Inline Attachment Follows----- > > > > Hi all, > > > > I'm presenting at Pycon this year, about "Building an > > Automated QA > > Infrastructure using Open-Source Python Tools": > > http://us.pycon.org/2009/conference/schedule/event/22/ > > > > If anyone has some spare cycles and would like to help me > > with some > > feedback, I have a draft which I would sincerely appreciate > > comments > > on: > > > > http://redsymbol.net/media/pycon-draft/pres1.odp > > http://redsymbol.net/media/pycon-draft/pres1.ppt > > http://redsymbol.net/media/pycon-draft/pres1.mp3 > > > > That last link is a recording I made of myself going > > through it. It > > is about 33 minutes; you can just glance through the slides > > instead if > > that's too long. I pretty obviously tripped over my > > tongue a few > > places, which I'll hopefully manage to correct by the time > > I give the > > talk, so please focus on the more general content. In > > particular, if > > there is something that I don't explain that should be > > explained, or I > > use jargon without defining it, etc., please point that > > out. If > > anything important is missing, or if I put something in > > there for some > > reason actually shouldn't be there, that is what I would > > like to know > > about. > > > > I can say right now that I repeated myself several times > > and talked too > > long on some minor points. So I'll practice to > > improve those things. > > > > Thanks, > > Aaron > > > > -- > > Aaron Maxwell > > http://redsymbol.net/ > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies -- Aaron Maxwell http://redsymbol.net/ From spmcinerney at hotmail.com Tue Mar 24 17:43:13 2009 From: spmcinerney at hotmail.com (Stephen McInerney) Date: Tue, 24 Mar 2009 09:43:13 -0700 Subject: [Baypiggies] dinner before meeting Thurs night? In-Reply-To: <20090324135650.GA23519@panix.com> References: <20090324135650.GA23519@panix.com> Message-ID: FYI Chef Liu is incredibly noisy and it's impossible to have a decent conversation in there in peak hours, Cafe Yoolong was better. > Date: Tue, 24 Mar 2009 06:56:51 -0700 > From: aahz at pythoncraft.com > To: baypiggies at python.org > Subject: Re: [Baypiggies] dinner before meeting Thurs night? > > On Fri, Mar 20, 2009, Alison Chaiken wrote: > > > > Anyone want to meet up for dinner on Castro Street in MV before Toolz > > Nite on Thursday? I eat anything but pizza, but to get the ball > > rolling, how about Chef Liu at 6:15? > > I'm game -- anyone else? (ba.food sez Chef Liu is good but not > impressive.) I'm not sure an hour is enough time -- should we meet at > 6pm? > -- > Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ > > "Programming language design is not a rational science. Most reasoning > about it is at best rationalization of gut feelings, and at worst plain > wrong." --GvR, python-ideas, 2009-3-1 > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies _________________________________________________________________ Express your personality in color! Preview and select themes for Hotmail?. http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Tue Mar 24 17:48:16 2009 From: aahz at pythoncraft.com (Aahz) Date: Tue, 24 Mar 2009 09:48:16 -0700 Subject: [Baypiggies] dinner before meeting Thurs night? In-Reply-To: References: <20090324135650.GA23519@panix.com> Message-ID: <20090324164816.GA6101@panix.com> On Tue, Mar 24, 2009, Stephen McInerney wrote: > > FYI Chef Liu is incredibly noisy and it's impossible to have a decent > conversation in there in peak hours, Cafe Yoolong was better. Cafe Yulong (note spelling) is fine by me -- it gets better reviews. Since Alison is organizing, she gets to make the final decision. ;-) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doubt and just refer to comments in code as 'lies'. :-)" --Michael Foord paraphrases Christian Muirhead on python-dev, 2009-3-22 From minesh at gmail.com Tue Mar 24 17:57:43 2009 From: minesh at gmail.com (Minesh Patel) Date: Tue, 24 Mar 2009 09:57:43 -0700 Subject: [Baypiggies] draft of pycon talk In-Reply-To: <200903240908.28571.amax@redsymbol.net> References: <274472.29724.qm@web35802.mail.mud.yahoo.com> <200903240908.28571.amax@redsymbol.net> Message-ID: >> > >> > Hi all, >> > >> > I'm presenting at Pycon this year, about "Building an >> > Automated QA >> > Infrastructure using Open-Source Python Tools": >> > http://us.pycon.org/2009/conference/schedule/event/22/ >> > >> > If anyone has some spare cycles and would like to help me >> > with some >> > feedback, I have a draft which I would sincerely appreciate >> > comments >> > on: >> > >> > http://redsymbol.net/media/pycon-draft/pres1.odp >> > http://redsymbol.net/media/pycon-draft/pres1.ppt >> > http://redsymbol.net/media/pycon-draft/pres1.mp3 >> > >> > That last link is a recording I made of myself going >> > through it. ?It >> > is about 33 minutes; you can just glance through the slides >> > instead if >> > that's too long. ?I pretty obviously tripped over my >> > tongue a few >> > places, which I'll hopefully manage to correct by the time >> > I give the >> > talk, so please focus on the more general content. ?In >> > particular, if >> > there is something that I don't explain that should be >> > explained, or I >> > use jargon without defining it, etc., please point that >> > out. ?If >> > anything important is missing, or if I put something in >> > there for some >> > reason actually shouldn't be there, that is what I would >> > like to know >> > about. >> > >> > I can say right now that I repeated myself several times >> > and talked too >> > long on some minor points. ?So I'll practice to >> > improve those things. >> > >> > Thanks, >> > Aaron >> > Just reviewing the slides, I like the flow as well. I like how you emphasize QA/testing, but it would be nice if you could provide more details testing in Buildbot. I did the see the Twisted Trial steps in the master.cfg, but I guess a little more details about it would help since the topic is Automated QA, IMHO. Maybe something like the test code needs to subclass the Twisted's unittest and it recursively searches for test_* functions. -- Thanks, Minesh Patel From alchaiken at gmail.com Tue Mar 24 18:01:09 2009 From: alchaiken at gmail.com (Alison Chaiken) Date: Tue, 24 Mar 2009 10:01:09 -0700 Subject: [Baypiggies] Baypiggies Digest, Vol 41, Issue 28 In-Reply-To: References: Message-ID: Cafe Yulong at 6 PM works for me. I'll try to wear a geeky t-shirt so y'all can spot me . . . huh, maybe that won't work on Castro Street! -- Alison Chaiken (650) 279-5600 (cell) http://www.exerciseforthereader.org/ The Human Genome is smaller than Microsoft Office. -- Steve Jurvetson From amax at redsymbol.net Tue Mar 24 18:39:33 2009 From: amax at redsymbol.net (Aaron Maxwell) Date: Tue, 24 Mar 2009 10:39:33 -0700 Subject: [Baypiggies] draft of pycon talk In-Reply-To: References: <274472.29724.qm@web35802.mail.mud.yahoo.com> <200903240908.28571.amax@redsymbol.net> Message-ID: <200903241039.33763.amax@redsymbol.net> Hi Minesh, On Tuesday 24 March 2009 09:57:43 Minesh Patel wrote: > Just reviewing the slides, I like the flow as well. I like how you > emphasize QA/testing, but it would be nice if you could provide more > details testing in Buildbot. I did the see the Twisted Trial steps in > the master.cfg, but I guess a little more details about it would help > since the topic is Automated QA, IMHO. Maybe something like the test > code needs to subclass the Twisted's unittest and it recursively > searches for test_* functions. Thanks for the comments. I agree 120% more specifics and details are needed. I'm not sure how I'm going to fit more in; it's already bursting out of the time slot. I'll find a way though :) In the audio, and in the eventual talk, I spend about five minutes explaining the buildbot configuration slide near the end (time well spent I think). To get the most bang for the buck, what I want to do is find some way to include a second, more complex example configuration, that includes code coverage and perhaps static source checking (e.g. pylint). I'm afraid I won't be able to go into fine detail about trial, though. Thanks, Aaron -- Aaron Maxwell http://redsymbol.net/ From glen at glenjarvis.com Tue Mar 24 18:51:56 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 24 Mar 2009 10:51:56 -0700 Subject: [Baypiggies] BayPIGgies meeting/Public Transportation In-Reply-To: <1237911020.8066.31.camel@jim-laptop> References: <1237911020.8066.31.camel@jim-laptop> Message-ID: <81657594-DC83-4E5B-AD40-51875D1B1EA0@glenjarvis.com> I happened to take public transit to this area a few times this past month for other geeky reasons. I realize just how easy public transit is to this location is. Normally, I have a ride to the event. But, if other BayPIGgies will be taking public transportation (CalTrain to MountainView; Light Rail to Middlefield; slight walk), it'd be good to meet at CalTrain so we can all travel together. This would be especially helpful for those who hadn't traveled this by public transit to this location before. So, I'm thinking of a group that met regularly at MountainView CalTrain and travelled to the event. Please let me know if you're interested in going by public transit. If so, I'll travel with you. If not, I'll ride with a friend in his car and be social. I personally need to be at the final destination at least 30 minute early so I can set up to record the meeting. Cheers, Glen -- glen at glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi From aahz at pythoncraft.com Tue Mar 24 19:04:18 2009 From: aahz at pythoncraft.com (Aahz) Date: Tue, 24 Mar 2009 11:04:18 -0700 Subject: [Baypiggies] Dinner Thurs In-Reply-To: References: Message-ID: <20090324180418.GA12538@panix.com> On Tue, Mar 24, 2009, Alison Chaiken wrote: > > Cafe Yulong at 6 PM works for me. I'll try to wear a geeky t-shirt so > y'all can spot me . . . huh, maybe that won't work on Castro Street! I'll wear a Python t-shirt. ;-) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doubt and just refer to comments in code as 'lies'. :-)" --Michael Foord paraphrases Christian Muirhead on python-dev, 2009-3-22 From emma at lolapps.com Tue Mar 24 17:42:56 2009 From: emma at lolapps.com (Emma Donovan) Date: Tue, 24 Mar 2009 09:42:56 -0700 Subject: [Baypiggies] Python Web Developers needed at LOLapps Media Message-ID: <004401c9ac9f$96f0a2a0$0202fea9@Olive> I look forward to hearing from you if you're looking for something new and are interested in using / learning Python. www.lolapps.com emma at lolapps.com Here are a few bullets on us, because who doesn't love bullets? - We're profitable, which makes us pretty much the opposite of your typical echo chamber Silicon Valley startups. - We raised $4m in an A round with Polaris Ventures and value-add angels including Ron Conway and Ariel Poler. - We're only 15 people. You can make a MASSIVE impact here. - Our office is in San Francisco, in the old Yelp space, but we plan to upgrade our digs soon. We'll still be in SF. - We have all the typical startup stuff (free food, Rock Band, exposed brick walls, etc). - If you like beer, check out our kitchen. Requirements - Care more about the company and your group's goals rather than personal glory - Desire and ability to quickly learn new languages and technologies - 2+ years of experience as a software engineer - Appreciate owning a full spectrum of responsibilities from backend (SQL, memcache, etc) to frontend (JavaScript, FBML, FBJS) - Interested in using / learning Python - Detail-oriented: When someone sends you an email about something it automagically gets handled with no need for a follow-up - Interested in working in the social networking space - Comfortable working in an environment where ideas are thought of, described, and executed within a span of hours to days Desired Qualifications - Computer science or equivalent degree from a top computer science program - 1+ year working on a consumer facing web product with a high level of scale - Strong product sense - You write software for fun. You've worked on projects of your own outside of school or work - Entrepreneurial Emma Donovan Recruiter LOLapps Media direct 707 824 8111 cell 415 203 0015 emma at lolapps.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lavendula6654 at yahoo.com Wed Mar 25 05:44:23 2009 From: lavendula6654 at yahoo.com (Elaine) Date: Tue, 24 Mar 2009 21:44:23 -0700 (PDT) Subject: [Baypiggies] Python and Ajax courses at Foothill College Message-ID: <337178.72421.qm@web31303.mail.mud.yahoo.com> Foothill College is offering two courses of interest to web application software developers: Ajax and Python. These 11- week courses are held weekday evenings from April through June at the Middlefield campus in Palo Alto. If you would like to learn Application Software Development with Ajax, the course meets Wednesday evenings, 6:00 pm - 9:40 pm. The course is designed for students who are already familiar with some type of programming, and have introductory knowledge of JavaScript and html. For more information, go to: http://www.foothill.edu/schedule/schedule.php and choose Department: ?COIN?, quarter: ?Spring 2009?, and course number ?71?. If you would like to learn Python, the course meets Monday evenings and is also designed for students who are familiar with some type of programming. We will use the textbook ?Core Python? by Wesley Chun, and part of the work of the course will involve an authentic team project. For more information, go to: http://www.foothill.edu/schedule/schedule.php and choose Department: ?CIS?, quarter: ?Spring 2009?, and course number ?68K?. If you would like to sign up for a class, please register beforehand by going to: http://www.foothill.fhda.edu/reg/index.php If you do not register ahead of time, the class you want may be cancelled! If you have questions, you can contact the instructor at: haightElaine at foothill.edu From mac at Culver.Net Wed Mar 25 06:35:52 2009 From: mac at Culver.Net (Michael Cheponis) Date: Tue, 24 Mar 2009 22:35:52 -0700 (PDT) Subject: [Baypiggies] Python and Ajax courses at Foothill College In-Reply-To: <337178.72421.qm@web31303.mail.mud.yahoo.com> References: <337178.72421.qm@web31303.mail.mud.yahoo.com> Message-ID: As a graduate of COIN-71, Application Software Development with Ajax, I definitely recommend both the course and Ms. Haight as the instructor. I learned one heck of a lot when I took this course last spring. You'll work hard, but you'll learn a lot, too! Highly recommended. -Michael On Tue, 24 Mar 2009, Elaine wrote: > Subject: [Baypiggies] Python and Ajax courses at Foothill College > > Foothill College is offering two courses of interest to web application software developers: Ajax and Python. These 11- week courses are held weekday evenings from April through June at the Middlefield campus in Palo Alto. > > If you would like to learn Application Software Development with Ajax, the course meets Wednesday evenings, 6:00 pm - 9:40 pm. The course is designed for students who are already familiar with some type of programming, and have introductory knowledge of JavaScript and html. For more information, go to: > http://www.foothill.edu/schedule/schedule.php > and choose Department: ???COIN???, quarter: ???Spring 2009???, and course number ???71???. > > If you would like to learn Python, the course meets Monday evenings and is also designed for students who are familiar with some type of programming. We will use the textbook ???Core Python??? by Wesley Chun, and part of the work of the course will involve an authentic team project. For more information, go to: > http://www.foothill.edu/schedule/schedule.php > and choose Department: ???CIS???, quarter: ???Spring 2009???, and course number ???68K???. > > If you would like to sign up for a class, please register beforehand by going to: > http://www.foothill.fhda.edu/reg/index.php > If you do not register ahead of time, the class you want may be cancelled! > > If you have questions, you can contact the instructor at: > haightElaine at foothill.edu From aahz at pythoncraft.com Wed Mar 25 19:55:27 2009 From: aahz at pythoncraft.com (Aahz) Date: Wed, 25 Mar 2009 11:55:27 -0700 Subject: [Baypiggies] draft of pycon talk In-Reply-To: <200903240122.54514.amax@redsymbol.net> References: <200903240122.54514.amax@redsymbol.net> Message-ID: <20090325185527.GA21549@panix.com> On Tue, Mar 24, 2009, Aaron Maxwell wrote: > > I'm presenting at Pycon this year, about "Building an Automated QA > Infrastructure using Open-Source Python Tools": > http://us.pycon.org/2009/conference/schedule/event/22/ > > If anyone has some spare cycles and would like to help me with some > feedback, I have a draft which I would sincerely appreciate comments > on: > > http://redsymbol.net/media/pycon-draft/pres1.odp You probably don't have time to fix this, but for future reference, your slides are a bit text-heavy (you should have less text per slide). One way to do this is to use shorthand English as bullet points -- remember that you should be using the slides to support your talk, the slides should not *be* the talk. For example, change "Execute the installer in a clean environment" to "Execute installer in clean environment". Another example: I suggest separating "language agnostic, VC agnostic, and bug-tracking system agnostic" into bullet points: * language agnostic * version control agnostic * bug-tracking system agnostic (You'll notice that I also expanded the abbreviation; if you must use an abbreviation, I suggest "VCS" as the standard version.) You could probably split some of your slides into multiple slides. Generally speaking, each slide should represent about a minute of speech. See also http://us.pycon.org/2009/conference/helpforspeakers/ -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doubt and just refer to comments in code as 'lies'. :-)" --Michael Foord paraphrases Christian Muirhead on python-dev, 2009-3-22 From amax at redsymbol.net Wed Mar 25 20:46:30 2009 From: amax at redsymbol.net (Aaron Maxwell) Date: Wed, 25 Mar 2009 12:46:30 -0700 Subject: [Baypiggies] draft of pycon talk In-Reply-To: <20090325185527.GA21549@panix.com> References: <200903240122.54514.amax@redsymbol.net> <20090325185527.GA21549@panix.com> Message-ID: <200903251246.30880.amax@redsymbol.net> Thanks Aahz - these are good points. Actually I do probably have time to make some of these changes. cheers, Aaron On Wednesday 25 March 2009 11:55:27 Aahz wrote: > On Tue, Mar 24, 2009, Aaron Maxwell wrote: > > I'm presenting at Pycon this year, about "Building an Automated QA > > Infrastructure using Open-Source Python Tools": > > http://us.pycon.org/2009/conference/schedule/event/22/ > > > > If anyone has some spare cycles and would like to help me with some > > feedback, I have a draft which I would sincerely appreciate comments > > on: > > > > http://redsymbol.net/media/pycon-draft/pres1.odp > > You probably don't have time to fix this, but for future reference, your > slides are a bit text-heavy (you should have less text per slide). One > way to do this is to use shorthand English as bullet points -- remember > that you should be using the slides to support your talk, the slides > should not *be* the talk. > > For example, change "Execute the installer in a clean environment" to > "Execute installer in clean environment". > > Another example: I suggest separating "language agnostic, VC agnostic, > and bug-tracking system agnostic" into bullet points: > > * language agnostic > * version control agnostic > * bug-tracking system agnostic > > (You'll notice that I also expanded the abbreviation; if you must use an > abbreviation, I suggest "VCS" as the standard version.) > > You could probably split some of your slides into multiple slides. > Generally speaking, each slide should represent about a minute of speech. > > See also > http://us.pycon.org/2009/conference/helpforspeakers/ -- Aaron Maxwell http://redsymbol.net/ From aahz at pythoncraft.com Thu Mar 26 15:26:12 2009 From: aahz at pythoncraft.com (Aahz) Date: Thu, 26 Mar 2009 07:26:12 -0700 Subject: [Baypiggies] Tonight's Newbie Nugget: Big O() Message-ID: <20090326142612.GA2712@panix.com> Unless someone else wants to do one (please let me know by noon), I'll present on "Big O() and containers". How much time do I have? (I forget.) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doubt and just refer to comments in code as 'lies'. :-)" --Michael Foord paraphrases Christian Muirhead on python-dev, 2009-3-22 From jim at well.com Thu Mar 26 18:21:18 2009 From: jim at well.com (jim) Date: Thu, 26 Mar 2009 09:21:18 -0800 Subject: [Baypiggies] Tonight's Newbie Nugget: Big O() In-Reply-To: <20090326142612.GA2712@panix.com> References: <20090326142612.GA2712@panix.com> Message-ID: <1238088078.8066.263.camel@jim-laptop> preferably ten minutes or less given tonight's speaker list. twelve minutes seems like max. On Thu, 2009-03-26 at 07:26 -0700, Aahz wrote: > Unless someone else wants to do one (please let me know by noon), I'll > present on "Big O() and containers". > > How much time do I have? (I forget.) From aahz at pythoncraft.com Thu Mar 26 18:24:07 2009 From: aahz at pythoncraft.com (Aahz) Date: Thu, 26 Mar 2009 10:24:07 -0700 Subject: [Baypiggies] Tonight's Newbie Nugget: Big O() In-Reply-To: <1238088078.8066.263.camel@jim-laptop> References: <20090326142612.GA2712@panix.com> <1238088078.8066.263.camel@jim-laptop> Message-ID: <20090326172406.GA18487@panix.com> On Thu, Mar 26, 2009, jim wrote: > > preferably ten minutes or less given tonight's speaker list. > twelve minutes seems like max. Thanks! Not a problem. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doubt and just refer to comments in code as 'lies'. :-)" --Michael Foord paraphrases Christian Muirhead on python-dev, 2009-3-22 From dave at offbeatguides.com Thu Mar 26 20:23:15 2009 From: dave at offbeatguides.com (David Sifry) Date: Thu, 26 Mar 2009 12:23:15 -0700 Subject: [Baypiggies] Looking for a FTE Senior Python Engineer in San Francisco / Offbeat Guides Message-ID: We?re looking for a senior Python engineer to join our team at Offbeat Guides in San Francisco. We?re a small team; you?ll be our sixth full- time employee and our second full-time developer. It?s a high-growth startup so you should be prepared for all the fun that it brings, as well as long and irregular hours. The ideal team member is ready to take digital content and turn it into physical goods. If parsing complex text, working with third-party APIs and compiling seemingly unorganized data from a number of sources into something meaningful isn?t your cup of tea? then this isn?t the position for you. You?re an expert in: * Python * Twisted, Beautiful Soup * Application architecture * Scaling to accommodate large amounts of traffic You?re very proficient in: * Amazon Web Services: EC2, S3 and SimpleDB * Consuming and writing web services * Caching strategies * Distributed Computing methodologies * PHP/MySQL (CodeIgnitor/MVC) You?re good at: * XHTML/CSS * Javascript (jQuery) You?re not afraid of: * Releasing production code frequently * Thinking openly and creatively about hard technical problems * Communicating with the team and being involved in the product development process * Answering occasional customer support inquiries * Mid-afternoon cheese & cracker plates At Offbeat Guides, we make really complex things seem really easy. The technologies we develop span across multiple platforms and all speak in HTTP/XML. We use the best tools for the task at hand - be it C# for printer interaction, Python for parsing or PHP for our website. The technological challenges we face include (but are not limited to): * Product up-time while relying on a large number of third-party services, including sophisticated caching mechanisms * Integration with a plethora of third-party APIs where no two are the same * Data integrity? because we have a lot of it * Keeping the website fast. Fast as in < 0.5s load time for most pages * Generating guide previews in excess of 200 pages in under ten seconds for a remote location in South America that you?ve never heard of but where people travel each year for holiday and use our guides * Handling high volumes of traffic To apply, send your resum? or CV to careers at offbeatguides.com Please also send along a list of things you?ve made in the past (preferably with links so we can play), a story about the last cool place you traveled, photos from a trip, a list of languages you can speak, a really funny joke or any combination thereof. This is for a full-time position in San Francisco, CA. We are currently not interested in hiring part-time or contractors. -- David L. Sifry Founder and CEO, Offbeat Guides http://www.offbeatguides.com/ dave at offbeatguides.com +1 415 846-0232 (Mobile) From alchaiken at gmail.com Fri Mar 27 17:16:29 2009 From: alchaiken at gmail.com (Alison Chaiken) Date: Fri, 27 Mar 2009 09:16:29 -0700 Subject: [Baypiggies] geospatial software architect job opening involves python and django Message-ID: Thanks to all last night's presenters. I've installed pylint and am looking into fabric! Do not respond to me about the job opening appended below. I'm merely forwarding it from another mailing list. -- Alison Chaiken (650) 279-5600 (cell) http://www.exerciseforthereader.org/ The Human Genome is smaller than Microsoft Office. -- Steve Jurvetson GEOSPATIAL SOFTWARE ARCHITECT Title: Software Developer (full-time position) Location: NASA Ames Research Center, Moffett Field, CA Want to help NASA return to the Moon? Want to build cutting-edge planetary mapping and modeling systems? Want to create geospatial user interfaces that reach millions of people? The NASA Ames Intelligent Robotics Group (irg.arc.nasa.gov) has an immediate opening for a full-time software developer to help create the next generation of planetary data systems, geospatial user interfaces, and teraflop image processing pipelines. This is a high-profile, high-impact opportunity to create software that will make a difference in how we explore space. This software will be used by NASA mission engineers, the planetary science community, and the general public, through Google Earth and other cutting-edge science and outreach platforms. Applicants should hold a B.S. (or higher) in Computer Science and have excellent software engineering and system development skills. A strong background in UNIX development and open-source tools is required. In addition, knowledge in one (or more) of the following areas is greatly preferred: - C++, Java, Python, and Django - distributed, multi-threaded and parallel processing - geospatial systems (GIS, geodesy, experience with GDAL, proj.4, etc.) - computer vision (camera models, stereo vision, 2D/3D mosaicking) - linear algebra and statistics, plus some knowledge of optimization, estimation, and probablistic methods If you are interested in applying for this position, please send the following via email: - a letter describing your background and software experience - a detailed resume (PDF or text) - contact details for two (or more) references to Dr. Terry Fong . The NASA Ames Intelligent Robotics Group (IRG) is dedicated to enabling humans and robots to explore and learn about extreme environments, remote locations, and uncharted worlds. IRG conducts applied research in a wide range of areas with an emphasis on robotics systems science and field testing. IRG's expertise includes applied computer vision (navigation, 3D surface modeling, automated science support), human-robot interaction, interactive 3D user interfaces, robot software architecture, and planetary rovers. Recent projects include: Google Mars 3D http://earth.google.com Google NASA Planetary Content: http://ti.arc.nasa.gov/projects/planetary Robotic Site Survey: http://haughton2007.arc.nasa.gov GigaPan GigaPixel Panoramas: http://gigapan.org From drewp at bigasterisk.com Fri Mar 27 18:06:10 2009 From: drewp at bigasterisk.com (Drew Perttula) Date: Fri, 27 Mar 2009 10:06:10 -0700 Subject: [Baypiggies] links for drew's presentation Message-ID: <49CD0782.30303@bigasterisk.com> Here are the things I showed last night: http://www.tarind.com/depgraph.html to make pictures like this: http://bigasterisk.com/post/ffg-dep-2009-01-29.jpg http://nedbatchelder.com/code/modules/coverage.html and some version of http://twistedmatrix.com/trac/browser/sandbox/warner/Foolscap/trunk/misc/testutils/figleaf_htmlizer.py?rev=19989 cProfile (stdlib, http://docs.python.org/library/profile.html), http://codespeak.net/pypy/dist/pypy/tool/lsprofcalltree.py, and http://kcachegrind.sourceforge.net/html/Home.html Afterwards, I talked about the following things with people: Running python code checkers continuously in the background in emacs http://plope.com/Members/chrism/flymake-mode (see http://plope.com/bounty_solved for an important bugfix) http://www.rdflib.net/ http://www.rdflib.net/rdflib-2.4.0/html/public/rdflib.Literal.Literal-class.html From bsergean at gmail.com Fri Mar 27 18:30:41 2009 From: bsergean at gmail.com (Benjamin Sergeant) Date: Fri, 27 Mar 2009 10:30:41 -0700 Subject: [Baypiggies] geospatial software architect job opening involves python and django In-Reply-To: References: Message-ID: <1621f9fa0903271030w783fefamd1e74d3971eceef@mail.gmail.com> post baypiggies morning are always great for toying around. I'm writting a .sln (Microsoft visual studio solution file) parser using python-ply, and wanted to work on it on my Mac that doesn't have python-ply installed. So I thought I'd give pip and virtualenv a try to local install ply with ease and not polute my global site-packages folder. And that was easy indeed. - Benjamin $ sudo easy_install pip # virtualenv was already installed, think you install it the same way $ svn co /path/to/my/project $ cd my/project $ virtualenv pyenv New python executable in pyenv/bin/python Installing setuptools............done. $ pip install -E pyenv ply Downloading/unpacking ply Downloading ply-3.2.tar.gz (139Kb): 139Kb downloaded Running setup.py egg_info for package ply Installing collected packages: ply Running setup.py install for ply Successfully installed ply $ export PATH=pyenv/bin:$PATH $ python Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import ply >>> On Fri, Mar 27, 2009 at 9:16 AM, Alison Chaiken wrote: > Thanks to all last night's presenters. I've installed pylint and am > looking into fabric! > > Do not respond to me about the job opening appended below. I'm > merely forwarding it from another mailing list. > > -- > Alison Chaiken > (650) 279-5600 (cell) > http://www.exerciseforthereader.org/ > The Human Genome is smaller than Microsoft Office. -- Steve Jurvetson > > > > > > GEOSPATIAL SOFTWARE ARCHITECT > > Title: Software Developer (full-time position) > Location: NASA Ames Research Center, Moffett Field, CA > > Want to help NASA return to the Moon? Want to build cutting-edge planetary > mapping and modeling systems? Want to create geospatial user interfaces > that reach millions of people? > > The NASA Ames Intelligent Robotics Group (irg.arc.nasa.gov) has an > immediate opening for a full-time software developer to help create the > next generation of planetary data systems, geospatial user interfaces, and > teraflop image processing pipelines. This is a high-profile, high-impact > opportunity to create software that will make a difference in how we > explore space. This software will be used by NASA mission engineers, the > planetary science community, and the general public, through Google Earth > and other cutting-edge science and outreach platforms. > > Applicants should hold a B.S. (or higher) in Computer Science and have > excellent software engineering and system development skills. A strong > background in UNIX development and open-source tools is required. In > addition, knowledge in one (or more) of the following areas is greatly > preferred: > > - C++, Java, Python, and Django > > - distributed, multi-threaded and parallel processing > > - geospatial systems (GIS, geodesy, experience with GDAL, proj.4, etc.) > > - computer vision (camera models, stereo vision, 2D/3D mosaicking) > > - linear algebra and statistics, plus some knowledge of optimization, > estimation, and probablistic methods > > If you are interested in applying for this position, please send the > following via email: > > - a letter describing your background and software experience > > - a detailed resume (PDF or text) > > - contact details for two (or more) references > > to Dr. Terry Fong . > > The NASA Ames Intelligent Robotics Group (IRG) is dedicated to enabling > humans and robots to explore and learn about extreme environments, remote > locations, and uncharted worlds. IRG conducts applied research in a wide > range of areas with an emphasis on robotics systems science and field > testing. IRG's expertise includes applied computer vision (navigation, 3D > surface modeling, automated science support), human-robot interaction, > interactive 3D user interfaces, robot software architecture, and planetary > rovers. Recent projects include: > > Google Mars 3D http://earth.google.com > Google NASA Planetary Content: http://ti.arc.nasa.gov/projects/planetary > Robotic Site Survey: http://haughton2007.arc.nasa.gov > GigaPan GigaPixel Panoramas: http://gigapan.org > _______________________________________________ > 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 bsergean at gmail.com Fri Mar 27 18:48:31 2009 From: bsergean at gmail.com (Benjamin Sergeant) Date: Fri, 27 Mar 2009 10:48:31 -0700 Subject: [Baypiggies] links for drew's presentation In-Reply-To: <49CD0782.30303@bigasterisk.com> References: <49CD0782.30303@bigasterisk.com> Message-ID: <1621f9fa0903271048h5fd63477m5160dfb214e4b933@mail.gmail.com> Thanks for the links, RDF and FOAF looks interesting and probably easier to setup than an ORM when you want to do basic relational things. I remember you were also talking about the Tahoe project yesterday, if it's about distributed filesystem, it looks pretty interesting too. http://allmydata.org/trac/tahoe Cheers, - Benjamin ps: Just adding that all the talks yesterday were really good, as usual (my wife's one was the best, obvisously ;) Baypiggies is really a joy and I hope this community will continue to thrill for a long time. 2009/3/27 Drew Perttula > Here are the things I showed last night: > > http://www.tarind.com/depgraph.html > to make pictures like this: > http://bigasterisk.com/post/ffg-dep-2009-01-29.jpg > > http://nedbatchelder.com/code/modules/coverage.html > and some version of > http://twistedmatrix.com/trac/browser/sandbox/warner/Foolscap/trunk/misc/testutils/figleaf_htmlizer.py?rev=19989 > > cProfile (stdlib, http://docs.python.org/library/profile.html), > http://codespeak.net/pypy/dist/pypy/tool/lsprofcalltree.py, > and http://kcachegrind.sourceforge.net/html/Home.html > > > > Afterwards, I talked about the following things with people: > > Running python code checkers continuously in the background in emacs > http://plope.com/Members/chrism/flymake-mode > (see http://plope.com/bounty_solved for an important bugfix) > > http://www.rdflib.net/ > > http://www.rdflib.net/rdflib-2.4.0/html/public/rdflib.Literal.Literal-class.html > _______________________________________________ > 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 donnamsnow at gmail.com Fri Mar 27 19:52:18 2009 From: donnamsnow at gmail.com (Donna Snow) Date: Fri, 27 Mar 2009 11:52:18 -0700 Subject: [Baypiggies] Anyone interested in a Plone 3 demo? Message-ID: Hi, Many changes since I did my Plone demo a couple years ago (18 months ago?) and if you have an empty month coming up let me know. I've been doing a lot of training lately and I can provide a really good overview of all the neato elements in the new Plone and a glimpse into the future of Plone. Best Regards, Donna M Snow, Principal C Squared Enterprises illuminating your path to Open Source http://www.csquaredtech.com coming soon!! c2etraining.com Open Source training (online and off) -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjinux at gmail.com Fri Mar 27 22:49:03 2009 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Fri, 27 Mar 2009 14:49:03 -0700 Subject: [Baypiggies] my slides Message-ID: Here are my elaborate "slides" from yesterday: This is a random collection of topics related to Python tools. Talk about the UNIX philosophy: Small tools. My problems tend to be too large for RAM, but not too big for one machine. UNIX and batch processing are a natural fit. Multiple processes = multiple CPUs. Multiple programming languages = more flexibility. Pipes = concurrency without the pain. Scales linearly and predictably, unlike databases. UNIX tools that already exist are helpful and fast. Use the optparse module to provide consistent command line APIs: Here's an example of the setup from the docs: : from optparse import OptionParser : parser = OptionParser() : parser.add_option("-f", "--file", dest="filename", : help="write report to FILE", metavar="FILE") : parser.add_option("-q", "--quiet", : action="store_false", dest="verbose", default=True, : help="don't print status messages to stdout") : (options, args) = parser.parse_args() Here's an example of my own help text : Usage: cleancuttsv.py [options] : : Options: : -h, --help show this help message and exit : --assert-head=FIELD1\tFIELD2\t... : assert that the first line of the file matches this : --delete-head delete the first line of input : -n NUM, --num-fields=NUM : assert that there are this many fields per line : --drop-blank-lines delete blank lines instead of raising an error : sort: http://jjinux.blogspot.com/2008/08/python-sort-uniq-c-via-subprocess.html sort -S 20% -T /mnt/some_other_drive ... http://jjinux.blogspot.com/2008/08/python-memory-conservation-tip-sort.html tsv: You need a consistent format. Downsides: Most UNIX tools don't understand true TSV, but only an approximation thereof: My own code raises an exception in cases where it would actually matter. Many UNIX tools are ignorant of encoding issues: Sometimes playing dumb works and sometimes it hurts. Using the csv module: : import csv : : DEFAULT_KARGS = dict(dialect='excel-tab', lineterminator='\n') : MYSQL_LOAD_DATA_INFILE_DESC = """\ : FIELDS TERMINATED BY '\t' : OPTIONALLY ENCLOSED BY '"' : ESCAPED BY '' : LINES TERMINATED BY '\n'""" : : def create_default_reader(iterable): : """Return a csv.reader with our default options.""" : return csv.reader(iterable, **DEFAULT_KARGS) : ... Using mysqlimport. : mysqlimport \ : --user=$MYSQL_USERNAME \ : --password=$MYSQL_PASSWORD \ : --columns=id,name \ : --fields-optionally-enclosed-by='"' \ : --fields-terminated-by='\t' \ : --fields-escaped-by='' \ : --lines-terminated-by='\n' \ : --local \ : --lock-tables \ : --replace \ : --verbose \ : $DATABASE ${BUILD}/sometable.tsv To see warnings: http://jjinux.blogspot.com/2009/03/mysql-encoding-hell.html Show pdb in the context of a web app: : import pdb : from pprint import pprint : pdb.set_trace() : pprint(request.environ) http://localhost:5000/api/ratio -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjinux at gmail.com Fri Mar 27 22:52:26 2009 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Fri, 27 Mar 2009 14:52:26 -0700 Subject: [Baypiggies] A day of PyConsolation In-Reply-To: References: Message-ID: Hey guys, I never got around to setting anything up for tomorrow, my proposed day of PyConsolation. Sorry about that. I suggest you enjoy the beautiful weather instead--the Bay Area is much greener than Chicago anyway ;) Happy Hacking! -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 guido at python.org Fri Mar 27 22:56:48 2009 From: guido at python.org (Guido van Rossum) Date: Fri, 27 Mar 2009 16:56:48 -0500 Subject: [Baypiggies] A day of PyConsolation In-Reply-To: References: Message-ID: For a feeling of "almost" being there: http://search.twitter.com/search?q=%23pycon On Fri, Mar 27, 2009 at 4:52 PM, Shannon -jj Behrens wrote: > Hey guys, > > I never got around to setting anything up for tomorrow, my proposed > day of PyConsolation. ?Sorry about that. ?I suggest you enjoy the > beautiful weather instead--the Bay Area is much greener than Chicago > anyway ;) > > Happy Hacking! > -jj -- --Guido van Rossum (home page: http://www.python.org/~guido/) From daryl.spitzer at gmail.com Fri Mar 27 23:01:35 2009 From: daryl.spitzer at gmail.com (Daryl Spitzer) Date: Fri, 27 Mar 2009 17:01:35 -0500 Subject: [Baypiggies] A day of PyConsolation In-Reply-To: References: Message-ID: Or a little more fun: http://twitterfall.com/#pycon On Fri, Mar 27, 2009 at 4:56 PM, Guido van Rossum wrote: > For a feeling of "almost" being there: > http://search.twitter.com/search?q=%23pycon > > On Fri, Mar 27, 2009 at 4:52 PM, Shannon -jj Behrens wrote: >> Hey guys, >> >> I never got around to setting anything up for tomorrow, my proposed >> day of PyConsolation. ?Sorry about that. ?I suggest you enjoy the >> beautiful weather instead--the Bay Area is much greener than Chicago >> anyway ;) >> >> Happy Hacking! >> -jj > > -- > --Guido van Rossum (home page: http://www.python.org/~guido/) > _______________________________________________ > 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 Sat Mar 28 01:48:14 2009 From: aahz at pythoncraft.com (Aahz) Date: Fri, 27 Mar 2009 17:48:14 -0700 Subject: [Baypiggies] Slides: Big O() and Collections Message-ID: <20090328004814.GA1636@panix.com> http://www.pythoncraft.com/baypiggies/bigO/bigO.pdf -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doubt and just refer to comments in code as 'lies'. :-)" --Michael Foord paraphrases Christian Muirhead on python-dev, 2009-3-22 From robert.e.smith1 at lmco.com Sat Mar 28 07:18:15 2009 From: robert.e.smith1 at lmco.com (Smith1, Robert E) Date: Fri, 27 Mar 2009 23:18:15 -0700 Subject: [Baypiggies] Pylint In-Reply-To: References: Message-ID: <18E2675C0D478E4494108B55120A61AF19AA7955@emss01m15.us.lmco.com> "Thanks to all last night's presenters. I've installed pylint and am looking into fabric!" I'd like to give my thanks as well. I also installed Pylint and the one complaint I have about PEP-8 is that function/method names and variable names are supposed to follow the same naming convention. But you see that philosophy in Java coding standards as well. Robert From simeonf at gmail.com Sun Mar 29 01:53:15 2009 From: simeonf at gmail.com (Simeon Franklin) Date: Sat, 28 Mar 2009 17:53:15 -0700 Subject: [Baypiggies] using virtualenv Message-ID: On Fri, Mar 27, 2009 at 10:48 AM, wrote: > From: Benjamin Sergeant > $ svn co /path/to/my/project > $ cd my/project > $ virtualenv pyenv > New python executable in pyenv/bin/python > Installing setuptools............done. > $ pip install -E pyenv ply > Downloading/unpacking ply > ?Downloading ply-3.2.tar.gz (139Kb): 139Kb downloaded > ?Running setup.py egg_info for package ply > Installing collected packages: ply > ?Running setup.py install for ply > Successfully installed ply > $ export PATH=pyenv/bin:$PATH I'm glad you're trying out pip! Any particular reason not to use the built-in "activate" command? I also didn't mention in my presentation (since I was kind of rushing) but Doug Hellman (who writes the excellent "Python Module of the Week" series) wrote a shell script tool to manage many virtual envs. See http://www.doughellmann.com/projects/virtualenvwrapper/ -regards Simeon From simeonf at gmail.com Sun Mar 29 03:34:38 2009 From: simeonf at gmail.com (Simeon Franklin) Date: Sat, 28 Mar 2009 18:34:38 -0700 Subject: [Baypiggies] My slides on virtualenv, pip, fabric Message-ID: I put up my slides from my talk Thursday night - they're available in html format off the blog entry at http://simeonfranklin.com/blog/2009/mar/28/baypiggies-presentations/ I also linked to the .rst source for the slides and mentioned the rst2s5 docutils tool I used to prepare the presentations. Nobody else seems to have used this - I haven't really done slide-style presentations before and did like the idea of spending a lot of time typing in Impress. If anybody has a better tip than Keynote for a presentation app I'd be glad to hear it... -simeon -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Sun Mar 29 03:54:01 2009 From: aahz at pythoncraft.com (Aahz) Date: Sat, 28 Mar 2009 18:54:01 -0700 Subject: [Baypiggies] My slides on virtualenv, pip, fabric In-Reply-To: References: Message-ID: <20090329015401.GA26387@panix.com> On Sat, Mar 28, 2009, Simeon Franklin wrote: > > I also linked to the .rst source for the slides and mentioned the > rst2s5 docutils tool I used to prepare the presentations. Nobody > else seems to have used this - I haven't really done slide-style > presentations before and did like the idea of spending a lot of time > typing in Impress. If anybody has a better tip than Keynote for a > presentation app I'd be glad to hear it... What I use is PythonPoint (creates PDF presentation) with a homebrew front-end so I don't have to write XML myself. You can find the code at http://pythoncraft.com/OSCON2002/index.html While I should figure out how to use reST to create presentations, I like the level of control my system gives me. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "At Resolver we've found it useful to short-circuit any doubt and just refer to comments in code as 'lies'. :-)" --Michael Foord paraphrases Christian Muirhead on python-dev, 2009-3-22 From bsergean at gmail.com Sun Mar 29 07:38:01 2009 From: bsergean at gmail.com (Benjamin Sergeant) Date: Sat, 28 Mar 2009 22:38:01 -0700 Subject: [Baypiggies] using virtualenv In-Reply-To: References: Message-ID: <1621f9fa0903282238r26d9cb6ajef932ce508319814@mail.gmail.com> On Sat, Mar 28, 2009 at 5:53 PM, Simeon Franklin wrote: > On Fri, Mar 27, 2009 at 10:48 AM, wrote: > > From: Benjamin Sergeant > > $ svn co /path/to/my/project > > $ cd my/project > > $ virtualenv pyenv > > New python executable in pyenv/bin/python > > Installing setuptools............done. > > $ pip install -E pyenv ply > > Downloading/unpacking ply > > Downloading ply-3.2.tar.gz (139Kb): 139Kb downloaded > > Running setup.py egg_info for package ply > > Installing collected packages: ply > > Running setup.py install for ply > > Successfully installed ply > > $ export PATH=pyenv/bin:$PATH > > I'm glad you're trying out pip! Me too. From my 20 seconds playing with it experience 2 things nice with pip are the download progress report, plus the -E virtualenv switch. > Any particular reason not to use the > built-in "activate" command? > It was just that I'm not a big fan of the ugly prompt activate adds. But it might be doing more than setting up the PATH, and I think I can get over the few chars activate add to the prompt. Cheers, - Benjamin > I also didn't mention in my presentation (since I was kind of rushing) > but Doug Hellman (who writes the excellent "Python Module of the Week" > series) wrote a shell script tool to manage many virtual envs. See > http://www.doughellmann.com/projects/virtualenvwrapper/ > > -regards > Simeon > -------------- next part -------------- An HTML attachment was scrubbed... URL: From donnamsnow at gmail.com Sun Mar 29 17:32:09 2009 From: donnamsnow at gmail.com (Donna Snow) Date: Sun, 29 Mar 2009 08:32:09 -0700 Subject: [Baypiggies] My slides on virtualenv, pip, fabric In-Reply-To: <20090329015401.GA26387@panix.com> References: <20090329015401.GA26387@panix.com> Message-ID: Aw I'm sorry I missed the presentation! I've been using virtualenv and just heard about pip for working with my Plone sites. Are the meetings getting recorded?? Donna On Sat, Mar 28, 2009 at 6:54 PM, Aahz wrote: > On Sat, Mar 28, 2009, Simeon Franklin wrote: > > > > I also linked to the .rst source for the slides and mentioned the > > rst2s5 docutils tool I used to prepare the presentations. Nobody > > else seems to have used this - I haven't really done slide-style > > presentations before and did like the idea of spending a lot of time > > typing in Impress. If anybody has a better tip than Keynote for a > > presentation app I'd be glad to hear it... > > What I use is PythonPoint (creates PDF presentation) with a homebrew > front-end so I don't have to write XML myself. You can find the code at > > http://pythoncraft.com/OSCON2002/index.html > > While I should figure out how to use reST to create presentations, I > like the level of control my system gives me. > -- > Aahz (aahz at pythoncraft.com) <*> > http://www.pythoncraft.com/ > > "At Resolver we've found it useful to short-circuit any doubt and just > refer to comments in code as 'lies'. :-)" > --Michael Foord paraphrases Christian Muirhead on python-dev, 2009-3-22 > _______________________________________________ > 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 Sun Mar 29 19:38:20 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Sun, 29 Mar 2009 10:38:20 -0700 Subject: [Baypiggies] My slides on virtualenv, pip, fabric In-Reply-To: References: <20090329015401.GA26387@panix.com> Message-ID: Yes, I recorded the meeting. I am almost finished getting a rough draft of the video ready so anyone can see them in time to join in on any current discussions. Cheers, Glen -- 415-680-3964 glen at glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi On Mar 29, 2009, at 8:32 AM, Donna Snow wrote: > Aw I'm sorry I missed the presentation! I've been using virtualenv > and just heard about pip for working with my Plone sites. Are the > meetings getting recorded?? > > Donna > > On Sat, Mar 28, 2009 at 6:54 PM, Aahz wrote: > On Sat, Mar 28, 2009, Simeon Franklin wrote: > > > > I also linked to the .rst source for the slides and mentioned the > > rst2s5 docutils tool I used to prepare the presentations. Nobody > > else seems to have used this - I haven't really done slide-style > > presentations before and did like the idea of spending a lot of time > > typing in Impress. If anybody has a better tip than Keynote for a > > presentation app I'd be glad to hear it... > > What I use is PythonPoint (creates PDF presentation) with a homebrew > front-end so I don't have to write XML myself. You can find the > code at > > http://pythoncraft.com/OSCON2002/index.html > > While I should figure out how to use reST to create presentations, I > like the level of control my system gives me. > -- > Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ > > "At Resolver we've found it useful to short-circuit any doubt and just > refer to comments in code as 'lies'. :-)" > --Michael Foord paraphrases Christian Muirhead on python-dev, > 2009-3-22 > _______________________________________________ > 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 Mon Mar 30 18:34:00 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 30 Mar 2009 09:34:00 -0700 Subject: [Baypiggies] Video from our meeting Message-ID: <49091C29-A85D-4285-9A73-B05CC0C8E40D@glenjarvis.com> The videos from our meeting are now available. We have *much* better audio since Paul M. lent us a professional wireless microphone system. I always try to get the video out the day after or at least by the weekend after our meeting. This one took a little longer. We had some technical problems. The camera battery can handle an hour and a half of video tops. We're usually pushing it to get the last video in before the camera dies. But, this week, we lost a *good* chunk of the last video. However, redundancy rules =) Because we were streaming audio directly to a different system (Garage band on my Mac), we had the audio from the last speaker. With a copy of their slides, I was able to piece it all back together. We did lose some mic audio on Drew's talk (Garage band just quit for some reason), but we have the audio from the camera to fill-in. So, we captured the entire meeting... yeah. But, it took some manual labor and patience to piece it all together... Oi! http://glenjarvis.com/static/media/videos/2009_03_27/01_newbie_nugget.mov Aahz gives us a great explanation of Big-O and collections http://glenjarvis.com/static/media/videos/2009_03_27/02_pylint.mov Sandrine Ribeau shows us Pylint http://glenjarvis.com/static/media/videos/2009_03_27/03_sort_tricks.mov JJ Behrens discusses sort and a few tricks of the trade http://glenjarvis.com/static/media/videos/2009_03_27/04_profiling.mov Drew Perttula shows us some great visual tools with profiling data NOTE: Audio will switch from mic to regular camera mic. So, the volume will reduce toward end http://glenjarvis.com/static/media/videos/2009_03_27/05_virtualenv_pip_fabric.mov Simeon Franklin discusses Virtualenv, Pip and Fabric WARNING: Audio starts with regular camera microphone, but within moments of the beginning, we switch back to microphone. It will get louder in the introduction. As always, I didn't have time to make the video as good as I'd like (can you say perfectionist ;) But, I want to integrate slides into the talk, do face closeups, fix some of the darkness/lightness issues, package with titles, and chapters. And, finally, get it into a YouTube format so that's it's easier for everyone to see. But, this works (the audio especially works), so I'm putting it all on a back-burner for an unspecified amount of time. Good luck everyone! Happy Hacking! Cheers, Glen -- 415-680-3964 glen at glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at ericwalstad.com Mon Mar 30 21:16:03 2009 From: eric at ericwalstad.com (Eric Walstad) Date: Mon, 30 Mar 2009 12:16:03 -0700 Subject: [Baypiggies] Video from our meeting In-Reply-To: <49091C29-A85D-4285-9A73-B05CC0C8E40D@glenjarvis.com> References: <49091C29-A85D-4285-9A73-B05CC0C8E40D@glenjarvis.com> Message-ID: Thanks Glen! Eric. -- Eric Walstad Associates, LLC 2856 Diamond Street San Francisco, CA 94131 415-494-5405 From donnamsnow at gmail.com Mon Mar 30 21:27:45 2009 From: donnamsnow at gmail.com (Donna Snow) Date: Mon, 30 Mar 2009 12:27:45 -0700 Subject: [Baypiggies] Video from our meeting In-Reply-To: References: <49091C29-A85D-4285-9A73-B05CC0C8E40D@glenjarvis.com> Message-ID: Glen, You are an angel! Thanks for taking the time for those of us who can't seem to get to the meetings, even though we would love to. I'm now laid up with bum knee :-( owwie Best Regards, Donna M Snow, Principal C Squared Enterprises illuminating your path to Open Source http://www.csquaredtech.com coming soon c2etraining.com Open Source training that is affordable and accessible! On Mon, Mar 30, 2009 at 12:16 PM, Eric Walstad wrote: > Thanks Glen! > Eric. > -- > Eric Walstad Associates, LLC > 2856 Diamond Street > San Francisco, CA 94131 > 415-494-5405 > _______________________________________________ > 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 sandrine.ribeau at gmail.com Mon Mar 30 22:08:38 2009 From: sandrine.ribeau at gmail.com (Sandrine Ribeau) Date: Mon, 30 Mar 2009 13:08:38 -0700 Subject: [Baypiggies] Pylint In-Reply-To: <18E2675C0D478E4494108B55120A61AF19AA7955@emss01m15.us.lmco.com> References: <18E2675C0D478E4494108B55120A61AF19AA7955@emss01m15.us.lmco.com> Message-ID: Hi Robert, On Fri, Mar 27, 2009 at 11:18 PM, Smith1, Robert E wrote: > > "Thanks to all last night's presenters. I've installed pylint and am > looking into fabric!" > > I'd like to give my thanks as well. I also installed Pylint and the one > complaint I have about PEP-8 is that function/method names and variable > names are supposed to follow the same naming convention. I am happy to hear that you give it a try to Pylint. You can easily configure the naming convention by properly setting the following options: # Regular expression which should only match correct function names function-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct method names method-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct variable names variable-rgx=[a-z_][a-z0-9_]{2,30}$ I hope this helps, Sandrine. But you see > that philosophy in Java coding standards as well. > > Robert > _______________________________________________ > 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 sandrine.ribeau at gmail.com Mon Mar 30 22:15:46 2009 From: sandrine.ribeau at gmail.com (Sandrine Ribeau) Date: Mon, 30 Mar 2009 13:15:46 -0700 Subject: [Baypiggies] links for drew's presentation In-Reply-To: <49CD0782.30303@bigasterisk.com> References: <49CD0782.30303@bigasterisk.com> Message-ID: Hi Drew, On Fri, Mar 27, 2009 at 10:06 AM, Drew Perttula wrote: > ... Afterwards, I talked about the following things with people: > > Running python code checkers continuously in the background in emacs > http://plope.com/Members/chrism/flymake-mode > (see http://plope.com/bounty_solved for an important bugfix) > Just to let you know that a co-worker pointed me to that link that might interest you: flymake does work in combination with Pylint: http://www.emacswiki.org/emacs/PythonMode#toc6 Sandrine. -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Tue Mar 31 21:04:09 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 31 Mar 2009 12:04:09 -0700 Subject: [Baypiggies] Someone need a job? Message-ID: After two months and three interviews I was turned down for a job. But, my loss can be someone else in the community's gain. The reason I didn't get the job is the main reason I'm not getting most jobs these days. I have 1 year of experience in Python and Django. That's the newbie newb's newb of Python. And, a good chunk of that is contracting through my very small company Glen Jarvis, LLC. And, before this, I finished a degree for several years. And before that I was a DBA -- completely different role. So, it's very probable someone else here is much stronger than I am at the role in question. However, it's a strange situation that they want. They want someone who is very experienced in mobile phone application development (so, it's not just Python skills, but it couldn't hurt). But, you won't be programming. You'll be managing an Open Source community. I originally applied because it's a community management role, but I eventually didn't get it because of my lack of Mobile phone app development experience. If you're interested, please let me know and I'll direct you to the company. After they told me that I wasn't a fit, I thought I could help them find someone who is. In the like vein of programmers helping out programmers and community spirit, if there is a Python and/or Django job out there where 1 year of experience is sufficient, please let me know. Newbie or not, I'm constantly growing as a programmer. I'm amazed at how much better my code is now compared to six months ago. But, with that said, I'm sure my code will continue to improve and I'm not at that level yet. I'm great as a Junior programmer working with other talented programmers -- especially team programming. I prefer full time work over contracting and am contracting now. I'm up to my eyes in contract work the past few weeks, but it's not regular and I'm getting more and more in debt doing so (I don't yet feel good enough to charge enough). To give you a basic understanding of my coding level, I have just made the breakthrough of coding something dynamically like this. Although I knew about this style of programming before, I never "got it" in my code until just this week: ACTION_DICT = { 1: ('Vendor Scan', ('v', 't'), action_vendor_scan), # Vendor(v),Token(t) 2: ('Time', ('e',), action_time_event), # Event(e) 3: ('Email', ('t', 's','m'), action_email), # To(t),Subject(s),Message(m) 4: ('Cron', ('u'), action_cron), # Unknown(u) } # a is the action to execute and is dynamically set data = {} for v in variables: data[v] = request.GET.get(v, None) if data[v] is None: logging.error("scan: Data (%s) missing from URL" % v) data = ACTION_DICT[a][2](data) Thanks in advance. And, let me know if you're interested in the mobile phone community management position. All the best, Glen -- 415-680-3964 glen at glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Tue Mar 31 23:20:12 2009 From: glen at glenjarvis.com (Glen Jarvis) Date: Tue, 31 Mar 2009 14:20:12 -0700 Subject: [Baypiggies] Unladen Swallow: Google searches for holy grail of Python performance Message-ID: <9C023302-C122-42B4-8D66-D1F58D8128B6@glenjarvis.com> Google searches for holy grail of Python performance Google's Python engineers have launched a new project called Unladen Swallow that seeks to improve the performance of the Python programming language. One of the project's goals is to replace the Python virtual machine with an LLVM-based JIT. By Ryan Paul | Last updated March 26, 2009 5:08 PM CT Read more at: http://arstechnica.com/open-source/news/2009/03/google-launches-project-to-boost-python-performance-by-5x.ars Glen -- 415-680-3964 glen at glenjarvis.com "You must be the change you wish to see in the world." -M. Gandhi -------------- next part -------------- An HTML attachment was scrubbed... URL: