From mech422 at gmail.com Sat Jan 1 00:39:03 2011 From: mech422 at gmail.com (Steve Hindle) Date: Fri, 31 Dec 2010 16:39:03 -0700 Subject: [Baypiggies] puzzle: binding invocation context for a function call during a class declaration In-Reply-To: <47097.1293830604@parc.com> References: <45251.1293826195@parc.com> <47097.1293830604@parc.com> Message-ID: I'm half-asleep so this is prolly all wrong but here's a shot at it... I cant' remember if random function calls are actually invoked during class definition or not... if they are, then they should get a cls as the first parm - which would be your context as no objects have been created yet... If they're not, I would guess you'd have to move them outside the class definition (maybe right after it) there they will definately get called right after the class definition. this would give you a syntax like is_a(Foo, A) - again allowing you to capture the class. Since this is working on classes, not objects - I'm not sure what your approach gives you over standard syntax where base classes are listed in the class signature ? The only 'context' you'd be capturing is the relationship between classes...is-a is a standard base class, and part-of sounds like a mixin - again, a base class ? Steve On Fri, Dec 31, 2010 at 2:23 PM, Bill Janssen wrote: > You're suggesting I do everything with attributes. ?Yes, that's a possibility, > but it doesn't really answer the question I raised, which is about capturing the > invocation context for a function call that happens during the definition of a > class. > > Bill > > Zachary Collins wrote: > >> You're trying to create more complicated symantics than is necessary >> to solve this problem. >> >> How about >> class Foo (Concept): >> ? things_i_am = [A, B] >> >> ? >> >> 2010/12/31 Bill Janssen : >> > I'm puzzling out how one would ape a declarative language in Python. >> > For instance, take a language that has declarations like >> > >> > ?concept Foo { >> > ? ?is-a A; >> > ? ?is-a B; >> > ? ?part-of X; >> > >> > ? ?public int counter; >> > ? ?public analogue bar; >> > ?} >> > >> > ?expression Bletch { >> > >> > ? ?expresses Foo; >> > >> > ? ?counter = 3; >> > ?} >> > >> > where "concept", "public", "is-a", "part-of", "int", "analogue", >> > "expression", and "expresses" are all keywords. >> > >> > Since it's largely declarative, I'd naturally express it in Python as a >> > set of class declarations: >> > >> > ?from mylang import is_a, part_of, Concept, Expression, attribute, public, analogue, expresses >> > >> > ?class Foo (Concept): >> > >> > ? ?is_a(A); >> > ? ?is_a(B); >> > ? ?part_of(X); >> > >> > ? ?counter = attribute(public, int) >> > ? ?bar = attribute(public, analogue) >> > >> > ?class Bletch (Expression): >> > >> > ? ?expresses(Foo) >> > ? ?counter = 3 >> > >> > Now, my question is, how can I capture the invocation context of a >> > function, so that I can know that "is_a(A)" is being called as part of >> > the definition of class "Foo"? ?Do functions called during the >> > evaluation of a class leave their return result somewhere, for instance, >> > so that I could define a metaclass to do something with that result? >> > >> > Right now, I'm using the fragile workaround of >> > >> > ?_relationships = [] >> > ?def _store_relationship (x, rel): >> > ? ? ?primary = inspect.stack()[2][0].f_code.co_name >> > ? ? ?_relationships.append((primary, rel, x)) >> > ?is_a = lambda x: _store_relationship(x, "is-a") >> > >> > If I was willing to use Python 3, I could use class decorators instead, >> > I suppose. ?But I'd like to nest these declarations inside the class >> > definition if I can. >> > >> > Any ideas would be appreciated. >> > >> > Bill >> > _______________________________________________ >> > 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 bdbaddog at gmail.com Sat Jan 1 00:50:39 2011 From: bdbaddog at gmail.com (William Deegan) Date: Fri, 31 Dec 2010 15:50:39 -0800 Subject: [Baypiggies] hardware question In-Reply-To: <4D1E0CE1.3090907@seehart.com> References: <20101224162209.GA22132@panix.com> <4D1E0CE1.3090907@seehart.com> Message-ID: <9218C09C-53FD-42F3-808A-5BD1B84720C7@gmail.com> On Dec 31, 2010, at 9:03 AM, Ken Seehart wrote: > On 12/24/2010 05:22 PM, Aahz wrote: >> On Thu, Dec 23, 2010, Vikram K wrote: >>> Recently i got funding to buy a new laptop. The choice is between Apple >>> (which i have never ever used), or HP/Dell. >>> >>> Since most of my computational work will be using python i wanted to ask >>> others on this forum about whether there would be any compatibility issues >>> with using the various python libraries (matplotlib, scipy, numpy, >>> Biopython, etc.) when using Python on the Mac. >> There's one simple reason why I absolutely stick with Macs for laptops: >> sleep Just Works. Supposedly there's been progress in recent years, but >> I still often see people booting up their laptops instead of just waking >> them from sleep when it's not a Mac. Get a Mac with 8GB RAM and you'll >> have plenty of room for virtual machines for Ubuntu, Windows, or >> whatever. >> >> Overall, I'm happier when I'm using my Ubuntu desktop at home, mainly >> because Macs are somewhat keyboard-unfriendly, although you can do an >> awful lots with the Mac keyboard if you invest some time learning. >> (Surprisingly, Windows and Ubuntu are mostly in a dead heat for keyboard >> friendliness.) If you are familiar with and like Gnome/KDE virtual >> screens, you will hate the Mac implementation. >> >> You should get a mouse with your Mac if you have sweaty fingers, the >> capacitive trackpad sometimes goes wonky. >> >> I've used 13", 15", and 17" laptops. IMO 15" is the best compromise >> between screen size and portability. Get the anti-glare screen, the >> glossy is one thing I dislike about my current Mac. > > I'm going to buy a new laptop for PYCON, and the Mac virtual > machine idea is tempting. The one issue I have is whether > it is possible to run CUDA code in a windows vm and a ubuntu > vm on a mac. > > Anyone know about this? > I googled around and it looks like the answer is no. I think you could use bootcamp to dual boot your laptop to win/ubuntu if you needed CUDA. -Bill From mech422 at gmail.com Sat Jan 1 00:55:54 2011 From: mech422 at gmail.com (Steve Hindle) Date: Fri, 31 Dec 2010 16:55:54 -0700 Subject: [Baypiggies] puzzle: binding invocation context for a function call during a class declaration In-Reply-To: <47097.1293830604@parc.com> References: <45251.1293826195@parc.com> <47097.1293830604@parc.com> Message-ID: Bah - told ya I was half asleep... your not gonna get cls since your not explicitly passing it... Hmm - this one's gonna need more coffee :-) Steve On Fri, Dec 31, 2010 at 2:23 PM, Bill Janssen wrote: > You're suggesting I do everything with attributes. ?Yes, that's a possibility, > but it doesn't really answer the question I raised, which is about capturing the > invocation context for a function call that happens during the definition of a > class. > > Bill > > Zachary Collins wrote: > >> You're trying to create more complicated symantics than is necessary >> to solve this problem. >> >> How about >> class Foo (Concept): >> ? things_i_am = [A, B] >> >> ? >> >> 2010/12/31 Bill Janssen : >> > I'm puzzling out how one would ape a declarative language in Python. >> > For instance, take a language that has declarations like >> > >> > ?concept Foo { >> > ? ?is-a A; >> > ? ?is-a B; >> > ? ?part-of X; >> > >> > ? ?public int counter; >> > ? ?public analogue bar; >> > ?} >> > >> > ?expression Bletch { >> > >> > ? ?expresses Foo; >> > >> > ? ?counter = 3; >> > ?} >> > >> > where "concept", "public", "is-a", "part-of", "int", "analogue", >> > "expression", and "expresses" are all keywords. >> > >> > Since it's largely declarative, I'd naturally express it in Python as a >> > set of class declarations: >> > >> > ?from mylang import is_a, part_of, Concept, Expression, attribute, public, analogue, expresses >> > >> > ?class Foo (Concept): >> > >> > ? ?is_a(A); >> > ? ?is_a(B); >> > ? ?part_of(X); >> > >> > ? ?counter = attribute(public, int) >> > ? ?bar = attribute(public, analogue) >> > >> > ?class Bletch (Expression): >> > >> > ? ?expresses(Foo) >> > ? ?counter = 3 >> > >> > Now, my question is, how can I capture the invocation context of a >> > function, so that I can know that "is_a(A)" is being called as part of >> > the definition of class "Foo"? ?Do functions called during the >> > evaluation of a class leave their return result somewhere, for instance, >> > so that I could define a metaclass to do something with that result? >> > >> > Right now, I'm using the fragile workaround of >> > >> > ?_relationships = [] >> > ?def _store_relationship (x, rel): >> > ? ? ?primary = inspect.stack()[2][0].f_code.co_name >> > ? ? ?_relationships.append((primary, rel, x)) >> > ?is_a = lambda x: _store_relationship(x, "is-a") >> > >> > If I was willing to use Python 3, I could use class decorators instead, >> > I suppose. ?But I'd like to nest these declarations inside the class >> > definition if I can. >> > >> > Any ideas would be appreciated. >> > >> > Bill >> > _______________________________________________ >> > 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 recursive.cookie.jar at gmail.com Sat Jan 1 09:10:12 2011 From: recursive.cookie.jar at gmail.com (Zachary Collins) Date: Sat, 1 Jan 2011 03:10:12 -0500 Subject: [Baypiggies] puzzle: binding invocation context for a function call during a class declaration In-Reply-To: References: <45251.1293826195@parc.com> <47097.1293830604@parc.com> Message-ID: In general I think it is not possible without some other explitic mechanism to determine the class calling context, because it doesn't fit nicely into the overall system and doesn't have many valid uses. Besides, you're asking Python to hand you a reference to a class before it is made, even when it /might not be made/. Remember that because of meta classes and decorators and execution order, you can perfectly execute an entire class and not end up instantiating any class at all! Better to solve the problem also in a way that is not syntatically confusing to a normal python user. How is it obviously that invoking a function inside a class definition has side effects to that class? Isn't that what meta classes, decorators, and assignment operators are supposed to be in the first place? I know it sounds combative, but what I'm getting at is: I think that in your pursuit of copying another language's syntax, you're avoiding better python solutions. 2010/12/31 Steve Hindle : > Bah - told ya I was half asleep... your not gonna get cls since your > not explicitly passing it... > Hmm - this one's gonna need more coffee :-) > > Steve > > On Fri, Dec 31, 2010 at 2:23 PM, Bill Janssen wrote: >> You're suggesting I do everything with attributes. ?Yes, that's a possibility, >> but it doesn't really answer the question I raised, which is about capturing the >> invocation context for a function call that happens during the definition of a >> class. >> >> Bill >> >> Zachary Collins wrote: >> >>> You're trying to create more complicated symantics than is necessary >>> to solve this problem. >>> >>> How about >>> class Foo (Concept): >>> ? things_i_am = [A, B] >>> >>> ? >>> >>> 2010/12/31 Bill Janssen : >>> > I'm puzzling out how one would ape a declarative language in Python. >>> > For instance, take a language that has declarations like >>> > >>> > ?concept Foo { >>> > ? ?is-a A; >>> > ? ?is-a B; >>> > ? ?part-of X; >>> > >>> > ? ?public int counter; >>> > ? ?public analogue bar; >>> > ?} >>> > >>> > ?expression Bletch { >>> > >>> > ? ?expresses Foo; >>> > >>> > ? ?counter = 3; >>> > ?} >>> > >>> > where "concept", "public", "is-a", "part-of", "int", "analogue", >>> > "expression", and "expresses" are all keywords. >>> > >>> > Since it's largely declarative, I'd naturally express it in Python as a >>> > set of class declarations: >>> > >>> > ?from mylang import is_a, part_of, Concept, Expression, attribute, public, analogue, expresses >>> > >>> > ?class Foo (Concept): >>> > >>> > ? ?is_a(A); >>> > ? ?is_a(B); >>> > ? ?part_of(X); >>> > >>> > ? ?counter = attribute(public, int) >>> > ? ?bar = attribute(public, analogue) >>> > >>> > ?class Bletch (Expression): >>> > >>> > ? ?expresses(Foo) >>> > ? ?counter = 3 >>> > >>> > Now, my question is, how can I capture the invocation context of a >>> > function, so that I can know that "is_a(A)" is being called as part of >>> > the definition of class "Foo"? ?Do functions called during the >>> > evaluation of a class leave their return result somewhere, for instance, >>> > so that I could define a metaclass to do something with that result? >>> > >>> > Right now, I'm using the fragile workaround of >>> > >>> > ?_relationships = [] >>> > ?def _store_relationship (x, rel): >>> > ? ? ?primary = inspect.stack()[2][0].f_code.co_name >>> > ? ? ?_relationships.append((primary, rel, x)) >>> > ?is_a = lambda x: _store_relationship(x, "is-a") >>> > >>> > If I was willing to use Python 3, I could use class decorators instead, >>> > I suppose. ?But I'd like to nest these declarations inside the class >>> > definition if I can. >>> > >>> > Any ideas would be appreciated. >>> > >>> > Bill >>> > _______________________________________________ >>> > Baypiggies mailing list >>> > Baypiggies at python.org >>> > To change your subscription options or unsubscribe: >>> > http://mail.python.org/mailman/listinfo/baypiggies >>> > >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From tim at timhatch.com Sat Jan 1 19:02:51 2011 From: tim at timhatch.com (Tim Hatch) Date: Sat, 01 Jan 2011 10:02:51 -0800 Subject: [Baypiggies] puzzle: binding invocation context for a function call during a class declaration In-Reply-To: <45251.1293826195@parc.com> References: <45251.1293826195@parc.com> Message-ID: <4D1F6C4B.3010200@timhatch.com> > class Bletch (Expression): > > expresses(Foo) > counter = 3 It took me a second to remember where I'd seen that syntax before. It's how Trac handles its component registry -- for example http://trac.edgewall.org/browser/trunk/trac/attachment.py?marks=352-357#L348 The code behind it is at http://trac.edgewall.org/browser/trunk/trac/core.py?marks=86-169#L84 and appears to be using stack introspection as well. Tim From itz at buug.org Sun Jan 2 00:07:22 2011 From: itz at buug.org (Ian Zimmerman) Date: Sat, 01 Jan 2011 15:07:22 -0800 Subject: [Baypiggies] pickle misbehavior In-Reply-To: <20101219233201.GA5042@panix.com> (aahz@pythoncraft.com's message of "Sun, 19 Dec 2010 15:32:01 -0800") References: <20101219233201.GA5042@panix.com> Message-ID: <87vd28ust1.fsf@matica.localdomain> Aahz> Sorry, no time to backtrack to the earlier post, but did you make Aahz> sure that the pickle was *written* in binary mode? According to the root article of the thread, the answer is yes. Vikram, have you ever solved this? -- Ian Zimmerman gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD Ham is for reading, not for eating. From janssen at parc.com Wed Jan 5 00:42:14 2011 From: janssen at parc.com (Bill Janssen) Date: Tue, 4 Jan 2011 15:42:14 PST Subject: [Baypiggies] puzzle: binding invocation context for a function call during a class declaration In-Reply-To: <4D1F6C4B.3010200@timhatch.com> References: <45251.1293826195@parc.com> <4D1F6C4B.3010200@timhatch.com> Message-ID: <58479.1294184534@parc.com> Tim Hatch wrote: > > class Bletch (Expression): > > > > expresses(Foo) > > counter = 3 > > It took me a second to remember where I'd seen that syntax before. It's > how Trac handles its component registry -- for example > http://trac.edgewall.org/browser/trunk/trac/attachment.py?marks=352-357#L348 > > The code behind it is at > http://trac.edgewall.org/browser/trunk/trac/core.py?marks=86-169#L84 and > appears to be using stack introspection as well. Ah, another use case. Thanks, Tim. Bill From janssen at parc.com Wed Jan 5 00:48:39 2011 From: janssen at parc.com (Bill Janssen) Date: Tue, 4 Jan 2011 15:48:39 PST Subject: [Baypiggies] puzzle: binding invocation context for a function call during a class declaration In-Reply-To: References: <45251.1293826195@parc.com> <47097.1293830604@parc.com> Message-ID: <58495.1294184919@parc.com> Zachary Collins wrote: > In general I think it is not possible without some other explitic > mechanism to determine the class calling context, because it doesn't > fit nicely into the overall system and doesn't have many valid uses. > Besides, you're asking Python to hand you a reference to a class > before it is made, even when it /might not be made/. This is one of these load/compile/eval questions, I guess. Just during the definition of the class, *something* has to be made. There must be a new local context that's created by the "class" statement, into which new variable assignments are put. Now, what eventually happens to those is determined by a larger context, indeed. But what I think I'd like to have is a better way of adding information to the set of stuff the metaclass has when it decides what to do with __new__(). A way to scribble on the class declaration context in a structured way. > Remember that > because of meta classes and decorators and execution order, you can > perfectly execute an entire class and not end up instantiating any > class at all! Better to solve the problem also in a way that is not > syntatically confusing to a normal python user. How is it obviously > that invoking a function inside a class definition has side effects to > that class? Isn't that what meta classes, decorators, and assignment > operators are supposed to be in the first place? > > I know it sounds combative, but what I'm getting at is: I think that > in your pursuit of copying another language's syntax, you're avoiding > better python solutions. Sure, I hear you. But while that's a fine way to go, I'm interested in seeing what parts of Python could be beefed up in order to better use it as a foundation for declarative languages. Bill From eric at ericwalstad.com Wed Jan 5 06:56:52 2011 From: eric at ericwalstad.com (Eric Walstad) Date: Tue, 4 Jan 2011 21:56:52 -0800 Subject: [Baypiggies] Currency to Words or how to print checks... Message-ID: Hi All, I'm blowing the dust off this ancient New Years resolution of mine: * Add the ability to print checks to my accounting software I'm using ReportLab to generate a pdf file and I have everything working except the 'word form' of the check amount. I found some examples on SO[0] but it's clear I'd need to tweak that to work. I found pynum2word on SF[1] which looks promising with nice looking code except that it seems to have an issue with floating point: In [11]: n2w.to_cardinal(1234.56) Out[11]: 'one thousand, two hundred and thirty-four point five five' For my app, I want the output to be: 'one thousand, two hundred thirty-four and 56/100' I can edit pynum2word to make it do what I want but I figured I'd ask if any of you know of other/better approaches. Thanks in advance, Eric. [0] http://stackoverflow.com/questions/309884/code-golf-number-to-words [1] http://sf.net/projects/pynum2word/ From pivanov314 at gmail.com Wed Jan 5 07:48:36 2011 From: pivanov314 at gmail.com (Paul Ivanov) Date: Tue, 4 Jan 2011 22:48:36 -0800 Subject: [Baypiggies] Currency to Words or how to print checks... In-Reply-To: References: Message-ID: <20110105064836.GE9966@ykcyc> Eric Walstad, on 2011-01-04 21:56, wrote: > I found pynum2word on SF[1] which looks promising with nice > looking code except that it seems to have an issue with > floating point: > > In [11]: n2w.to_cardinal(1234.56) > Out[11]: 'one thousand, two hundred and thirty-four point five five' Yeah, that's coming from floating point representation. In [9]: 1234.56 Out[13]: 1234.5599999999999 but you can easily amend the n2w string to fix this for you: In [11]: def correct_cents(num,s): ....: s = s[:s.index("point")] ....: s += "and %d/100" % int(num*100%100) ....: return s ....: In [12]: correct_cents(1234.56,'one thousand, two hundred and thirty-four point five five') Out[12]: 'one thousand, two hundred and thirty-four and 56/100' Here's my 56 character code-golf version of the above: In [12]: c=lambda n,s:s[:s.find("p")]+"and %d/100"%int(n*100%100) In [13]: c(1234.56,'one thousand, two hundred and thirty-four point five five') Out[13]: 'one thousand, two hundred and thirty-four and 56/100' best, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From ken at seehart.com Wed Jan 5 10:41:26 2011 From: ken at seehart.com (Ken Seehart) Date: Wed, 05 Jan 2011 01:41:26 -0800 Subject: [Baypiggies] Calling presenters for 2011 In-Reply-To: References: Message-ID: <4D243CC6.9080602@seehart.com> On 12/22/2010 9:52 PM, Tony Cappellini wrote: > Since someone kicked off a thread regarding unit test frameworks and > since there were so many replies, > who wants to pony up to do a presentation in early 2011? > > I think we have someone for January- so Feb-Dec is wide open. > Do I have any takers ???? > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > I'm doing a poster at PYCON. I'm not available on the Jan 27 baypiggies, but if Feb 24 is open, I can give a preview then. Otherwise perhaps a postview.... GPU computing and the Next Generation Air Transportation System At this poster you will learn about a set of open source tools for GPU computing using python based on ctypes. These tools provide lots of glue, combining elements of python <=> pyglet <=> CUDA <=> C# <=> Django. You will see how we use these tools in our Next Generation Air Transportation work. *Type*: Poster NextGen AeroSciences, LLC NextGen AeroSciences, LLC, is working with colleagues at NASA, NIA, and other US Government and related organizations in support of national efforts to transform the US air transportation system. The Company builds on its founders' contributions in applied research in complexity and network sciences, computationally efficient combinatorial mathematics, and in air transportation system strategies, technologies, and innovation management. The founders bring a heritage from the Santa Fe Institute, NASA, Los Alamos National Laboratory, Bios Group, and DayJet Corporation. job control panel 200 aircraft The following tools (and possibly others) will be described: * ct_cuda provides a ctypes interface to CUDA. This approach offers a lightweight alternative to pycuda. ct_cuda does not require a build; a relief for those who consider ctypes a preferable alternative to python extension wrapper libraries. Another difference is that kernels are built in the standard CUDA-C manner and exposed to python as kernel libraries via ctypes. * boaracuda consists of glue to make CUDA accessible to a pyglet app. Among other benefits, this allows a CUDA kernel to operate on pyglet based vertex lists. This approach enables fast-time animation tens of thousands of sprites in pyglet with trajectories calculated in a CUDA kernel. (Etymology hint: boar=pyglet) * ct_sharp makes a python shell available to C#, suitable for launching a pyglet control thread. * cuda_sharp makes CUDA available to C# and provides interoperability between C# and python (e.g. passing CUDA buffers between C# and python) * A system for launching remote CUDA jobs from a Django application will also be described. The implementation of this software architecture provides the means for understanding, designing, and ultimately operating complex adaptive systems such as in air transportation. *Audience level*: Experienced *Submitting speaker*: Ken Seehart -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: job_panel_screen_small.jpg Type: image/jpeg Size: 32095 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: aerodisplay_screen_small.png Type: image/png Size: 141952 bytes Desc: not available URL: From janssen at parc.com Wed Jan 5 18:41:50 2011 From: janssen at parc.com (Bill Janssen) Date: Wed, 5 Jan 2011 09:41:50 PST Subject: [Baypiggies] puzzle: binding invocation context for a function call during a class declaration In-Reply-To: <45251.1293826195@parc.com> References: <45251.1293826195@parc.com> Message-ID: <85715.1294249310@parc.com> Bill Janssen wrote: > I'm puzzling out how one would ape a declarative language in Python. > For instance, take a language that has declarations like > > concept Foo { > is-a A; > is-a B; > part-of X; > > public int counter; > public analogue bar; > } > > expression Bletch { > > expresses Foo; > > counter = 3; > } > > where "concept", "public", "is-a", "part-of", "int", "analogue", > "expression", and "expresses" are all keywords. > > Since it's largely declarative, I'd naturally express it in Python as a > set of class declarations: > > from mylang import is_a, part_of, Concept, Expression, attribute, public, analogue, expresses > > class Foo (Concept): > > is_a(A); > is_a(B); > part_of(X); > > counter = attribute(public, int) > bar = attribute(public, analogue) > > class Bletch (Expression): > > expresses(Foo) > counter = 3 I think I've figured out what I need here. First of all, I'm not going to execute this "code", so I don't need things to work at execution time. What I need is the compiler, and the resulting AST. If you look at the AST for the following: class Foo (Bar): is_a(Bletch) you get this: Module(None, Stmt([Class('Foo', [Name('Bar')], None, Stmt([Discard(CallFunc(Name('is_a'), [Name('Bletch')], None, None))]) )] )) So the interpreter for "mylang" could just run the compiler, and interpret the AST here, and it would have the info I want to pass. Thanks for the discussion! Bill From tony at tcapp.com Wed Jan 5 19:16:06 2011 From: tony at tcapp.com (Tony Cappellini) Date: Wed, 5 Jan 2011 10:16:06 -0800 Subject: [Baypiggies] Fwd: O'Reilly Strata Conference Discount Message-ID: For those going to the Strata Conference February 1-3, 2011 in Santa Clara, O'Reilly has passed on a %30 discount on the registration price. Use the link below. Coming up February 1-3, 2011 in Santa Clara, CA, O'Reilly is hosting the Strata Conference. We'd like to offer your user group one free conferences only pass to raffle off or give away as you wish. Here's the discount information to share in an email with your group members: The O'Reilly Strata Conference is happening February 1-3, 2011 in Santa Clara, CA. User Group members get 30% off the registration price with code "str11usrg". Register here: http://strataconf.com/strata2011 http://ug.oreilly.com/ Clever Hacks. Creative Ideas. Innovative Solutions. http://answers.oreilly.com/ follow us on twitter at http://www.twitter.com/oreillyug -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Wed Jan 5 20:22:28 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Wed, 5 Jan 2011 11:22:28 -0800 Subject: [Baypiggies] Free conference-only pass from O'Reilly for the O'Reilly Strata Conference Message-ID: O'Reilly is graciously giving one lucky member of Baypiggies a free conference-only pass to O'Reilly Strata Conference is happening February 1-3, 2011 in Santa Clara, CA. We will be holding a raffle at the Baypiggies meeting on January 27, 2011 for the pass. You must be present to win. If you have a business card please bring one to the meeting. If you don't have a business card, please bring a small piece of paper with your name and email address >>> typed <<< on the paper. I will forward the winner's contact information to O'Reilly and that person will be contacted regarding the pass. A BIG Baypiggies THANK YOU and Happy New Year to O'Reilly for providing us with discounts, passes, review books and all the other goodies we have received over the years! -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Wed Jan 5 22:25:22 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Wed, 5 Jan 2011 13:25:22 -0800 Subject: [Baypiggies] Looking for a Newbie Nugget for the January Meeting Message-ID: Who wants to be the first nugeteer for the New Year? Please post your ideas to the list. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From venkat83 at gmail.com Thu Jan 6 05:13:39 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Thu, 6 Jan 2011 09:43:39 +0530 Subject: [Baypiggies] Suggested Reading: Machine learning and Python Message-ID: Hi, I have gone through Collective Intelligence and Python text Processing with NLTK, and was wondering whether there is any suggested reading to get into deeper depths in statistical machine learning - something which gives a 'basic' introduction to mixture models , EM etc. -Venkat http://blizzardzblogs.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From vtuite at yahoo.com Thu Jan 6 05:36:27 2011 From: vtuite at yahoo.com (Vicky Tuite) Date: Wed, 5 Jan 2011 20:36:27 -0800 (PST) Subject: [Baypiggies] Topic for Newbie Nuggets Message-ID: <383468.68242.qm@web39701.mail.mud.yahoo.com> I watched a talk on blip tv by a guy from the Atlanta Python group (not a pycon video) He talked about zip() and default dicts (and some other stuff) Since I hadn't even heard of these before, I think one or both would be good topics. -------------- next part -------------- An HTML attachment was scrubbed... URL: From venkat83 at gmail.com Thu Jan 6 05:46:36 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Thu, 6 Jan 2011 10:16:36 +0530 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: References: Message-ID: On Thu, Jan 6, 2011 at 9:43 AM, Venkatraman S wrote: > > I have gone through Collective Intelligence and Python text Processing with > NLTK, and was wondering whether there is any suggested reading to get into > deeper depths in statistical machine learning - something which gives a > 'basic' introduction to mixture models , EM etc. > Let me expatiate a little more before you point me to the Measuring Measure link or Andy Ng classes : I have seen them and have attended the first 3 lectures of Andy. I also went through courses taught at MIT(via OCW) and Jordan's classes(UCB) - but most of these stuff are heavy theoretical - not that I am against theory, but i want some hands-on to understand how theory is implemented. For eg. PythonTextProcessingUsingNLTK does a great job in understanding various aspects of text processing by playing with text parallely. Is there something similar to understand kernel methods or mixture models? To give you one more idea, i asked this question in stackoverflow.Working(handson) on data while understanding/learning them is a great way to learn :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From venkat83 at gmail.com Thu Jan 6 05:53:44 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Thu, 6 Jan 2011 10:23:44 +0530 Subject: [Baypiggies] Topic for Newbie Nuggets In-Reply-To: <383468.68242.qm@web39701.mail.mud.yahoo.com> References: <383468.68242.qm@web39701.mail.mud.yahoo.com> Message-ID: On Thu, Jan 6, 2011 at 10:06 AM, Vicky Tuite wrote: > He talked about zip() and default dicts (and some other stuff) > Iterools is cool. I spent some timewith it recently. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexandre.conrad at gmail.com Thu Jan 6 06:25:09 2011 From: alexandre.conrad at gmail.com (Alexandre Conrad) Date: Wed, 5 Jan 2011 21:25:09 -0800 Subject: [Baypiggies] Topic for Newbie Nuggets In-Reply-To: <383468.68242.qm@web39701.mail.mud.yahoo.com> References: <383468.68242.qm@web39701.mail.mud.yahoo.com> Message-ID: 2011/1/5 Vicky Tuite : > I watched a talk on blip tv by a guy from the Atlanta Python group (not a > pycon video) > He talked about zip() and default dicts? (and some other stuff) Glen gave a defaultdict Newbie Nugget talk last August. -- Alex | twitter.com/alexconrad From wescpy at gmail.com Thu Jan 6 06:30:28 2011 From: wescpy at gmail.com (wesley chun) Date: Wed, 5 Jan 2011 21:30:28 -0800 Subject: [Baypiggies] Calling presenters for 2011 In-Reply-To: <4D243CC6.9080602@seehart.com> References: <4D243CC6.9080602@seehart.com> Message-ID: as usual, i'm available for "emergency" talks, as when a speaker doesn't show up or cancels at the last-minute. i currently have canned talks on the following topics, some of which i've already delivered to BayPIGgies in the past decade: - Python 2 vs. Python 3 - Network Programming using Sockets - Google App Engine (lecture) - Google App Engine (workshop) - doctest - What is Python? (for all-newbie nights which we used to have) - Experiences developing medical software with Python - Writing books using Python and open source - panel: so you want to write a Python book? - Introduction to programming (complete newbies) - for adults - Introduction to programming (complete newbies) - for 2ndary school - Programming Microsoft Office using Python - Intro to Django - Python's Memory Model - Comprehensions & stuff (listcomps, genexps, setcomps, dictcomps, etc.) - GUI programming with Tkinter you pick, and i talk. :-) cheers, -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python Programming", Prentice Hall, (c)2007,2001 "Python Fundamentals", Prentice Hall, (c)2009 http://corepython.com wesley.j.chun :: wescpy-at-gmail.com python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wescpy at gmail.com Thu Jan 6 07:02:20 2011 From: wescpy at gmail.com (wesley chun) Date: Wed, 5 Jan 2011 22:02:20 -0800 Subject: [Baypiggies] Tutorials at PyCon 2011 in Atlanta Message-ID: this year's PyCon features another compelling list of accepted tutorials, suitable for all levels of Python skill & experience. tutorials are a great tradition at PyCon and come at a great bargain. the fees are separate from the conference itself so you can attend just the tutorials if you wish... of course we recommend you take in all that PyCon has to offer, but in case that's not an option for you, the tutorials are more than worth it. list of accepted tutorials: http://us.pycon.org/2011/blog/2011/01/05/tutorials-announced-pycon-2011/ more comprehensive descriptions: http://us.pycon.org/2011/schedule/lists/tutorials/ pricing: http://us.pycon.org/2011/tickets/ cheers, -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python Programming", Prentice Hall, (c)2007,2001 "Python Fundamentals", Prentice Hall, (c)2009 http://corepython.com wesley.j.chun :: wescpy-at-gmail.com python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pivanov314 at gmail.com Thu Jan 6 07:52:52 2011 From: pivanov314 at gmail.com (Paul Ivanov) Date: Wed, 5 Jan 2011 22:52:52 -0800 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: References: Message-ID: <20110106065252.GH13518@ykcyc> Venkatraman S, on 2011-01-06 10:16, wrote: > On Thu, Jan 6, 2011 at 9:43 AM, Venkatraman S wrote: > > > > > I have gone through Collective Intelligence and Python text Processing with > > NLTK, and was wondering whether there is any suggested reading to get into > > deeper depths in statistical machine learning - something which gives a > > 'basic' introduction to mixture models , EM etc. > > > > Let me expatiate a little more before you point me to the Measuring Measure > link or Andy Ng classes : I have seen them and have attended the first 3 > lectures of Andy. I also went through courses taught at MIT(via OCW) and > Jordan's classes(UCB) - but most of these stuff are heavy theoretical - not > that I am against theory, but i want some hands-on to understand how theory > is implemented. > For eg. PythonTextProcessingUsingNLTK does a great job in understanding > various aspects of text processing by playing with text parallely. Is there > something similar to understand kernel methods or mixture models? > To give you one more idea, i asked this question in > stackoverflow.Working(handson) > on data while understanding/learning them is a great way to learn :) I was the TA for Vision Science 265 - Bruno Olshausen's Neural Computation course[1] this past semester at UCB: This course provides an introduction to the theory of neural computation. The goal is to familiarize students with the major theoretical frameworks and models used in neuroscience and psychology, and to provide hands-on experience in using these models. Topics include neural network models, supervised and unsupervised learning rules, associative memory models, probabilistic/graphical models, sensorimotor loops, and models of neural coding in the brain. It was the first year we allowed the students to do the "lab" assignments in Python, and I wrote up the templates for most of them. The assignments involve little toy data sets and boiler plate code to get you going - most students find them pretty engaging (I know I did when I took the course 4 years ago). Videos for all of the lectures are up on Archive.org and linnked from [1]. Check the syllabus for the topics covered. Also, although I have not read it - there's Stephen Marsland's _Machine Learning: An Algorithmic Perspective_ [2], which comes with a lot of python code, as well. 1. http://redwood.berkeley.edu/wiki/Vs265 2. http://www-ist.massey.ac.nz/smarsland/MLbook.html best, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From tony at tcapp.com Thu Jan 6 08:00:41 2011 From: tony at tcapp.com (Tony Cappellini) Date: Wed, 5 Jan 2011 23:00:41 -0800 Subject: [Baypiggies] Calling presenters for 2011 In-Reply-To: <4D243CC6.9080602@seehart.com> References: <4D243CC6.9080602@seehart.com> Message-ID: +1, but I think this would have to be a full presentation, not a nugget. On Wed, Jan 5, 2011 at 1:41 AM, Ken Seehart wrote: > On 12/22/2010 9:52 PM, Tony Cappellini wrote: > > Since someone kicked off a thread regarding unit test frameworks and > since there were so many replies, > who wants to pony up to do a presentation in early 2011? > > I think we have someone for January- so Feb-Dec is wide open. > Do I have any takers ???? > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe:http://mail.python.org/mailman/listinfo/baypiggies > > > I'm doing a poster at PYCON. I'm not available on the Jan 27 baypiggies, > but if Feb 24 is open, I can give a preview then. Otherwise perhaps a > postview.... > > GPU computing and the Next Generation Air Transportation System > At this poster you will learn about a set of open source tools for GPU > computing using python based on ctypes. These tools provide lots of glue, > combining elements of python <=> pyglet <=> CUDA <=> C# <=> Django. You will > see how we use these tools in our Next Generation Air Transportation work. > > *Type*: Poster > > NextGen AeroSciences, LLC NextGen AeroSciences, > LLC, is working with colleagues at NASA, NIA, and other US Government and > related organizations in support of national efforts to transform the US air > transportation system. The Company builds on its founders' contributions in > applied research in complexity and network sciences, computationally > efficient combinatorial mathematics, and in air transportation system > strategies, technologies, and innovation management. The founders bring a > heritage from the Santa Fe Institute, NASA, Los Alamos National Laboratory, > Bios Group, and DayJet Corporation. > > [image: job control panel] [image: > 200 aircraft] > The following tools (and possibly others) will be described: > > - ct_cuda provides a ctypes interface to CUDA. This approach offers a > lightweight alternative to pycuda. ct_cuda does not require a build; a > relief for those who consider ctypes a preferable alternative to python > extension wrapper libraries. Another difference is that kernels are built in > the standard CUDA-C manner and exposed to python as kernel libraries via > ctypes. > > > - boaracuda consists of glue to make CUDA accessible to a pyglet app. > Among other benefits, this allows a CUDA kernel to operate on pyglet based > vertex lists. This approach enables fast-time animation tens of thousands of > sprites in pyglet with trajectories calculated in a CUDA kernel. (Etymology > hint: boar=pyglet) > > > - ct_sharp makes a python shell available to C#, suitable for launching > a pyglet control thread. > > > - cuda_sharp makes CUDA available to C# and provides interoperability > between C# and python (e.g. passing CUDA buffers between C# and python) > > > - A system for launching remote CUDA jobs from a Django application > will also be described. > > The implementation of this software architecture provides the means for > understanding, designing, and ultimately operating complex adaptive systems > such as in air transportation. > > *Audience level*: Experienced > > *Submitting speaker*: Ken Seehart > > > > > _______________________________________________ > 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 tony at tcapp.com Thu Jan 6 08:01:24 2011 From: tony at tcapp.com (Tony Cappellini) Date: Wed, 5 Jan 2011 23:01:24 -0800 Subject: [Baypiggies] Calling presenters for 2011 In-Reply-To: <4D243CC6.9080602@seehart.com> References: <4D243CC6.9080602@seehart.com> Message-ID: February is already taken though.. Let us know if you are available for another month, Thanks On Wed, Jan 5, 2011 at 1:41 AM, Ken Seehart wrote: > On 12/22/2010 9:52 PM, Tony Cappellini wrote: > > Since someone kicked off a thread regarding unit test frameworks and > since there were so many replies, > who wants to pony up to do a presentation in early 2011? > > I think we have someone for January- so Feb-Dec is wide open. > Do I have any takers ???? > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe:http://mail.python.org/mailman/listinfo/baypiggies > > > I'm doing a poster at PYCON. I'm not available on the Jan 27 baypiggies, > but if Feb 24 is open, I can give a preview then. Otherwise perhaps a > postview.... > > GPU computing and the Next Generation Air Transportation System > At this poster you will learn about a set of open source tools for GPU > computing using python based on ctypes. These tools provide lots of glue, > combining elements of python <=> pyglet <=> CUDA <=> C# <=> Django. You will > see how we use these tools in our Next Generation Air Transportation work. > > *Type*: Poster > > NextGen AeroSciences, LLC NextGen AeroSciences, > LLC, is working with colleagues at NASA, NIA, and other US Government and > related organizations in support of national efforts to transform the US air > transportation system. The Company builds on its founders' contributions in > applied research in complexity and network sciences, computationally > efficient combinatorial mathematics, and in air transportation system > strategies, technologies, and innovation management. The founders bring a > heritage from the Santa Fe Institute, NASA, Los Alamos National Laboratory, > Bios Group, and DayJet Corporation. > > [image: job control panel] [image: > 200 aircraft] > The following tools (and possibly others) will be described: > > - ct_cuda provides a ctypes interface to CUDA. This approach offers a > lightweight alternative to pycuda. ct_cuda does not require a build; a > relief for those who consider ctypes a preferable alternative to python > extension wrapper libraries. Another difference is that kernels are built in > the standard CUDA-C manner and exposed to python as kernel libraries via > ctypes. > > > - boaracuda consists of glue to make CUDA accessible to a pyglet app. > Among other benefits, this allows a CUDA kernel to operate on pyglet based > vertex lists. This approach enables fast-time animation tens of thousands of > sprites in pyglet with trajectories calculated in a CUDA kernel. (Etymology > hint: boar=pyglet) > > > - ct_sharp makes a python shell available to C#, suitable for launching > a pyglet control thread. > > > - cuda_sharp makes CUDA available to C# and provides interoperability > between C# and python (e.g. passing CUDA buffers between C# and python) > > > - A system for launching remote CUDA jobs from a Django application > will also be described. > > The implementation of this software architecture provides the means for > understanding, designing, and ultimately operating complex adaptive systems > such as in air transportation. > > *Audience level*: Experienced > > *Submitting speaker*: Ken Seehart > > > > > _______________________________________________ > 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 xdevice at gmail.com Thu Jan 6 20:46:21 2011 From: xdevice at gmail.com (Rana Biswas) Date: Thu, 6 Jan 2011 11:46:21 -0800 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: <20110106065252.GH13518@ykcyc> References: <20110106065252.GH13518@ykcyc> Message-ID: I would suggest following books: Pattern Recognition and Machine Learning The Elements of Statistical Learning Introduction to Data Mining Good Luck. --Rana On Wed, Jan 5, 2011 at 10:52 PM, Paul Ivanov wrote: > Venkatraman S, on 2011-01-06 10:16, wrote: > > On Thu, Jan 6, 2011 at 9:43 AM, Venkatraman S > wrote: > > > > > > > > I have gone through Collective Intelligence and Python text Processing > with > > > NLTK, and was wondering whether there is any suggested reading to get > into > > > deeper depths in statistical machine learning - something which gives a > > > 'basic' introduction to mixture models , EM etc. > > > > > > > Let me expatiate a little more before you point me to the Measuring > Measure > > link or Andy Ng classes : I have seen them and have attended the first 3 > > lectures of Andy. I also went through courses taught at MIT(via OCW) and > > Jordan's classes(UCB) - but most of these stuff are heavy theoretical - > not > > that I am against theory, but i want some hands-on to understand how > theory > > is implemented. > > For eg. PythonTextProcessingUsingNLTK does a great job in understanding > > various aspects of text processing by playing with text parallely. Is > there > > something similar to understand kernel methods or mixture models? > > To give you one more idea, i asked this question in > > stackoverflow< > http://stats.stackexchange.com/questions/5960/how-to-identify-a-bimodal-distribution > >.Working(handson) > > on data while understanding/learning them is a great way to learn :) > > I was the TA for Vision Science 265 - Bruno Olshausen's Neural > Computation course[1] this past semester at UCB: > > This course provides an introduction to the theory of neural > computation. The goal is to familiarize students with the > major theoretical frameworks and models used in neuroscience > and psychology, and to provide hands-on experience in using > these models. Topics include neural network models, > supervised and unsupervised learning rules, associative > memory models, probabilistic/graphical models, sensorimotor > loops, and models of neural coding in the brain. > > It was the first year we allowed the students to do the "lab" > assignments in Python, and I wrote up the templates for most of > them. The assignments involve little toy data sets and boiler > plate code to get you going - most students find them pretty > engaging (I know I did when I took the course 4 years ago). > Videos for all of the lectures are up on Archive.org and linnked > from [1]. Check the syllabus for the topics covered. > > Also, although I have not read it - there's Stephen Marsland's > _Machine Learning: An Algorithmic Perspective_ [2], which comes > with a lot of python code, as well. > > 1. http://redwood.berkeley.edu/wiki/Vs265 > 2. http://www-ist.massey.ac.nz/smarsland/MLbook.html > > best, > -- > Paul Ivanov > 314 address only used for lists, off-list direct email at: > http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iEYEARECAAYFAk0lZr4ACgkQe?????????????? > J9YAoJCTYmBYlK7moG0TGElfDb7SuKbJ > =GAzp > -----END PGP SIGNATURE----- > > _______________________________________________ > 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 chris.leemesser at gmail.com Thu Jan 6 22:54:27 2011 From: chris.leemesser at gmail.com (Christopher Lee-Messer) Date: Thu, 6 Jan 2011 13:54:27 -0800 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: References: <20110106065252.GH13518@ykcyc> Message-ID: The nice thing about The Elements of Statistical Learning is that it is free to download from the publisher. However, it is not a pure hands-on/workbook style book. I think there are code samples in R and test data sets for it. -chris On Thu, Jan 6, 2011 at 11:46 AM, Rana Biswas wrote: > I would suggest following books: > Pattern Recognition and Machine Learning > The Elements of Statistical Learning > Introduction to Data Mining > > Good Luck. > --Rana > > > > On Wed, Jan 5, 2011 at 10:52 PM, Paul Ivanov wrote: >> >> Venkatraman S, on 2011-01-06 10:16, ?wrote: >> > On Thu, Jan 6, 2011 at 9:43 AM, Venkatraman S >> > wrote: >> > >> > > >> > > I have gone through Collective Intelligence and Python text Processing >> > > with >> > > NLTK, and was wondering whether there is any suggested reading to get >> > > into >> > > deeper depths in statistical machine learning - something which gives >> > > a >> > > 'basic' introduction to mixture models , EM etc. >> > > >> > >> > Let me expatiate a little more before you point me to the Measuring >> > Measure >> > link or Andy Ng classes : I have seen them and have attended the first 3 >> > lectures of Andy. I also went through courses taught at MIT(via OCW) and >> > Jordan's classes(UCB) - but most of these stuff are heavy theoretical - >> > not >> > that I am against theory, but i want some hands-on to understand how >> > theory >> > is implemented. >> > For eg. PythonTextProcessingUsingNLTK does a great job in understanding >> > various aspects of text processing by playing with text parallely. Is >> > there >> > something similar to understand kernel methods or mixture models? >> > To give you one more idea, i asked this question in >> > >> > stackoverflow.Working(handson) >> > on data while understanding/learning them is a great way to learn :) >> >> I was the TA for Vision Science 265 - Bruno Olshausen's Neural >> Computation course[1] this past semester at UCB: >> >> ? ?This course provides an introduction to the theory of neural >> ? ?computation. The goal is to familiarize students with the >> ? ?major theoretical frameworks and models used in neuroscience >> ? ?and psychology, and to provide hands-on experience in using >> ? ?these models. Topics include neural network models, >> ? ?supervised and unsupervised learning rules, associative >> ? ?memory models, probabilistic/graphical models, sensorimotor >> ? ?loops, and models of neural coding in the brain. >> >> It was the first year we allowed the students to do the "lab" >> assignments in Python, and I wrote up the templates for most of >> them. The assignments involve little toy data sets and boiler >> plate code to get you going - most students find them pretty >> engaging (I know I did when I took the course 4 years ago). >> Videos for all of the lectures are up on Archive.org and linnked >> from [1]. Check the syllabus for the topics covered. >> >> Also, although I have not read it - there's Stephen Marsland's >> _Machine Learning: An Algorithmic Perspective_ [2], which comes >> with a lot of python code, as well. >> >> 1. http://redwood.berkeley.edu/wiki/Vs265 >> 2. http://www-ist.massey.ac.nz/smarsland/MLbook.html >> >> best, >> -- >> Paul Ivanov >> 314 address only used for lists, ?off-list direct email at: >> http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.10 (GNU/Linux) >> >> iEYEARECAAYFAk0lZr4ACgkQe?????????????? >> J9YAoJCTYmBYlK7moG0TGElfDb7SuKbJ >> =GAzp >> -----END PGP SIGNATURE----- >> >> _______________________________________________ >> 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 > -- Christopher Lee-Messer MD PhD Instructor in Pediatric Neurology Postdoctoral Fellow - Deisseroth Lab Stanford Medical Center chris (at) lee-messer.net From wescpy at gmail.com Thu Jan 6 23:57:24 2011 From: wescpy at gmail.com (wesley chun) Date: Thu, 6 Jan 2011 14:57:24 -0800 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: References: <20110106065252.GH13518@ykcyc> Message-ID: not to hijack the topic or do any upselling, but Google has a Prediction API which leverages multiple ML algorithms and makes them available to the public for use in general apps: http://code.google.com/apis/predict/ this is if you're interested in leveraging *existing* ML algorithms and not studying them or coming up with one of your own. there is also more feedback/info here: http://googlecode.blogspot.com/2010/05/bigquery-and-prediction-api-get-more.html http://www.thedatascientist.com/2010/05/22/how-i-would-use-the-google-prediction-api/ http://chariotsolutions.blogspot.com/2010/08/machine-learning-google-prediction-api.html finally, examples for Python (and Java) can be found here: http://code.google.com/apis/predict/docs/samples.html cheers, -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python Programming", Prentice Hall, (c)2007,2001 "Python Fundamentals", Prentice Hall, (c)2009 http://corepython.com wesley.j.chun :: wescpy-at-gmail.com python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From reginaldconley at sbcglobal.net Fri Jan 7 04:58:38 2011 From: reginaldconley at sbcglobal.net (Reginald Conley) Date: Thu, 6 Jan 2011 19:58:38 -0800 (PST) Subject: [Baypiggies] email interface module Message-ID: <782140.62236.qm@web81506.mail.mud.yahoo.com> Hello, ????????? can anyone tell me if there are available Python modules that can manipulate an email?? Ideally I'm looking for a module that if I asigned a dedicated email address for it, could recieve an email, open the files and do a word search for specific fields extraction.?Is that reasonably possible? ????????? Any suggestions are greatly appreciated. I hear Python is very flexible, but I've got much more of a hardware background than software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Fri Jan 7 05:12:34 2011 From: aahz at pythoncraft.com (Aahz) Date: Thu, 6 Jan 2011 20:12:34 -0800 Subject: [Baypiggies] email interface module In-Reply-To: <782140.62236.qm@web81506.mail.mud.yahoo.com> References: <782140.62236.qm@web81506.mail.mud.yahoo.com> Message-ID: <20110107041233.GA5495@panix.com> On Thu, Jan 06, 2011, Reginald Conley wrote: > > Hello, > ????????? can anyone tell me if there are available Python modules that can > manipulate an email?? Ideally I'm looking for a module that if I asigned a > dedicated email address for it, could recieve an email, open the files and do a > word search for specific fields extraction.?Is that reasonably possible? > ????????? Any suggestions are greatly appreciated. I hear Python is very > flexible, but I've got much more of a hardware background than software. Maybe you want the email package and the mailbox module. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Think of it as evolution in action." --Tony Rand From venkat83 at gmail.com Fri Jan 7 05:21:22 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Fri, 7 Jan 2011 09:51:22 +0530 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: <20110106065252.GH13518@ykcyc> References: <20110106065252.GH13518@ykcyc> Message-ID: Thanks guys for the suggestions. I find Stephen Marsland's _Machine Learning: An Algorithmic Perspective_ to be *really* appealing. The Google Book preview looks neat. But the book is EXPENSIVE! I do not understand why textbooks are so darn costly! On a lighter note, i searched this book in the web, but i found voidness everywhere. Am not sure whether the publishers would be game for a review copy. -V -------------- next part -------------- An HTML attachment was scrubbed... URL: From venkat83 at gmail.com Fri Jan 7 05:25:32 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Fri, 7 Jan 2011 09:55:32 +0530 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: References: <20110106065252.GH13518@ykcyc> Message-ID: And also i liked "A Concise Course in Statistical Inference" by Larry Wasserman to be one of the best books for introductory and slightly advanced Statistics. The book simply *flows* (though does not have the associated code, but readability is very good). On Fri, Jan 7, 2011 at 9:51 AM, Venkatraman S wrote: > Thanks guys for the suggestions. I find Stephen Marsland's > _Machine Learning: An Algorithmic Perspective_ to be *really* appealing. > > The Google Book preview looks neat. But the book is EXPENSIVE! I do not > understand why textbooks are so darn costly! > > On a lighter note, i searched this book in the web, but i found voidness > everywhere. > Am not sure whether the publishers would be game for a review copy. > > -V > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken at seehart.com Fri Jan 7 06:30:16 2011 From: ken at seehart.com (Ken Seehart) Date: Thu, 06 Jan 2011 21:30:16 -0800 Subject: [Baypiggies] Calling presenters for 2011 In-Reply-To: References: <4D243CC6.9080602@seehart.com> Message-ID: <4D26A4E8.3010505@seehart.com> On 1/5/2011 11:00 PM, Tony Cappellini wrote: > +1, but I think this would have to be a full presentation, not a nugget. Agreed. On 1/5/2011 11:01 PM, Tony Cappellini wrote: > February is already taken though.. > Let us know if you are available for another month, > > Thanks > March, April, May look okay for me. I'm guessing that a PYCON review would be more relevant for March, so perhaps I can do April or May.... > On Wed, Jan 5, 2011 at 1:41 AM, Ken Seehart > wrote: > > On 12/22/2010 9:52 PM, Tony Cappellini wrote: >> Since someone kicked off a thread regarding unit test frameworks and >> since there were so many replies, >> who wants to pony up to do a presentation in early 2011? >> >> I think we have someone for January- so Feb-Dec is wide open. >> Do I have any takers ???? >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org To change >> your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > I'm doing a poster at PYCON. I'm not available on the Jan 27 > baypiggies, but if Feb 24 is open, I can give a preview then. > Otherwise perhaps a postview.... > > > GPU computing and the Next Generation Air Transportation System > > At this poster you will learn about a set of open source tools for > GPU computing using python based on ctypes. These tools provide > lots of glue, combining elements of python <=> pyglet <=> CUDA <=> > C# <=> Django. You will see how we use these tools in our Next > Generation Air Transportation work. > > *Type*: Poster > > NextGen AeroSciences, LLC NextGen > AeroSciences, LLC, is working with colleagues at NASA, NIA, and > other US Government and related organizations in support of > national efforts to transform the US air transportation system. > The Company builds on its founders' contributions in applied > research in complexity and network sciences, computationally > efficient combinatorial mathematics, and in air transportation > system strategies, technologies, and innovation management. The > founders bring a heritage from the Santa Fe Institute, NASA, Los > Alamos National Laboratory, Bios Group, and DayJet Corporation. > > job control panel > 200 > aircraft > > > The following tools (and possibly others) will be described: > > * ct_cuda provides a ctypes interface to CUDA. This approach > offers a lightweight alternative to pycuda. ct_cuda does not > require a build; a relief for those who consider ctypes a > preferable alternative to python extension wrapper > libraries. Another difference is that kernels are built in > the standard CUDA-C manner and exposed to python as kernel > libraries via ctypes. > > * boaracuda consists of glue to make CUDA accessible to a > pyglet app. Among other benefits, this allows a CUDA kernel > to operate on pyglet based vertex lists. This approach > enables fast-time animation tens of thousands of sprites in > pyglet with trajectories calculated in a CUDA kernel. > (Etymology hint: boar=pyglet) > > * ct_sharp makes a python shell available to C#, suitable for > launching a pyglet control thread. > > * cuda_sharp makes CUDA available to C# and provides > interoperability between C# and python (e.g. passing CUDA > buffers between C# and python) > > * A system for launching remote CUDA jobs from a Django > application will also be described. > > The implementation of this software architecture provides the > means for understanding, designing, and ultimately operating > complex adaptive systems such as in air transportation. > > *Audience level*: Experienced > > *Submitting speaker*: Ken Seehart > > > > > > _______________________________________________ > 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 ashish.makani at gmail.com Fri Jan 7 08:26:11 2011 From: ashish.makani at gmail.com (ashish makani) Date: Fri, 7 Jan 2011 02:26:11 -0500 Subject: [Baypiggies] Calling presenters for 2011 In-Reply-To: <4D26A4E8.3010505@seehart.com> References: <4D243CC6.9080602@seehart.com> <4D26A4E8.3010505@seehart.com> Message-ID: I am personally very passionate abt n/ws...so would love to learn abt n/w programming in python with some real world examples from experienced folks Network Programming using Sockets, sound (selfishly) appealing to me :D cheers ashish On Fri, Jan 7, 2011 at 12:30 AM, Ken Seehart wrote: > On 1/5/2011 11:00 PM, Tony Cappellini wrote: > > +1, but I think this would have to be a full presentation, not a nugget. > > Agreed. > > > On 1/5/2011 11:01 PM, Tony Cappellini wrote: > > February is already taken though.. > Let us know if you are available for another month, > > Thanks > > March, April, May look okay for me. I'm guessing that a PYCON review > would be more relevant for March, so perhaps I can do April or May.... > > > > On Wed, Jan 5, 2011 at 1:41 AM, Ken Seehart wrote: > >> On 12/22/2010 9:52 PM, Tony Cappellini wrote: >> >> Since someone kicked off a thread regarding unit test frameworks and >> since there were so many replies, >> who wants to pony up to do a presentation in early 2011? >> >> I think we have someone for January- so Feb-Dec is wide open. >> Do I have any takers ???? >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe:http://mail.python.org/mailman/listinfo/baypiggies >> >> >> I'm doing a poster at PYCON. I'm not available on the Jan 27 baypiggies, >> but if Feb 24 is open, I can give a preview then. Otherwise perhaps a >> postview.... >> >> GPU computing and the Next Generation Air Transportation System >> At this poster you will learn about a set of open source tools for GPU >> computing using python based on ctypes. These tools provide lots of glue, >> combining elements of python <=> pyglet <=> CUDA <=> C# <=> Django. You will >> see how we use these tools in our Next Generation Air Transportation work. >> >> *Type*: Poster >> >> NextGen AeroSciences, LLC NextGen >> AeroSciences, LLC, is working with colleagues at NASA, NIA, and other US >> Government and related organizations in support of national efforts to >> transform the US air transportation system. The Company builds on its >> founders' contributions in applied research in complexity and network >> sciences, computationally efficient combinatorial mathematics, and in air >> transportation system strategies, technologies, and innovation management. >> The founders bring a heritage from the Santa Fe Institute, NASA, Los Alamos >> National Laboratory, Bios Group, and DayJet Corporation. >> >> [image: job control panel] [image: >> 200 aircraft] >> The following tools (and possibly others) will be described: >> >> - ct_cuda provides a ctypes interface to CUDA. This approach offers a >> lightweight alternative to pycuda. ct_cuda does not require a build; a >> relief for those who consider ctypes a preferable alternative to python >> extension wrapper libraries. Another difference is that kernels are built in >> the standard CUDA-C manner and exposed to python as kernel libraries via >> ctypes. >> >> >> - boaracuda consists of glue to make CUDA accessible to a pyglet app. >> Among other benefits, this allows a CUDA kernel to operate on pyglet based >> vertex lists. This approach enables fast-time animation tens of thousands of >> sprites in pyglet with trajectories calculated in a CUDA kernel. (Etymology >> hint: boar=pyglet) >> >> >> - ct_sharp makes a python shell available to C#, suitable for >> launching a pyglet control thread. >> >> >> - cuda_sharp makes CUDA available to C# and provides interoperability >> between C# and python (e.g. passing CUDA buffers between C# and python) >> >> >> - A system for launching remote CUDA jobs from a Django application >> will also be described. >> >> The implementation of this software architecture provides the means for >> understanding, designing, and ultimately operating complex adaptive systems >> such as in air transportation. >> >> *Audience level*: Experienced >> >> *Submitting speaker*: Ken Seehart >> >> >> >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken at seehart.com Fri Jan 7 16:31:43 2011 From: ken at seehart.com (Ken Seehart) Date: Fri, 07 Jan 2011 07:31:43 -0800 Subject: [Baypiggies] Boaracuda Message-ID: <4D2731DF.4010500@seehart.com> Here's a rare photograph of the elusive boaracuda in it's natural habitat... BTW, is there a cartoon artists out there willing to contribute a cute mascot sketch based on this? Remember: he has to look really cute, and friendly. Maybe even cuddly, if possible. Coincidentally, boaracuda is also the name of a glue package that facilitates interaction between pyglet and cuda, to be released hopefully early in February. Thanks, Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: boracuda_s.jpg Type: image/jpeg Size: 27427 bytes Desc: not available URL: From itz at buug.org Fri Jan 7 19:24:38 2011 From: itz at buug.org (Ian Zimmerman) Date: Fri, 07 Jan 2011 10:24:38 -0800 Subject: [Baypiggies] email interface module In-Reply-To: <782140.62236.qm@web81506.mail.mud.yahoo.com> (Reginald Conley's message of "Thu, 6 Jan 2011 19:58:38 -0800 (PST)") References: <782140.62236.qm@web81506.mail.mud.yahoo.com> Message-ID: <87k4igshax.fsf@matica.localdomain> Reginald> Hello, can anyone tell me if there are available Python Reginald> modules that can manipulate an email? Ideally I'm looking for Reginald> a module that if I asigned a dedicated email address for it, Reginald> could recieve an email, open the files and do a word search Reginald> for specific fields extraction. Is that reasonably possible? Reginald> Any suggestions are greatly appreciated. I hear Python is very Reginald> flexible, but I've got much more of a hardware background than Reginald> software. What do you mean by "specific field extraction"? Email header fields or email body incl. MIME parts? -- Ian Zimmerman gpg public key: 1024D/C6FF61AD fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD Ham is for reading, not for eating. From wescpy at gmail.com Fri Jan 7 19:40:56 2011 From: wescpy at gmail.com (wesley chun) Date: Fri, 7 Jan 2011 10:40:56 -0800 Subject: [Baypiggies] email interface module In-Reply-To: <20110107041233.GA5495@panix.com> References: <782140.62236.qm@web81506.mail.mud.yahoo.com> <20110107041233.GA5495@panix.com> Message-ID: On Thu, Jan 6, 2011 at 8:12 PM, Aahz wrote: > On Thu, Jan 06, 2011, Reginald Conley wrote: > > > > ????????? can anyone tell me if there are available Python modules that > can > > manipulate an email?? Ideally I'm looking for a module that if I asigned > a > > dedicated email address for it, could recieve an email, open the files > and do a > > word search for specific fields extraction.?Is that reasonably possible? > > ????????? Any suggestions are greatly appreciated. I hear Python is very > > flexible, but I've got much more of a hardware background than software. > > Maybe you want the email package and the mailbox module. > those are great for parsing and assembling emails as well as managing various mbox formats. on top of Aahz's suggestions, i would also add smtplib for sending email and poplib/imaplib for downloading email. hope this helps! -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From janssen at parc.com Fri Jan 7 21:30:20 2011 From: janssen at parc.com (Bill Janssen) Date: Fri, 7 Jan 2011 12:30:20 PST Subject: [Baypiggies] email interface module In-Reply-To: <782140.62236.qm@web81506.mail.mud.yahoo.com> References: <782140.62236.qm@web81506.mail.mud.yahoo.com> Message-ID: <64862.1294432220@parc.com> Reginald Conley wrote: > Hello, > ????????? can anyone tell me if there are available Python modules that can > manipulate an email?? Well, there's mailbox and email... > Ideally I'm looking for a module that if I asigned a > dedicated email address for it, could recieve an email, That would be SMTP server-side support. See http://www.doughellmann.com/PyMOTW/smtpd/. Now, assigning a "dedicated email address" might be tricky; register a distinctive alias for the machine on which you are running the smtpd server, and make your address something like "foo at mydistinctivedomain.bar". > open the files Use the standard "email" module for this, using the data received from the smtpd server. > and do a word search for specific fields extraction. I'd use PyLucene for this, but that's really overkill. Python "re" should work reasonably well for this. > ?Is that reasonably possible? Sure! Bill From brent.tubbs at gmail.com Sat Jan 8 03:57:38 2011 From: brent.tubbs at gmail.com (Brent Tubbs) Date: Fri, 7 Jan 2011 18:57:38 -0800 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: References: <20110106065252.GH13518@ykcyc> Message-ID: There's a class on machine learning starting at Hacker Dojo on the 22nd of this month. Though they'll be using R rather than Python, I thought I might be interested. I plan to attend. Brent http://machinelearning101.pbworks.com/w/page/32890312/FrontPage On Thu, Jan 6, 2011 at 8:25 PM, Venkatraman S wrote: > And also i liked "A Concise Course in Statistical Inference"? by Larry > Wasserman to be one of the best books > for introductory and slightly advanced Statistics. The book simply *flows* > (though does not have the associated code, > but readability is very good). > > On Fri, Jan 7, 2011 at 9:51 AM, Venkatraman S wrote: >> >> Thanks guys for the suggestions. I find Stephen Marsland's >> _Machine Learning: An Algorithmic Perspective_ to be *really* appealing. >> >> The Google Book preview looks neat. But the book is EXPENSIVE! I do not >> understand why textbooks are so darn costly! >> >> On a lighter note, i searched this book in the web, but i found voidness >> everywhere. >> Am not sure whether the publishers would be game for a review copy. >> >> -V > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From brent.tubbs at gmail.com Sat Jan 8 03:58:05 2011 From: brent.tubbs at gmail.com (Brent Tubbs) Date: Fri, 7 Jan 2011 18:58:05 -0800 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: References: <20110106065252.GH13518@ykcyc> Message-ID: That should be "though you might be interested". :) On Fri, Jan 7, 2011 at 6:57 PM, Brent Tubbs wrote: > There's a class on machine learning starting at Hacker Dojo on the > 22nd of this month. ?Though they'll be using R rather than Python, I > thought I might be interested. ?I plan to attend. > > Brent > > http://machinelearning101.pbworks.com/w/page/32890312/FrontPage > > On Thu, Jan 6, 2011 at 8:25 PM, Venkatraman S wrote: >> And also i liked "A Concise Course in Statistical Inference"? by Larry >> Wasserman to be one of the best books >> for introductory and slightly advanced Statistics. The book simply *flows* >> (though does not have the associated code, >> but readability is very good). >> >> On Fri, Jan 7, 2011 at 9:51 AM, Venkatraman S wrote: >>> >>> Thanks guys for the suggestions. I find Stephen Marsland's >>> _Machine Learning: An Algorithmic Perspective_ to be *really* appealing. >>> >>> The Google Book preview looks neat. But the book is EXPENSIVE! I do not >>> understand why textbooks are so darn costly! >>> >>> On a lighter note, i searched this book in the web, but i found voidness >>> everywhere. >>> Am not sure whether the publishers would be game for a review copy. >>> >>> -V >> >> >> _______________________________________________ >> 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 Jan 8 05:50:42 2011 From: aahz at pythoncraft.com (Aahz) Date: Fri, 7 Jan 2011 20:50:42 -0800 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: References: <20110106065252.GH13518@ykcyc> Message-ID: <20110108045042.GA14930@panix.com> On Fri, Jan 07, 2011, Brent Tubbs wrote: > On Fri, Jan 7, 2011 at 6:57 PM, Brent Tubbs wrote: >> >> There's a class on machine learning starting at Hacker Dojo on the >> 22nd of this month. ?Though they'll be using R rather than Python, I >> thought I might be interested. I plan to attend. >> >> http://machinelearning101.pbworks.com/w/page/32890312/FrontPage > > That should be "though you might be interested". :) "In Soviet Russia, language parses you." -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Think of it as evolution in action." --Tony Rand From cappy2112 at gmail.com Sun Jan 9 19:48:40 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Sun, 9 Jan 2011 10:48:40 -0800 Subject: [Baypiggies] Mac users using wxPython Message-ID: I've just started using a Mac w/OSX for the first time. Everything I've installed up until now installed without problems. While installing wxPython unicode for Python 2.7, and message was displayed that an error occurred during the postflight script, but nothing about the actual error. Where is the logfile located which might tell me what happened? Have any other wxUsers had this problem on the Mac? Thanks From eric at ericwalstad.com Sun Jan 9 20:29:00 2011 From: eric at ericwalstad.com (Eric Walstad) Date: Sun, 9 Jan 2011 11:29:00 -0800 Subject: [Baypiggies] Currency to Words or how to print checks... In-Reply-To: <20110105064836.GE9966@ykcyc> References: <20110105064836.GE9966@ykcyc> Message-ID: Hi Paul, On Tue, Jan 4, 2011 at 10:48 PM, Paul Ivanov wrote: > Eric Walstad, on 2011-01-04 21:56, ?wrote: >> I found pynum2word on SF[1] which looks promising with nice >> looking code... > In [11]: def correct_cents(num,s): > ? ....: ? ? s = s[:s.index("point")] > ? ....: ? ? s += "and %d/100" % int(num*100%100) > ? ....: ? ? return s > ? ....: > > > In [12]: correct_cents(1234.56,'one thousand, two hundred and thirty-four point five five') > Out[12]: 'one thousand, two hundred and thirty-four and 56/100' I decided to stick with pynum2word, tweaking it a bit to add a to_check method which does something similar to your suggestion, above. I wanted the 'and' only between the dollars and cents so I made that change, too. The first checks came out of the printer on Friday. Yippee, no more hand written checks! Eric. From sfseth at gmail.com Mon Jan 10 00:45:08 2011 From: sfseth at gmail.com (Seth Friedman) Date: Sun, 9 Jan 2011 15:45:08 -0800 Subject: [Baypiggies] Python / Django / ... job post Message-ID: Hi Baypiggies, Attached is a job description for a real early stage startup with some friends of mine. Heavily python; cloud EC2 stuff; facebook APIs. Mysql, jquery, tornado. They're cool folks and serious about what they're doing. Responses to jobs at letsdothissf.com please, not to this email. :) seth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Job post 1.9.11.doc Type: application/msword Size: 26624 bytes Desc: not available URL: From paul.hoffman at gmail.com Mon Jan 10 01:28:44 2011 From: paul.hoffman at gmail.com (Paul Hoffman) Date: Sun, 9 Jan 2011 16:28:44 -0800 Subject: [Baypiggies] Best practices for making code run on 2.6 and 3.x? Message-ID: Greetings again. I have a program that I want to distribute that needs to work on systems running Python 2.6 or 3.x. Unfortunately, some of the modules have changed names. For example: #!/usr/bin/python import SocketServer works fine if python is 2.6 and dies an early death if python is 3.x. Is there any clean way to code for this? From davidoff56 at alluvialsw.com Mon Jan 10 01:55:00 2011 From: davidoff56 at alluvialsw.com (Monte Davidoff) Date: Sun, 09 Jan 2011 16:55:00 -0800 Subject: [Baypiggies] Best practices for making code run on 2.6 and 3.x? In-Reply-To: References: Message-ID: <4D2A58E4.7060401@alluvialsw.com> Hi Paul, On 1/9/11 4:28 PM, Paul Hoffman wrote: > I have a program that I want to distribute that needs to work on > systems running Python 2.6 or 3.x. Unfortunately, some of the modules > have changed names. For example: > > #!/usr/bin/python > import SocketServer Something like this might work: try: import socketserver except ImportError: import SocketServer as socketserver Monte -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hoffman at gmail.com Mon Jan 10 02:54:28 2011 From: paul.hoffman at gmail.com (Paul Hoffman) Date: Sun, 9 Jan 2011 17:54:28 -0800 Subject: [Baypiggies] Best practices for making code run on 2.6 and 3.x? In-Reply-To: <4D2A58E4.7060401@alluvialsw.com> References: <4D2A58E4.7060401@alluvialsw.com> Message-ID: On Sun, Jan 9, 2011 at 4:55 PM, Monte Davidoff wrote: > Hi Paul, > > On 1/9/11 4:28 PM, Paul Hoffman wrote: > > I have a program that I want to distribute that needs to work on systems > running Python 2.6 or 3.x. Unfortunately, some of the modules have changed > names. For example: > > #!/usr/bin/python > import SocketServer > > Something like this might work: > > try: > ??? import socketserver > except ImportError: > ??? import SocketServer as socketserver Brilliant, yes. I had forgotten "as", and I was thinking of the other direction (forcing 3 to use the 2.x name). Thanks! --Paul Hoffman From aahz at pythoncraft.com Mon Jan 10 05:43:22 2011 From: aahz at pythoncraft.com (Aahz) Date: Sun, 9 Jan 2011 20:43:22 -0800 Subject: [Baypiggies] Python / Django / ... job post In-Reply-To: References: Message-ID: <20110110044322.GA29148@panix.com> On Sun, Jan 09, 2011, Seth Friedman wrote: > > Attached is a job description for a real early stage startup with some > friends of mine. Heavily python; cloud EC2 stuff; facebook APIs. Mysql, > jquery, tornado. They're cool folks and serious about what they're doing. Any reason it's a Word file instead of plain text? (FYI, the Jobs Board at www.python.org explicitly rejects any non-plain text submissions; in fact, these days the screws have been tightened and you have to submit using reST formatting.) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Think of it as evolution in action." --Tony Rand From nad at acm.org Mon Jan 10 09:22:18 2011 From: nad at acm.org (Ned Deily) Date: Mon, 10 Jan 2011 00:22:18 -0800 Subject: [Baypiggies] Mac users using wxPython References: Message-ID: In article , Tony Cappellini wrote: > I've just started using a Mac w/OSX for the first time. > Everything I've installed up until now installed without problems. > > While installing wxPython unicode for Python 2.7, and message was > displayed that an error occurred during the postflight script, > but nothing about the actual error. > > Where is the logfile located which might tell me what happened? The standard OS X installer program makes the log available for the current install: in the installer menu, check Window -> Installer Log. After you've quit the installer, the log for that session may be saved on disk, most likely as an install.log file in /var/log. The OS X Console.app, found in /Applications/Utilites, makes it easy to find and examine log files. > Have any other wxUsers had this problem on the Mac? I'm not a wxPython user but one thing to watch out for is an architecture mismatch. I see the standard wxPython.org binaries are built for 32-bit Pythons only. So, if you are using a Python 2.7 from a python.org installer, you should be using the 32-bit-only (10.3+) installer variant and not the 64-bit/32-bit (10.6-only) variant. -- Ned Deily, nad at acm.org From nad at acm.org Mon Jan 10 19:00:50 2011 From: nad at acm.org (Ned Deily) Date: Mon, 10 Jan 2011 10:00:50 -0800 Subject: [Baypiggies] Mac users using wxPython References: Message-ID: [replying on-list] On Jan 10, 2011, at 7:56 , Tony Cappellini wrote: >>I'm not a wxPython user but one thing to watch out for is an >>architecture mismatch. I see the standard wxPython.org binaries are >>built for 32-bit Pythons only. So, if you are using a Python 2.7 from >>a python.org installer, you should be using the 32-bit-only (10.3+) >>installer variant and not the 64-bit/32-bit (10.6-only) variant. >I installed Python2.7 via Macports, so there wasn't a installer >filename which indicated 32/64 bits for it. >As such, I don't know which architecture it is using. >I downloaded the wxPython installer from Python.org though- maybe >there is a mismatch. I'm assuming you mean you downloaded wxPython from wxpython.org, not to be confused with the Python Software Foundation's python.org. If you are running on OS X 10.6 and on a 64-bit-capable processor (pretty much any Mac made in the last 3 years or so), by default MacPorts will have installed either a 64-bit version or a multi-arch ("universal") version that OS X will prefer to run as 64-bit: $ file /opt/local/bin/python2.7 /opt/local/bin/python2.7: Mach-O universal binary with 2 architectures /opt/local/bin/python2.7 (for architecture x86_64): Mach-O 64-bit executable x86_64 /opt/local/bin/python2.7 (for architecture i386): Mach-O executable i386 I am a fan of MacPorts for a lot of things but, if you are are going to use the wxPython installer, life will probably be a lot easier if you stick to the 32-bit python2.7 python.org installer because the wx version from their installer was built to be compatible with it. There's no reason you can't have both versions of python2.7 installed, though. There's no ambiguity as each instance's files, including site-packages, are installed in separate locations. For instance: $ /opt/local/bin/python2.7 -c 'import sys;print(sys.executable)' /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Pyt hon.app/Contents/MacOS/Python $ /usr/local/bin/python2.7 -c 'import sys;print(sys.executable)' /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Co ntents/MacOS/Python On the other hand, MacPorts appears to have its own ports of wxPython available. So you could try that out, too: $ sudo port selfupdate $ sudo port install py27-wxpython Good luck! -- Ned Deily, nad at acm.org From tony at tcapp.com Mon Jan 10 19:30:41 2011 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 10 Jan 2011 10:30:41 -0800 Subject: [Baypiggies] Mac users using wxPython In-Reply-To: References: Message-ID: > I'm assuming you mean you downloaded wxPython from wxpython.org, not to > be confused with the Python Software Foundation's python.org. wxPython is not available from python.org, so that's not an issue > I am a fan of MacPorts for a lot of things but, if you are are going to > use the wxPython installer, life will probably be a lot easier if you > stick to the 32-bit python2.7 python.org installer because the wx There was no choice for 32 or 64 bit installers, so I would assume it is a 32-bit installation. I've downloaded this installer http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.11.0-universal-py2.7.dmg which is the one that gave me the error message during the postflight script > There's no reason you can't have both versions of python2.7 installed, I'd rather stick with 32-bit software for now, much less chance of problems. > On the other hand, MacPorts appears to have its own ports of wxPython > available. ?So you could try that out, too: > > $ sudo port selfupdate > $ sudo port install py27-wxpython Will try that since the other one didn't work. From nad at acm.org Mon Jan 10 19:50:21 2011 From: nad at acm.org (Ned Deily) Date: Mon, 10 Jan 2011 10:50:21 -0800 Subject: [Baypiggies] Mac users using wxPython References: Message-ID: In article , Tony Cappellini wrote: > > I'm assuming you mean you downloaded wxPython from wxpython.org, not to > > be confused with the Python Software Foundation's python.org. > wxPython is not available from python.org, so that's not an issue > > > I am a fan of MacPorts for a lot of things but, if you are are going to > > use the wxPython installer, life will probably be a lot easier if you > > stick to the 32-bit python2.7 python.org installer because the wx > > There was no choice for 32 or 64 bit installers, so I would assume it > is a 32-bit installation. In case I wasn't clear, I meant trying the wxpython.org wxpython2.7 with the python2.7 installed by the 32-bit python2.7 installer from python.org (rather than with the MacPorts-installed python2.7): http://www.python.org/download/releases/2.7.1/ http://www.python.org/ftp/python/2.7.1/python-2.7.1-macosx10.3.dmg Trying the MacPorts port of wxPython is a good idea, as well. -- Ned Deily, nad at acm.org From tony at tcapp.com Tue Jan 11 08:07:06 2011 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 10 Jan 2011 23:07:06 -0800 Subject: [Baypiggies] Mac users using wxPython In-Reply-To: References: Message-ID: > In case I wasn't clear, I meant trying the wxpython.org wxpython2.7 with > the python2.7 installed by the 32-bit python2.7 installer from > python.org (rather than with the MacPorts-installed python2.7): I installed python 27 via macports, but I don't know if it was 32 or 64-bit. > > Trying the MacPorts port of wxPython is a good idea, as well. So I did that, tried to import wx after installing it and got this far >> import wx Traceback (most recent call last): File "", line 1, in File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/__init__.py", line 45, in from wx._core import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 4, in import _core_ ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so, 2): no suitable image found. Did find: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so: mach-o, but wrong architecture >>> From venkat83 at gmail.com Tue Jan 11 08:55:18 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Tue, 11 Jan 2011 13:25:18 +0530 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: References: <20110106065252.GH13518@ykcyc> Message-ID: On Fri, Jan 7, 2011 at 4:27 AM, wesley chun wrote: > not to hijack the topic or do any upselling, but Google has a Prediction > API which leverages multiple ML algorithms and makes them available to the > public for use in general apps: > http://code.google.com/apis/predict/ > "We expect to begin charging for Google Prediction API usage early in 2011." >From here . The worst part being "Free quota expires six months after activating Google Prediction for your project"* :( *-Venkat http://blizzardzblogs.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From wescpy at gmail.com Tue Jan 11 09:52:43 2011 From: wescpy at gmail.com (wesley chun) Date: Tue, 11 Jan 2011 00:52:43 -0800 Subject: [Baypiggies] Suggested Reading: Machine learning and Python In-Reply-To: References: <20110106065252.GH13518@ykcyc> Message-ID: On Mon, Jan 10, 2011 at 11:55 PM, Venkatraman S wrote: > On Fri, Jan 7, 2011 at 4:27 AM, wesley chun wrote: >> >> not to hijack the topic or do any upselling, but Google has a Prediction >> API which leverages multiple ML algorithms and makes them available to the >> public for use in general apps: >> http://code.google.com/apis/predict/ > > "We expect to begin charging for Google Prediction API usage early in 2011." > From here. > The worst part being "Free quota expires six months after activating Google > Prediction for your project" :( yeah, i know it's a bummer, but some of us have families and oppressive mortgages. in my experience, when Google charges for a service, it's really quite reasonable (or even *too* reasonable). makes it hard to justify coworkers to help me do my job!! look at App Engine, the fees are quite low, at least compared to other competing PaaS services. most of our users don't pay anything! i'm sure the fees for Prediction will be appropriate given the value that it provides. then again, i may be somewhat biased. :-) perhaps someone reading this thread knows of a competing service so that we can do some sort of comparison? cheers, -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Python Web Development with Django", Addison Wesley, (c) 2009 ? ? http://withdjango.com wesley.j.chun :: wescpy-at-gmail.com python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com From nad at acm.org Tue Jan 11 10:29:57 2011 From: nad at acm.org (Ned Deily) Date: Tue, 11 Jan 2011 01:29:57 -0800 Subject: [Baypiggies] Mac users using wxPython References: Message-ID: In article , Tony Cappellini wrote: > > In case I wasn't clear, I meant trying the wxpython.org wxpython2.7 with > > the python2.7 installed by the 32-bit python2.7 installer from > > python.org (rather than with the MacPorts-installed python2.7): > > I installed python 27 via macports, but I don't know if it was 32 or 64-bit. You can tell by using the file command: $ file /opt/local/bin/python2.7 /opt/local/bin/python2.7: Mach-O universal binary with 2 architectures /opt/local/bin/python2.7 (for architecture x86_64): Mach-O 64-bit executable x86_64 /opt/local/bin/python2.7 (for architecture i386): Mach-O executable i386 In this case, I have installed a "universal" Python2.7 capable of running in either 64-bit or 32-mode mode. OS X 10.6 prefers to run a 64-bit executable when possible over a 32-bit mode unless forced. $ /opt/local/bin/python2.7 -c 'import sys;print(sys.maxsize)' 9223372036854775807 $ arch -x86_64 /opt/local/bin/python2.7 -c 'import sys;print(sys.maxsize)' 9223372036854775807 $ arch -i386 /opt/local/bin/python2.7 -c 'import sys;print(sys.maxsize)' 2147483647 Of course, if there is only one architecture in the executable, it has to try to use that. And that's what is happening with the MacPorts wx. Looking at the MacPorts portfile for py27-wxpython: http://trac.macports.org/browser/trunk/dports/python/py27-wxpython/Portfi le it has an explicit "configure.build_arch i386" meaning wxpython will only be built as 32-bit. (The reason for that is that apparently wx uses deprecated OS X Carbon APIs which are only available in 32-bit mode.) So the traceback you got undoubtedly means that the MacPorts python2.7 is running in 64-bit mode and the import of the extension module in the wx package fails because it is 32-bit only: > >> import wx > Traceback (most recent call last): > File "", line 1, in > File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/s > ite-packages/wx-2.8-mac-unicode/wx/__init__.py", > line 45, in > from wx._core import * > File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/s > ite-packages/wx-2.8-mac-unicode/wx/_core.py", > line 4, in > import _core_ > ImportError: > dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2 > .7/site-packages/wx-2.8-mac-unicode/wx/_core_.so, > 2): no suitable image found. Did find: > > /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site > -packages/wx-2.8-mac-unicode/wx/_core_.so: > mach-o, but wrong architecture One solution to that is to run the python2.7 as 32-bit. If it was built as a 64-/32-bit universal, then the "arch -i386" trick above should work: $ arch -i386 /opt/local/bin/python2.7 -c 'import wx' $ # no errors If not (i.e. it's only 64-bit), the arch command will fail. In that case, you can force MacPorts to rebuild and reinstall all of the necessary ports as universal ones by this: $ port upgrade --force --enforce-variants \ py27-wxpython python27 +universal You may want to edit the MacPorts variants file to include +universal so all future port installs and upgrade are built as universal, if possible, and you won't need to add the +universal to each port command. The file is at: /opt/local/etc/macports/variants.conf In theory, it is possible to tell MacPorts you only want to build 32-bit executables, period, but that is a bit more complicated and probably more fragile. I don't recommend it. OR , as suggested previously, you could go with the python.org 32-bit Python 2.7 with which the wxpython.org installer is compatible. From the command line to illustrate (it's easier to run everything from your web browser and the Finder by clicking on things): $ curl -O \ http://www.python.org/ftp/python/2.7.1/python-2.7.1-macosx10.3.dmg $ open python-2.7.1-macosx10.3.dmg $ open "/Volumes/Python 2.7.1/Python.mpkg" $ # click buttons in python installer $ umount "/Volumes/Python 2.7.1" $ curl -O \ http://cdnetworks-us-2.dl.sourceforge.net/project/wxpython/wxPython/2.8.1 1.0/wxPython2.8-osx-unicode-2.8.11.0-universal-py2.7.dmg $ open wxPython2.8-osx-unicode-2.8.11.0-universal-py2.7.dmg $ open /Volumes/wxPython2.8-osx-unicode-2.8.11.0-universal-py2.7/\ wxPython2.8-osx-unicode-universal-py2.7.pkg $ # click buttons in wxpython installer $ umount /Volumes/wxPython2.8-osx-unicode-2.8.11.0-universal-py2.7 $ /usr/local/bin/python2.7 -c "import wx" $ # no errors -- Ned Deily, nad at acm.org From Web at StevePiercy.com Tue Jan 11 14:48:06 2011 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Tue, 11 Jan 2011 05:48:06 -0800 Subject: [Baypiggies] PyCon Tutorials Message-ID: I'm heading to PyCon, and I've looked over the list of tutorials and their descriptions. I'm having a hard time narrowing it down to just a few. http://us.pycon.org/2011/schedule/lists/tutorials/ For an experienced web application programmer with basic python experience, which of the tutorials would be most recommended? Also is anyone on this list attending/presenting? I recognized Wesley is presenting. --steve -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From anfrind at gmail.com Tue Jan 11 20:40:34 2011 From: anfrind at gmail.com (Lincoln Peters) Date: Tue, 11 Jan 2011 11:40:34 -0800 Subject: [Baypiggies] Reading XLSX files? Message-ID: I'm looking for a way to read an Excel 2007 spreadsheet from within a Python script (I don't need the script to be able to edit them). Has anyone on the list found a good way to do that? I spent a few minutes searching the Internet, but everything I found looked like it was in an unfinished state--most of them didn't even seem to have packaged releases. Thanks. -- Lincoln Peters From tony at tcapp.com Tue Jan 11 20:42:41 2011 From: tony at tcapp.com (Tony Cappellini) Date: Tue, 11 Jan 2011 11:42:41 -0800 Subject: [Baypiggies] Reading XLSX files? In-Reply-To: References: Message-ID: pyxlrd On Tue, Jan 11, 2011 at 11:40 AM, Lincoln Peters wrote: > I'm looking for a way to read an Excel 2007 spreadsheet from within a > Python script (I don't need the script to be able to edit them). ?Has > anyone on the list found a good way to do that? > > I spent a few minutes searching the Internet, but everything I found > looked like it was in an unfinished state--most of them didn't even > seem to have packaged releases. > > > Thanks. > > > -- > Lincoln Peters > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From leehinde at gmail.com Tue Jan 11 20:44:20 2011 From: leehinde at gmail.com (Lee Hinde) Date: Tue, 11 Jan 2011 11:44:20 -0800 Subject: [Baypiggies] Reading XLSX files? In-Reply-To: References: Message-ID: http://pypi.python.org/pypi/xlrd On Jan 11, 2011, at 11:42 AM, Tony Cappellini wrote: > pyxlrd > > On Tue, Jan 11, 2011 at 11:40 AM, Lincoln Peters wrote: >> I'm looking for a way to read an Excel 2007 spreadsheet from within a >> Python script (I don't need the script to be able to edit them). Has >> anyone on the list found a good way to do that? >> >> I spent a few minutes searching the Internet, but everything I found >> looked like it was in an unfinished state--most of them didn't even >> seem to have packaged releases. >> >> >> Thanks. >> >> >> -- >> Lincoln Peters >> From tony at tcapp.com Tue Jan 11 20:44:53 2011 From: tony at tcapp.com (Tony Cappellini) Date: Tue, 11 Jan 2011 11:44:53 -0800 Subject: [Baypiggies] Reading XLSX files? In-Reply-To: References: Message-ID: BTW- this reads (and there is a write module too) that the binary file natively, without needing to have Excel on the machine On Tue, Jan 11, 2011 at 11:40 AM, Lincoln Peters wrote: > I'm looking for a way to read an Excel 2007 spreadsheet from within a > Python script (I don't need the script to be able to edit them). ?Has > anyone on the list found a good way to do that? > > I spent a few minutes searching the Internet, but everything I found > looked like it was in an unfinished state--most of them didn't even > seem to have packaged releases. > > > Thanks. > > > -- > Lincoln Peters > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From rami.chowdhury at gmail.com Tue Jan 11 23:11:53 2011 From: rami.chowdhury at gmail.com (Rami Chowdhury) Date: Tue, 11 Jan 2011 22:11:53 +0000 Subject: [Baypiggies] Reading XLSX files? In-Reply-To: References: Message-ID: <201101112211.53397.rami.chowdhury@gmail.com> On Tuesday 11 January 2011 19:44:53 Tony Cappellini wrote: > BTW- this reads (and there is a write module too) that the binary file > natively, without needing to have Excel on the machine Does xlrd do Excel 2007 format? > > On Tue, Jan 11, 2011 at 11:40 AM, Lincoln Peters wrote: > > I'm looking for a way to read an Excel 2007 spreadsheet from within a > > Python script (I don't need the script to be able to edit them). Has > > anyone on the list found a good way to do that? > > > > I spent a few minutes searching the Internet, but everything I found > > looked like it was in an unfinished state--most of them didn't even > > seem to have packaged releases. > > > > > > Thanks. > > > > > > -- > > Lincoln Peters > > > > _______________________________________________ > > 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 ---- Rami Chowdhury "Passion is inversely proportional to the amount of real information available." -- Benford's Law of Controversy +44-7581-430-517 / +88-01819-245544 /+1-408-597-7068 From tony at tcapp.com Tue Jan 11 23:31:01 2011 From: tony at tcapp.com (Tony Cappellini) Date: Tue, 11 Jan 2011 14:31:01 -0800 Subject: [Baypiggies] Reading XLSX files? In-Reply-To: <201101112211.53397.rami.chowdhury@gmail.com> References: <201101112211.53397.rami.chowdhury@gmail.com> Message-ID: Dunno- check the docs. There used to be mailing list/Google group for that SW On Tue, Jan 11, 2011 at 2:11 PM, Rami Chowdhury wrote: > On Tuesday 11 January 2011 19:44:53 Tony Cappellini wrote: >> BTW- this reads (and there is a write module too) that the binary file >> natively, without needing to have Excel on the machine > > Does xlrd do Excel 2007 format? > >> >> On Tue, Jan 11, 2011 at 11:40 AM, Lincoln Peters wrote: >> > I'm looking for a way to read an Excel 2007 spreadsheet from within a >> > Python script (I don't need the script to be able to edit them). ?Has >> > anyone on the list found a good way to do that? >> > >> > I spent a few minutes searching the Internet, but everything I found >> > looked like it was in an unfinished state--most of them didn't even >> > seem to have packaged releases. >> > >> > >> > Thanks. >> > >> > >> > -- >> > Lincoln Peters >> > >> > _______________________________________________ >> > 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 > > > ---- > Rami Chowdhury > "Passion is inversely proportional to the amount of real information > available." -- Benford's Law of Controversy > +44-7581-430-517 / +88-01819-245544 /+1-408-597-7068 > From rami.chowdhury at gmail.com Wed Jan 12 00:09:10 2011 From: rami.chowdhury at gmail.com (Rami Chowdhury) Date: Tue, 11 Jan 2011 23:09:10 +0000 Subject: [Baypiggies] Reading XLSX files? In-Reply-To: References: <201101112211.53397.rami.chowdhury@gmail.com> Message-ID: <201101112309.10988.rami.chowdhury@gmail.com> On Tuesday 11 January 2011 22:27:51 Lincoln Peters wrote: > On Tue, Jan 11, 2011 at 2:11 PM, Rami Chowdhury wrote: > > On Tuesday 11 January 2011 19:44:53 Tony Cappellini wrote: > >> BTW- this reads (and there is a write module too) that the binary file > >> natively, without needing to have Excel on the machine > > > > Does xlrd do Excel 2007 format? > > I just tried it; it raises an XLRDError('Unsupported format, or > corrupt file: ...') when I try to open an Excel 2007 file. Although > it works just fine if I re-save the file in Excel 2003 format. Well if you have the ability to re-save in Excel 2003 then xlrd should do the job brilliantly :-) ---- Rami Chowdhury "Ninety percent of everything is crap." -- Sturgeon's Law +44-7581-430-517 / +88-01819-245544 /+1-408-597-7068 From kpguy1975 at gmail.com Wed Jan 12 16:01:27 2011 From: kpguy1975 at gmail.com (Vikram K) Date: Wed, 12 Jan 2011 10:01:27 -0500 Subject: [Baypiggies] adding hyperlinks to output Message-ID: I have a bunch of symbols in one of the columns in my program's output file (a csv file which can be opened in excel). I wish to add hyperlinks to each entry in this particular column in my output file. A sample symbol/entry in the specific column of interest in the output file is USP8 and it needs to be hyperlinked to http://www.ncbi.nlm.nih.gov/gene/9101. (So, when you click on 'USP8' in the output file, your browser automatically opens the site http://www.ncbi.nlm.nih.gov/gene/9101). Can someone tell me how to add hyperlinks to my output? From eric at ericwalstad.com Wed Jan 12 18:53:24 2011 From: eric at ericwalstad.com (Eric Walstad) Date: Wed, 12 Jan 2011 09:53:24 -0800 Subject: [Baypiggies] adding hyperlinks to output In-Reply-To: References: Message-ID: Hi Vikram, On Wed, Jan 12, 2011 at 7:01 AM, Vikram K wrote: > I have a bunch of symbols in one of the columns in my program's output > file (a csv file which can be opened in excel). I wish to add > hyperlinks to each entry in this particular column in my output file. > A sample symbol/entry in the specific column of interest in the output > file is USP8 and it needs to be hyperlinked to > http://www.ncbi.nlm.nih.gov/gene/9101. (So, when you click on 'USP8' > in the output file, your browser automatically opens the site > http://www.ncbi.nlm.nih.gov/gene/9101). > > Can someone tell me how to add hyperlinks to my output? If you write an anchor tag to your csv file Excel might/should recognize it as a hyperlink. You could test that by editing one of the lines of an existing csv file by hand and then opening it in Excel. If that does what you want, then modify your csv writer code to output an anchor tag: USP8 If that's not what you are looking for it would be helpful to see a sample CSV file line and a description of how you are writing the lines to a file. Eric. From kpguy1975 at gmail.com Wed Jan 12 20:15:42 2011 From: kpguy1975 at gmail.com (Vikram K) Date: Wed, 12 Jan 2011 14:15:42 -0500 Subject: [Baypiggies] adding hyperlinks to output In-Reply-To: References: Message-ID: thanks for your response. I tried using the anchor tag but Excel is not recognizing it as a hyperlink. This is my test script: import csv fout = open ('test.csv', 'w') writer = csv.writer(fout) writer.writerow(('Gene Link', 'Protein Link')) writer.writerow(('USP8', 'bla')) --------- the excel output for the above script is: Gene Link Protein Link USP8 bla On Wed, Jan 12, 2011 at 12:52 PM, Eric Walstad wrote: > Hi Vikram, > > On Wed, Jan 12, 2011 at 7:01 AM, Vikram K wrote: >> I have a bunch of symbols in one of the columns in my program's output >> file (a csv file which can be opened in excel). I wish to add >> hyperlinks to each entry in this particular column in my output file. >> A sample symbol/entry in the specific column of interest in the output >> file is USP8 and it needs to be hyperlinked to >> http://www.ncbi.nlm.nih.gov/gene/9101. (So, when you click on 'USP8' >> in the output file, your browser automatically opens the site >> http://www.ncbi.nlm.nih.gov/gene/9101). >> >> Can someone tell me how to add hyperlinks to my output? > > If you write an anchor tag to your csv file Excel might/should > recognize it as a hyperlink. You could test that by editing one of > the lines of an existing csv file by hand and then opening it in > Excel. If that does what you want, then modify your csv writer code > to output an anchor tag: > > USP8 > > If that's not what you are looking for it would be helpful to see a > sample CSV file line and a description of how you are writing the > lines to a file. > > Eric. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at ericwalstad.com Wed Jan 12 20:35:25 2011 From: eric at ericwalstad.com (Eric Walstad) Date: Wed, 12 Jan 2011 11:35:25 -0800 Subject: [Baypiggies] adding hyperlinks to output In-Reply-To: References: Message-ID: Vikram, On Wed, Jan 12, 2011 at 11:15 AM, Vikram K wrote: > > thanks for your response. I tried using the anchor tag but Excel is not recognizing it as a hyperlink. This is my test script: > > import csv > fout = open ('test.csv', 'w') > > writer = csv.writer(fout) > > writer.writerow(('Gene Link', 'Protein Link')) > > writer.writerow(('USP8', 'bla')) Ah, looks like an Excel issue. Googling for Excel hyperlink, I see it uses the 'hyperlink' function - have a look in the help file for that function for details, but this might get you close: writer.writerow(('hyperlink("http://www.ncbi.nlm.nih.gov/gene/9101", USP8)', 'bla')) Eric. From max at theslimmers.net Wed Jan 12 20:51:40 2011 From: max at theslimmers.net (Max Slimmer) Date: Wed, 12 Jan 2011 11:51:40 -0800 Subject: [Baypiggies] adding hyperlinks to output In-Reply-To: References: Message-ID: As far as I can tell there is no way to include formulas in csv however you can try: Assuming the CSV file contains URLs like Http://support.microsoft.com open the csv file in Excel. in the column next to it put in a formula like =Hyperlink(A1) then drag fill down the column. Max Slimmer eMail: max at SlimmerSoft.com phone: 707 703-4396 On Wed, Jan 12, 2011 at 11:35 AM, Eric Walstad wrote: > Vikram, > > On Wed, Jan 12, 2011 at 11:15 AM, Vikram K wrote: >> >> thanks for your response. I tried using the anchor tag but Excel is not recognizing it as a hyperlink. This is my test script: >> >> import csv >> fout = open ('test.csv', 'w') >> >> writer = csv.writer(fout) >> >> writer.writerow(('Gene Link', 'Protein Link')) >> >> writer.writerow(('USP8', 'bla')) > Ah, looks like an Excel issue. ?Googling for Excel hyperlink, I see it > uses the 'hyperlink' function - have a look in the help file for that > function for details, but this might get you close: > writer.writerow(('hyperlink("http://www.ncbi.nlm.nih.gov/gene/9101", > USP8)', 'bla')) > > Eric. > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From eric at ericwalstad.com Wed Jan 12 20:57:43 2011 From: eric at ericwalstad.com (Eric Walstad) Date: Wed, 12 Jan 2011 11:57:43 -0800 Subject: [Baypiggies] adding hyperlinks to output In-Reply-To: References: Message-ID: On Wed, Jan 12, 2011 at 11:51 AM, Max Slimmer wrote: > As far as I can tell there is no way to include formulas in csv Darn >> writer.writerow(('hyperlink("http://www.ncbi.nlm.nih.gov/gene/9101", >> USP8)', 'bla')) And that should have included an equal sign writer.writerow(('=hyperlink(... From anfrind at gmail.com Wed Jan 12 20:58:43 2011 From: anfrind at gmail.com (Lincoln Peters) Date: Wed, 12 Jan 2011 11:58:43 -0800 Subject: [Baypiggies] adding hyperlinks to output In-Reply-To: References: Message-ID: On Wed, Jan 12, 2011 at 11:35 AM, Eric Walstad wrote: > Ah, looks like an Excel issue. Googling for Excel hyperlink, I see it > uses the 'hyperlink' function - have a look in the help file for that > function for details, but this might get you close: > writer.writerow(('hyperlink("http://www.ncbi.nlm.nih.gov/gene/9101", > USP8)', 'bla')) Another option that might work is to save the data as an HTML file with just a table and whatever links you need. If you can generate an HTML file that looks like this:
Gene LinkProtein Link
USP8bla
I know Excel 2007 can read it correctly (I just tested it), and it's simple enough that it wouldn't be hard to generate from Python. It also has the advantage that someone who doesn't have Excel can still read it just by loading it in a web browser. -- Lincoln Peters From eric at ericwalstad.com Wed Jan 12 21:12:40 2011 From: eric at ericwalstad.com (Eric Walstad) Date: Wed, 12 Jan 2011 12:12:40 -0800 Subject: [Baypiggies] adding hyperlinks to output In-Reply-To: References: Message-ID: Sending this to the list, FYI. On Wed, Jan 12, 2011 at 12:11 PM, Vikram K wrote: > that worked well. i just had to make one small change (put " around USP8). > many thanks. > > writer.writerow((' href="http://www.ncbi.nlm.nih.gov/gene/9101">"USP8"', 'bla')) > > On Wed, Jan 12, 2011 at 2:57 PM, Eric Walstad wrote: >> >> On Wed, Jan 12, 2011 at 11:51 AM, Max Slimmer wrote: >> > As far as I can tell there is no way to include formulas in csv >> Darn >> >> >> writer.writerow(('hyperlink("http://www.ncbi.nlm.nih.gov/gene/9101", >> >> USP8)', 'bla')) >> And that should have included an equal sign >> writer.writerow(('=hyperlink(... From kpguy1975 at gmail.com Wed Jan 12 21:13:28 2011 From: kpguy1975 at gmail.com (Vikram K) Date: Wed, 12 Jan 2011 15:13:28 -0500 Subject: [Baypiggies] adding hyperlinks to output In-Reply-To: References: Message-ID: Hi Eric, i just had to make one small change to your code (put " around USP8) writer.writerow(('=hyperlink("http://www.ncbi.nlm.nih.gov/gene/9101", "USP8")', 'bla')) Thanks. (Also, please ignore my previous msg to you.) On Wed, Jan 12, 2011 at 2:57 PM, Eric Walstad wrote: > On Wed, Jan 12, 2011 at 11:51 AM, Max Slimmer wrote: > > As far as I can tell there is no way to include formulas in csv > Darn > > >> writer.writerow(('hyperlink("http://www.ncbi.nlm.nih.gov/gene/9101", > >> USP8)', 'bla')) > And that should have included an equal sign > writer.writerow(('=hyperlink(... > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pythonmarco at gmail.com Thu Jan 13 21:03:39 2011 From: pythonmarco at gmail.com (Marco Hornung) Date: Thu, 13 Jan 2011 15:03:39 -0500 Subject: [Baypiggies] how to use priority queue with multiprocessing Message-ID: <87E38041-C753-40C1-BD37-0334717C543D@gmail.com> Hey, ------------------------------------------------------------------------------------------ question ------------------------------------------------------------------------------------------ How can I use a priority queue to schedule jobs within the "multiprocessing pool" module? ------------------------------------------------------------------------------------------ my scenario ------------------------------------------------------------------------------------------ I want to run several jobs on a server. The jobs are being sent by users. However, all jobs have a different priority, and high-priority jobs should be processed before any low-priority job gets touched. Currently I just append all incoming jobs to the multiprocessing worker pool as follows: ### initialize worker pool pool = PriorityPool(processes=worker_count) process_handles = [] ### distribute function execution over several processes for job_parameter in job_parameter_list: handle = pool.apply_async(process_function, [job_parameter,]) process_handles.append(handle) This will only put the jobs in some kind of a list - and execute the jobs in the order they come in. Is it possible to use a priority queue for the process-pool? Kind Regards, Marco From jtatum at gmail.com Thu Jan 13 22:59:38 2011 From: jtatum at gmail.com (James Tatum) Date: Thu, 13 Jan 2011 13:59:38 -0800 Subject: [Baypiggies] how to use priority queue with multiprocessing In-Reply-To: <87E38041-C753-40C1-BD37-0334717C543D@gmail.com> References: <87E38041-C753-40C1-BD37-0334717C543D@gmail.com> Message-ID: This exact scenario is described thoroughly in the documentation for heapq: http://docs.python.org/library/heapq.html#priority-queue-implementation-notes On Thu, Jan 13, 2011 at 12:03 PM, Marco Hornung wrote: > How can I use a priority queue to schedule jobs within the "multiprocessing pool" module? From glen at glenjarvis.com Sat Jan 15 22:49:33 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Sat, 15 Jan 2011 13:49:33 -0800 Subject: [Baypiggies] A talk on testing frameworks Message-ID: I was having lunch with Luca today and we were talking about putting together a talk on testing. I, selfishly, want a talk to teach me things that I don't know. And, Luca is a testing engineer who works with many products and frameworks. We want to brainstorm on the list to see what most people are interested in. One idea is the "buzzwords" type talk where each framework is introduced and a high level "this is why it's more useful than another" is given. For example, twill, selenium, lettuce, nose, unit tests, etc. Another idea is to pick a few and drill down on them showing how to write them. For example, how does one mock up things and what tools are in place. What interest is there and what are people most curious about? Warmest Regards, Glen From glen at glenjarvis.com Sun Jan 16 02:05:48 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Sat, 15 Jan 2011 17:05:48 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: Message-ID: Steve, Of the different frameworks that you'd like to see practical examples on, are you more interested in Selenium, twill, cucumber (BDD), TDD? Glen On Sat, Jan 15, 2011 at 4:15 PM, Steve Piercy - Web Site Builder < Web at stevepiercy.com> wrote: > On 1/15/11 at 1:49 PM, glen at glenjarvis.com (Glen Jarvis) pronounced: > > > One idea is the "buzzwords" type talk where each framework is introduced >> and a high level "this is why it's more useful than another" is given. For >> example, twill, selenium, lettuce, nose, unit tests, etc. >> >> Another idea is to pick a few and drill down on them showing how to write >> them. For example, how does one mock up things and what tools are in place. >> > > If I had to choose, I'm much more interested in the latter. I absorb much > more from practical examples, and can make my own comparisons and contrasts > at a high level. > > --steve > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > Steve Piercy Web Site Builder Soquel, CA > > > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hoffman at gmail.com Sun Jan 16 03:02:46 2011 From: paul.hoffman at gmail.com (Paul Hoffman) Date: Sat, 15 Jan 2011 18:02:46 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: Message-ID: Buzzwords would be great. There are so many different ones, an overview with a few cross-tool comparisons would give some of us still locked into unit testing some big ideas. From nstinemates at gmail.com Sun Jan 16 03:27:21 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Sat, 15 Jan 2011 18:27:21 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: Message-ID: If there was which a talk, I would love to come to my first meeting. I have been lurking for a long time, it's about time I join anyway! Nick On Saturday, January 15, 2011, Paul Hoffman wrote: > Buzzwords would be great. There are so many different ones, an > overview with a few cross-tool comparisons would give some of us still > locked into unit testing some big ideas. > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From baypiggies at otisbean.com Sun Jan 16 03:47:21 2011 From: baypiggies at otisbean.com (Dirk Bergstrom) Date: Sat, 15 Jan 2011 18:47:21 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: Message-ID: <87sjwtwona.wl%krid@otisbean.com> On 01/15/2011 01:49 PM, Glen Jarvis wrote: > What interest is there and what are people most curious about? I'd be interested in learning more about Behavior Driven Development. I'd really like to hear about frameworks that don't require drinking a whole pitcher of koolaid. Something that's easy to get into, and doesn't assume that you're religious about testing. -- -------------------------------------- Dirk Bergstrom krid at otisbean.com http://otisbean.com/ From Web at StevePiercy.com Sun Jan 16 04:06:25 2011 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Sat, 15 Jan 2011 19:06:25 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: Message-ID: I am primarily interested in how other developers conduct testing of their code and web applications. I'm already familiar with Selenium through a web browser, but not through a programming language or testing framework, so I am interested in seeing how to do that with python. I recently stumbled across CubicTest, a Selenium plugin for Eclipse, but I'm not familiar with it yet. I'm plugging through the tutorial. I want to learn more about TDD, and how to write useful unittests or doctests in python. I don't know whether you would call it a testing framework, but I've been trying out pydev for Eclipse. I really like its debugger and being able to step through code. I'm not familiar at all with twill or cucumber (other than I've heard cucumber mentioned often amongst Rubyists), so I'm curious about them. --steve On 1/15/11 at 5:05 PM, glen at glenjarvis.com (Glen Jarvis) pronounced: >Steve, > >Of the different frameworks that you'd like to see practical examples >on, are you more interested in Selenium, twill, cucumber (BDD), TDD? > >Glen > >On Sat, Jan 15, 2011 at 4:15 PM, Steve Piercy - Web Site Builder < >Web at stevepiercy.com> wrote: > >>On 1/15/11 at 1:49 PM, glen at glenjarvis.com (Glen Jarvis) pronounced: >> >> >>One idea is the "buzzwords" type talk where each framework is introduced >>> and a high level "this is why it's more useful than another" is given. For >>> example, twill, selenium, lettuce, nose, unit tests, etc. >>> >>> Another idea is to pick a few and drill down on them showing how to write >>> them. For example, how does one mock up things and what tools are in place. >>> >> >>If I had to choose, I'm much more interested in the latter. I absorb much >>more from practical examples, and can make my own comparisons and contrasts >>at a high level. >> >>--steve >> >>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >>Steve Piercy Web Site Builder Soquel, CA >> >> >> > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From glen at glenjarvis.com Sun Jan 16 04:22:19 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Sat, 15 Jan 2011 19:22:19 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: Message-ID: <251C3412-6329-4A64-9EC7-DA72772EC44E@glenjarvis.com> If I mentioned cucumber in my previous email, I apologize. I've been learning cucumber to do BDD development for rails. The equivalent for python is lettuce. I hadn't learned lettuce yet, but it should be just a port of cucumber -- although I can't say that with authority. Cheers, Glen El Jan 15, 2011, a las 7:06 PM, Steve Piercy - Web Site Builder escribi?: > I am primarily interested in how other developers conduct testing of their code and web applications. > > I'm already familiar with Selenium through a web browser, but not through a programming language or testing framework, so I am interested in seeing how to do that with python. > > I recently stumbled across CubicTest, a Selenium plugin for Eclipse, but I'm not familiar with it yet. I'm plugging through the tutorial. > > I want to learn more about TDD, and how to write useful unittests or doctests in python. > > I don't know whether you would call it a testing framework, but I've been trying out pydev for Eclipse. I really like its debugger and being able to step through code. > > I'm not familiar at all with twill or cucumber (other than I've heard cucumber mentioned often amongst Rubyists), so I'm curious about them. > > --steve > > > On 1/15/11 at 5:05 PM, glen at glenjarvis.com (Glen Jarvis) pronounced: > >> Steve, >> >> Of the different frameworks that you'd like to see practical examples >> on, are you more interested in Selenium, twill, cucumber (BDD), TDD? >> >> Glen >> >> On Sat, Jan 15, 2011 at 4:15 PM, Steve Piercy - Web Site Builder < >> Web at stevepiercy.com> wrote: >> >>> On 1/15/11 at 1:49 PM, glen at glenjarvis.com (Glen Jarvis) pronounced: >>> >>> >>> One idea is the "buzzwords" type talk where each framework is introduced >>>> and a high level "this is why it's more useful than another" is given. For >>>> example, twill, selenium, lettuce, nose, unit tests, etc. >>>> >>>> Another idea is to pick a few and drill down on them showing how to write >>>> them. For example, how does one mock up things and what tools are in place. >>>> >>> >>> If I had to choose, I'm much more interested in the latter. I absorb much >>> more from practical examples, and can make my own comparisons and contrasts >>> at a high level. >>> >>> --steve >>> >>> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >>> Steve Piercy Web Site Builder Soquel, CA >>> >>> >>> >> >> > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > Steve Piercy Web Site Builder Soquel, CA > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From aahz at pythoncraft.com Sun Jan 16 17:36:03 2011 From: aahz at pythoncraft.com (Aahz) Date: Sun, 16 Jan 2011 08:36:03 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: Message-ID: <20110116163603.GB7560@panix.com> On Sat, Jan 15, 2011, Glen Jarvis wrote: > > What interest is there and what are people most curious about? I'm mostly interested in war stories about complex testing. For example, consider an application that stores data locally in a DB and also fetches data from a remote server. How do you mock up the server interactions? (That is, client performs an operation and sends data to the server; server sends back a response describing success or failure, which the client then uses as feedback for further operations.) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "The volume of a pizza of thickness 'a' and radius 'z' is given by pi*z*z*a" From jim at well.com Sun Jan 16 18:08:25 2011 From: jim at well.com (jim) Date: Sun, 16 Jan 2011 09:08:25 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: Message-ID: <1295197705.9056.40.camel@jim-laptop> I'd be interested in mapping testing approaches (use a framework? how to handle stubs? value of using random data? ensuring range testing?...) to software designs (classic package with some classes, specialized I/O access, framework that presents an API, a compute-intensive engine...). On Sat, 2011-01-15 at 13:49 -0800, Glen Jarvis wrote: > I was having lunch with Luca today and we were talking about putting together a talk on testing. I, selfishly, want a talk to teach me things that I don't know. And, Luca is a testing engineer who works with many products and frameworks. > > We want to brainstorm on the list to see what most people are interested in. > > One idea is the "buzzwords" type talk where each framework is introduced and a high level "this is why it's more useful than another" is given. For example, twill, selenium, lettuce, nose, unit tests, etc. > > Another idea is to pick a few and drill down on them showing how to write them. For example, how does one mock up things and what tools are in place. > > What interest is there and what are people most curious about? > > Warmest Regards, > > > > > Glen > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From nstinemates at gmail.com Sun Jan 16 19:04:18 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Sun, 16 Jan 2011 10:04:18 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: <20110116163603.GB7560@panix.com> References: <20110116163603.GB7560@panix.com> Message-ID: As I have never been to a meeting, I would not feel comfortable giving a talk. However, this is something we deal with every day and I would love to share some of the war stories we have got past, are working on, and plan to tackle in the future. Nick On Sunday, January 16, 2011, Aahz wrote: > On Sat, Jan 15, 2011, Glen Jarvis wrote: >> >> What interest is there and what are people most curious about? > > I'm mostly interested in war stories about complex testing. ?For example, > consider an application that stores data locally in a DB and also fetches > data from a remote server. ?How do you mock up the server interactions? > (That is, client performs an operation and sends data to the server; > server sends back a response describing success or failure, which the > client then uses as feedback for further operations.) > -- > Aahz (aahz at pythoncraft.com) ? ? ? ? ? <*> ? ? ? ? http://www.pythoncraft.com/ > > "The volume of a pizza of thickness 'a' and radius 'z' is > given by pi*z*z*a" > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From glen at glenjarvis.com Sun Jan 16 19:13:05 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Sun, 16 Jan 2011 10:13:05 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: <20110116163603.GB7560@panix.com> Message-ID: Thanks Nick. Let me reply to you off list and carbon copy Jim who is the organizer of who talks when. Glen On Sun, Jan 16, 2011 at 10:04 AM, Nick Stinemates wrote: > As I have never been to a meeting, I would not feel comfortable giving > a talk. However, this is something we deal with every day and I would > love to share some of the war stories we have got past, are working > on, and plan to tackle in the future. > > Nick > > On Sunday, January 16, 2011, Aahz wrote: > > On Sat, Jan 15, 2011, Glen Jarvis wrote: > >> > >> What interest is there and what are people most curious about? > > > > I'm mostly interested in war stories about complex testing. For example, > > consider an application that stores data locally in a DB and also fetches > > data from a remote server. How do you mock up the server interactions? > > (That is, client performs an operation and sends data to the server; > > server sends back a response describing success or failure, which the > > client then uses as feedback for further operations.) > > -- > > Aahz (aahz at pythoncraft.com) <*> > http://www.pythoncraft.com/ > > > > "The volume of a pizza of thickness 'a' and radius 'z' is > > given by pi*z*z*a" > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From anfrind at gmail.com Sun Jan 16 21:07:15 2011 From: anfrind at gmail.com (Lincoln Peters) Date: Sun, 16 Jan 2011 12:07:15 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: Message-ID: On Sat, Jan 15, 2011 at 1:49 PM, Glen Jarvis wrote: > What interest is there and what are people most curious about? A few things that I'd be interested in: * Controlling multiple hosts for a single test * Measure and report how long it takes to run a particular test, and compare to previous builds * Save artifacts, so that a stakeholder can visually inspect output for correctness At my job, we use the built-in "unittest" framework with a few of our own derived classes for most of our testing, but I haven't yet found good solutions to those problems. -- Lincoln Peters From mamin at mbasciences.com Sun Jan 16 22:55:09 2011 From: mamin at mbasciences.com (Minesh B. Amin) Date: Sun, 16 Jan 2011 13:55:09 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: Message-ID: <1295214909.4901.51.camel@lusaka> Coming at this problem (of testing distributed/parallel software) from the perspective of "parallel processing", we finally realized that a host of issues (including the ones Lincoln mentioned) can be much better described, prototyped, implemented, tested, and studied by going back to basics in terms of how package management is done. Our solution had to have couple of attributes: + pkg management must be embedded within the Python interpreter + pkg dependencies must be very easy to describe, compute (if needed), enforce/freeze, and migrate from one snapshot to another + must be very easy to describe, and run/collect stats on multiple runtime environments in parallel (with each having a different set of pkg dependencies) + must be able to install at any time, potentially conflicting, versions of the same pkg under some "install directory" ... without the addition causing any problem If interested, I can give a presentation on the what/why/how of our solution. Cheers! Minesh On Sun, 2011-01-16 at 12:07 -0800, Lincoln Peters wrote: > On Sat, Jan 15, 2011 at 1:49 PM, Glen Jarvis wrote: > > What interest is there and what are people most curious about? > > A few things that I'd be interested in: > > * Controlling multiple hosts for a single test > * Measure and report how long it takes to run a particular test, and > compare to previous builds > * Save artifacts, so that a stakeholder can visually inspect output > for correctness > > At my job, we use the built-in "unittest" framework with a few of our > own derived classes for most of our testing, but I haven't yet found > good solutions to those problems. > > From n8pease at gmail.com Mon Jan 17 07:15:30 2011 From: n8pease at gmail.com (Nathan Pease) Date: Sun, 16 Jan 2011 22:15:30 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: <87sjwtwona.wl%krid@otisbean.com> References: <87sjwtwona.wl%krid@otisbean.com> Message-ID: <1872A773-9BB4-4976-AECF-9B3953AFFC00@gmail.com> I'm interested in how people are testing applications (as opposed to websites), distributed or local. I'm also interested in handling the logistics of tasks like running installers or having multiple tests running at the same time on one or more computer. And to that end I could talk some about what we've done - and I'd love to hear other stories or feedback on what we're doing. We use SWIG to expose our code to python (generate a python api to our applications) and have a fairly thin home-grown test framework written in python. this is a great topic, thanks for bringing it up. nate On Jan 15, 2011, at 6:47 PM, Dirk Bergstrom wrote: > On 01/15/2011 01:49 PM, Glen Jarvis wrote: >> What interest is there and what are people most curious about? > > I'd be interested in learning more about Behavior Driven Development. > > I'd really like to hear about frameworks that don't require drinking a > whole pitcher of koolaid. Something that's easy to get into, and > doesn't assume that you're religious about testing. > > -- > -------------------------------------- > Dirk Bergstrom krid at otisbean.com > http://otisbean.com/ > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From tony at tcapp.com Mon Jan 17 08:26:49 2011 From: tony at tcapp.com (Tony Cappellini) Date: Sun, 16 Jan 2011 23:26:49 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: <1872A773-9BB4-4976-AECF-9B3953AFFC00@gmail.com> References: <87sjwtwona.wl%krid@otisbean.com> <1872A773-9BB4-4976-AECF-9B3953AFFC00@gmail.com> Message-ID: > >>I'm interested in how people are testing applications (as opposed to > websites), distributed or >>local. I'm also interested in handling the > logistics of tasks like running installers or having >>multiple tests > running at the same time on one or more computer. And to that end I could > talk > +1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From keith at dartworks.biz Mon Jan 17 09:19:53 2011 From: keith at dartworks.biz (Keith Dart) Date: Mon, 17 Jan 2011 00:19:53 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: <1295214909.4901.51.camel@lusaka> References: <1295214909.4901.51.camel@lusaka> Message-ID: <20110117001953.1863c214@dartworks.biz> === On Sun, 01/16, Minesh B. Amin wrote: === > If interested, I can give a presentation on the what/why/how of > our solution. === That would be nice. We came to the same conclusions as you. The Distribute/setuptools does offer some of that functionality already. Did you use that? If so a good talk on the use of setuptools would be good. -- Keith Dart -- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith Dart public key: ID: 19017044 ===================================================================== From keith at dartworks.biz Mon Jan 17 09:17:41 2011 From: keith at dartworks.biz (Keith Dart) Date: Mon, 17 Jan 2011 00:17:41 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: <251C3412-6329-4A64-9EC7-DA72772EC44E@glenjarvis.com> References: <251C3412-6329-4A64-9EC7-DA72772EC44E@glenjarvis.com> Message-ID: <20110117001741.7bd247ba@dartworks.biz> === On Sat, 01/15, Glen Jarvis wrote: === > If I mentioned cucumber in my previous email, I apologize. I've been > learning cucumber to do BDD development for rails. The equivalent for > python is lettuce. I hadn't learned lettuce yet, but it should be > just a port of cucumber -- although I can't say that with authority. === It sounds like you need to narrow the scope to "web application testing frameworks". That's the category of those that you mentioned. -- Keith Dart -- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith Dart public key: ID: 19017044 ===================================================================== From nstinemates at gmail.com Mon Jan 17 20:53:37 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Mon, 17 Jan 2011 11:53:37 -0800 Subject: [Baypiggies] PyCon Tutorials In-Reply-To: References: Message-ID: I was considering going To PyCon but my wife has no interest and no one I know is going. If I were in your situation, I'd be looking at Python 101 / Hands on intermediate Python, whichever you feel is more applicable Python/Django workshop Documenting your project with Sphinx Packaging, Documenting, and Distributing your Python Codebase That covers all aspects of a project, except for testing. That's (sadly) missing. Nick On Tuesday, January 11, 2011, Steve Piercy - Web Site Builder wrote: > I'm heading to PyCon, and I've looked over the list of tutorials and their descriptions. ?I'm having a hard time narrowing it down to just a few. > http://us.pycon.org/2011/schedule/lists/tutorials/ > > For an experienced web application programmer with basic python experience, which of the tutorials would be most recommended? > > Also is anyone on this list attending/presenting? ?I recognized Wesley is presenting. > > --steve > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > Steve Piercy ? ? ? ? ? ? ? Web Site Builder ? ? ? ? ? ? ? Soquel, CA > ? ? ? ? ? ? ? ? ? > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From jesse_gough at symantec.com Mon Jan 17 21:12:16 2011 From: jesse_gough at symantec.com (Jesse Gough) Date: Mon, 17 Jan 2011 12:12:16 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: <20110116163603.GB7560@panix.com> Message-ID: <20110117201216.GA8938@symantec.com> I am curious about this (mocking) as well. I have used unittest with nose, and find it to be pretty adequate for testing. However, mocking is somewhat of a pain in any language, and I have not seen an obvious choice for how to do this in python. We have some success using google-test and google-mock for C++, and I have not seen anything similar for python. Jesse On Sun, 16 Jan 2011, Nick Stinemates wrote: > As I have never been to a meeting, I would not feel comfortable giving > a talk. However, this is something we deal with every day and I would > love to share some of the war stories we have got past, are working > on, and plan to tackle in the future. > > Nick > > On Sunday, January 16, 2011, Aahz wrote: > > On Sat, Jan 15, 2011, Glen Jarvis wrote: > >> > >> What interest is there and what are people most curious about? > > > > I'm mostly interested in war stories about complex testing. ?For example, > > consider an application that stores data locally in a DB and also fetches > > data from a remote server. ?How do you mock up the server interactions? > > (That is, client performs an operation and sends data to the server; > > server sends back a response describing success or failure, which the > > client then uses as feedback for further operations.) > > -- > > Aahz (aahz at pythoncraft.com) ? ? ? ? ? <*> ? ? ? ? http://www.pythoncraft.com/ > > > > "The volume of a pizza of thickness 'a' and radius 'z' is > > given by pi*z*z*a" > > _______________________________________________ > > 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 mamin at mbasciences.com Tue Jan 18 00:12:20 2011 From: mamin at mbasciences.com (Minesh B. Amin) Date: Mon, 17 Jan 2011 15:12:20 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: <20110117001953.1863c214@dartworks.biz> References: <1295214909.4901.51.camel@lusaka> <20110117001953.1863c214@dartworks.biz> Message-ID: <1295305940.2261.38.camel@lusaka> Hi Keith, It is amazing how many basic things need to be revisited in the context of parallelism! Basic thing about setuptools is the design philosophy of "single-version, externally managed". So, one has to manipulate "sys.path" to pick the correct version ... something that gets out of hand very quickly when, say, trying to run multiple versions in parallel. Basic thing about our solution is "multiple-versions, internally managed". "sys.path" would point to the root where multiple versions reside. The actual path is determined by the version picked, or inferred (in case of default behavior). In other words, "sys.path" should be short and sweet :) Also, the system should tell me as early as possible when packages I am interested in are not present -- a really important feature when dealing with multiple cluster/cloud environments. Regards, Minesh On Mon, 2011-01-17 at 00:19 -0800, Keith Dart wrote: > That would be nice. We came to the same conclusions as you. The > Distribute/setuptools does offer some of that functionality already. > Did you use that? If so a good talk on the use of setuptools would be > good. > > > > -- Keith Dart > -- MBA Sciences, Inc (www.mbasciences.com) Tel #: 650-938-4306 Email: mamin at mbasciences.com From glen at glenjarvis.com Tue Jan 18 01:38:36 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Mon, 17 Jan 2011 16:38:36 -0800 Subject: [Baypiggies] PyCon Tutorials In-Reply-To: References: Message-ID: We also do a "brain dump" of the videos from PyCon for those of us who didn't get to go. We organize it a month or so after Pycon is over. It's something to keep in mind if you either didn't get to see a video at PyCon because of a competing time, or if you didn't get a chance to go. At the end of the day, the videos are always there online for us to watch. However, it seems that we sometimes don't get around to it. Watching it as a group kind of keeps the energy going. http://www.meetup.com/SF-Post-PyCon-Videos/ Cheers, Glen On Mon, Jan 17, 2011 at 11:53 AM, Nick Stinemates wrote: > I was considering going To PyCon but my wife has no interest and no > one I know is going. > > If I were in your situation, I'd be looking at > > Python 101 / Hands on intermediate Python, whichever you feel is more > applicable > Python/Django workshop > Documenting your project with Sphinx > Packaging, Documenting, and Distributing your Python Codebase > > That covers all aspects of a project, except for testing. That's > (sadly) missing. > > Nick > > > On Tuesday, January 11, 2011, Steve Piercy - Web Site Builder > wrote: > > I'm heading to PyCon, and I've looked over the list of tutorials and > their descriptions. I'm having a hard time narrowing it down to just a few. > > http://us.pycon.org/2011/schedule/lists/tutorials/ > > > > For an experienced web application programmer with basic python > experience, which of the tutorials would be most recommended? > > > > Also is anyone on this list attending/presenting? I recognized Wesley is > presenting. > > > > --steve > > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > Steve Piercy Web Site Builder Soquel, CA > > > > > > _______________________________________________ > > 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 > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From ashish.makani at gmail.com Tue Jan 18 02:46:30 2011 From: ashish.makani at gmail.com (ashish makani) Date: Mon, 17 Jan 2011 20:46:30 -0500 Subject: [Baypiggies] PyCon Tutorials In-Reply-To: References: Message-ID: Sounds like a swell idea Glen I would be interested in a similar group( or start one if no exists), on popular TED talks . On Mon, Jan 17, 2011 at 7:38 PM, Glen Jarvis wrote: > We also do a "brain dump" of the videos from PyCon for those of us who > didn't get to go. We organize it a month or so after Pycon is over. It's > something to keep in mind if you either didn't get to see a video at PyCon > because of a competing time, or if you didn't get a chance to go. > > At the end of the day, the videos are always there online for us to watch. > However, it seems that we sometimes don't get around to it. Watching it as a > group kind of keeps the energy going. > > > http://www.meetup.com/SF-Post-PyCon-Videos/ > > > Cheers, > > > Glen > > > On Mon, Jan 17, 2011 at 11:53 AM, Nick Stinemates wrote: > >> I was considering going To PyCon but my wife has no interest and no >> one I know is going. >> >> If I were in your situation, I'd be looking at >> >> Python 101 / Hands on intermediate Python, whichever you feel is more >> applicable >> Python/Django workshop >> Documenting your project with Sphinx >> Packaging, Documenting, and Distributing your Python Codebase >> >> That covers all aspects of a project, except for testing. That's >> (sadly) missing. >> >> Nick >> >> >> On Tuesday, January 11, 2011, Steve Piercy - Web Site Builder >> wrote: >> > I'm heading to PyCon, and I've looked over the list of tutorials and >> their descriptions. I'm having a hard time narrowing it down to just a few. >> > http://us.pycon.org/2011/schedule/lists/tutorials/ >> > >> > For an experienced web application programmer with basic python >> experience, which of the tutorials would be most recommended? >> > >> > Also is anyone on this list attending/presenting? I recognized Wesley >> is presenting. >> > >> > --steve >> > >> > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >> > Steve Piercy Web Site Builder Soquel, CA >> > >> > >> > _______________________________________________ >> > 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 >> > > > > -- > Things which matter most must never be at the mercy of things which matter > least. > > -- Goethe > > _______________________________________________ > 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 Web at StevePiercy.com Tue Jan 18 03:13:54 2011 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Mon, 17 Jan 2011 18:13:54 -0800 Subject: [Baypiggies] PyCon Tutorials In-Reply-To: Message-ID: Thanks for the tips and suggestions. I appreciate it. I signed up for these: Wednesday AM: web2py secrets http://us.pycon.org/2011/schedule/sessions/26/ Wednesday PM: Packaging, Documenting, and Distributing your Python Codebase http://us.pycon.org/2011/schedule/sessions/32/ Thursday AM: Hands on Beginning Python http://us.pycon.org/2011/schedule/sessions/117/ (Out of all the entry-level python programming sessions, this was the only one that mentioned TDD. To me it is obvious that learning to write code and testing that which you write should go hand-in-hand. Plus "prizes"! :) ) Thursday PM: Documenting Your Project With Sphinx http://us.pycon.org/2011/schedule/sessions/219/ (Includes some doctest stuff. This conflicted with the "Hands on Intermediate Python" tutorial, but I felt learning how to use this documentation tool would be more important.) I agree that the shortage of testing topics at pycon is a big disappointment. --steve On 1/17/11 at 4:38 PM, glen at glenjarvis.com (Glen Jarvis) pronounced: >We also do a "brain dump" of the videos from PyCon for those of us who >didn't get to go. We organize it a month or so after Pycon is over. It's >something to keep in mind if you either didn't get to see a video at PyCon >because of a competing time, or if you didn't get a chance to go. > >At the end of the day, the videos are always there online for us to watch. >However, it seems that we sometimes don't get around to it. Watching it as a >group kind of keeps the energy going. > > >http://www.meetup.com/SF-Post-PyCon-Videos/ > > >Cheers, > > >Glen > > >On Mon, Jan 17, 2011 at 11:53 AM, Nick Stinemates wrote: > >>I was considering going To PyCon but my wife has no interest and no >>one I know is going. >> >>If I were in your situation, I'd be looking at >> >>Python 101 / Hands on intermediate Python, whichever you feel is more >>applicable >>Python/Django workshop >>Documenting your project with Sphinx >>Packaging, Documenting, and Distributing your Python Codebase >> >>That covers all aspects of a project, except for testing. That's >>(sadly) missing. >> >>Nick >> >> >>On Tuesday, January 11, 2011, Steve Piercy - Web Site Builder >> wrote: >>>I'm heading to PyCon, and I've looked over the list of tutorials and >>their descriptions. I'm having a hard time narrowing it down to just a few. >>>http://us.pycon.org/2011/schedule/lists/tutorials/ >>> >>>For an experienced web application programmer with basic python >>experience, which of the tutorials would be most recommended? >>> >>>Also is anyone on this list attending/presenting? I recognized Wesley is >>presenting. >>> >>>--steve >>> >>>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- >>>Steve Piercy Web Site Builder Soquel, CA >>> >>> >>>_______________________________________________ >>>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 >> > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From sfseth at gmail.com Tue Jan 18 03:41:32 2011 From: sfseth at gmail.com (Seth Friedman) Date: Mon, 17 Jan 2011 18:41:32 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: <1295305940.2261.38.camel@lusaka> References: <1295214909.4901.51.camel@lusaka> <20110117001953.1863c214@dartworks.biz> <1295305940.2261.38.camel@lusaka> Message-ID: One topic I've been thinking about and been excited but haven't yet had the opportunity to implement very fully is using metaprogramming for distributed grid style testing, with some of the "fit" model. I'd love to hear someone talk on implementing this more fully. Like I've been thinking, if my goal is to execute 1000 tests on each of 8 platforms, thing "A" is to abstract all the general technical stuff involved in cross platform testing, like hide the differences in command line args from the test so test writer can say "give me a process listing that outputs the count of a process" and the library pipes it to the right ps command for the platform. Then if test executors can be determined on the fly - say 5 workers get 200 tests each. One place we had this mostly implemented, running off of google spreadsheets-as-a-DB with Cog, i think. It would take all the parameters of the "test" (spreadsheet; test suite is a row) and it would generate the actual executed code, which has all the specific implementations. With these things and a couple other pieces of data-driven stuff the tester could stay focused on the business logic of what they're trying to test rather than get bogged down in the details of running a large battery of tests across 40, substantially different machines. So, i'm curious if anyone has experience doing stuff like this, sort of applying the "fit" model of automated testing, to big scale testing challenges? seth On Mon, Jan 17, 2011 at 3:12 PM, Minesh B. Amin wrote: > Hi Keith, > > It is amazing how many basic things need to be revisited > in the context of parallelism! > > Basic thing about setuptools is the design philosophy of > "single-version, externally managed". So, one has to > manipulate "sys.path" to pick the correct version ... > something that gets out of hand very quickly when, say, > trying to run multiple versions in parallel. > > Basic thing about our solution is "multiple-versions, > internally managed". "sys.path" would point to the root > where multiple versions reside. The actual path is > determined by the version picked, or inferred (in case > of default behavior). > > In other words, "sys.path" should be short and sweet :) > Also, the system should tell me as early as possible when > packages I am interested in are not present -- a really > important feature when dealing with multiple cluster/cloud > environments. > > Regards, > Minesh > > On Mon, 2011-01-17 at 00:19 -0800, Keith Dart wrote: > > That would be nice. We came to the same conclusions as you. The > > Distribute/setuptools does offer some of that functionality already. > > Did you use that? If so a good talk on the use of setuptools would be > > good. > > > > > > > > -- Keith Dart > > > > -- > MBA Sciences, Inc (www.mbasciences.com) > Tel #: 650-938-4306 > Email: mamin at mbasciences.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 mamin at mbasciences.com Tue Jan 18 19:20:56 2011 From: mamin at mbasciences.com (Minesh B. Amin) Date: Tue, 18 Jan 2011 10:20:56 -0800 Subject: [Baypiggies] A talk on testing frameworks In-Reply-To: References: <1295214909.4901.51.camel@lusaka> <20110117001953.1863c214@dartworks.biz> <1295305940.2261.38.camel@lusaka> Message-ID: <1295374856.10459.42.camel@lusaka> Hi Seth, > So, i'm curious if anyone has experience doing stuff like this, sort > of applying the "fit" model of automated testing, to big scale testing > challenges? I am not sure about the "fit" model of automated testing. However, if you accept the premise that the DAG for a suite of tests has a lot of attributes in common with the DAG for a typical build system, check out an approach first described by Prof. D. J. Bernstein ( http://cr.yp.to/redo.html ). Avery Pennarun recently implemented this build system in Python in under a month ( http://apenwarr.ca/log/?m=201012#14 ) ! I would classify solutions in this space as: make -> generation 1.0, CMake, SCons -> generation 2.0, Avery's approach -> generation 3.0 Notice that with each generation, less and less is expected from the developer ... while more and more is expected from the "system" :) Cheers! Minesh From cappy2112 at gmail.com Mon Jan 24 21:05:47 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Mon, 24 Jan 2011 12:05:47 -0800 Subject: [Baypiggies] Looking for someone to review Manning's "Hello Python" Message-ID: Manning is looking for someone to review this book http://manning.com/briggs/ If you are interested, please reply off list. Manning is offering this book in eBook only, at the moment. Thanks From aahz at pythoncraft.com Tue Jan 25 15:51:30 2011 From: aahz at pythoncraft.com (Aahz) Date: Tue, 25 Jan 2011 09:51:30 -0500 (EST) Subject: [Baypiggies] OSCON Call for Proposals (deadline 2/7) Message-ID: <20110125145130.67A6D32092@mailbackend.panix.com> OSCON (O'Reilly Open Source Convention), the premier Open Source gathering, will be held in Portland, OR July 25-29. We're looking for people to deliver tutorials and shorter presentations. http://www.oscon.com/oscon2011 http://www.oscon.com/oscon2011/public/cfp/144 Hope to see you there! -- 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 lac at openend.se Tue Jan 25 23:14:12 2011 From: lac at openend.se (Laura Creighton) Date: Tue, 25 Jan 2011 23:14:12 +0100 Subject: [Baypiggies] Hello Bay Piggies, interested in a PyPy talk? Message-ID: <201101252214.p0PMEC8h012180@theraft.openend.se> Armin Rigo will be giving a talk about PyPy at Stanford on March 2nd. While we were in the Bay Area, we wondered if other people would be interested in a talk. Unfortunately, we won't be around for a 4th Thursday. But if people were interested, and if there was a place where we could meet, we'd be happy to give a talk or come to a meeting, or whatever you think is appropriate. Thank you very much for your consideration, and please reply to me directly since I am not on this list. Laura Creighton From jim at well.com Wed Jan 26 00:54:56 2011 From: jim at well.com (jim) Date: Tue, 25 Jan 2011 15:54:56 -0800 Subject: [Baypiggies] Hello Bay Piggies, interested in a PyPy talk? In-Reply-To: <201101252214.p0PMEC8h012180@theraft.openend.se> References: <201101252214.p0PMEC8h012180@theraft.openend.se> Message-ID: <1295999696.1816.65.camel@jim-laptop> noisebridge is a possibility: 2169 mission street between 17th and 18th in san francisco. it's a 5000 square foot space on the third floor that has a variety of sub-spaces, including two classroom areas that can accommodate over a dozen people, maybe as many as twenty in the more open classroom. there's no particular rental, but there's an expectation of some kind of contribution toward the cost of keeping the place going. the events on the main page are a fairly up to date list you can use to see if there's a day and time that suits you. if you don't see such, ask and maybe i or someone else knows of something that will help. http://www.noisebridge.net On Tue, 2011-01-25 at 23:14 +0100, Laura Creighton wrote: > Armin Rigo will be giving a talk about PyPy at Stanford on March 2nd. > While we were in the Bay Area, we wondered if other people would be > interested in a talk. Unfortunately, we won't be around for a > 4th Thursday. But if people were interested, and if there was a > place where we could meet, we'd be happy to give a talk or come to > a meeting, or whatever you think is appropriate. > > Thank you very much for your consideration, > and please reply to me directly since I am not on this list. > > Laura Creighton > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From tony at tcapp.com Wed Jan 26 02:03:01 2011 From: tony at tcapp.com (Tony Cappellini) Date: Tue, 25 Jan 2011 17:03:01 -0800 Subject: [Baypiggies] Hello Bay Piggies, interested in a PyPy talk? In-Reply-To: <201101252214.p0PMEC8h012180@theraft.openend.se> References: <201101252214.p0PMEC8h012180@theraft.openend.se> Message-ID: Is there any chance Google would be willing to host this ? On Tue, Jan 25, 2011 at 2:14 PM, Laura Creighton wrote: > Armin Rigo will be giving a talk about PyPy at Stanford on March 2nd. > While we were in the Bay Area, we wondered if other people would be > interested in a talk. ?Unfortunately, we won't be around for a > 4th Thursday. ?But if people were interested, and if there was a > place where we could meet, we'd be happy to give a talk or come to > a meeting, or whatever you think is appropriate. > > Thank you very much for your consideration, > and please reply to me directly since I am not on this list. > > Laura Creighton > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From jimmy at retzlaff.com Wed Jan 26 03:06:45 2011 From: jimmy at retzlaff.com (Jimmy Retzlaff) Date: Tue, 25 Jan 2011 18:06:45 -0800 Subject: [Baypiggies] Hello Bay Piggies, interested in a PyPy talk? In-Reply-To: References: <201101252214.p0PMEC8h012180@theraft.openend.se> Message-ID: If people want to come up to the city, then Yelp (3rd & Mission, 2 blocks from BART) can host up to ~100 people for something like this. Jimmy On Tue, Jan 25, 2011 at 5:03 PM, Tony Cappellini wrote: > Is there any chance Google would be willing to host this ? > > On Tue, Jan 25, 2011 at 2:14 PM, Laura Creighton wrote: >> Armin Rigo will be giving a talk about PyPy at Stanford on March 2nd. >> While we were in the Bay Area, we wondered if other people would be >> interested in a talk. ?Unfortunately, we won't be around for a >> 4th Thursday. ?But if people were interested, and if there was a >> place where we could meet, we'd be happy to give a talk or come to >> a meeting, or whatever you think is appropriate. >> >> Thank you very much for your consideration, >> and please reply to me directly since I am not on this list. >> >> Laura Creighton >> _______________________________________________ >> 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 ashish.makani at gmail.com Wed Jan 26 04:00:22 2011 From: ashish.makani at gmail.com (ashish makani) Date: Tue, 25 Jan 2011 21:00:22 -0600 Subject: [Baypiggies] Hello Bay Piggies, interested in a PyPy talk? In-Reply-To: References: <201101252214.p0PMEC8h012180@theraft.openend.se> Message-ID: 1. Laura, Armin Can you point us to the details( venue, time, etc) of the talk at Stanford on 2nd March. 2. +1 for yelp, as it's close to bart :) Thanks a ton Best, ashish On Tue, Jan 25, 2011 at 8:06 PM, Jimmy Retzlaff wrote: > If people want to come up to the city, then Yelp (3rd & Mission, 2 > blocks from BART) can host up to ~100 people for something like this. > > Jimmy > > On Tue, Jan 25, 2011 at 5:03 PM, Tony Cappellini wrote: > > Is there any chance Google would be willing to host this ? > > > > On Tue, Jan 25, 2011 at 2:14 PM, Laura Creighton wrote: > >> Armin Rigo will be giving a talk about PyPy at Stanford on March 2nd. > >> While we were in the Bay Area, we wondered if other people would be > >> interested in a talk. Unfortunately, we won't be around for a > >> 4th Thursday. But if people were interested, and if there was a > >> place where we could meet, we'd be happy to give a talk or come to > >> a meeting, or whatever you think is appropriate. > >> > >> Thank you very much for your consideration, > >> and please reply to me directly since I am not on this list. > >> > >> Laura Creighton > >> _______________________________________________ > >> Baypiggies mailing list > >> Baypiggies at python.org > >> To change your subscription options or unsubscribe: > >> http://mail.python.org/mailman/listinfo/baypiggies > >> > > _______________________________________________ > > Baypiggies mailing list > > Baypiggies at python.org > > To change your subscription options or unsubscribe: > > http://mail.python.org/mailman/listinfo/baypiggies > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tungwaiyip at yahoo.com Wed Jan 26 04:52:07 2011 From: tungwaiyip at yahoo.com (Tung Wai Yip) Date: Tue, 25 Jan 2011 19:52:07 -0800 Subject: [Baypiggies] Hello Bay Piggies, interested in a PyPy talk? In-Reply-To: References: <201101252214.p0PMEC8h012180@theraft.openend.se> Message-ID: +1 > 1. > Laura, Armin > Can you point us to the details( venue, time, etc) of the talk at > Stanford > on 2nd March. > > 2. +1 for yelp, as it's close to bart :) > > Thanks a ton > > Best, > ashish > > On Tue, Jan 25, 2011 at 8:06 PM, Jimmy Retzlaff > wrote: > >> If people want to come up to the city, then Yelp (3rd & Mission, 2 >> blocks from BART) can host up to ~100 people for something like this. >> >> Jimmy >> >> On Tue, Jan 25, 2011 at 5:03 PM, Tony Cappellini wrote: >> > Is there any chance Google would be willing to host this ? >> > >> > On Tue, Jan 25, 2011 at 2:14 PM, Laura Creighton >> wrote: >> >> Armin Rigo will be giving a talk about PyPy at Stanford on March 2nd. >> >> While we were in the Bay Area, we wondered if other people would be >> >> interested in a talk. Unfortunately, we won't be around for a >> >> 4th Thursday. But if people were interested, and if there was a >> >> place where we could meet, we'd be happy to give a talk or come to >> >> a meeting, or whatever you think is appropriate. >> >> >> >> Thank you very much for your consideration, >> >> and please reply to me directly since I am not on this list. >> >> >> >> Laura Creighton >> >> _______________________________________________ >> >> Baypiggies mailing list >> >> Baypiggies at python.org >> >> To change your subscription options or unsubscribe: >> >> http://mail.python.org/mailman/listinfo/baypiggies >> >> >> > _______________________________________________ >> > Baypiggies mailing list >> > Baypiggies at python.org >> > To change your subscription options or unsubscribe: >> > http://mail.python.org/mailman/listinfo/baypiggies >> > >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies From lac at openend.se Wed Jan 26 06:54:00 2011 From: lac at openend.se (Laura Creighton) Date: Wed, 26 Jan 2011 06:54:00 +0100 Subject: [Baypiggies] Hello Bay Piggies, interested in a PyPy talk? In-Reply-To: Message from Tony Cappellini of "Tue, 25 Jan 2011 17:03:01 PST." References: <201101252214.p0PMEC8h012180@theraft.openend.se> Message-ID: <201101260554.p0Q5s0DM021569@theraft.openend.se> In a message of Tue, 25 Jan 2011 17:03:01 PST, Tony Cappellini writes: >Is there any chance Google would be willing to host this ? I've mailed Peter Norvig, whom I happen to know personally, but I haven't heard back from him yet. Laura From lac at openend.se Wed Jan 26 07:10:56 2011 From: lac at openend.se (Laura Creighton) Date: Wed, 26 Jan 2011 07:10:56 +0100 Subject: [Baypiggies] Hello Bay Piggies, interested in a PyPy talk? In-Reply-To: Message from Dirk Bergstrom of "Tue, 25 Jan 2011 17:06:14 PST." <4D3F7386.8090507@otisbean.com> References: <201101252214.p0PMEC8h012180@theraft.openend.se> <1295999696.1816.65.camel@jim-laptop> <4D3F7386.8090507@otisbean.com> Message-ID: <201101260610.p0Q6AuId023366@theraft.openend.se> In a message of Tue, 25 Jan 2011 17:06:14 PST, Dirk Bergstrom writes: >Hacker Dojo is the South Bay equivalent to Noisebridge: > >http://wiki.hackerdojo.com/w/page/467454/About-Hacker-Dojo > >It's in Mountain View, about a mile and half from the regular Bay >Piggies meeting place. > >-- > -------------------------------------- > Dirk Bergstrom krid at otisbean.com > http://otisbean.com/ I do a lot of things at the Gothenburg hackerspace: http://gbg.hackerspace.se/site/ (site only in Swedish). It would be great to have a meeting there. It would also be great to have a hands-on type 2 day introduction to PyPy sprint (which I think is pretty much the same thing as what some of you call a hack-a-thon, at any rate wikiepedia thinks we probably should merge the topics, see http://en.wikipedia.org/wiki/Sprint_%28software_development%29). Having a place, or better yet 2 places where we could meet with people and actually write code with them for a few days would be really great. Assuming, of course, there are people on your end who want to write code with us. But even if there aren't people, hacking in your spaces sounds one heck of a lot more fun than hacking in the hotel room, which is what we would probably be doing otherwise. Could this sort of thing work? Laura From lac at openend.se Wed Jan 26 07:22:10 2011 From: lac at openend.se (Laura Creighton) Date: Wed, 26 Jan 2011 07:22:10 +0100 Subject: [Baypiggies] Hello Bay Piggies, interested in a PyPy talk? In-Reply-To: Message from ashish makani of "Tue, 25 Jan 2011 21:00:22 CST." References: <201101252214.p0PMEC8h012180@theraft.openend.se> Message-ID: <201101260622.p0Q6MAWB024299@theraft.openend.se> In a message of Tue, 25 Jan 2011 21:00:22 CST, ashish makani writes: >--20cf3054a549b50989049ab708f3 >Content-Type: text/plain; charset=ISO-8859-1 > >1. >Laura, Armin >Can you point us to the details( venue, time, etc) of the talk at Stanfor >d >on 2nd March. > >2. +1 for yelp, as it's close to bart :) > >Thanks a ton > >Best, >ashish Here is the link for the talk. http://en.wikipedia.org/wiki/Sprint_%28software_development%29 We've given them more information, but right now its not entirely clear what exactly they wish Armin to speak about. Probably the Jit generator, but there are other hot research areas handled by PyPy -- component based plugable garbage collection, or the stackless transform, also plugable -- so I guess we will find out what they are more precisely interested in soon. Thanks very much, Laura From glen at glenjarvis.com Thu Jan 27 04:12:13 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 26 Jan 2011 19:12:13 -0800 Subject: [Baypiggies] Study Python Concurrency Message-ID: Is anyone in SF tonight and up for a study/hack session? I'm going through JJ's slides from one of his presentations and I'm on a mission to understand all of the concepts, at a high level, from these slides. https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf Cheers, Glen -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From nstinemates at gmail.com Thu Jan 27 04:27:45 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Wed, 26 Jan 2011 19:27:45 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: References: Message-ID: If you're up for it tomorrow or Friday night I'll be happy to join you. Or, we can do it collaboratively over IM tonight? Let me know Nick On Wednesday, January 26, 2011, Glen Jarvis wrote: > Is anyone in SF tonight and up for a study/hack session? > I'm going through JJ's slides from one of his presentations and I'm on a mission to understand all of the concepts, at a high level, from these slides. > > https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf > > Cheers, > > > Glen-- > Things which matter most must never be at the mercy of things which matter least. > > -- Goethe > > From glen at glenjarvis.com Thu Jan 27 04:40:20 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 26 Jan 2011 19:40:20 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: References: Message-ID: Tomorrow night is BayPIGgies.. maybe before or after? (Are you going tomorrow night?) >From our website: Thursday, Jan 27, 2011 *7:30 pm:* General hubbub, inventory end-of-meeting announcements, any first-minute announcements. *7:35 - 8:40 pm: Technical Program* *Topic: * *Abstract:*Introduction to CouchDB This talk introduces one 'NoSQL' solution, CouchDB, and how to get it to play well with Python. Topics covered: * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB documents within python * Writing view functions in python * Map/reduce on CouchDB from python * Lessons learned from managing and distributing a live deployment at scale under high load *Speaker: Luke Gostlings * *Bio:* Luke is a lead engineer at about.me (recently acquired by AOL). His prior positions were in: network security research, online payments, and small company stock offering markets. He has done contract work in the social and on-demand media spaces. He likes to dabble in NoSQL technologies, computer security, and financial markets. He has previously presented at CCCamp, San Francisco Startup Weekend, and RSAConference. http://about.me/luke *Topic: Newbie Nugget: *Using zip() with Django *Speaker:Vicky Tuite * *LINKS:* ** *8:40 - 9 pm: **Mapping/Random Access* Mapping is a rapid-fire audience announcement of topics the announcer is interested in. Random Access follows immediately to allow follow up individually on topics of interest. * * Cheers, Glen On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates wrote: > If you're up for it tomorrow or Friday night I'll be happy to join you. > > Or, we can do it collaboratively over IM tonight? > > Let me know > Nick > > On Wednesday, January 26, 2011, Glen Jarvis wrote: > > Is anyone in SF tonight and up for a study/hack session? > > I'm going through JJ's slides from one of his presentations and I'm on a > mission to understand all of the concepts, at a high level, from these > slides. > > > > https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf > > > > Cheers, > > > > > > Glen-- > > Things which matter most must never be at the mercy of things which > matter least. > > > > -- Goethe > > > > > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From nstinemates at gmail.com Thu Jan 27 05:01:32 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Wed, 26 Jan 2011 20:01:32 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: References: Message-ID: I hadn't planned on it but I would absolutely love to. I am in the north bay ( Marin ) so it would require special effort on my part. We will see! Nick On Wednesday, January 26, 2011, Glen Jarvis wrote: > Tomorrow night is BayPIGgies.. maybe before or after? ?(Are you going tomorrow night?) > From our website: > > Thursday, Jan 27, 2011 > 7:30 pm:?General hubbub, inventory end-of-meeting announcements, any first-minute announcements. > 7:35 - 8:40 pm: Technical Program > > Topic: > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' solution, CouchDB, and how to get it to play well with Python. Topics covered: > * Introduction to CouchDB?* A python ORM for CouchDB?* Parsing CouchDB documents within python?* Writing view functions in python?* Map/reduce on CouchDB from python > * Lessons learned from managing and distributing a live deployment at scale under high load > Speaker: Luke Gostlings > Bio:?Luke is a lead engineer at?about.me??(recently acquired by AOL).?His prior positions were in: network security research, online payments, and small company stock offering markets. He has done contract work in the social and on-demand media spaces.?He likes to dabble in NoSQL technologies, computer security, and financial markets. He has previously presented at CCCamp, San Francisco Startup Weekend, and RSAConference. > ?http://about.me/luke > > Topic: Newbie Nugget:?Using zip() with Django > Speaker:Vicky Tuite > LINKS: > > > > 8:40 - 9 pm:?Mapping/Random Access > Mapping is a rapid-fire audience announcement of topics the announcer is interested in. > Random Access follows immediately to allow follow up individually on topics of interest. > > Cheers, > > Glen > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates wrote: > If you're up for it tomorrow or Friday night I'll be happy to join you. > > Or, we can do it collaboratively over IM tonight? > > Let me know > Nick > > On Wednesday, January 26, 2011, Glen Jarvis wrote: >> Is anyone in SF tonight and up for a study/hack session? >> I'm going through JJ's slides from one of his presentations and I'm on a mission to understand all of the concepts, at a high level, from these slides. >> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >> >> Cheers, >> >> >> Glen-- >> Things which matter most must never be at the mercy of things which matter least. >> >> -- Goethe >> >> > > > -- > Things which matter most must never be at the mercy of things which matter least. > > -- Goethe > > From glen at glenjarvis.com Thu Jan 27 05:24:46 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Wed, 26 Jan 2011 20:24:46 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: References: Message-ID: For what it's worth, it is always a special effort for me. In fact, I don't just plan my day, but usually my week around it. I live in SF and work in Berkeley (usually until 6 pm) and don't have a car. So, I usually come in early on some days so I can get out of Berkeley in time and get down there by the time we start. Sometimes I carpool/ride with others. This saves additional time as public transportation from SF can add almost three hours (one way) to the trip. So, I completely understand. I usually find it worth while... usually for the socializing before, after and the stuff that I always learn from other people around me. Cheers, Glen On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates wrote: > I hadn't planned on it but I would absolutely love to. > > I am in the north bay ( Marin ) so it would require special effort on > my part. We will see! > > Nick > > > > On Wednesday, January 26, 2011, Glen Jarvis wrote: > > Tomorrow night is BayPIGgies.. maybe before or after? (Are you going > tomorrow night?) > > From our website: > > > > Thursday, Jan 27, 2011 > > 7:30 pm: General hubbub, inventory end-of-meeting announcements, any > first-minute announcements. > > 7:35 - 8:40 pm: Technical Program > > > > Topic: > > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' > solution, CouchDB, and how to get it to play well with Python. Topics > covered: > > * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB > documents within python * Writing view functions in python * Map/reduce on > CouchDB from python > > * Lessons learned from managing and distributing a live deployment at > scale under high load > > Speaker: Luke Gostlings > > Bio: Luke is a lead engineer at about.me (recently > acquired by AOL). His prior positions were in: network security research, > online payments, and small company stock offering markets. He has done > contract work in the social and on-demand media spaces. He likes to dabble > in NoSQL technologies, computer security, and financial markets. He has > previously presented at CCCamp, San Francisco Startup Weekend, and > RSAConference. > > http://about.me/luke > > > > Topic: Newbie Nugget: Using zip() with Django > > Speaker:Vicky Tuite > > LINKS: > > > > > > > > 8:40 - 9 pm: Mapping/Random Access > > Mapping is a rapid-fire audience announcement of topics the announcer is > interested in. > > Random Access follows immediately to allow follow up individually on > topics of interest. > > > > Cheers, > > > > Glen > > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates > wrote: > > If you're up for it tomorrow or Friday night I'll be happy to join you. > > > > Or, we can do it collaboratively over IM tonight? > > > > Let me know > > Nick > > > > On Wednesday, January 26, 2011, Glen Jarvis wrote: > >> Is anyone in SF tonight and up for a study/hack session? > >> I'm going through JJ's slides from one of his presentations and I'm on a > mission to understand all of the concepts, at a high level, from these > slides. > >> > >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf > >> > >> Cheers, > >> > >> > >> Glen-- > >> Things which matter most must never be at the mercy of things which > matter least. > >> > >> -- Goethe > >> > >> > > > > > > -- > > Things which matter most must never be at the mercy of things which > matter least. > > > > -- Goethe > > > > > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From bryceverdier at gmail.com Thu Jan 27 17:44:44 2011 From: bryceverdier at gmail.com (Bryce Verdier) Date: Thu, 27 Jan 2011 08:44:44 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: References: Message-ID: <4D41A0FC.1070505@gmail.com> Wow... that's one hell of a trip and display of dedication! I'm impressed. Going back to the original topic, I'd be interested in doing some concurrency studying on Friday night, maybe meet up at Noisebridge? Bryce On 01/26/2011 08:24 PM, Glen Jarvis wrote: > For what it's worth, it is always a special effort for me. In fact, I > don't just plan my day, but usually my week around it. I live in SF > and work in Berkeley (usually until 6 pm) and don't have a car. So, I > usually come in early on some days so I can get out of Berkeley in > time and get down there by the time we start. > > Sometimes I carpool/ride with others. This saves additional time as > public transportation from SF can add almost three hours (one way) to > the trip. > > So, I completely understand. I usually find it worth while... usually > for the socializing before, after and the stuff that I always learn > from other people around me. > > Cheers, > > > Glen > > > On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates > > wrote: > > I hadn't planned on it but I would absolutely love to. > > I am in the north bay ( Marin ) so it would require special effort on > my part. We will see! > > Nick > > > > On Wednesday, January 26, 2011, Glen Jarvis > wrote: > > Tomorrow night is BayPIGgies.. maybe before or after? (Are you > going tomorrow night?) > > From our website: > > > > Thursday, Jan 27, 2011 > > 7:30 pm: General hubbub, inventory end-of-meeting announcements, > any first-minute announcements. > > 7:35 - 8:40 pm: Technical Program > > > > Topic: > > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' > solution, CouchDB, and how to get it to play well with Python. > Topics covered: > > * Introduction to CouchDB * A python ORM for CouchDB * Parsing > CouchDB documents within python * Writing view functions in > python * Map/reduce on CouchDB from python > > * Lessons learned from managing and distributing a live > deployment at scale under high load > > Speaker: Luke Gostlings > > Bio: Luke is a lead engineer at about.me > (recently acquired by AOL). His prior positions > were in: network security research, online payments, and small > company stock offering markets. He has done contract work in the > social and on-demand media spaces. He likes to dabble in NoSQL > technologies, computer security, and financial markets. He has > previously presented at CCCamp, San Francisco Startup Weekend, and > RSAConference. > > http://about.me/luke > > > > Topic: Newbie Nugget: Using zip() with Django > > Speaker:Vicky Tuite > > LINKS: > > > > > > > > 8:40 - 9 pm: Mapping/Random Access > > Mapping is a rapid-fire audience announcement of topics the > announcer is interested in. > > Random Access follows immediately to allow follow up > individually on topics of interest. > > > > Cheers, > > > > Glen > > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates > > wrote: > > If you're up for it tomorrow or Friday night I'll be happy to > join you. > > > > Or, we can do it collaboratively over IM tonight? > > > > Let me know > > Nick > > > > On Wednesday, January 26, 2011, Glen Jarvis > wrote: > >> Is anyone in SF tonight and up for a study/hack session? > >> I'm going through JJ's slides from one of his presentations and > I'm on a mission to understand all of the concepts, at a high > level, from these slides. > >> > >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf > >> > >> Cheers, > >> > >> > >> Glen-- > >> Things which matter most must never be at the mercy of things > which matter least. > >> > >> -- Goethe > >> > >> > > > > > > -- > > Things which matter most must never be at the mercy of things > which matter least. > > > > -- Goethe > > > > > > > > > -- > Things which matter most must never be at the mercy of things which > matter least. > > -- Goethe > > > _______________________________________________ > 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 nstinemates at gmail.com Thu Jan 27 18:23:13 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Thu, 27 Jan 2011 09:23:13 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: <4D41A0FC.1070505@gmail.com> References: <4D41A0FC.1070505@gmail.com> Message-ID: One of the guys on my team is in from Florida and now wants to go. Looks like I can't let him down so I will see you guys tonight! Thanks for the reminder/invite, Glen. Nick On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier wrote: > Wow... that's one hell of a trip and display of dedication! I'm impressed. > > Going back to the original topic, I'd be interested in doing some > concurrency studying on Friday night, maybe meet up at Noisebridge? > > Bryce > > > On 01/26/2011 08:24 PM, Glen Jarvis wrote: > > For what it's worth, it is always a special effort for me. In fact, I don't > just plan my day, but usually my week around it. I live in SF and work in > Berkeley (usually until 6 pm) and don't have a car. So, I usually come in > early on some days so I can get out of Berkeley in time and get down there > by the time we start. > > Sometimes I carpool/ride with others. This saves additional time as > public transportation from SF can add almost three hours (one way) to the > trip. > > So, I completely understand. I usually find it worth while... usually for > the socializing before, after and the stuff that I always learn from other > people around me. > > Cheers, > > > Glen > > > On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates wrote: > >> I hadn't planned on it but I would absolutely love to. >> >> I am in the north bay ( Marin ) so it would require special effort on >> my part. We will see! >> >> Nick >> >> >> >> On Wednesday, January 26, 2011, Glen Jarvis wrote: >> > Tomorrow night is BayPIGgies.. maybe before or after? (Are you going >> tomorrow night?) >> > From our website: >> > >> > Thursday, Jan 27, 2011 >> > 7:30 pm: General hubbub, inventory end-of-meeting announcements, any >> first-minute announcements. >> > 7:35 - 8:40 pm: Technical Program >> > >> > Topic: >> > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' >> solution, CouchDB, and how to get it to play well with Python. Topics >> covered: >> > * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB >> documents within python * Writing view functions in python * Map/reduce on >> CouchDB from python >> > * Lessons learned from managing and distributing a live deployment at >> scale under high load >> > Speaker: Luke Gostlings >> > Bio: Luke is a lead engineer at about.me (recently >> acquired by AOL). His prior positions were in: network security research, >> online payments, and small company stock offering markets. He has done >> contract work in the social and on-demand media spaces. He likes to dabble >> in NoSQL technologies, computer security, and financial markets. He has >> previously presented at CCCamp, San Francisco Startup Weekend, and >> RSAConference. >> > http://about.me/luke >> > >> > Topic: Newbie Nugget: Using zip() with Django >> > Speaker:Vicky Tuite >> > LINKS: >> > >> > >> > >> > 8:40 - 9 pm: Mapping/Random Access >> > Mapping is a rapid-fire audience announcement of topics the announcer is >> interested in. >> > Random Access follows immediately to allow follow up individually on >> topics of interest. >> > >> > Cheers, >> > >> > Glen >> > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates >> wrote: >> > If you're up for it tomorrow or Friday night I'll be happy to join you. >> > >> > Or, we can do it collaboratively over IM tonight? >> > >> > Let me know >> > Nick >> > >> > On Wednesday, January 26, 2011, Glen Jarvis >> wrote: >> >> Is anyone in SF tonight and up for a study/hack session? >> >> I'm going through JJ's slides from one of his presentations and I'm on >> a mission to understand all of the concepts, at a high level, from these >> slides. >> >> >> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >> >> >> >> Cheers, >> >> >> >> >> >> Glen-- >> >> Things which matter most must never be at the mercy of things which >> matter least. >> >> >> >> -- Goethe >> >> >> >> >> > >> > >> > -- >> > Things which matter most must never be at the mercy of things which >> matter least. >> > >> > -- Goethe >> > >> > >> > > > > -- > Things which matter most must never be at the mercy of things which matter > least. > > -- Goethe > > > _______________________________________________ > Baypiggies mailing listBaypiggies 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 systemateka.com Thu Jan 27 20:22:28 2011 From: jim at systemateka.com (jim) Date: Thu, 27 Jan 2011 11:22:28 -0800 Subject: [Baypiggies] BayPIGgies meeting Tonight, Thursday, January 27, 2011: Introduction to CouchDB Message-ID: <1296156148.1882.65.camel@jim-laptop> BayPIGgies meeting Tonight, Thursday, January 27, 2011: Introduction to CouchDB This meeting's talk is Introduction to CouchDB by Luke Gostlings This talk introduces one 'NoSQL' solution, CouchDB, and how to get it to play well with Python. Topics covered: * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB documents within python * Writing view functions in python * Map/reduce on CouchDB from python * Lessons learned from managing and distributing a live deployment at scale under high load Speaker Bio: Luke Gostlings Luke is a lead engineer at about.me (recently acquired by AOL). His prior positions were in: network security research, online payments, and small company stock offering markets. He has done contract work in the social and on-demand media spaces. He likes to dabble in NoSQL technologies, computer security, and financial markets. He has previously presented at CCCamp, San Francisco Startup Weekend, and RSAConference. http://about.me/luke ......................................... Meetings usually start with a Newbie Nugget, a short discussion of an essential Python feature, especially for those new to Python. Tonight's Newbie Nugget: Using zip() with Django, presented by Vicky Tuite LOCATION Symantec Corporation Symantec Vcafe 350 Ellis Street Mountain View, CA 94043 http://maps.google.com/maps/ms?oe=utf-8&client=firefox-a&ie=UTF8&fb=1&split=1&gl=us&ei=w6i_Sfr6MZmQsQOzlv0v&hl=en&t=h&msa=0&msid=116202735295394761637.00046550c09ff3d96bff1&ll=37.397693,-122.053707&spn=0.002902,0.004828&z=18 BayPIGgies meeting information is available at http://www.baypiggies.net/ ------------------------ Agenda ------------------------ ..... 7:30 PM ........................... General hubbub, inventory end-of-meeting announcements, any first-minute announcements. ..... 7:35 PM to 7:45 PM ................ Tonight's Newbie Nugget: Using zip() with Django, presented by Vicky Tuite ..... 7:45 PM to 8:25 PM (or so) ................ The talk: Introduction to CouchDB ..... 8:25 PM to 8:55 PM (or so) ................ Questions and Answers ..... 8:55 PM to 9:30 PM (or so) ................ Mapping and Random Access Mapping is a rapid-fire audience announcement of issues, hiring, events, and other topics. Random Access follows people immediately to allow follow up on the announcements and other interests. From brian.curtin at gmail.com Thu Jan 27 21:23:22 2011 From: brian.curtin at gmail.com (Brian Curtin) Date: Thu, 27 Jan 2011 14:23:22 -0600 Subject: [Baypiggies] PSF Sprints - Call For Applications Message-ID: Hello BayPIGgies! On behalf of the Python Software Foundation?s sponsored sprint group, I wanted to drop your group a quick note introducing us. If you?re already familiar with our sponsored sprints, you?ll be happy to know we made a few changes to help both sprint groups and Python even more. The PSF recently set aside funding to be distributed to groups who spend time contributing to the Python ecosystem, often in the form of development sprints. Our goal is to help you help Python, so whether it?s buying meals or renting meeting space for your all-day hackathon, we have a budget set aside to reimburse your expenses up to $300 (up from $250). If your goal is to make the Python world a better place, and you work on the problems facing Python today, we want to help you. We?re looking for groups of hackers that spend their time fixing and expanding the wide variety of Python interpreters, libraries, tools, and anything else affecting the community.We?re also looking for groups who want to help and get started but don?t have the resources to get together. Whether your group is separated by a train ride or lacking a shared space, we want to help you. On-boarding new contributors to open source Python projects is an especially important area that we?d like to work with.This means if you have a Python project and you want to sprint -- we want to help you.Some sprints we?ve sponsored include the porting of Genshi to Python 3, improvements to packaging (Distribute/distutils), and most recently, the PyPy winter sprint in Switzerland. If your group is interested in hosting a sprint, check out the full details of our call for applications at http://www.pythonsprints.com/cfa/ and contact us at sprints at python.org. Thanks for your time, and happy sprinting! Brian Curtin Jesse Noller http://www.pythonsprints.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Fri Jan 28 01:10:34 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Thu, 27 Jan 2011 16:10:34 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: References: <4D41A0FC.1070505@gmail.com> Message-ID: Ack. I am finishing something at work after all. I'm going to miss tonight. Nick, I hope you have a good time tonight. Good luck all! Cheers, Glen On Thu, Jan 27, 2011 at 9:23 AM, Nick Stinemates wrote: > One of the guys on my team is in from Florida and now wants to go. Looks > like I can't let him down so I will see you guys tonight! > > Thanks for the reminder/invite, Glen. > > Nick > > > On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier wrote: > >> Wow... that's one hell of a trip and display of dedication! I'm >> impressed. >> >> Going back to the original topic, I'd be interested in doing some >> concurrency studying on Friday night, maybe meet up at Noisebridge? >> >> Bryce >> >> >> On 01/26/2011 08:24 PM, Glen Jarvis wrote: >> >> For what it's worth, it is always a special effort for me. In fact, I >> don't just plan my day, but usually my week around it. I live in SF and work >> in Berkeley (usually until 6 pm) and don't have a car. So, I usually come in >> early on some days so I can get out of Berkeley in time and get down there >> by the time we start. >> >> Sometimes I carpool/ride with others. This saves additional time as >> public transportation from SF can add almost three hours (one way) to the >> trip. >> >> So, I completely understand. I usually find it worth while... usually >> for the socializing before, after and the stuff that I always learn from >> other people around me. >> >> Cheers, >> >> >> Glen >> >> >> On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates wrote: >> >>> I hadn't planned on it but I would absolutely love to. >>> >>> I am in the north bay ( Marin ) so it would require special effort on >>> my part. We will see! >>> >>> Nick >>> >>> >>> >>> On Wednesday, January 26, 2011, Glen Jarvis wrote: >>> > Tomorrow night is BayPIGgies.. maybe before or after? (Are you going >>> tomorrow night?) >>> > From our website: >>> > >>> > Thursday, Jan 27, 2011 >>> > 7:30 pm: General hubbub, inventory end-of-meeting announcements, any >>> first-minute announcements. >>> > 7:35 - 8:40 pm: Technical Program >>> > >>> > Topic: >>> > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' >>> solution, CouchDB, and how to get it to play well with Python. Topics >>> covered: >>> > * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB >>> documents within python * Writing view functions in python * Map/reduce on >>> CouchDB from python >>> > * Lessons learned from managing and distributing a live deployment at >>> scale under high load >>> > Speaker: Luke Gostlings >>> > Bio: Luke is a lead engineer at about.me (recently >>> acquired by AOL). His prior positions were in: network security research, >>> online payments, and small company stock offering markets. He has done >>> contract work in the social and on-demand media spaces. He likes to dabble >>> in NoSQL technologies, computer security, and financial markets. He has >>> previously presented at CCCamp, San Francisco Startup Weekend, and >>> RSAConference. >>> > http://about.me/luke >>> > >>> > Topic: Newbie Nugget: Using zip() with Django >>> > Speaker:Vicky Tuite >>> > LINKS: >>> > >>> > >>> > >>> > 8:40 - 9 pm: Mapping/Random Access >>> > Mapping is a rapid-fire audience announcement of topics the announcer >>> is interested in. >>> > Random Access follows immediately to allow follow up individually on >>> topics of interest. >>> > >>> > Cheers, >>> > >>> > Glen >>> > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates < >>> nstinemates at gmail.com> wrote: >>> > If you're up for it tomorrow or Friday night I'll be happy to join you. >>> > >>> > Or, we can do it collaboratively over IM tonight? >>> > >>> > Let me know >>> > Nick >>> > >>> > On Wednesday, January 26, 2011, Glen Jarvis >>> wrote: >>> >> Is anyone in SF tonight and up for a study/hack session? >>> >> I'm going through JJ's slides from one of his presentations and I'm on >>> a mission to understand all of the concepts, at a high level, from these >>> slides. >>> >> >>> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >>> >> >>> >> Cheers, >>> >> >>> >> >>> >> Glen-- >>> >> Things which matter most must never be at the mercy of things which >>> matter least. >>> >> >>> >> -- Goethe >>> >> >>> >> >>> > >>> > >>> > -- >>> > Things which matter most must never be at the mercy of things which >>> matter least. >>> > >>> > -- Goethe >>> > >>> > >>> >> >> >> >> -- >> Things which matter most must never be at the mercy of things which matter >> least. >> >> -- Goethe >> >> >> _______________________________________________ >> Baypiggies mailing listBaypiggies 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 > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From aahz at pythoncraft.com Fri Jan 28 01:23:44 2011 From: aahz at pythoncraft.com (Aahz) Date: Thu, 27 Jan 2011 16:23:44 -0800 Subject: [Baypiggies] Hello Bay Piggies, interested in a PyPy talk? In-Reply-To: <201101260622.p0Q6MAWB024299@theraft.openend.se> References: <201101252214.p0PMEC8h012180@theraft.openend.se> <201101260622.p0Q6MAWB024299@theraft.openend.se> Message-ID: <20110128002344.GB11522@panix.com> On Wed, Jan 26, 2011, Laura Creighton wrote: > > Here is the link for the talk. > http://en.wikipedia.org/wiki/Sprint_%28software_development%29 Is that actually the correct link? Or did you copy/paste from something else? -- 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 nstinemates at gmail.com Fri Jan 28 07:56:53 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Thu, 27 Jan 2011 22:56:53 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: References: <4D41A0FC.1070505@gmail.com> Message-ID: Had a blast. Great group of people. Luke, I have some feedback for you I'll send separately. Thanks for the great talk. Nick On Thu, Jan 27, 2011 at 4:10 PM, Glen Jarvis wrote: > Ack. I am finishing something at work after all. I'm going to miss tonight. > Nick, I hope you have a good time tonight. > > Good luck all! > > Cheers, > > > Glen > > > On Thu, Jan 27, 2011 at 9:23 AM, Nick Stinemates wrote: > >> One of the guys on my team is in from Florida and now wants to go. Looks >> like I can't let him down so I will see you guys tonight! >> >> Thanks for the reminder/invite, Glen. >> >> Nick >> >> >> On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier wrote: >> >>> Wow... that's one hell of a trip and display of dedication! I'm >>> impressed. >>> >>> Going back to the original topic, I'd be interested in doing some >>> concurrency studying on Friday night, maybe meet up at Noisebridge? >>> >>> Bryce >>> >>> >>> On 01/26/2011 08:24 PM, Glen Jarvis wrote: >>> >>> For what it's worth, it is always a special effort for me. In fact, I >>> don't just plan my day, but usually my week around it. I live in SF and work >>> in Berkeley (usually until 6 pm) and don't have a car. So, I usually come in >>> early on some days so I can get out of Berkeley in time and get down there >>> by the time we start. >>> >>> Sometimes I carpool/ride with others. This saves additional time as >>> public transportation from SF can add almost three hours (one way) to the >>> trip. >>> >>> So, I completely understand. I usually find it worth while... usually >>> for the socializing before, after and the stuff that I always learn from >>> other people around me. >>> >>> Cheers, >>> >>> >>> Glen >>> >>> >>> On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates wrote: >>> >>>> I hadn't planned on it but I would absolutely love to. >>>> >>>> I am in the north bay ( Marin ) so it would require special effort on >>>> my part. We will see! >>>> >>>> Nick >>>> >>>> >>>> >>>> On Wednesday, January 26, 2011, Glen Jarvis >>>> wrote: >>>> > Tomorrow night is BayPIGgies.. maybe before or after? (Are you >>>> going tomorrow night?) >>>> > From our website: >>>> > >>>> > Thursday, Jan 27, 2011 >>>> > 7:30 pm: General hubbub, inventory end-of-meeting announcements, any >>>> first-minute announcements. >>>> > 7:35 - 8:40 pm: Technical Program >>>> > >>>> > Topic: >>>> > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' >>>> solution, CouchDB, and how to get it to play well with Python. Topics >>>> covered: >>>> > * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB >>>> documents within python * Writing view functions in python * Map/reduce on >>>> CouchDB from python >>>> > * Lessons learned from managing and distributing a live deployment at >>>> scale under high load >>>> > Speaker: Luke Gostlings >>>> > Bio: Luke is a lead engineer at about.me (recently >>>> acquired by AOL). His prior positions were in: network security research, >>>> online payments, and small company stock offering markets. He has done >>>> contract work in the social and on-demand media spaces. He likes to dabble >>>> in NoSQL technologies, computer security, and financial markets. He has >>>> previously presented at CCCamp, San Francisco Startup Weekend, and >>>> RSAConference. >>>> > http://about.me/luke >>>> > >>>> > Topic: Newbie Nugget: Using zip() with Django >>>> > Speaker:Vicky Tuite >>>> > LINKS: >>>> > >>>> > >>>> > >>>> > 8:40 - 9 pm: Mapping/Random Access >>>> > Mapping is a rapid-fire audience announcement of topics the announcer >>>> is interested in. >>>> > Random Access follows immediately to allow follow up individually on >>>> topics of interest. >>>> > >>>> > Cheers, >>>> > >>>> > Glen >>>> > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates < >>>> nstinemates at gmail.com> wrote: >>>> > If you're up for it tomorrow or Friday night I'll be happy to join >>>> you. >>>> > >>>> > Or, we can do it collaboratively over IM tonight? >>>> > >>>> > Let me know >>>> > Nick >>>> > >>>> > On Wednesday, January 26, 2011, Glen Jarvis >>>> wrote: >>>> >> Is anyone in SF tonight and up for a study/hack session? >>>> >> I'm going through JJ's slides from one of his presentations and I'm >>>> on a mission to understand all of the concepts, at a high level, from these >>>> slides. >>>> >> >>>> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >>>> >> >>>> >> Cheers, >>>> >> >>>> >> >>>> >> Glen-- >>>> >> Things which matter most must never be at the mercy of things which >>>> matter least. >>>> >> >>>> >> -- Goethe >>>> >> >>>> >> >>>> > >>>> > >>>> > -- >>>> > Things which matter most must never be at the mercy of things which >>>> matter least. >>>> > >>>> > -- Goethe >>>> > >>>> > >>>> >>> >>> >>> >>> -- >>> Things which matter most must never be at the mercy of things which >>> matter least. >>> >>> -- Goethe >>> >>> >>> _______________________________________________ >>> Baypiggies mailing listBaypiggies 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 >> > > > > -- > Things which matter most must never be at the mercy of things which matter > least. > > -- Goethe > -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Fri Jan 28 08:59:57 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Thu, 27 Jan 2011 23:59:57 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: <4D41A0FC.1070505@gmail.com> References: <4D41A0FC.1070505@gmail.com> Message-ID: I think that's a great idea. Friday night it is :) On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier wrote: > Wow... that's one hell of a trip and display of dedication! I'm impressed. > > Going back to the original topic, I'd be interested in doing some > concurrency studying on Friday night, maybe meet up at Noisebridge? > > Bryce > > > On 01/26/2011 08:24 PM, Glen Jarvis wrote: > > For what it's worth, it is always a special effort for me. In fact, I don't > just plan my day, but usually my week around it. I live in SF and work in > Berkeley (usually until 6 pm) and don't have a car. So, I usually come in > early on some days so I can get out of Berkeley in time and get down there > by the time we start. > > Sometimes I carpool/ride with others. This saves additional time as > public transportation from SF can add almost three hours (one way) to the > trip. > > So, I completely understand. I usually find it worth while... usually for > the socializing before, after and the stuff that I always learn from other > people around me. > > Cheers, > > > Glen > > > On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates wrote: > >> I hadn't planned on it but I would absolutely love to. >> >> I am in the north bay ( Marin ) so it would require special effort on >> my part. We will see! >> >> Nick >> >> >> >> On Wednesday, January 26, 2011, Glen Jarvis wrote: >> > Tomorrow night is BayPIGgies.. maybe before or after? (Are you going >> tomorrow night?) >> > From our website: >> > >> > Thursday, Jan 27, 2011 >> > 7:30 pm: General hubbub, inventory end-of-meeting announcements, any >> first-minute announcements. >> > 7:35 - 8:40 pm: Technical Program >> > >> > Topic: >> > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' >> solution, CouchDB, and how to get it to play well with Python. Topics >> covered: >> > * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB >> documents within python * Writing view functions in python * Map/reduce on >> CouchDB from python >> > * Lessons learned from managing and distributing a live deployment at >> scale under high load >> > Speaker: Luke Gostlings >> > Bio: Luke is a lead engineer at about.me (recently >> acquired by AOL). His prior positions were in: network security research, >> online payments, and small company stock offering markets. He has done >> contract work in the social and on-demand media spaces. He likes to dabble >> in NoSQL technologies, computer security, and financial markets. He has >> previously presented at CCCamp, San Francisco Startup Weekend, and >> RSAConference. >> > http://about.me/luke >> > >> > Topic: Newbie Nugget: Using zip() with Django >> > Speaker:Vicky Tuite >> > LINKS: >> > >> > >> > >> > 8:40 - 9 pm: Mapping/Random Access >> > Mapping is a rapid-fire audience announcement of topics the announcer is >> interested in. >> > Random Access follows immediately to allow follow up individually on >> topics of interest. >> > >> > Cheers, >> > >> > Glen >> > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates >> wrote: >> > If you're up for it tomorrow or Friday night I'll be happy to join you. >> > >> > Or, we can do it collaboratively over IM tonight? >> > >> > Let me know >> > Nick >> > >> > On Wednesday, January 26, 2011, Glen Jarvis >> wrote: >> >> Is anyone in SF tonight and up for a study/hack session? >> >> I'm going through JJ's slides from one of his presentations and I'm on >> a mission to understand all of the concepts, at a high level, from these >> slides. >> >> >> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >> >> >> >> Cheers, >> >> >> >> >> >> Glen-- >> >> Things which matter most must never be at the mercy of things which >> matter least. >> >> >> >> -- Goethe >> >> >> >> >> > >> > >> > -- >> > Things which matter most must never be at the mercy of things which >> matter least. >> > >> > -- Goethe >> > >> > >> > > > > -- > Things which matter most must never be at the mercy of things which matter > least. > > -- Goethe > > > _______________________________________________ > Baypiggies mailing listBaypiggies 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 > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From bryceverdier at gmail.com Fri Jan 28 17:43:26 2011 From: bryceverdier at gmail.com (Bryce Verdier) Date: Fri, 28 Jan 2011 08:43:26 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: References: <4D41A0FC.1070505@gmail.com> Message-ID: <4D42F22E.20207@gmail.com> What time is everyone thinking regarding this? I'd like to know in order to help me plan my evening. Sorry I missed last night, I was really looking forward to it. Are there slides? Bryce On 01/27/2011 11:59 PM, Glen Jarvis wrote: > I think that's a great idea. Friday night it is :) > > On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier > wrote: > > Wow... that's one hell of a trip and display of dedication! I'm > impressed. > > Going back to the original topic, I'd be interested in doing some > concurrency studying on Friday night, maybe meet up at Noisebridge? > > Bryce > > > On 01/26/2011 08:24 PM, Glen Jarvis wrote: >> For what it's worth, it is always a special effort for me. In >> fact, I don't just plan my day, but usually my week around it. I >> live in SF and work in Berkeley (usually until 6 pm) and don't >> have a car. So, I usually come in early on some days so I can get >> out of Berkeley in time and get down there by the time we start. >> >> Sometimes I carpool/ride with others. This saves additional time >> as public transportation from SF can add almost three hours (one >> way) to the trip. >> >> So, I completely understand. I usually find it worth while... >> usually for the socializing before, after and the stuff that I >> always learn from other people around me. >> >> Cheers, >> >> >> Glen >> >> >> On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates >> > wrote: >> >> I hadn't planned on it but I would absolutely love to. >> >> I am in the north bay ( Marin ) so it would require special >> effort on >> my part. We will see! >> >> Nick >> >> >> >> On Wednesday, January 26, 2011, Glen Jarvis >> > wrote: >> > Tomorrow night is BayPIGgies.. maybe before or after? (Are >> you going tomorrow night?) >> > From our website: >> > >> > Thursday, Jan 27, 2011 >> > 7:30 pm: General hubbub, inventory end-of-meeting >> announcements, any first-minute announcements. >> > 7:35 - 8:40 pm: Technical Program >> > >> > Topic: >> > Abstract:Introduction to CouchDBThis talk introduces one >> 'NoSQL' solution, CouchDB, and how to get it to play well >> with Python. Topics covered: >> > * Introduction to CouchDB * A python ORM for CouchDB * >> Parsing CouchDB documents within python * Writing view >> functions in python * Map/reduce on CouchDB from python >> > * Lessons learned from managing and distributing a live >> deployment at scale under high load >> > Speaker: Luke Gostlings >> > Bio: Luke is a lead engineer at about.me >> (recently acquired by AOL). His prior >> positions were in: network security research, online >> payments, and small company stock offering markets. He has >> done contract work in the social and on-demand media >> spaces. He likes to dabble in NoSQL technologies, computer >> security, and financial markets. He has previously presented >> at CCCamp, San Francisco Startup Weekend, and RSAConference. >> > http://about.me/luke >> > >> > Topic: Newbie Nugget: Using zip() with Django >> > Speaker:Vicky Tuite >> > LINKS: >> > >> > >> > >> > 8:40 - 9 pm: Mapping/Random Access >> > Mapping is a rapid-fire audience announcement of topics the >> announcer is interested in. >> > Random Access follows immediately to allow follow up >> individually on topics of interest. >> > >> > Cheers, >> > >> > Glen >> > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates >> > wrote: >> > If you're up for it tomorrow or Friday night I'll be happy >> to join you. >> > >> > Or, we can do it collaboratively over IM tonight? >> > >> > Let me know >> > Nick >> > >> > On Wednesday, January 26, 2011, Glen Jarvis >> > wrote: >> >> Is anyone in SF tonight and up for a study/hack session? >> >> I'm going through JJ's slides from one of his >> presentations and I'm on a mission to understand all of the >> concepts, at a high level, from these slides. >> >> >> >> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >> >> >> >> Cheers, >> >> >> >> >> >> Glen-- >> >> Things which matter most must never be at the mercy of >> things which matter least. >> >> >> >> -- Goethe >> >> >> >> >> > >> > >> > -- >> > Things which matter most must never be at the mercy of >> things which matter least. >> > >> > -- Goethe >> > >> > >> >> >> >> >> -- >> Things which matter most must never be at the mercy of things >> which matter least. >> >> -- Goethe >> >> >> _______________________________________________ >> 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 > > > > > -- > Things which matter most must never be at the mercy of things which > matter least. > > -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Fri Jan 28 18:01:44 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 28 Jan 2011 09:01:44 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: <4D42F22E.20207@gmail.com> References: <4D41A0FC.1070505@gmail.com> <4D42F22E.20207@gmail.com> Message-ID: <7B36F13D-E318-48C0-84E6-7CCB049C36C5@glenjarvis.com> I am very flexible with time. If no one comes up with a better time, I can throw out 6:30 giving most people time to get there (Noise Bridge) after work. We can also do a burrito run if we don't get to eat before then. Again, I'm very flexible today and this time can change. Cheers, Glen El Jan 28, 2011, a las 8:43 AM, Bryce Verdier escribi?: > What time is everyone thinking regarding this? I'd like to know in order to help me plan my evening. > > Sorry I missed last night, I was really looking forward to it. Are there slides? > > Bryce > > > On 01/27/2011 11:59 PM, Glen Jarvis wrote: >> >> I think that's a great idea. Friday night it is :) >> >> On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier wrote: >> Wow... that's one hell of a trip and display of dedication! I'm impressed. >> >> Going back to the original topic, I'd be interested in doing some concurrency studying on Friday night, maybe meet up at Noisebridge? >> >> Bryce >> >> >> On 01/26/2011 08:24 PM, Glen Jarvis wrote: >>> For what it's worth, it is always a special effort for me. In fact, I don't just plan my day, but usually my week around it. I live in SF and work in Berkeley (usually until 6 pm) and don't have a car. So, I usually come in early on some days so I can get out of Berkeley in time and get down there by the time we start. >>> >>> Sometimes I carpool/ride with others. This saves additional time as public transportation from SF can add almost three hours (one way) to the trip. >>> >>> So, I completely understand. I usually find it worth while... usually for the socializing before, after and the stuff that I always learn from other people around me. >>> >>> Cheers, >>> >>> >>> Glen >>> >>> >>> On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates wrote: >>> I hadn't planned on it but I would absolutely love to. >>> >>> I am in the north bay ( Marin ) so it would require special effort on >>> my part. We will see! >>> >>> Nick >>> >>> >>> >>> On Wednesday, January 26, 2011, Glen Jarvis wrote: >>> > Tomorrow night is BayPIGgies.. maybe before or after? (Are you going tomorrow night?) >>> > From our website: >>> > >>> > Thursday, Jan 27, 2011 >>> > 7:30 pm: General hubbub, inventory end-of-meeting announcements, any first-minute announcements. >>> > 7:35 - 8:40 pm: Technical Program >>> > >>> > Topic: >>> > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' solution, CouchDB, and how to get it to play well with Python. Topics covered: >>> > * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB documents within python * Writing view functions in python * Map/reduce on CouchDB from python >>> > * Lessons learned from managing and distributing a live deployment at scale under high load >>> > Speaker: Luke Gostlings >>> > Bio: Luke is a lead engineer at about.me (recently acquired by AOL). His prior positions were in: network security research, online payments, and small company stock offering markets. He has done contract work in the social and on-demand media spaces. He likes to dabble in NoSQL technologies, computer security, and financial markets. He has previously presented at CCCamp, San Francisco Startup Weekend, and RSAConference. >>> > http://about.me/luke >>> > >>> > Topic: Newbie Nugget: Using zip() with Django >>> > Speaker:Vicky Tuite >>> > LINKS: >>> > >>> > >>> > >>> > 8:40 - 9 pm: Mapping/Random Access >>> > Mapping is a rapid-fire audience announcement of topics the announcer is interested in. >>> > Random Access follows immediately to allow follow up individually on topics of interest. >>> > >>> > Cheers, >>> > >>> > Glen >>> > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates wrote: >>> > If you're up for it tomorrow or Friday night I'll be happy to join you. >>> > >>> > Or, we can do it collaboratively over IM tonight? >>> > >>> > Let me know >>> > Nick >>> > >>> > On Wednesday, January 26, 2011, Glen Jarvis wrote: >>> >> Is anyone in SF tonight and up for a study/hack session? >>> >> I'm going through JJ's slides from one of his presentations and I'm on a mission to understand all of the concepts, at a high level, from these slides. >>> >> >>> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >>> >> >>> >> Cheers, >>> >> >>> >> >>> >> Glen-- >>> >> Things which matter most must never be at the mercy of things which matter least. >>> >> >>> >> -- Goethe >>> >> >>> >> >>> > >>> > >>> > -- >>> > Things which matter most must never be at the mercy of things which matter least. >>> > >>> > -- Goethe >>> > >>> > >>> >>> >>> >>> -- >>> Things which matter most must never be at the mercy of things which matter least. >>> >>> -- Goethe >>> >>> _______________________________________________ >>> 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 >> >> >> >> -- >> Things which matter most must never be at the mercy of things which matter least. >> >> -- Goethe > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bryceverdier at gmail.com Fri Jan 28 18:10:22 2011 From: bryceverdier at gmail.com (Bryce Verdier) Date: Fri, 28 Jan 2011 09:10:22 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: <7B36F13D-E318-48C0-84E6-7CCB049C36C5@glenjarvis.com> References: <4D41A0FC.1070505@gmail.com> <4D42F22E.20207@gmail.com> <7B36F13D-E318-48C0-84E6-7CCB049C36C5@glenjarvis.com> Message-ID: <4D42F87E.2020109@gmail.com> I get outta work about 4:30, and have a couple of things I need to do before I can come up. I will be there but probably not by 6:30. But I will try to make it as close to that as possible. Bryce On 01/28/2011 09:01 AM, Glen Jarvis wrote: > I am very flexible with time. If no one comes up with a better time, I > can throw out 6:30 giving most people time to get there (Noise Bridge) > after work. We can also do a burrito run if we don't get to eat before > then. Again, I'm very flexible today and this time can change. > > Cheers, > > > Glen > > El Jan 28, 2011, a las 8:43 AM, Bryce Verdier > escribi?: > >> What time is everyone thinking regarding this? I'd like to know in >> order to help me plan my evening. >> >> Sorry I missed last night, I was really looking forward to it. Are >> there slides? >> >> Bryce >> >> >> On 01/27/2011 11:59 PM, Glen Jarvis wrote: >>> I think that's a great idea. Friday night it is :) >>> >>> On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier >>> > wrote: >>> >>> Wow... that's one hell of a trip and display of dedication! I'm >>> impressed. >>> >>> Going back to the original topic, I'd be interested in doing >>> some concurrency studying on Friday night, maybe meet up at >>> Noisebridge? >>> >>> Bryce >>> >>> >>> On 01/26/2011 08:24 PM, Glen Jarvis wrote: >>>> For what it's worth, it is always a special effort for me. In >>>> fact, I don't just plan my day, but usually my week around it. >>>> I live in SF and work in Berkeley (usually until 6 pm) and >>>> don't have a car. So, I usually come in early on some days so I >>>> can get out of Berkeley in time and get down there by the time >>>> we start. >>>> >>>> Sometimes I carpool/ride with others. This saves additional >>>> time as public transportation from SF can add almost three >>>> hours (one way) to the trip. >>>> >>>> So, I completely understand. I usually find it worth while... >>>> usually for the socializing before, after and the stuff that I >>>> always learn from other people around me. >>>> >>>> Cheers, >>>> >>>> >>>> Glen >>>> >>>> >>>> On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates >>>> > wrote: >>>> >>>> I hadn't planned on it but I would absolutely love to. >>>> >>>> I am in the north bay ( Marin ) so it would require special >>>> effort on >>>> my part. We will see! >>>> >>>> Nick >>>> >>>> >>>> >>>> On Wednesday, January 26, 2011, Glen Jarvis >>>> > wrote: >>>> > Tomorrow night is BayPIGgies.. maybe before or after? >>>> (Are you going tomorrow night?) >>>> > From our website: >>>> > >>>> > Thursday, Jan 27, 2011 >>>> > 7:30 pm: General hubbub, inventory end-of-meeting >>>> announcements, any first-minute announcements. >>>> > 7:35 - 8:40 pm: Technical Program >>>> > >>>> > Topic: >>>> > Abstract:Introduction to CouchDBThis talk introduces one >>>> 'NoSQL' solution, CouchDB, and how to get it to play well >>>> with Python. Topics covered: >>>> > * Introduction to CouchDB * A python ORM for CouchDB * >>>> Parsing CouchDB documents within python * Writing view >>>> functions in python * Map/reduce on CouchDB from python >>>> > * Lessons learned from managing and distributing a live >>>> deployment at scale under high load >>>> > Speaker: Luke Gostlings >>>> > Bio: Luke is a lead engineer at about.me >>>> (recently acquired by >>>> AOL). His prior positions were in: network security >>>> research, online payments, and small company stock offering >>>> markets. He has done contract work in the social and >>>> on-demand media spaces. He likes to dabble in NoSQL >>>> technologies, computer security, and financial markets. He >>>> has previously presented at CCCamp, San Francisco Startup >>>> Weekend, and RSAConference. >>>> > http://about.me/luke >>>> > >>>> > Topic: Newbie Nugget: Using zip() with Django >>>> > Speaker:Vicky Tuite >>>> > LINKS: >>>> > >>>> > >>>> > >>>> > 8:40 - 9 pm: Mapping/Random Access >>>> > Mapping is a rapid-fire audience announcement of topics >>>> the announcer is interested in. >>>> > Random Access follows immediately to allow follow up >>>> individually on topics of interest. >>>> > >>>> > Cheers, >>>> > >>>> > Glen >>>> > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates >>>> > wrote: >>>> > If you're up for it tomorrow or Friday night I'll be >>>> happy to join you. >>>> > >>>> > Or, we can do it collaboratively over IM tonight? >>>> > >>>> > Let me know >>>> > Nick >>>> > >>>> > On Wednesday, January 26, 2011, Glen Jarvis >>>> > wrote: >>>> >> Is anyone in SF tonight and up for a study/hack session? >>>> >> I'm going through JJ's slides from one of his >>>> presentations and I'm on a mission to understand all of the >>>> concepts, at a high level, from these slides. >>>> >> >>>> >> >>>> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >>>> >> >>>> >> Cheers, >>>> >> >>>> >> >>>> >> Glen-- >>>> >> Things which matter most must never be at the mercy of >>>> things which matter least. >>>> >> >>>> >> -- Goethe >>>> >> >>>> >> >>>> > >>>> > >>>> > -- >>>> > Things which matter most must never be at the mercy of >>>> things which matter least. >>>> > >>>> > -- Goethe >>>> > >>>> > >>>> >>>> >>>> >>>> >>>> -- >>>> Things which matter most must never be at the mercy of things >>>> which matter least. >>>> >>>> -- Goethe >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >>> >>> >>> >>> -- >>> Things which matter most must never be at the mercy of things which >>> matter least. >>> >>> -- Goethe >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at systemateka.com Fri Jan 28 18:38:39 2011 From: jim at systemateka.com (jim) Date: Fri, 28 Jan 2011 09:38:39 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: <7B36F13D-E318-48C0-84E6-7CCB049C36C5@glenjarvis.com> References: <4D41A0FC.1070505@gmail.com> <4D42F22E.20207@gmail.com> <7B36F13D-E318-48C0-84E6-7CCB049C36C5@glenjarvis.com> Message-ID: <1296236319.1882.103.camel@jim-laptop> any chance someone would take and share notes, even just links to better info would be helpful. On Fri, 2011-01-28 at 09:01 -0800, Glen Jarvis wrote: > I am very flexible with time. If no one comes up with a better time, I > can throw out 6:30 giving most people time to get there (Noise Bridge) > after work. We can also do a burrito run if we don't get to eat before > then. Again, I'm very flexible today and this time can change. > > > Cheers, > > > Glen > > El Jan 28, 2011, a las 8:43 AM, Bryce Verdier > escribi?: > > > > > What time is everyone thinking regarding this? I'd like to know in > > order to help me plan my evening. > > > > Sorry I missed last night, I was really looking forward to it. Are > > there slides? > > > > Bryce > > > > > > On 01/27/2011 11:59 PM, Glen Jarvis wrote: > > > I think that's a great idea. Friday night it is :) > > > > > > On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier > > > wrote: > > > Wow... that's one hell of a trip and display of > > > dedication! I'm impressed. > > > > > > Going back to the original topic, I'd be interested in > > > doing some concurrency studying on Friday night, maybe > > > meet up at Noisebridge? > > > > > > Bryce > > > > > > > > > On 01/26/2011 08:24 PM, Glen Jarvis wrote: > > > > For what it's worth, it is always a special effort for > > > > me. In fact, I don't just plan my day, but usually my > > > > week around it. I live in SF and work in Berkeley > > > > (usually until 6 pm) and don't have a car. So, I usually > > > > come in early on some days so I can get out of Berkeley > > > > in time and get down there by the time we start. > > > > > > > > > > > > Sometimes I carpool/ride with others. This saves > > > > additional time as public transportation from SF can add > > > > almost three hours (one way) to the trip. > > > > > > > > > > > > So, I completely understand. I usually find it worth > > > > while... usually for the socializing before, after and > > > > the stuff that I always learn from other people around > > > > me. > > > > > > > > > > > > Cheers, > > > > > > > > > > > > > > > > > > > > Glen > > > > > > > > > > > > > > > > On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates > > > > wrote: > > > > I hadn't planned on it but I would absolutely > > > > love to. > > > > > > > > I am in the north bay ( Marin ) so it would > > > > require special effort on > > > > my part. We will see! > > > > > > > > Nick > > > > > > > > > > > > > > > > On Wednesday, January 26, 2011, Glen Jarvis > > > > wrote: > > > > > > > > > Tomorrow night is BayPIGgies.. maybe before or > > > > after? (Are you going tomorrow night?) > > > > > From our website: > > > > > > > > > > Thursday, Jan 27, 2011 > > > > > 7:30 pm: General hubbub, inventory > > > > end-of-meeting announcements, any first-minute > > > > announcements. > > > > > 7:35 - 8:40 pm: Technical Program > > > > > > > > > > Topic: > > > > > > > > > Abstract:Introduction to CouchDBThis talk > > > > introduces one 'NoSQL' solution, CouchDB, and > > > > how to get it to play well with Python. Topics > > > > covered: > > > > > * Introduction to CouchDB * A python ORM for > > > > CouchDB * Parsing CouchDB documents within > > > > python * Writing view functions in python * > > > > Map/reduce on CouchDB from python > > > > > * Lessons learned from managing and > > > > distributing a live deployment at scale under > > > > high load > > > > > Speaker: Luke Gostlings > > > > > > > > > Bio: Luke is a lead engineer > > > > at about.me (recently > > > > acquired by AOL). His prior positions were in: > > > > network security research, online payments, and > > > > small company stock offering markets. He has > > > > done contract work in the social and on-demand > > > > media spaces. He likes to dabble in NoSQL > > > > technologies, computer security, and financial > > > > markets. He has previously presented at CCCamp, > > > > San Francisco Startup Weekend, and > > > > RSAConference. > > > > > http://about.me/luke > > > > > > > > > > Topic: Newbie Nugget: Using zip() with Django > > > > > Speaker:Vicky Tuite > > > > > LINKS: > > > > > > > > > > > > > > > > > > > > 8:40 - 9 pm: Mapping/Random Access > > > > > Mapping is a rapid-fire audience announcement > > > > of topics the announcer is interested in. > > > > > Random Access follows immediately to allow > > > > follow up individually on topics of interest. > > > > > > > > > > Cheers, > > > > > > > > > > Glen > > > > > On Wed, Jan 26, 2011 at 7:27 PM, Nick > > > > Stinemates wrote: > > > > > If you're up for it tomorrow or Friday night > > > > I'll be happy to join you. > > > > > > > > > > Or, we can do it collaboratively over IM > > > > tonight? > > > > > > > > > > Let me know > > > > > Nick > > > > > > > > > > On Wednesday, January 26, 2011, Glen Jarvis > > > > wrote: > > > > >> Is anyone in SF tonight and up for a > > > > study/hack session? > > > > >> I'm going through JJ's slides from one of his > > > > presentations and I'm on a mission to understand > > > > all of the concepts, at a high level, from these > > > > slides. > > > > >> > > > > >> > > > > https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf > > > > >> > > > > >> Cheers, > > > > >> > > > > >> > > > > >> Glen-- > > > > >> Things which matter most must never be at the > > > > mercy of things which matter least. > > > > >> > > > > >> -- Goethe > > > > >> > > > > >> > > > > > > > > > > > > > > > -- > > > > > Things which matter most must never be at the > > > > mercy of things which matter least. > > > > > > > > > > -- Goethe > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Things which matter most must never be at the mercy of > > > > things which matter least. > > > > > > > > -- Goethe > > > > > > > > > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > > -- > > > Things which matter most must never be at the mercy of things > > > which matter least. > > > > > > -- Goethe > > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From alexandre.conrad at gmail.com Sat Jan 29 00:55:08 2011 From: alexandre.conrad at gmail.com (Alexandre Conrad) Date: Fri, 28 Jan 2011 15:55:08 -0800 Subject: [Baypiggies] SurveyMonkey is hiring! Message-ID: Hello all, I just wanted to follow-up on yesterday's Random-Access as I did leave pretty quickly after my announcement and I may not given everyone's chance to come talk to me. So, SurveyMonkey is hiring all kinds of engineering positions: front-end, back-end, tests, sys admins. We also have all kinds of non-engineering positions for whomever you may know not in our field and looking for a job. That being said, I'll focus on the engineering side. We currently have 2 stacks of technologies: Python and .NET. But as time passes, the .NET code base shrinks while the Python one grows. Yes, we're in the process of switching everything to Python. As a lot of technical decisions are taken, right now it is a great time to join SurveyMonkey. For the Python side, we're mainly working with Pylons. Our most recent project even runs on the new Pyramid framework. But you don't have to know these frameworks to join us, you will learn it all here. I also saw a lot of interest recently for test automation. I am thinking about setting up a Selenium testing framework (and whatever technology to help us find bugs and prevent regressions). So if you feel you're up to the challenge, I want to hear from you! SurveyMonkey is located downtown Palo Alto, it's a 5 minutes walk from the Caltrain station. Feel free to shoot me an email. FYI I am not a recruiter, I am a SurveyMonkey engineer on the Platform and Infrastructure team. http://svy.mk/ey-jobs Cheers, -- Alex | twitter.com/alexconrad From glen at glenjarvis.com Sat Jan 29 01:57:30 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 28 Jan 2011 16:57:30 -0800 Subject: [Baypiggies] SurveyMonkey is hiring! In-Reply-To: References: Message-ID: Alex, I'm actually looking for work myself. The projet at UC Berkeley will be ending in April and I told them in December that I would start looking. I hadn't put any feelers out yet or announced anything on BayPIGgies, but I've still been doing pretty well. I just did a really cool pair programming interview today. With that said, it's not over until we have an accepted offer letter :) I'd like to try out for the SurveyMonkey gig. Here's a copy of my resume (attached). I hope that you're well :) Thanks, Glen On Fri, Jan 28, 2011 at 3:55 PM, Alexandre Conrad < alexandre.conrad at gmail.com> wrote: > Hello all, > > I just wanted to follow-up on yesterday's Random-Access as I did leave > pretty quickly after my announcement and I may not given everyone's > chance to come talk to me. > > So, SurveyMonkey is hiring all kinds of engineering positions: > front-end, back-end, tests, sys admins. We also have all kinds of > non-engineering positions for whomever you may know not in our field > and looking for a job. That being said, I'll focus on the engineering > side. > > We currently have 2 stacks of technologies: Python and .NET. But as > time passes, the .NET code base shrinks while the Python one grows. > Yes, we're in the process of switching everything to Python. As a lot > of technical decisions are taken, right now it is a great time to join > SurveyMonkey. For the Python side, we're mainly working with Pylons. > Our most recent project even runs on the new Pyramid framework. But > you don't have to know these frameworks to join us, you will learn it > all here. > > I also saw a lot of interest recently for test automation. I am > thinking about setting up a Selenium testing framework (and whatever > technology to help us find bugs and prevent regressions). So if you > feel you're up to the challenge, I want to hear from you! > > SurveyMonkey is located downtown Palo Alto, it's a 5 minutes walk from > the Caltrain station. > > Feel free to shoot me an email. FYI I am not a recruiter, I am a > SurveyMonkey engineer on the Platform and Infrastructure team. > > http://svy.mk/ey-jobs > > Cheers, > -- > Alex | twitter.com/alexconrad > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Sat Jan 29 02:07:40 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 28 Jan 2011 17:07:40 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: <4D42F87E.2020109@gmail.com> References: <4D41A0FC.1070505@gmail.com> <4D42F22E.20207@gmail.com> <7B36F13D-E318-48C0-84E6-7CCB049C36C5@glenjarvis.com> <4D42F87E.2020109@gmail.com> Message-ID: Reminder: SF BayPIGgies... We're going to get together at Noisebridge tonight - very informally - to discuss and try to understand more from the slides that were previously presented by JJ: https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf I'm heading over early (soon) to meet/greet. You can come late. I'm *not* an expert and will be asking plenty of questions as I want to learn more about this material. If you don't know how to get to NoiseBridge, here's some info: https://www.noisebridge.net/wiki/Moving/2169_Mission/Access_Control#How_Do_I_Get_Into_2169_Mission.3F Maybe see you there... Cheers, Glen On Fri, Jan 28, 2011 at 9:10 AM, Bryce Verdier wrote: > I get outta work about 4:30, and have a couple of things I need to do > before I can come up. I will be there but probably not by 6:30. But I will > try to make it as close to that as possible. > > Bryce > > > > On 01/28/2011 09:01 AM, Glen Jarvis wrote: > > I am very flexible with time. If no one comes up with a better time, I can > throw out 6:30 giving most people time to get there (Noise Bridge) after > work. We can also do a burrito run if we don't get to eat before then. > Again, I'm very flexible today and this time can change. > > Cheers, > > > Glen > > El Jan 28, 2011, a las 8:43 AM, Bryce Verdier > escribi?: > > What time is everyone thinking regarding this? I'd like to know in order > to help me plan my evening. > > Sorry I missed last night, I was really looking forward to it. Are there > slides? > > Bryce > > > On 01/27/2011 11:59 PM, Glen Jarvis wrote: > > I think that's a great idea. Friday night it is :) > > On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier wrote: > >> Wow... that's one hell of a trip and display of dedication! I'm >> impressed. >> >> Going back to the original topic, I'd be interested in doing some >> concurrency studying on Friday night, maybe meet up at Noisebridge? >> >> Bryce >> >> >> On 01/26/2011 08:24 PM, Glen Jarvis wrote: >> >> For what it's worth, it is always a special effort for me. In fact, I >> don't just plan my day, but usually my week around it. I live in SF and work >> in Berkeley (usually until 6 pm) and don't have a car. So, I usually come in >> early on some days so I can get out of Berkeley in time and get down there >> by the time we start. >> >> Sometimes I carpool/ride with others. This saves additional time as >> public transportation from SF can add almost three hours (one way) to the >> trip. >> >> So, I completely understand. I usually find it worth while... usually >> for the socializing before, after and the stuff that I always learn from >> other people around me. >> >> Cheers, >> >> >> Glen >> >> >> On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates wrote: >> >>> I hadn't planned on it but I would absolutely love to. >>> >>> I am in the north bay ( Marin ) so it would require special effort on >>> my part. We will see! >>> >>> Nick >>> >>> >>> >>> On Wednesday, January 26, 2011, Glen Jarvis wrote: >>> > Tomorrow night is BayPIGgies.. maybe before or after? (Are you going >>> tomorrow night?) >>> > From our website: >>> > >>> > Thursday, Jan 27, 2011 >>> > 7:30 pm: General hubbub, inventory end-of-meeting announcements, any >>> first-minute announcements. >>> > 7:35 - 8:40 pm: Technical Program >>> > >>> > Topic: >>> > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' >>> solution, CouchDB, and how to get it to play well with Python. Topics >>> covered: >>> > * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB >>> documents within python * Writing view functions in python * Map/reduce on >>> CouchDB from python >>> > * Lessons learned from managing and distributing a live deployment at >>> scale under high load >>> > Speaker: Luke Gostlings >>> > Bio: Luke is a lead engineer at about.me (recently >>> acquired by AOL). His prior positions were in: network security research, >>> online payments, and small company stock offering markets. He has done >>> contract work in the social and on-demand media spaces. He likes to dabble >>> in NoSQL technologies, computer security, and financial markets. He has >>> previously presented at CCCamp, San Francisco Startup Weekend, and >>> RSAConference. >>> > http://about.me/luke >>> > >>> > Topic: Newbie Nugget: Using zip() with Django >>> > Speaker:Vicky Tuite >>> > LINKS: >>> > >>> > >>> > >>> > 8:40 - 9 pm: Mapping/Random Access >>> > Mapping is a rapid-fire audience announcement of topics the announcer >>> is interested in. >>> > Random Access follows immediately to allow follow up individually on >>> topics of interest. >>> > >>> > Cheers, >>> > >>> > Glen >>> > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates < >>> nstinemates at gmail.com> wrote: >>> > If you're up for it tomorrow or Friday night I'll be happy to join you. >>> > >>> > Or, we can do it collaboratively over IM tonight? >>> > >>> > Let me know >>> > Nick >>> > >>> > On Wednesday, January 26, 2011, Glen Jarvis >>> wrote: >>> >> Is anyone in SF tonight and up for a study/hack session? >>> >> I'm going through JJ's slides from one of his presentations and I'm on >>> a mission to understand all of the concepts, at a high level, from these >>> slides. >>> >> >>> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >>> >> >>> >> Cheers, >>> >> >>> >> >>> >> Glen-- >>> >> Things which matter most must never be at the mercy of things which >>> matter least. >>> >> >>> >> -- Goethe >>> >> >>> >> >>> > >>> > >>> > -- >>> > Things which matter most must never be at the mercy of things which >>> matter least. >>> > >>> > -- Goethe >>> > >>> > >>> >> >> >> >> -- >> Things which matter most must never be at the mercy of things which matter >> least. >> >> -- Goethe >> >> >> _______________________________________________ >> Baypiggies mailing listBaypiggies 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 >> > > > > -- > Things which matter most must never be at the mercy of things which matter > least. > > -- Goethe > > > > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Sat Jan 29 02:17:09 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 28 Jan 2011 17:17:09 -0800 Subject: [Baypiggies] SurveyMonkey is hiring! In-Reply-To: References: Message-ID: Well CRAP!!! That was *not* supposed to be a reply-all. Please forgive the extra volume of email. Cheers, Glen On Fri, Jan 28, 2011 at 4:57 PM, Glen Jarvis wrote: > Alex, > > I'm actually looking for work myself. The projet at UC Berkeley will be > ending in April and I told them in December that I would start looking. I > hadn't put any feelers out yet or announced anything on BayPIGgies, but I've > still been doing pretty well. I just did a really cool pair programming > interview today. > > With that said, it's not over until we have an accepted offer letter > :) > > I'd like to try out for the SurveyMonkey gig. Here's a copy of my > resume (attached). > > I hope that you're well :) > > Thanks, > > > Glen > > > On Fri, Jan 28, 2011 at 3:55 PM, Alexandre Conrad < > alexandre.conrad at gmail.com> wrote: > >> Hello all, >> >> I just wanted to follow-up on yesterday's Random-Access as I did leave >> pretty quickly after my announcement and I may not given everyone's >> chance to come talk to me. >> >> So, SurveyMonkey is hiring all kinds of engineering positions: >> front-end, back-end, tests, sys admins. We also have all kinds of >> non-engineering positions for whomever you may know not in our field >> and looking for a job. That being said, I'll focus on the engineering >> side. >> >> We currently have 2 stacks of technologies: Python and .NET. But as >> time passes, the .NET code base shrinks while the Python one grows. >> Yes, we're in the process of switching everything to Python. As a lot >> of technical decisions are taken, right now it is a great time to join >> SurveyMonkey. For the Python side, we're mainly working with Pylons. >> Our most recent project even runs on the new Pyramid framework. But >> you don't have to know these frameworks to join us, you will learn it >> all here. >> >> I also saw a lot of interest recently for test automation. I am >> thinking about setting up a Selenium testing framework (and whatever >> technology to help us find bugs and prevent regressions). So if you >> feel you're up to the challenge, I want to hear from you! >> >> SurveyMonkey is located downtown Palo Alto, it's a 5 minutes walk from >> the Caltrain station. >> >> Feel free to shoot me an email. FYI I am not a recruiter, I am a >> SurveyMonkey engineer on the Platform and Infrastructure team. >> >> http://svy.mk/ey-jobs >> >> Cheers, >> -- >> Alex | twitter.com/alexconrad >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > > > > -- > Things which matter most must never be at the mercy of things which matter > least. > > -- Goethe > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From keith at dartworks.biz Sat Jan 29 02:42:44 2011 From: keith at dartworks.biz (Keith Dart) Date: Fri, 28 Jan 2011 17:42:44 -0800 Subject: [Baypiggies] SurveyMonkey is hiring! In-Reply-To: References: Message-ID: <20110128174244.7c4ad9dc@dartworks.biz> === On Fri, 01/28, Glen Jarvis wrote: === > Well CRAP!!! > > That was *not* supposed to be a reply-all. > > Please forgive the extra volume of email. === Darn, and you forgot to attach your resume as well. ;-) -- Keith Dart -- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Keith Dart public key: ID: 19017044 ===================================================================== From nstinemates at gmail.com Sat Jan 29 05:59:47 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Fri, 28 Jan 2011 20:59:47 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: References: <4D41A0FC.1070505@gmail.com> <4D42F22E.20207@gmail.com> <7B36F13D-E318-48C0-84E6-7CCB049C36C5@glenjarvis.com> <4D42F87E.2020109@gmail.com> Message-ID: Is there a way I can join remotely? Nick On Fri, Jan 28, 2011 at 5:07 PM, Glen Jarvis wrote: > Reminder: > > SF BayPIGgies... We're going to get together at Noisebridge tonight - very > informally - to discuss and try to understand more from the slides that were > previously presented by JJ: > > https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf > > I'm heading over early (soon) to meet/greet. You can come late. I'm *not* > an expert and will be asking plenty of questions as I want to learn more > about this material. > > If you don't know how to get to NoiseBridge, here's some info: > > > https://www.noisebridge.net/wiki/Moving/2169_Mission/Access_Control#How_Do_I_Get_Into_2169_Mission.3F > > > Maybe see you there... > > > Cheers, > > > Glen > > > > On Fri, Jan 28, 2011 at 9:10 AM, Bryce Verdier wrote: > >> I get outta work about 4:30, and have a couple of things I need to do >> before I can come up. I will be there but probably not by 6:30. But I will >> try to make it as close to that as possible. >> >> Bryce >> >> >> >> On 01/28/2011 09:01 AM, Glen Jarvis wrote: >> >> I am very flexible with time. If no one comes up with a better time, I can >> throw out 6:30 giving most people time to get there (Noise Bridge) after >> work. We can also do a burrito run if we don't get to eat before then. >> Again, I'm very flexible today and this time can change. >> >> Cheers, >> >> >> Glen >> >> El Jan 28, 2011, a las 8:43 AM, Bryce Verdier >> escribi?: >> >> What time is everyone thinking regarding this? I'd like to know in >> order to help me plan my evening. >> >> Sorry I missed last night, I was really looking forward to it. Are there >> slides? >> >> Bryce >> >> >> On 01/27/2011 11:59 PM, Glen Jarvis wrote: >> >> I think that's a great idea. Friday night it is :) >> >> On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier wrote: >> >>> Wow... that's one hell of a trip and display of dedication! I'm >>> impressed. >>> >>> Going back to the original topic, I'd be interested in doing some >>> concurrency studying on Friday night, maybe meet up at Noisebridge? >>> >>> Bryce >>> >>> >>> On 01/26/2011 08:24 PM, Glen Jarvis wrote: >>> >>> For what it's worth, it is always a special effort for me. In fact, I >>> don't just plan my day, but usually my week around it. I live in SF and work >>> in Berkeley (usually until 6 pm) and don't have a car. So, I usually come in >>> early on some days so I can get out of Berkeley in time and get down there >>> by the time we start. >>> >>> Sometimes I carpool/ride with others. This saves additional time as >>> public transportation from SF can add almost three hours (one way) to the >>> trip. >>> >>> So, I completely understand. I usually find it worth while... usually >>> for the socializing before, after and the stuff that I always learn from >>> other people around me. >>> >>> Cheers, >>> >>> >>> Glen >>> >>> >>> On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates wrote: >>> >>>> I hadn't planned on it but I would absolutely love to. >>>> >>>> I am in the north bay ( Marin ) so it would require special effort on >>>> my part. We will see! >>>> >>>> Nick >>>> >>>> >>>> >>>> On Wednesday, January 26, 2011, Glen Jarvis >>>> wrote: >>>> > Tomorrow night is BayPIGgies.. maybe before or after? (Are you >>>> going tomorrow night?) >>>> > From our website: >>>> > >>>> > Thursday, Jan 27, 2011 >>>> > 7:30 pm: General hubbub, inventory end-of-meeting announcements, any >>>> first-minute announcements. >>>> > 7:35 - 8:40 pm: Technical Program >>>> > >>>> > Topic: >>>> > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' >>>> solution, CouchDB, and how to get it to play well with Python. Topics >>>> covered: >>>> > * Introduction to CouchDB * A python ORM for CouchDB * Parsing CouchDB >>>> documents within python * Writing view functions in python * Map/reduce on >>>> CouchDB from python >>>> > * Lessons learned from managing and distributing a live deployment at >>>> scale under high load >>>> > Speaker: Luke Gostlings >>>> > Bio: Luke is a lead engineer at about.me (recently >>>> acquired by AOL). His prior positions were in: network security research, >>>> online payments, and small company stock offering markets. He has done >>>> contract work in the social and on-demand media spaces. He likes to dabble >>>> in NoSQL technologies, computer security, and financial markets. He has >>>> previously presented at CCCamp, San Francisco Startup Weekend, and >>>> RSAConference. >>>> > http://about.me/luke >>>> > >>>> > Topic: Newbie Nugget: Using zip() with Django >>>> > Speaker:Vicky Tuite >>>> > LINKS: >>>> > >>>> > >>>> > >>>> > 8:40 - 9 pm: Mapping/Random Access >>>> > Mapping is a rapid-fire audience announcement of topics the announcer >>>> is interested in. >>>> > Random Access follows immediately to allow follow up individually on >>>> topics of interest. >>>> > >>>> > Cheers, >>>> > >>>> > Glen >>>> > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates < >>>> nstinemates at gmail.com> wrote: >>>> > If you're up for it tomorrow or Friday night I'll be happy to join >>>> you. >>>> > >>>> > Or, we can do it collaboratively over IM tonight? >>>> > >>>> > Let me know >>>> > Nick >>>> > >>>> > On Wednesday, January 26, 2011, Glen Jarvis >>>> wrote: >>>> >> Is anyone in SF tonight and up for a study/hack session? >>>> >> I'm going through JJ's slides from one of his presentations and I'm >>>> on a mission to understand all of the concepts, at a high level, from these >>>> slides. >>>> >> >>>> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >>>> >> >>>> >> Cheers, >>>> >> >>>> >> >>>> >> Glen-- >>>> >> Things which matter most must never be at the mercy of things which >>>> matter least. >>>> >> >>>> >> -- Goethe >>>> >> >>>> >> >>>> > >>>> > >>>> > -- >>>> > Things which matter most must never be at the mercy of things which >>>> matter least. >>>> > >>>> > -- Goethe >>>> > >>>> > >>>> >>> >>> >>> >>> -- >>> Things which matter most must never be at the mercy of things which >>> matter least. >>> >>> -- Goethe >>> >>> >>> _______________________________________________ >>> Baypiggies mailing listBaypiggies 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 >>> >> >> >> >> -- >> Things which matter most must never be at the mercy of things which matter >> least. >> >> -- Goethe >> >> >> >> > > > -- > Things which matter most must never be at the mercy of things which matter > least. > > -- Goethe > > _______________________________________________ > 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 Sat Jan 29 01:58:57 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Fri, 28 Jan 2011 16:58:57 -0800 Subject: [Baypiggies] SurveyMonkey is hiring! In-Reply-To: References: Message-ID: oops.. attaching resume now. Glen On Fri, Jan 28, 2011 at 4:57 PM, Glen Jarvis wrote: > Alex, > > I'm actually looking for work myself. The projet at UC Berkeley will be > ending in April and I told them in December that I would start looking. I > hadn't put any feelers out yet or announced anything on BayPIGgies, but I've > still been doing pretty well. I just did a really cool pair programming > interview today. > > With that said, it's not over until we have an accepted offer letter > :) > > I'd like to try out for the SurveyMonkey gig. Here's a copy of my > resume (attached). > > I hope that you're well :) > > Thanks, > > > Glen > > > On Fri, Jan 28, 2011 at 3:55 PM, Alexandre Conrad < > alexandre.conrad at gmail.com> wrote: > >> Hello all, >> >> I just wanted to follow-up on yesterday's Random-Access as I did leave >> pretty quickly after my announcement and I may not given everyone's >> chance to come talk to me. >> >> So, SurveyMonkey is hiring all kinds of engineering positions: >> front-end, back-end, tests, sys admins. We also have all kinds of >> non-engineering positions for whomever you may know not in our field >> and looking for a job. That being said, I'll focus on the engineering >> side. >> >> We currently have 2 stacks of technologies: Python and .NET. But as >> time passes, the .NET code base shrinks while the Python one grows. >> Yes, we're in the process of switching everything to Python. As a lot >> of technical decisions are taken, right now it is a great time to join >> SurveyMonkey. For the Python side, we're mainly working with Pylons. >> Our most recent project even runs on the new Pyramid framework. But >> you don't have to know these frameworks to join us, you will learn it >> all here. >> >> I also saw a lot of interest recently for test automation. I am >> thinking about setting up a Selenium testing framework (and whatever >> technology to help us find bugs and prevent regressions). So if you >> feel you're up to the challenge, I want to hear from you! >> >> SurveyMonkey is located downtown Palo Alto, it's a 5 minutes walk from >> the Caltrain station. >> >> Feel free to shoot me an email. FYI I am not a recruiter, I am a >> SurveyMonkey engineer on the Platform and Infrastructure team. >> >> http://svy.mk/ey-jobs >> >> Cheers, >> -- >> Alex | twitter.com/alexconrad >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > > > > -- > Things which matter most must never be at the mercy of things which matter > least. > > -- Goethe > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Jarvis_resume_2011_01_10.doc Type: application/msword Size: 39424 bytes Desc: not available URL: From aahz at pythoncraft.com Sat Jan 29 19:32:19 2011 From: aahz at pythoncraft.com (Aahz) Date: Sat, 29 Jan 2011 10:32:19 -0800 Subject: [Baypiggies] Mar 2: Armin Rigo, PyPy @ Stanford Message-ID: <20110129183219.GA20209@panix.com> Wednesday, March 2, 4:15pm @ Stanford Gates B01 Armin Rigo on PyPy http://www.stanford.edu/class/ee380/winter-schedule-20102011.html Laura sent me this corrected link in private e-mail -- she has to deal with a family emergency. (Not sure what details she wants public, so leaving it at that.) -- 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 venkat83 at gmail.com Sat Jan 29 19:32:44 2011 From: venkat83 at gmail.com (Venkatraman S) Date: Sun, 30 Jan 2011 00:02:44 +0530 Subject: [Baypiggies] SurveyMonkey is hiring! In-Reply-To: References: Message-ID: On Sat, Jan 29, 2011 at 6:28 AM, Glen Jarvis wrote: > oops.. attaching resume now. > I am no recruiter, but a line in your resume caught my attention : "Implemented a daily Python-based system health check that caught and eliminated potential errors before they became problematic" - can you expatiate on this, if its not much trouble? -V -------------- next part -------------- An HTML attachment was scrubbed... URL: From glen at glenjarvis.com Sat Jan 29 23:44:19 2011 From: glen at glenjarvis.com (Glen Jarvis) Date: Sat, 29 Jan 2011 14:44:19 -0800 Subject: [Baypiggies] Study Python Concurrency In-Reply-To: References: <4D41A0FC.1070505@gmail.com> <4D42F22E.20207@gmail.com> <7B36F13D-E318-48C0-84E6-7CCB049C36C5@glenjarvis.com> <4D42F87E.2020109@gmail.com> Message-ID: Sorry, we didn't see this email until later and it was really a very informal "learning together" type of session. We mostly went through this example: http://codespeak.net/py/0.9.2/apigen/source/c-extension/greenlet/test_generator.py.html from this documentation: http://codespeak.net/py/0.9.2/greenlet.html from the second slide of the presentation. We were depth first and only got this far as there were a lot of concepts and details of greenlets that we didn't know. Cheers, Glen On Fri, Jan 28, 2011 at 8:59 PM, Nick Stinemates wrote: > Is there a way I can join remotely? > > Nick > > > On Fri, Jan 28, 2011 at 5:07 PM, Glen Jarvis wrote: > >> Reminder: >> >> SF BayPIGgies... We're going to get together at Noisebridge tonight - very >> informally - to discuss and try to understand more from the slides that were >> previously presented by JJ: >> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >> >> I'm heading over early (soon) to meet/greet. You can come late. I'm *not* >> an expert and will be asking plenty of questions as I want to learn more >> about this material. >> >> If you don't know how to get to NoiseBridge, here's some info: >> >> >> https://www.noisebridge.net/wiki/Moving/2169_Mission/Access_Control#How_Do_I_Get_Into_2169_Mission.3F >> >> >> Maybe see you there... >> >> >> Cheers, >> >> >> Glen >> >> >> >> On Fri, Jan 28, 2011 at 9:10 AM, Bryce Verdier wrote: >> >>> I get outta work about 4:30, and have a couple of things I need to do >>> before I can come up. I will be there but probably not by 6:30. But I will >>> try to make it as close to that as possible. >>> >>> Bryce >>> >>> >>> >>> On 01/28/2011 09:01 AM, Glen Jarvis wrote: >>> >>> I am very flexible with time. If no one comes up with a better time, I >>> can throw out 6:30 giving most people time to get there (Noise Bridge) after >>> work. We can also do a burrito run if we don't get to eat before then. >>> Again, I'm very flexible today and this time can change. >>> >>> Cheers, >>> >>> >>> Glen >>> >>> El Jan 28, 2011, a las 8:43 AM, Bryce Verdier >>> escribi?: >>> >>> What time is everyone thinking regarding this? I'd like to know in >>> order to help me plan my evening. >>> >>> Sorry I missed last night, I was really looking forward to it. Are there >>> slides? >>> >>> Bryce >>> >>> >>> On 01/27/2011 11:59 PM, Glen Jarvis wrote: >>> >>> I think that's a great idea. Friday night it is :) >>> >>> On Thu, Jan 27, 2011 at 8:44 AM, Bryce Verdier wrote: >>> >>>> Wow... that's one hell of a trip and display of dedication! I'm >>>> impressed. >>>> >>>> Going back to the original topic, I'd be interested in doing some >>>> concurrency studying on Friday night, maybe meet up at Noisebridge? >>>> >>>> Bryce >>>> >>>> >>>> On 01/26/2011 08:24 PM, Glen Jarvis wrote: >>>> >>>> For what it's worth, it is always a special effort for me. In fact, I >>>> don't just plan my day, but usually my week around it. I live in SF and work >>>> in Berkeley (usually until 6 pm) and don't have a car. So, I usually come in >>>> early on some days so I can get out of Berkeley in time and get down there >>>> by the time we start. >>>> >>>> Sometimes I carpool/ride with others. This saves additional time as >>>> public transportation from SF can add almost three hours (one way) to the >>>> trip. >>>> >>>> So, I completely understand. I usually find it worth while... usually >>>> for the socializing before, after and the stuff that I always learn from >>>> other people around me. >>>> >>>> Cheers, >>>> >>>> >>>> Glen >>>> >>>> >>>> On Wed, Jan 26, 2011 at 8:01 PM, Nick Stinemates >>> > wrote: >>>> >>>>> I hadn't planned on it but I would absolutely love to. >>>>> >>>>> I am in the north bay ( Marin ) so it would require special effort on >>>>> my part. We will see! >>>>> >>>>> Nick >>>>> >>>>> >>>>> >>>>> On Wednesday, January 26, 2011, Glen Jarvis >>>>> wrote: >>>>> > Tomorrow night is BayPIGgies.. maybe before or after? (Are you >>>>> going tomorrow night?) >>>>> > From our website: >>>>> > >>>>> > Thursday, Jan 27, 2011 >>>>> > 7:30 pm: General hubbub, inventory end-of-meeting announcements, any >>>>> first-minute announcements. >>>>> > 7:35 - 8:40 pm: Technical Program >>>>> > >>>>> > Topic: >>>>> > Abstract:Introduction to CouchDBThis talk introduces one 'NoSQL' >>>>> solution, CouchDB, and how to get it to play well with Python. Topics >>>>> covered: >>>>> > * Introduction to CouchDB * A python ORM for CouchDB * Parsing >>>>> CouchDB documents within python * Writing view functions in python * >>>>> Map/reduce on CouchDB from python >>>>> > * Lessons learned from managing and distributing a live deployment at >>>>> scale under high load >>>>> > Speaker: Luke Gostlings >>>>> > Bio: Luke is a lead engineer at about.me (recently >>>>> acquired by AOL). His prior positions were in: network security research, >>>>> online payments, and small company stock offering markets. He has done >>>>> contract work in the social and on-demand media spaces. He likes to dabble >>>>> in NoSQL technologies, computer security, and financial markets. He has >>>>> previously presented at CCCamp, San Francisco Startup Weekend, and >>>>> RSAConference. >>>>> > http://about.me/luke >>>>> > >>>>> > Topic: Newbie Nugget: Using zip() with Django >>>>> > Speaker:Vicky Tuite >>>>> > LINKS: >>>>> > >>>>> > >>>>> > >>>>> > 8:40 - 9 pm: Mapping/Random Access >>>>> > Mapping is a rapid-fire audience announcement of topics the announcer >>>>> is interested in. >>>>> > Random Access follows immediately to allow follow up individually on >>>>> topics of interest. >>>>> > >>>>> > Cheers, >>>>> > >>>>> > Glen >>>>> > On Wed, Jan 26, 2011 at 7:27 PM, Nick Stinemates < >>>>> nstinemates at gmail.com> wrote: >>>>> > If you're up for it tomorrow or Friday night I'll be happy to join >>>>> you. >>>>> > >>>>> > Or, we can do it collaboratively over IM tonight? >>>>> > >>>>> > Let me know >>>>> > Nick >>>>> > >>>>> > On Wednesday, January 26, 2011, Glen Jarvis >>>>> wrote: >>>>> >> Is anyone in SF tonight and up for a study/hack session? >>>>> >> I'm going through JJ's slides from one of his presentations and I'm >>>>> on a mission to understand all of the concepts, at a high level, from these >>>>> slides. >>>>> >> >>>>> >> https://github.com/jjinux/concurrency-200912/raw/master/slides.pdf >>>>> >> >>>>> >> Cheers, >>>>> >> >>>>> >> >>>>> >> Glen-- >>>>> >> Things which matter most must never be at the mercy of things which >>>>> matter least. >>>>> >> >>>>> >> -- Goethe >>>>> >> >>>>> >> >>>>> > >>>>> > >>>>> > -- >>>>> > Things which matter most must never be at the mercy of things which >>>>> matter least. >>>>> > >>>>> > -- Goethe >>>>> > >>>>> > >>>>> >>>> >>>> >>>> >>>> -- >>>> Things which matter most must never be at the mercy of things which >>>> matter least. >>>> >>>> -- Goethe >>>> >>>> >>>> _______________________________________________ >>>> Baypiggies mailing listBaypiggies 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 >>>> >>> >>> >>> >>> -- >>> Things which matter most must never be at the mercy of things which >>> matter least. >>> >>> -- Goethe >>> >>> >>> >>> >> >> >> -- >> Things which matter most must never be at the mercy of things which matter >> least. >> >> -- Goethe >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > > -- Things which matter most must never be at the mercy of things which matter least. -- Goethe -------------- next part -------------- An HTML attachment was scrubbed... URL: From nstinemates at gmail.com Sun Jan 30 00:06:23 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Sat, 29 Jan 2011 15:06:23 -0800 Subject: [Baypiggies] Cushion: Another CouchDB ORM Message-ID: I wanted to add this one to the list Luke presented. Seems to be a bit more lightweight than python-couchdb. https://github.com/sheysrebellion/cushion/ Thanks again for the talk, Luke Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Sun Jan 30 09:58:34 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Sun, 30 Jan 2011 00:58:34 -0800 Subject: [Baypiggies] Looking for a reviewer for MySQL For Python Message-ID: If anyone is interested in doing a quick review of "MySQL For Python" https://www.packtpub.com/mysql-python/book ,I've got one copy available. Please reply off-list. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom.simons at gmail.com Sun Jan 30 22:32:07 2011 From: tom.simons at gmail.com (Tom Simons) Date: Sun, 30 Jan 2011 13:32:07 -0800 Subject: [Baypiggies] hex dump in Python 3 Message-ID: Does anyone have a sample hex-dump routine for Python3? I'm trying to recover data from a BlackBerry backup file, & I need to "see" the bytes I'm reading from the backup file,which don't appear to match the format I've found. Something showing the offset, char-hex, and printable chars (or periods), such as: bs = f.read(flen) hexdump(bs) 00000000 01020304050607083031323334353637 ........01234567 00000010 4142436162 ABCab -------------- next part -------------- An HTML attachment was scrubbed... URL: From nstinemates at gmail.com Sun Jan 30 23:03:27 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Sun, 30 Jan 2011 14:03:27 -0800 Subject: [Baypiggies] hex dump in Python 3 In-Reply-To: References: Message-ID: Take a look at the binascii module: http://docs.python.org/library/binascii.html On Sun, Jan 30, 2011 at 1:32 PM, Tom Simons wrote: > Does anyone have a sample hex-dump routine for Python3? I'm trying to > recover data from a BlackBerry backup file, & I need to "see" the bytes I'm > reading from the backup file,which don't appear to match the format I've > found. Something showing the offset, char-hex, and printable chars (or > periods), such as: > > bs = f.read(flen) > hexdump(bs) > 00000000 01020304050607083031323334353637 ........01234567 > 00000010 4142436162 ABCab > > > _______________________________________________ > 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 tungwaiyip at yahoo.com Mon Jan 31 03:40:29 2011 From: tungwaiyip at yahoo.com (Tung Wai Yip) Date: Sun, 30 Jan 2011 18:40:29 -0800 Subject: [Baypiggies] hex dump in Python 3 In-Reply-To: References: Message-ID: This can be done in 1 line. Just use .encode('hex') e.g. >>> open('64_64.gif','rb').read(10).encode('hex') '47494638396140004000' > Does anyone have a sample hex-dump routine for Python3? I'm trying to > recover data from a BlackBerry backup file, & I need to "see" the bytes > I'm > reading from the backup file,which don't appear to match the format > I've > found. Something showing the offset, char-hex, and printable chars (or > periods), such as: > > bs = f.read(flen) > hexdump(bs) > 00000000 01020304050607083031323334353637 ........01234567 > 00000010 4142436162 ABCab