From bray at sent.com Mon Feb 2 16:33:17 2009 From: bray at sent.com (Brian Ray) Date: Mon, 2 Feb 2009 09:33:17 -0600 Subject: [Chicago] February Meeting Message-ID: It's that time again... Who has something interesting to present? A couple random thoughts: * Should we ask Brantley to expand on his lightining talk people loved so much. * I think It would be nice to have a meeting dedicated to Ian Bicking and his contribution to ChiPy/Python in the near future. * We need to work in more language features in our meetings * What should we be doing concerning PyCon at ChiPy meetings * What does the number 42 have to do with Python, anyway? * Now we are starting to have more scientists in the crowd, should we cater some topics in the scientific realm? * We covered Python on Mobile, what about python for pure GIS? * What does accessing shared memory have to do with Python and multi- core systems, anyway? * What do these modules have in common and where do I get: hotshot, pickle, optparse, urllib, pdb, inspect, subprocess, array, tempfile, heapq * Topics we have covered in the past that may be worth revisiting: testing, packaging python projects, graphing, gui, threads... * How do I get the management upstairs to accept Python, or do they already? * Hey I would switch to Python if it only had .... * I never realized Python was embedded in so many places including: Games, Text Editors, Database Systems, Wireless, ... * Python is about as cool as Lisp for AI programming, because... * I fed my dog with Python... and other projects I did with Python in my garage. * hehe, my kids thinks I taught them how to program computer games in Python, when actually I taught them inductive reasoning * Gees, if someone would just make the Python docs like the php ones, I might switch... and why this will never happen. * I wish I had some way to refactor, test and understand some obsfucated code. What about a venue? I posted the idea on the North Side bar, but got no comments. What other venue options should we consider? Yes, there are a lot of seeds. But, really we are just looking for something you find interesting. Chances are if you find what your working on interesting and you want to share, their will be others on this list who may find them interesting, as well. Give it a shot. Thanks, Brian Ray From cosmin at offbytwo.com Mon Feb 2 16:44:25 2009 From: cosmin at offbytwo.com (Cosmin Stejerean) Date: Mon, 2 Feb 2009 09:44:25 -0600 Subject: [Chicago] February Meeting In-Reply-To: References: Message-ID: <383bbcce0902020744w32d2b25cn7bf615f0dd4c2268@mail.gmail.com> On Mon, Feb 2, 2009 at 9:33 AM, Brian Ray wrote: > It's that time again... > > Who has something interesting to present? A couple random thoughts: > I could give a 30 minute or so presentation on packaging Python applications into standalone apps for OS X and Windows using py2app and py2exe respectively. -- Cosmin Stejerean http://offbytwo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dgriff1 at gmail.com Mon Feb 2 16:45:52 2009 From: dgriff1 at gmail.com (Daniel Griffin) Date: Mon, 2 Feb 2009 09:45:52 -0600 Subject: [Chicago] February Meeting In-Reply-To: <383bbcce0902020744w32d2b25cn7bf615f0dd4c2268@mail.gmail.com> References: <383bbcce0902020744w32d2b25cn7bf615f0dd4c2268@mail.gmail.com> Message-ID: <3db160680902020745kc768eb0je7df34dc3ca311f7@mail.gmail.com> I would love to hear about this since I am going to need to deal with it sooner or later. On Mon, Feb 2, 2009 at 9:44 AM, Cosmin Stejerean wrote: > > > On Mon, Feb 2, 2009 at 9:33 AM, Brian Ray wrote: > >> It's that time again... >> >> Who has something interesting to present? A couple random thoughts: >> > > I could give a 30 minute or so presentation on packaging Python > applications into standalone apps for OS X and Windows using py2app and > py2exe respectively. > > -- > Cosmin Stejerean > http://offbytwo.com > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kumar.mcmillan at gmail.com Mon Feb 2 17:03:48 2009 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Mon, 2 Feb 2009 10:03:48 -0600 Subject: [Chicago] February Meeting In-Reply-To: References: Message-ID: On Mon, Feb 2, 2009 at 9:33 AM, Brian Ray wrote: > It's that time again... > > Who has something interesting to present? A couple random thoughts: wow, I'm a little intimidated by that list of topics. One thing to point out is that this will be our 2nd-to-last last meeting before PyCon -- where did the time go?! I'd love to get some feedback and practice for my upcoming PyCon talk, Strategies For Testing Ajax. It does not address the number 42 in relation to Python but might be interesting to anyone working on Ajax websites. It will be about 30 min. _ Strategies For Testing Ajax As a web developer you are probably familiar with the paradigms of testing simple web applications. Your test case makes a GET / POST request, your program responds with an HTML page, and your test verifies the HTML elements. Unfortunately, today's typical web application is not so simple! Since modern browsers support asynchronous JavaScript (Ajax) very well, the HTML response might deliver program code to run on the client's web browser. The browser's runtime environment would then interact with your server-side program (Python, Ruby, Java, etc) and you now have a big problem: How does your test suite cover both server-side functionality and client-side functionality? This talk will use a real Ajax web application (backed by Python) as an example then offer practical strategies for creating a fast, scalable test suite to help ensure that each release of such an app works as intended. It goes beyond just the tools and technologies; it examines architectural strategies -- how and when to use stubs, how to design a testable UI, etc -- so that as your application grows in size, your tests remain fast and effective. > > * Should we ask Brantley to expand on his lightining talk people loved so > much. > * I think It would be nice to have a meeting dedicated to Ian Bicking and > his contribution to ChiPy/Python in the near future. > * We need to work in more language features in our meetings > * What should we be doing concerning PyCon at ChiPy meetings > * What does the number 42 have to do with Python, anyway? > * Now we are starting to have more scientists in the crowd, should we cater > some topics in the scientific realm? > * We covered Python on Mobile, what about python for pure GIS? > * What does accessing shared memory have to do with Python and multi-core > systems, anyway? > * What do these modules have in common and where do I get: hotshot, pickle, > optparse, urllib, pdb, inspect, subprocess, array, tempfile, heapq > * Topics we have covered in the past that may be worth revisiting: testing, > packaging python projects, graphing, gui, threads... > * How do I get the management upstairs to accept Python, or do they > already? > * Hey I would switch to Python if it only had .... > * I never realized Python was embedded in so many places including: Games, > Text Editors, Database Systems, Wireless, ... > * Python is about as cool as Lisp for AI programming, because... > * I fed my dog with Python... and other projects I did with Python in my > garage. > * hehe, my kids thinks I taught them how to program computer games in > Python, when actually I taught them inductive reasoning > * Gees, if someone would just make the Python docs like the php ones, I > might switch... and why this will never happen. > * I wish I had some way to refactor, test and understand some obsfucated > code. > > What about a venue? I posted the idea on the North Side bar, but got no > comments. What other venue options should we consider? > > Yes, there are a lot of seeds. But, really we are just looking for something > you find interesting. Chances are if you find what your working on > interesting and you want to share, their will be others on this list who may > find them interesting, as well. Give it a shot. > > Thanks, > > Brian Ray > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From wscullin at gmail.com Mon Feb 2 17:31:00 2009 From: wscullin at gmail.com (William Scullin) Date: Mon, 2 Feb 2009 10:31:00 -0600 Subject: [Chicago] February Meeting In-Reply-To: References: Message-ID: I've been kind of a lurker, but I'd be willing to talk about Python on IBM's BlueGene /P. One of my co-workers (or myself) would be more than willing to talk about our configuration management system, bcfg2, which is written in Python. - William On Mon, Feb 2, 2009 at 9:33 AM, Brian Ray wrote: > It's that time again... > > Who has something interesting to present? A couple random thoughts: > > * Should we ask Brantley to expand on his lightining talk people loved so > much. > * I think It would be nice to have a meeting dedicated to Ian Bicking and > his contribution to ChiPy/Python in the near future. > * We need to work in more language features in our meetings > * What should we be doing concerning PyCon at ChiPy meetings > * What does the number 42 have to do with Python, anyway? > * Now we are starting to have more scientists in the crowd, should we cater > some topics in the scientific realm? > * We covered Python on Mobile, what about python for pure GIS? > * What does accessing shared memory have to do with Python and multi-core > systems, anyway? > * What do these modules have in common and where do I get: hotshot, pickle, > optparse, urllib, pdb, inspect, subprocess, array, tempfile, heapq > * Topics we have covered in the past that may be worth revisiting: testing, > packaging python projects, graphing, gui, threads... > * How do I get the management upstairs to accept Python, or do they > already? > * Hey I would switch to Python if it only had .... > * I never realized Python was embedded in so many places including: Games, > Text Editors, Database Systems, Wireless, ... > * Python is about as cool as Lisp for AI programming, because... > * I fed my dog with Python... and other projects I did with Python in my > garage. > * hehe, my kids thinks I taught them how to program computer games in > Python, when actually I taught them inductive reasoning > * Gees, if someone would just make the Python docs like the php ones, I > might switch... and why this will never happen. > * I wish I had some way to refactor, test and understand some obsfucated > code. > > What about a venue? I posted the idea on the North Side bar, but got no > comments. What other venue options should we consider? > > Yes, there are a lot of seeds. But, really we are just looking for something > you find interesting. Chances are if you find what your working on > interesting and you want to share, their will be others on this list who may > find them interesting, as well. Give it a shot. > > Thanks, > > Brian Ray > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From jcroneme at thoughtworks.com Mon Feb 2 17:36:57 2009 From: jcroneme at thoughtworks.com (Josh Cronemeyer) Date: Mon, 2 Feb 2009 10:36:57 -0600 Subject: [Chicago] February Meeting In-Reply-To: <383bbcce0902020744w32d2b25cn7bf615f0dd4c2268@mail.gmail.com> Message-ID: Windows and OSX??? Where's the linux love? I could follow up cosmin's talk with a 5 minute (ok, maybe 10) explanation of packaging python for ubuntu/debian. Cosmin Stejerean Sent by: chicago-bounces+jcroneme=thoughtworks.com at python.org 02/02/09 09:44 AM Please respond to The Chicago Python Users Group To The Chicago Python Users Group cc Subject Re: [Chicago] February Meeting On Mon, Feb 2, 2009 at 9:33 AM, Brian Ray wrote: It's that time again... Who has something interesting to present? A couple random thoughts: I could give a 30 minute or so presentation on packaging Python applications into standalone apps for OS X and Windows using py2app and py2exe respectively. -- Cosmin Stejerean http://offbytwo.com _______________________________________________ Chicago mailing list Chicago at python.org http://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 13340 bytes Desc: not available URL: From swgithen at mtu.edu Mon Feb 2 17:41:47 2009 From: swgithen at mtu.edu (Steven Githens) Date: Mon, 02 Feb 2009 11:41:47 -0500 Subject: [Chicago] February Meeting In-Reply-To: References: Message-ID: <4987224B.5000106@mtu.edu> Josh Cronemeyer wrote: > > Windows and OSX??? Where's the linux love? I could follow up > cosmin's talk with a 5 minute (ok, maybe 10) explanation of packaging > python for ubuntu/debian. > +1 I thought the same thing. ( Perhaps then Massimo could add Linux to the bundle versions of web2py, live at the meeting! :p ) -s > > > > > > *Cosmin Stejerean * > Sent by: chicago-bounces+jcroneme=thoughtworks.com at python.org > > 02/02/09 09:44 AM > Please respond to > The Chicago Python Users Group > > > > To > The Chicago Python Users Group > cc > > Subject > Re: [Chicago] February Meeting > > > > > > > > > > > > On Mon, Feb 2, 2009 at 9:33 AM, Brian Ray <_bray at sent.com_ > > wrote: > It's that time again... > > Who has something interesting to present? A couple random thoughts: > > I could give a 30 minute or so presentation on packaging Python > applications into standalone apps for OS X and Windows using py2app > and py2exe respectively. > > -- > Cosmin Stejerean_ > __http://offbytwo.com_ > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > ------------------------------------------------------------------------ > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From mdipierro at cs.depaul.edu Mon Feb 2 18:09:19 2009 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Mon, 2 Feb 2009 11:09:19 -0600 Subject: [Chicago] February Meeting In-Reply-To: <4987224B.5000106@mtu.edu> References: <4987224B.5000106@mtu.edu> Message-ID: <466467FF-A481-4BA6-910C-2BB2FB9494A7@cs.depaul.edu> I'd love too and looking forward to learn how to. Massimo On Feb 2, 2009, at 10:41 AM, Steven Githens wrote: > Josh Cronemeyer wrote: >> >> Windows and OSX??? Where's the linux love? I could follow up >> cosmin's talk with a 5 minute (ok, maybe 10) explanation of packaging >> python for ubuntu/debian. >> > +1 > I thought the same thing. ( Perhaps then Massimo could add Linux to > the > bundle versions of web2py, live at the meeting! :p ) > > -s >> >> >> >> >> >> *Cosmin Stejerean * >> Sent by: chicago-bounces+jcroneme=thoughtworks.com at python.org >> >> 02/02/09 09:44 AM >> Please respond to >> The Chicago Python Users Group >> >> >> >> To >> The Chicago Python Users Group >> cc >> >> Subject >> Re: [Chicago] February Meeting >> >> >> >> >> >> >> >> >> >> >> >> On Mon, Feb 2, 2009 at 9:33 AM, Brian Ray <_bray at sent.com_ >> > wrote: >> It's that time again... >> >> Who has something interesting to present? A couple random thoughts: >> >> I could give a 30 minute or so presentation on packaging Python >> applications into standalone apps for OS X and Windows using py2app >> and py2exe respectively. >> >> -- >> Cosmin Stejerean_ >> __http://offbytwo.com_ >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From herbieman2000 at gmail.com Mon Feb 2 18:20:24 2009 From: herbieman2000 at gmail.com (Frank Duncan) Date: Mon, 2 Feb 2009 11:20:24 -0600 Subject: [Chicago] February Meeting In-Reply-To: <466467FF-A481-4BA6-910C-2BB2FB9494A7@cs.depaul.edu> References: <4987224B.5000106@mtu.edu> <466467FF-A481-4BA6-910C-2BB2FB9494A7@cs.depaul.edu> Message-ID: Hey, I can give a talk on how to use python to extend vim (as opposed to using vimscript). This allows you to do some neat things with asynchronous communication to various other systems to build a better development environment. Or if you aren't into that sort of thing, you can at least extend vim with less pain and hassle. I can make that talk as short as 10 minutes (overview, slides with code, basic descriptions) all the way up to 30 minutes (code on the fly, deeper explanation of vim, Common Lisp, etc.). Thanks, Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtemkin at speakeasy.net Mon Feb 2 18:25:48 2009 From: mtemkin at speakeasy.net (Marc Temkin) Date: Mon, 2 Feb 2009 11:25:48 -0600 Subject: [Chicago] Topic idea on COTS and Python Message-ID: <31B0AC5ECB3F485A93AC4D00CBF3643D@Dreamcatcher2> Hi, I think a topic on using Python in order to integrate COTS (Commercial Off the Shelf) systems would be a useful and interesting subject. It may attract some new people to the group. Marc Marc Temkin 7410 N. Talman Chicago IL 60645-1412 773-274-6544 Email:mtemkin at speakeasy.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcroneme at thoughtworks.com Mon Feb 2 19:03:24 2009 From: jcroneme at thoughtworks.com (Josh Cronemeyer) Date: Mon, 2 Feb 2009 12:03:24 -0600 Subject: [Chicago] February Meeting In-Reply-To: Message-ID: +1 I'm a vim user, but never delved into customizing it beyond the usual stuff. Would be cool to have a peek at that sort of stuff. Frank Duncan Sent by: chicago-bounces+jcroneme=thoughtworks.com at python.org 02/02/09 11:20 AM Please respond to The Chicago Python Users Group To The Chicago Python Users Group cc Subject Re: [Chicago] February Meeting Hey, I can give a talk on how to use python to extend vim (as opposed to using vimscript). This allows you to do some neat things with asynchronous communication to various other systems to build a better development environment. Or if you aren't into that sort of thing, you can at least extend vim with less pain and hassle. I can make that talk as short as 10 minutes (overview, slides with code, basic descriptions) all the way up to 30 minutes (code on the fly, deeper explanation of vim, Common Lisp, etc.). Thanks, Frank_______________________________________________ Chicago mailing list Chicago at python.org http://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 13340 bytes Desc: not available URL: From chris.mcavoy at gmail.com Tue Feb 3 00:27:10 2009 From: chris.mcavoy at gmail.com (Chris McAvoy) Date: Mon, 2 Feb 2009 17:27:10 -0600 Subject: [Chicago] Module Visualizer? Message-ID: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> Anyone know of an easy way to visualize a Python Module? Like with fancy charts, or UML or something? Chris From brian.curtin at gmail.com Tue Feb 3 00:43:53 2009 From: brian.curtin at gmail.com (curtin@acm.org) Date: Mon, 2 Feb 2009 17:43:53 -0600 Subject: [Chicago] Module Visualizer? In-Reply-To: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> References: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> Message-ID: I believe Stani's Python Editor (SPE) had UML generation of a module at one point (or maybe still does), but my guess is that you don't want to install an IDE just for that. On Mon, Feb 2, 2009 at 5:27 PM, Chris McAvoy wrote: > Anyone know of an easy way to visualize a Python Module? > > Like with fancy charts, or UML or something? > > Chris > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tprinty at mail.edisonave.net Tue Feb 3 00:30:32 2009 From: tprinty at mail.edisonave.net (Tom Printy) Date: Mon, 02 Feb 2009 17:30:32 -0600 Subject: [Chicago] Module Visualizer? In-Reply-To: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> References: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> Message-ID: <49878218.70300@mail.edisonave.net> I use vi :) -Tom Chris McAvoy wrote: > Anyone know of an easy way to visualize a Python Module? > > Like with fancy charts, or UML or something? > > Chris > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From dgriff1 at gmail.com Tue Feb 3 00:59:22 2009 From: dgriff1 at gmail.com (Daniel Griffin) Date: Mon, 2 Feb 2009 17:59:22 -0600 Subject: [Chicago] Module Visualizer? In-Reply-To: <49878218.70300@mail.edisonave.net> References: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> <49878218.70300@mail.edisonave.net> Message-ID: <3db160680902021559h3fb1116bm31aa5e7929f42980@mail.gmail.com> I also use vi On Mon, Feb 2, 2009 at 5:30 PM, Tom Printy wrote: > I use vi :) > > > > -Tom > > > > > > Chris McAvoy wrote: > >> Anyone know of an easy way to visualize a Python Module? >> >> Like with fancy charts, or UML or something? >> >> Chris >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Tue Feb 3 01:03:27 2009 From: carl at personnelware.com (Carl Karsten) Date: Mon, 02 Feb 2009 18:03:27 -0600 Subject: [Chicago] Module Visualizer? In-Reply-To: References: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> Message-ID: <498789CF.1080007@personnelware.com> Still does. sudo apt-get install spe The following extra packages will be installed: kiki libwxbase2.6-0 libwxgtk2.6-0 pychecker python-wxglade python-wxgtk2.6 winpdb wx2.8-doc those should be installed anyway. Carl K curtin at acm.org wrote: > I believe Stani's Python Editor (SPE) had UML generation of a module at one > point (or maybe still does), but my guess is that you don't want to install > an IDE just for that. > > On Mon, Feb 2, 2009 at 5:27 PM, Chris McAvoy wrote: > >> Anyone know of an easy way to visualize a Python Module? >> >> Like with fancy charts, or UML or something? >> >> Chris >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago >> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From jbsnyder at fanplastic.org Tue Feb 3 04:04:37 2009 From: jbsnyder at fanplastic.org (James Snyder) Date: Mon, 2 Feb 2009 21:04:37 -0600 (CST) Subject: [Chicago] February Meeting In-Reply-To: <23776586.181233630073269.JavaMail.jsnyder@erlanger> Message-ID: <5118164.201233630277901.JavaMail.jsnyder@erlanger> I could talk about a couple of different areas, depending on level of interest: - multiprocessing module that is present in 2.6 & 3.0 (and backported to 2.5). It allows for pretty simple and easy dividing of work into multiple processes. - NumPy, SciPy and matplotlib in general, recent developments or some interesting modules that depend on these. I could take this in a few directions depending on how many people are familiar with these tools and at what level. - Controlling and getting data from Arduino (microcontroller) using Python and Firmata. I could do a couple things here, but It'd probably involve visualizing data collected from sensors in real time (maybe an accelerometer) and/or controlling some servos. Any interest in those? -jsnyder ----- "Brian Ray" wrote: > It's that time again... > > Who has something interesting to present? A couple random thoughts: > > * Should we ask Brantley to expand on his lightining talk people > loved so much. > * I think It would be nice to have a meeting dedicated to Ian > Bicking and his contribution to ChiPy/Python in the near future. > * We need to work in more language features in our meetings > * What should we be doing concerning PyCon at ChiPy meetings > * What does the number 42 have to do with Python, anyway? > * Now we are starting to have more scientists in the crowd, should > > we cater some topics in the scientific realm? > * We covered Python on Mobile, what about python for pure GIS? > * What does accessing shared memory have to do with Python and > multi- > core systems, anyway? > * What do these modules have in common and where do I get: hotshot, > > pickle, optparse, urllib, pdb, inspect, subprocess, array, tempfile, > > heapq > * Topics we have covered in the past that may be worth revisiting: > > testing, packaging python projects, graphing, gui, threads... > * How do I get the management upstairs to accept Python, or do they > > already? > * Hey I would switch to Python if it only had .... > * I never realized Python was embedded in so many places including: > > Games, Text Editors, Database Systems, Wireless, ... > * Python is about as cool as Lisp for AI programming, because... > * I fed my dog with Python... and other projects I did with Python > > in my garage. > * hehe, my kids thinks I taught them how to program computer games > > in Python, when actually I taught them inductive reasoning > * Gees, if someone would just make the Python docs like the php > ones, I might switch... and why this will never happen. > * I wish I had some way to refactor, test and understand some > obsfucated code. > > What about a venue? I posted the idea on the North Side bar, but got > > no comments. What other venue options should we consider? > > Yes, there are a lot of seeds. But, really we are just looking for > something you find interesting. Chances are if you find what your > working on interesting and you want to share, their will be others on > > this list who may find them interesting, as well. Give it a shot. > > Thanks, > > Brian Ray > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From cosmin at offbytwo.com Tue Feb 3 04:29:35 2009 From: cosmin at offbytwo.com (Cosmin Stejerean) Date: Mon, 2 Feb 2009 21:29:35 -0600 Subject: [Chicago] February Meeting In-Reply-To: <5118164.201233630277901.JavaMail.jsnyder@erlanger> References: <23776586.181233630073269.JavaMail.jsnyder@erlanger> <5118164.201233630277901.JavaMail.jsnyder@erlanger> Message-ID: <383bbcce0902021929uec02e0dqec7f01323832b52a@mail.gmail.com> On Mon, Feb 2, 2009 at 9:04 PM, James Snyder wrote: > I could talk about a couple of different areas, depending on level of > interest: > - multiprocessing module that is present in 2.6 & 3.0 (and backported to > 2.5). It allows for pretty simple and easy dividing of work into multiple > processes. > - NumPy, SciPy and matplotlib in general, recent developments or some > interesting modules that depend on these. I could take this in a few > directions depending on how many people are familiar with these tools and at > what level. > - Controlling and getting data from Arduino (microcontroller) using Python > and Firmata. I could do a couple things here, but It'd probably involve > visualizing data collected from sensors in real time (maybe an > accelerometer) and/or controlling some servos. > > +1 on all 3 topics. -- Cosmin Stejerean http://offbytwo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ianb at colorstudy.com Tue Feb 3 04:55:41 2009 From: ianb at colorstudy.com (Ian Bicking) Date: Mon, 2 Feb 2009 21:55:41 -0600 Subject: [Chicago] February Meeting In-Reply-To: References: Message-ID: Also: I think we've reached consensus that we should have a short non-Python presentation. Ideally not a programming-language presentation at all. We just need someone to step up to be off topic. Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From kumar.mcmillan at gmail.com Tue Feb 3 05:25:10 2009 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Mon, 2 Feb 2009 22:25:10 -0600 Subject: [Chicago] February Meeting In-Reply-To: References: Message-ID: On Mon, Feb 2, 2009 at 9:55 PM, Ian Bicking wrote: > Also: I think we've reached consensus that we should have a short non-Python > presentation. Ideally not a programming-language presentation at all. We > just need someone to step up to be off topic. Agreed! There was mention at the bar once about a presentation on the art of brewing beer. But the general idea was just to have one non-Python presentation, it could be anything. Also, I think we have reached critical mass of talk proposals so perhaps it is time to stack them all up and put it to a vote? As for number of talks, we know that each ChiPy meeting is always better than the last, but to risk a meeting that may be only-slightly-better-than-the-last I vote we keep talks to a maximum of 60 minutes total (two 30 min talks or the equivalent in lightning talks). Unless someone convinces me that we can go 90 minutes. Kumar From g at rrett.us.com Tue Feb 3 05:34:53 2009 From: g at rrett.us.com (Garrett Smith) Date: Mon, 2 Feb 2009 22:34:53 -0600 (CST) Subject: [Chicago] February Meeting In-Reply-To: <5118164.201233630277901.JavaMail.jsnyder@erlanger> Message-ID: <1154615167.2273761233635693102.JavaMail.root@mail-3.01.com> > - NumPy, SciPy and matplotlib in general, recent developments or some > interesting modules that depend on these. I could take this in a few > directions depending on how many people are familiar with these tools > and at what level. +1 > - Controlling and getting data from Arduino (microcontroller) using > Python and Firmata. I could do a couple things here, but It'd probably > involve visualizing data collected from sensors in real time (maybe an > accelerometer) and/or controlling some servos. +1 if you can build a robot during the talk, +2 if the robot shoots fire in some way From allan2600 at gmail.com Tue Feb 3 06:54:55 2009 From: allan2600 at gmail.com (Allan Spale) Date: Mon, 2 Feb 2009 23:54:55 -0600 Subject: [Chicago] Module Visualizer? In-Reply-To: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> References: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> Message-ID: <79acc5430902022154o2db0cfedud5683bff9acf2908@mail.gmail.com> Hello, I remember seeing code generated using Doxygen ( http://www.stack.nl/~dimitri/doxygen/docblocks.html) which is mostly for C++ and Java. Doxygen is not UML but a good graph that will provide a simple visualization of class structure. A quick Google search revealed that there is a way to get doxygen to work with Python (or so the website says). Still, it is worth a try. Here is the link: http://internetducttape.com/2007/03/20/automatic_documentation_python_doxygen/. Further inspection of the Doxygen website reveals support for Python. Allan On Mon, Feb 2, 2009 at 5:27 PM, Chris McAvoy wrote: > Anyone know of an easy way to visualize a Python Module? > > Like with fancy charts, or UML or something? > > Chris > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cosmin at offbytwo.com Tue Feb 3 16:00:50 2009 From: cosmin at offbytwo.com (Cosmin Stejerean) Date: Tue, 3 Feb 2009 09:00:50 -0600 Subject: [Chicago] February Meeting In-Reply-To: References: Message-ID: <383bbcce0902030700i7cc46f30nb8672a9202685ffe@mail.gmail.com> On Mon, Feb 2, 2009 at 10:25 PM, Kumar McMillan wrote: > On Mon, Feb 2, 2009 at 9:55 PM, Ian Bicking wrote: > > Also: I think we've reached consensus that we should have a short > non-Python > > presentation. Ideally not a programming-language presentation at all. > We > > just need someone to step up to be off topic. > > Agreed! There was mention at the bar once about a presentation on the > art of brewing beer. But the general idea was just to have one > non-Python presentation, it could be anything. > > Also, I think we have reached critical mass of talk proposals so > perhaps it is time to stack them all up and put it to a vote? As for > number of talks, we know that each ChiPy meeting is always better than > the last, but to risk a meeting that may be > only-slightly-better-than-the-last I vote we keep talks to a maximum > of 60 minutes total (two 30 min talks or the equivalent in lightning > talks). Unless someone convinces me that we can go 90 minutes. > The faster the presentations end the sooner we can grab some beer, but 60 minutes total sounds pretty short. Given that we only get to do this every month and the high number of interesting topics that have been proposed I don't see anything wrong with 1.5 or 2 hours. Does anyone else think that having presentations from say 7 to 9 is too long? -- Cosmin Stejerean http://offbytwo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcroneme at thoughtworks.com Tue Feb 3 16:15:50 2009 From: jcroneme at thoughtworks.com (Josh Cronemeyer) Date: Tue, 3 Feb 2009 09:15:50 -0600 Subject: [Chicago] February Meeting In-Reply-To: <5118164.201233630277901.JavaMail.jsnyder@erlanger> Message-ID: Hooray for the Arduino + python talk. I've got an arduino that I should probably do something cool with. Maybe I can get some ideas. James Snyder Sent by: chicago-bounces+jcroneme=thoughtworks.com at python.org 02/02/09 09:04 PM Please respond to The Chicago Python Users Group To The Chicago Python Users Group cc Subject Re: [Chicago] February Meeting I could talk about a couple of different areas, depending on level of interest: - multiprocessing module that is present in 2.6 & 3.0 (and backported to 2.5). It allows for pretty simple and easy dividing of work into multiple processes. - NumPy, SciPy and matplotlib in general, recent developments or some interesting modules that depend on these. I could take this in a few directions depending on how many people are familiar with these tools and at what level. - Controlling and getting data from Arduino (microcontroller) using Python and Firmata. I could do a couple things here, but It'd probably involve visualizing data collected from sensors in real time (maybe an accelerometer) and/or controlling some servos. Any interest in those? -jsnyder ----- "Brian Ray" wrote: > It's that time again... > > Who has something interesting to present? A couple random thoughts: > > * Should we ask Brantley to expand on his lightining talk people > loved so much. > * I think It would be nice to have a meeting dedicated to Ian > Bicking and his contribution to ChiPy/Python in the near future. > * We need to work in more language features in our meetings > * What should we be doing concerning PyCon at ChiPy meetings > * What does the number 42 have to do with Python, anyway? > * Now we are starting to have more scientists in the crowd, should > > we cater some topics in the scientific realm? > * We covered Python on Mobile, what about python for pure GIS? > * What does accessing shared memory have to do with Python and > multi- > core systems, anyway? > * What do these modules have in common and where do I get: hotshot, > > pickle, optparse, urllib, pdb, inspect, subprocess, array, tempfile, > > heapq > * Topics we have covered in the past that may be worth revisiting: > > testing, packaging python projects, graphing, gui, threads... > * How do I get the management upstairs to accept Python, or do they > > already? > * Hey I would switch to Python if it only had .... > * I never realized Python was embedded in so many places including: > > Games, Text Editors, Database Systems, Wireless, ... > * Python is about as cool as Lisp for AI programming, because... > * I fed my dog with Python... and other projects I did with Python > > in my garage. > * hehe, my kids thinks I taught them how to program computer games > > in Python, when actually I taught them inductive reasoning > * Gees, if someone would just make the Python docs like the php > ones, I might switch... and why this will never happen. > * I wish I had some way to refactor, test and understand some > obsfucated code. > > What about a venue? I posted the idea on the North Side bar, but got > > no comments. What other venue options should we consider? > > Yes, there are a lot of seeds. But, really we are just looking for > something you find interesting. Chances are if you find what your > working on interesting and you want to share, their will be others on > > this list who may find them interesting, as well. Give it a shot. > > Thanks, > > Brian Ray > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org http://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 13340 bytes Desc: not available URL: From jordan at widefido.com Tue Feb 3 16:18:44 2009 From: jordan at widefido.com (Jordan Sherer) Date: Tue, 3 Feb 2009 09:18:44 -0600 Subject: [Chicago] February Meeting In-Reply-To: References: Message-ID: Definitely. I'll bring mine. I have a couple, so if anybody wants to play with them, we can fire up a couple IDE's and play with the sensors. Maybe we can come up with some new and fun projects. Best, Jordan On Feb 3, 2009, at Feb 3 9:15 AM, Josh Cronemeyer wrote: > > Hooray for the Arduino + python talk. I've got an arduino that I > should probably do something cool with. Maybe I can get some ideas. > > > > > > James Snyder > Sent by: chicago-bounces+jcroneme=thoughtworks.com at python.org > 02/02/09 09:04 PM > Please respond to > The Chicago Python Users Group > > To > The Chicago Python Users Group > cc > Subject > Re: [Chicago] February Meeting > > > > > > I could talk about a couple of different areas, depending on level > of interest: > - multiprocessing module that is present in 2.6 & 3.0 (and > backported to 2.5). It allows for pretty simple and easy dividing > of work into multiple processes. > - NumPy, SciPy and matplotlib in general, recent developments or > some interesting modules that depend on these. I could take this in > a few directions depending on how many people are familiar with > these tools and at what level. > - Controlling and getting data from Arduino (microcontroller) using > Python and Firmata. I could do a couple things here, but It'd > probably involve visualizing data collected from sensors in real > time (maybe an accelerometer) and/or controlling some servos. > > Any interest in those? > > -jsnyder > > > ----- "Brian Ray" wrote: > > > It's that time again... > > > > Who has something interesting to present? A couple random thoughts: > > > > * Should we ask Brantley to expand on his lightining talk people > > loved so much. > > * I think It would be nice to have a meeting dedicated to Ian > > Bicking and his contribution to ChiPy/Python in the near future. > > * We need to work in more language features in our meetings > > * What should we be doing concerning PyCon at ChiPy meetings > > * What does the number 42 have to do with Python, anyway? > > * Now we are starting to have more scientists in the crowd, should > > > > we cater some topics in the scientific realm? > > * We covered Python on Mobile, what about python for pure GIS? > > * What does accessing shared memory have to do with Python and > > multi- > > core systems, anyway? > > * What do these modules have in common and where do I get: > hotshot, > > > > pickle, optparse, urllib, pdb, inspect, subprocess, array, tempfile, > > > > heapq > > * Topics we have covered in the past that may be worth revisiting: > > > > testing, packaging python projects, graphing, gui, threads... > > * How do I get the management upstairs to accept Python, or do > they > > > > already? > > * Hey I would switch to Python if it only had .... > > * I never realized Python was embedded in so many places > including: > > > > Games, Text Editors, Database Systems, Wireless, ... > > * Python is about as cool as Lisp for AI programming, because... > > * I fed my dog with Python... and other projects I did with Python > > > > in my garage. > > * hehe, my kids thinks I taught them how to program computer games > > > > in Python, when actually I taught them inductive reasoning > > * Gees, if someone would just make the Python docs like the php > > ones, I might switch... and why this will never happen. > > * I wish I had some way to refactor, test and understand some > > obsfucated code. > > > > What about a venue? I posted the idea on the North Side bar, but > got > > > > no comments. What other venue options should we consider? > > > > Yes, there are a lot of seeds. But, really we are just looking for > > something you find interesting. Chances are if you find what your > > working on interesting and you want to share, their will be others > on > > > > this list who may find them interesting, as well. Give it a shot. > > > > Thanks, > > > > Brian Ray > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > http://mail.python.org/mailman/listinfo/chicago > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtemkin at speakeasy.net Tue Feb 3 16:23:33 2009 From: mtemkin at speakeasy.net (Marc Temkin) Date: Tue, 3 Feb 2009 09:23:33 -0600 Subject: [Chicago] Re off-topic topic Message-ID: Hi, I could talk on either one of these topics at the upcoming or future meetings: 1) How to give a better presentation : Your presentation is part stand-up, part lecture and plays to the audience or 2) Master the domains: how to use site specifiers to improve your searches and to become aware of useful structured internet domains. Marc Marc Temkin 7410 N. Talman Chicago IL 60645-1412 773-274-6544 Email:mtemkin at speakeasy.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From tottinge at gmail.com Tue Feb 3 16:53:40 2009 From: tottinge at gmail.com (Tim Ottinger) Date: Tue, 03 Feb 2009 09:53:40 -0600 Subject: [Chicago] February Meeting In-Reply-To: <5118164.201233630277901.JavaMail.jsnyder@erlanger> References: <5118164.201233630277901.JavaMail.jsnyder@erlanger> Message-ID: <49886884.9030508@gmail.com> James Snyder wrote: > I could talk about a couple of different areas, depending on level of interest: > - multiprocessing module that is present in 2.6 & 3.0 (and backported to 2.5). It allows for pretty simple and easy dividing of work into multiple processes. > - NumPy, SciPy and matplotlib in general, recent developments or some interesting modules that depend on these. I could take this in a few directions depending on how many people are familiar with these tools and at what level. > - Controlling and getting data from Arduino (microcontroller) using Python and Firmata. I could do a couple things here, but It'd probably involve visualizing data collected from sensors in real time (maybe an accelerometer) and/or controlling some servos. > > Any interest in those? > > I think I'd be interested in *any* of those, but a module review of multiprocessing is the most practical and getting an acellerometer demo with data collection/plotting/etc would be coolest. From tottinge at gmail.com Tue Feb 3 16:54:25 2009 From: tottinge at gmail.com (Tim Ottinger) Date: Tue, 03 Feb 2009 09:54:25 -0600 Subject: [Chicago] February Meeting In-Reply-To: References: Message-ID: <498868B1.5040406@gmail.com> Ian Bicking wrote: > Also: I think we've reached consensus that we should have a short > non-Python presentation. Ideally not a programming-language > presentation at all. We just need someone to step up to be off topic. I'm a moderately-well known agile coach. If that is interesting to anyone. From kumar.mcmillan at gmail.com Tue Feb 3 18:50:14 2009 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Tue, 3 Feb 2009 11:50:14 -0600 Subject: [Chicago] ANN: Fudge: python mock / stub framework Message-ID: Hi all (sorry about the x-post ye Thunderbird users) I'm excited to announced the release of Fudge, a Python module for replacing real objects with fakes (mocks, stubs, etc) while testing. http://farmdev.com/projects/fudge/ http://pypi.python.org/pypi/fudge Fudge started when a co-worker introduced me to Mocha [1], a mocking framework for Ruby and a simpler version of jMock (Java). More rambling about all that is here: http://farmdev.com/thoughts/70/fudge-another-python-mock-framework/ Yes, I know it's yet another mock framework. I talk about how Fudge compares to the others here: http://farmdev.com/projects/fudge/why-fudge.html [1] http://mocha.rubyforge.org/ have fun, Kumar From jason at jrandolph.com Tue Feb 3 19:04:45 2009 From: jason at jrandolph.com (Jason Huggins) Date: Tue, 3 Feb 2009 12:04:45 -0600 Subject: [Chicago] February Meeting In-Reply-To: References: <5118164.201233630277901.JavaMail.jsnyder@erlanger> Message-ID: <53b9568a0902031004p4921f2ceqb68d5f3264756968@mail.gmail.com> On Tue, Feb 3, 2009 at 9:15 AM, Josh Cronemeyer wrote: > > Hooray for the Arduino + python talk. I've got an arduino that I should > probably do something cool with. Maybe I can get some ideas. My "20%" project at Google was to create an Ambient Orb clone using Python and Arduino. I open-sourced it right before I left... but I never told anyone about it. http://code.google.com/p/orbison/ Making your own orb for continuous build monitoring is pretty fun and pretty cheap (about $50)... Maybe I could do a demo of mine? I'm really proud of how I tested it, too... I used the MacBook's built-in camera for "system testing" the orb. For example, when I told the orb to set to "blue".. I would then take a snapshot and analyze the RGB color values of the snapshot to see if the orb was telling the truth. (Which leads to *totally* hilarious "how many MacBooks do you need to change a lightbulb" jokes.) cheers, hugs From kumar.mcmillan at gmail.com Tue Feb 3 19:13:15 2009 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Tue, 3 Feb 2009 12:13:15 -0600 Subject: [Chicago] February Meeting In-Reply-To: <53b9568a0902031004p4921f2ceqb68d5f3264756968@mail.gmail.com> References: <5118164.201233630277901.JavaMail.jsnyder@erlanger> <53b9568a0902031004p4921f2ceqb68d5f3264756968@mail.gmail.com> Message-ID: On Tue, Feb 3, 2009 at 12:04 PM, Jason Huggins wrote: > On Tue, Feb 3, 2009 at 9:15 AM, Josh Cronemeyer > wrote: >> >> Hooray for the Arduino + python talk. I've got an arduino that I should >> probably do something cool with. Maybe I can get some ideas. > > My "20%" project at Google was to create an Ambient Orb clone using > Python and Arduino. I open-sourced it right before I left... but I > never told anyone about it. > http://code.google.com/p/orbison/ Orbison, best name ever! I am a big +1 for any talk on Arduino boards and Python. > > Making your own orb for continuous build monitoring is pretty fun and > pretty cheap (about $50)... Maybe I could do a demo of mine? > > I'm really proud of how I tested it, too... I used the MacBook's > built-in camera for "system testing" the orb. For example, when I told > the orb to set to "blue".. I would then take a snapshot and analyze > the RGB color values of the snapshot to see if the orb was telling the > truth. (Which leads to *totally* hilarious "how many MacBooks do you > need to change a lightbulb" jokes.) > > cheers, > hugs > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From ianb at colorstudy.com Tue Feb 3 20:18:18 2009 From: ianb at colorstudy.com (Ian Bicking) Date: Tue, 3 Feb 2009 13:18:18 -0600 Subject: [Chicago] ANN: Fudge: python mock / stub framework In-Reply-To: References: Message-ID: On Tue, Feb 3, 2009 at 11:50 AM, Kumar McMillan wrote: > Hi all > (sorry about the x-post ye Thunderbird users) > > I'm excited to announced the release of Fudge, a Python module for > replacing real objects with fakes (mocks, stubs, etc) while testing. > > http://farmdev.com/projects/fudge/ > http://pypi.python.org/pypi/fudge > > Fudge started when a co-worker introduced me to Mocha [1], a mocking > framework for Ruby and a simpler version of jMock (Java). More > rambling about all that is here: > http://farmdev.com/thoughts/70/fudge-another-python-mock-framework/ > > Yes, I know it's yet another mock framework. I talk about how Fudge > compares to the others here: > http://farmdev.com/projects/fudge/why-fudge.html > In the latest release of minimock (1.1) instead of simply logging everything to stdout, it can write to a MockTracker, and you can use it from unittest. It doesn't deal with expectations directly, but I'm not sure what that would add over checking that expectations after the run? I guess that's the same criticism as for mock? Looking at pyMock, I wonder if the clever use of sys.settrace could be used for some not-quite-mocking tests, especially applying tests to code that wasn't written to be testable. -- Ian Bicking | http://blog.ianbicking.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbsnyder at fanplastic.org Tue Feb 3 19:54:04 2009 From: jbsnyder at fanplastic.org (James Snyder) Date: Tue, 3 Feb 2009 12:54:04 -0600 Subject: [Chicago] February Meeting In-Reply-To: <1154615167.2273761233635693102.JavaMail.root@mail-3.01.com> References: <1154615167.2273761233635693102.JavaMail.root@mail-3.01.com> Message-ID: <085B8E82-E99F-4CC8-B0D0-DD626B37F100@fanplastic.org> So, it sounds like robots are popular :-) Technically, it might be possible to mix all of these talk ideas together, including the OT beer talk in the following form: Using Python to Simultaneously Analyze Data, Make Beer and Conquer the World With Fire Breathing Robots However, I think that might be either a bit convoluted or overambitious (though I could make a case for how they all tie together). Instead, what I could do is walk through some examples of how to fire up an Arduino with Firmata enabled, do a little bit of control and data capture, and then maybe show a demo of something a bit more complicated that builds on that (maybe a little robot, or an accelerometer-based control for pygame?). This could provide a simple taste for using NumPy and matplotlib (for handling data coming back from sensors), and I could give a talk more focused on scientific tools the following month. If people bring their own Arduinos we could have some hands on and maybe have people play around with things a little bit. It's actually pretty easy to get started with a python interpreter, pySerial and a basic python-firmata module. This might be one case where having the meeting at a bar might be convenient (people could play around with things without having to move between the presentation location and a bar), though all beverages should maintain a safe minimum distance from the electronics. I'm also still up for doing a Beer talk in the coming months, as well. -jsnyder On Feb 2, 2009, at 10:34 PM, Garrett Smith wrote: >> - NumPy, SciPy and matplotlib in general, recent developments or some >> interesting modules that depend on these. I could take this in a few >> directions depending on how many people are familiar with these tools >> and at what level. > > +1 > >> - Controlling and getting data from Arduino (microcontroller) using >> Python and Firmata. I could do a couple things here, but It'd >> probably >> involve visualizing data collected from sensors in real time (maybe >> an >> accelerometer) and/or controlling some servos. > > +1 if you can build a robot during the talk, +2 if the robot shoots > fire in some way On Feb 3, 2009, at 9:18 AM, Jordan Sherer wrote: > Definitely. I'll bring mine. I have a couple, so if anybody wants to > play with them, we can fire up a couple IDE's and play with the > sensors. Maybe we can come up with some new and fun projects. On Feb 3, 2009, at 9:15 AM, Josh Cronemeyer wrote: > > Hooray for the Arduino + python talk. I've got an arduino that I > should probably do something cool with. Maybe I can get some ideas. On Feb 3, 2009, at 9:53 AM, Tim Ottinger wrote: > I think I'd be interested in *any* of those, but a module review of > multiprocessing is the most practical and getting an acellerometer > demo with data collection/plotting/etc would be coolest. -- James Snyder Biomedical Engineering Northwestern University jbsnyder at fanplastic.org http://fanplastic.org/key.txt ph: (847) 644-2322 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: From jbsnyder at fanplastic.org Tue Feb 3 20:22:30 2009 From: jbsnyder at fanplastic.org (James Snyder) Date: Tue, 3 Feb 2009 13:22:30 -0600 Subject: [Chicago] February Meeting In-Reply-To: <53b9568a0902031004p4921f2ceqb68d5f3264756968@mail.gmail.com> References: <5118164.201233630277901.JavaMail.jsnyder@erlanger> <53b9568a0902031004p4921f2ceqb68d5f3264756968@mail.gmail.com> Message-ID: <51BB23D1-88DA-4008-BDC3-FC05796D93B1@fanplastic.org> Neat. That would be great if you'd like to bring it :-) As far as testing goes, usually I just trust the device if it can give me appropriate responses back over serial. I never considered that it might lie to me, and you've covered another angle there :-) However, what do you do if the MacBook and Arduino are in cahoots? -jsnyder On Feb 3, 2009, at 12:04 PM, Jason Huggins wrote: > On Tue, Feb 3, 2009 at 9:15 AM, Josh Cronemeyer > wrote: >> >> Hooray for the Arduino + python talk. I've got an arduino that I >> should >> probably do something cool with. Maybe I can get some ideas. > > My "20%" project at Google was to create an Ambient Orb clone using > Python and Arduino. I open-sourced it right before I left... but I > never told anyone about it. > http://code.google.com/p/orbison/ > > Making your own orb for continuous build monitoring is pretty fun and > pretty cheap (about $50)... Maybe I could do a demo of mine? > > I'm really proud of how I tested it, too... I used the MacBook's > built-in camera for "system testing" the orb. For example, when I told > the orb to set to "blue".. I would then take a snapshot and analyze > the RGB color values of the snapshot to see if the orb was telling the > truth. (Which leads to *totally* hilarious "how many MacBooks do you > need to change a lightbulb" jokes.) > > cheers, > hugs > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago -- James Snyder Biomedical Engineering Northwestern University jbsnyder at fanplastic.org http://fanplastic.org/key.txt ph: (847) 644-2322 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: From mtemkin at speakeasy.net Tue Feb 3 20:49:22 2009 From: mtemkin at speakeasy.net (Marc Temkin) Date: Tue, 3 Feb 2009 13:49:22 -0600 Subject: [Chicago] I like the arduinos + robots idea In-Reply-To: References: Message-ID: <0A58472FBBC74E248858977125FDBCE4@Dreamcatcher2> I like the arduinos + robots idea. There are some groups at the high-school level that would find this real interesting and I can reach them. Marc Temkin From kumar.mcmillan at gmail.com Tue Feb 3 20:56:08 2009 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Tue, 3 Feb 2009 13:56:08 -0600 Subject: [Chicago] ANN: Fudge: python mock / stub framework In-Reply-To: References: Message-ID: On Tue, Feb 3, 2009 at 1:18 PM, Ian Bicking wrote: > In the latest release of minimock (1.1) instead of simply logging everything > to stdout, it can write to a MockTracker, and you can use it from unittest. ah, I don't think that was there when I last peeked at minimock > > It doesn't deal with expectations directly, but I'm not sure what that would > add over checking that expectations after the run? I guess that's the same > criticism as for mock? I have a lot of non-framework mock code that checks expectations after the run (post mortem approach). I don't like this as much, just seems like too much work. You don't really gain any benefits that I can think of. With the declarative approach (jMock, fudge) you have to be careful to always call fudge.stop() and possibly fudge.clear_expectations() since there is a global registry. I think that's what most people are annoyed with who prefer the post mortem approach. So far, I am not annoyed by this but there's still time :) > > Looking at pyMock, I wonder if the clever use of sys.settrace could be used > for some not-quite-mocking tests, especially applying tests to code that > wasn't written to be testable. yeah, possibly. Scotch does something similar to produce twill tests from a real user browsing a website (http://darcs.idyll.org/~t/projects/scotch/doc/). The catch with the record / playback is you need to actually run the code (which may not always be feasible, say, if you are trying to produce an obscure SOAP fault in a web service or something). Also, what you get out of it is typically a regression test. I have a love / hate relationship with regression tests. They seem to pile up and can slow down a test suite over time. I much prefer to fix a bug by adding failing unit tests for those units at fault as opposed to making some sort of black box functional test that reproduces the bug. Sometimes you need that black box test though to help locate the culprit. Kumar > > -- > Ian Bicking | http://blog.ianbicking.org > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > From allan2600 at gmail.com Tue Feb 3 22:03:34 2009 From: allan2600 at gmail.com (Allan Spale) Date: Tue, 3 Feb 2009 15:03:34 -0600 Subject: [Chicago] I like the arduinos + robots idea In-Reply-To: <0A58472FBBC74E248858977125FDBCE4@Dreamcatcher2> References: <0A58472FBBC74E248858977125FDBCE4@Dreamcatcher2> Message-ID: <79acc5430902031303l620a1ac4i4fc99b9ad10282d8@mail.gmail.com> Hi Marc, I have actually done some work with various microcontrollers (mostly BasicStamp) in an academic setting. The department where I used to do IT work had a professor that used Java tools for the Arduino. I did not get to do too much with Python, but on some other projects I did. The department had a specialization with microcontrollers in industrial design and computer graphics (new media / interactive art). I would be interested in hearing more about your background in this area. Allan On Tue, Feb 3, 2009 at 1:49 PM, Marc Temkin wrote: > I like the arduinos + robots idea. There are some groups at the high-school > level that would find this real interesting and I can reach them. > > Marc Temkin > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Tue Feb 3 22:23:25 2009 From: shekay at pobox.com (sheila miguez) Date: Tue, 3 Feb 2009 15:23:25 -0600 Subject: [Chicago] Re off-topic topic In-Reply-To: References: Message-ID: Nice, an off-topic topic suggestion thread. thanks. Things I am interested in hearing about: * how to change the world, for shy people. For example, I would like to help tutor kids. But I am shy. Someone could give a talk with ideas for midly non-social ways to help tutoring occur. but not necessarily in person. * how to change the radio, by Kumar * citizen-programmer journalism, by that guy who keeps mentioning that program * chocolate for lispers, by Frank -- sheila From tim.saylor at gmail.com Tue Feb 3 22:40:20 2009 From: tim.saylor at gmail.com (Tim Saylor) Date: Tue, 3 Feb 2009 15:40:20 -0600 Subject: [Chicago] Re off-topic topic In-Reply-To: References: Message-ID: <9fb45b0b0902031340o2d1867ebkf26e6a43abe64b74@mail.gmail.com> Someone mentioned a beer brewing talk in the other thread. Theres a guy who's done a talk on that a couple times in the Chicago LUG and I could probably convince him to give it at ChiPy. On Tue, Feb 3, 2009 at 3:23 PM, sheila miguez wrote: > Nice, an off-topic topic suggestion thread. thanks. > > Things I am interested in hearing about: > > * how to change the world, for shy people. > > For example, I would like to help tutor kids. But I am shy. Someone > could give a talk with ideas for midly non-social ways to help > tutoring occur. but not necessarily in person. > > * how to change the radio, by Kumar > > * citizen-programmer journalism, by that guy who keeps mentioning that program > > * chocolate for lispers, by Frank > > -- > sheila > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From shekay at pobox.com Tue Feb 3 22:49:23 2009 From: shekay at pobox.com (sheila miguez) Date: Tue, 3 Feb 2009 15:49:23 -0600 Subject: [Chicago] Re off-topic topic In-Reply-To: <9fb45b0b0902031340o2d1867ebkf26e6a43abe64b74@mail.gmail.com> References: <9fb45b0b0902031340o2d1867ebkf26e6a43abe64b74@mail.gmail.com> Message-ID: On Tue, Feb 3, 2009 at 3:40 PM, Tim Saylor wrote: > Someone mentioned a beer brewing talk in the other thread. Theres a > guy who's done a talk on that a couple times in the Chicago LUG and I > could probably convince him to give it at ChiPy. I'd like this topic too. and I'd like to hear about mead too. -- sheila From christianzlong at yahoo.com Mon Feb 2 17:42:31 2009 From: christianzlong at yahoo.com (Christian Long) Date: Mon, 02 Feb 2009 10:42:31 -0600 Subject: [Chicago] Video of January meeting? Message-ID: <49872277.6000201@yahoo.com> Is there video available of the January 2009 meeting? My quick search was not fruitful. Thanks, Christian From tprinty at mail.edisonave.net Wed Feb 4 00:21:46 2009 From: tprinty at mail.edisonave.net (Tom Printy) Date: Tue, 03 Feb 2009 17:21:46 -0600 Subject: [Chicago] Metra Rail schedule -> sql db In-Reply-To: <93CF2F0B-2B69-4475-A6FC-7CC5AF695309@cs.depaul.edu> References: <49138669.9020203@mail.edisonave.net> <93CF2F0B-2B69-4475-A6FC-7CC5AF695309@cs.depaul.edu> Message-ID: <4988D18A.9040807@mail.edisonave.net> Hi Massimo, Thanks for providing this code. Is there a way that I can just run this from the command line? I would like to do something like ./getMetra.py ./createSQL.py createSQL.py is your db.py but I am not sure how to include web2py -Tom Massimo Di Pierro wrote: > The MetraSchedule app is running here: > > http://mdp.cti.depaul.edu/MetraSchedule > > The source code is here: > > http://mdp.cti.depaul.edu/appliances/default/show/44 > > Somewhere in the tar file is the scraper code that stores the data in DB. > > Massimo > > > > On Nov 7, 2008, at 11:29 AM, Massimo Di Pierro wrote: > >> Yes, I can send my code but not today. I am in a meeting until >> tomorrow. I can send it sunday. >> >> Massimo >> >> On Nov 7, 2008, at 10:01 AM, sheila miguez wrote: >> >>> On Thu, Nov 6, 2008 at 6:06 PM, Tom Printy >>> > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From mdipierro at cs.depaul.edu Wed Feb 4 00:23:54 2009 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Tue, 3 Feb 2009 17:23:54 -0600 Subject: [Chicago] Metra Rail schedule -> sql db In-Reply-To: <4988D18A.9040807@mail.edisonave.net> References: <49138669.9020203@mail.edisonave.net> <93CF2F0B-2B69-4475-A6FC-7CC5AF695309@cs.depaul.edu> <4988D18A.9040807@mail.edisonave.net> Message-ID: <3A5B62E1-DF6C-4CD4-9B3A-C759A37DEAD7@cs.depaul.edu> yes. python web2py.py -S [appname] -M /path/to/script.py web2py.py for more options Massimo On Feb 3, 2009, at 5:21 PM, Tom Printy wrote: > Hi Massimo, > > Thanks for providing this code. Is there a way that I can just run > this > from the command line? > > I would like to do something like > ./getMetra.py > ./createSQL.py > > createSQL.py is your db.py but I am not sure how to include web2py > > -Tom > > > > Massimo Di Pierro wrote: >> The MetraSchedule app is running here: >> >> http://mdp.cti.depaul.edu/MetraSchedule >> >> The source code is here: >> >> http://mdp.cti.depaul.edu/appliances/default/show/44 >> >> Somewhere in the tar file is the scraper code that stores the data >> in DB. >> >> Massimo >> >> >> >> On Nov 7, 2008, at 11:29 AM, Massimo Di Pierro wrote: >> >>> Yes, I can send my code but not today. I am in a meeting until >>> tomorrow. I can send it sunday. >>> >>> Massimo >>> >>> On Nov 7, 2008, at 10:01 AM, sheila miguez wrote: >>> >>>> On Thu, Nov 6, 2008 at 6:06 PM, Tom Printy >>>> > >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From jcroneme at thoughtworks.com Wed Feb 4 00:44:10 2009 From: jcroneme at thoughtworks.com (Josh Cronemeyer) Date: Tue, 3 Feb 2009 17:44:10 -0600 Subject: [Chicago] Re off-topic topic In-Reply-To: Message-ID: I'm only for the beer brewing talk it he brings homebrew for everyone. :) sheila miguez Sent by: chicago-bounces+jcroneme=thoughtworks.com at python.org 02/03/09 03:49 PM Please respond to The Chicago Python Users Group To The Chicago Python Users Group cc Subject Re: [Chicago] Re off-topic topic On Tue, Feb 3, 2009 at 3:40 PM, Tim Saylor wrote: > Someone mentioned a beer brewing talk in the other thread. Theres a > guy who's done a talk on that a couple times in the Chicago LUG and I > could probably convince him to give it at ChiPy. I'd like this topic too. and I'd like to hear about mead too. -- sheila _______________________________________________ Chicago mailing list Chicago at python.org http://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 13340 bytes Desc: not available URL: From jsudlow at gmail.com Wed Feb 4 01:35:13 2009 From: jsudlow at gmail.com (Jon Sudlow) Date: Tue, 3 Feb 2009 18:35:13 -0600 Subject: [Chicago] Re off-topic topic In-Reply-To: References: Message-ID: I just watched a history channel sunday program about beer brewing. I would be highly interested. On 2/3/09, Josh Cronemeyer wrote: > > > I'm only for the beer brewing talk it he brings homebrew for everyone. :) > > > > > *sheila miguez * > Sent by: chicago-bounces+jcroneme=thoughtworks.com at python.org > > 02/03/09 03:49 PM Please respond to > The Chicago Python Users Group > > To > The Chicago Python Users Group cc > Subject > Re: [Chicago] Re off-topic topic > > > > > On Tue, Feb 3, 2009 at 3:40 PM, Tim Saylor wrote: > > Someone mentioned a beer brewing talk in the other thread. Theres a > > guy who's done a talk on that a couple times in the Chicago LUG and I > > could probably convince him to give it at ChiPy. > > I'd like this topic too. and I'd like to hear about mead too. > > > -- > sheila > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > -- Jon Sudlow 3225 Foster Avenue 221 Sohlberg Hall C.P.O 2224 Chicago, Il 60625 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 13340 bytes Desc: not available URL: From bray at sent.com Wed Feb 4 17:47:40 2009 From: bray at sent.com (Brian Ray) Date: Wed, 4 Feb 2009 10:47:40 -0600 Subject: [Chicago] Our wiki Message-ID: <66F8113D-6780-45AC-94C8-021B39130707@sent.com> We finally are upgrading our wiki at http://chipy.org The site may be up and down today and tomorrow. Thanks, Brian Ray From kirby.urner at gmail.com Wed Feb 4 20:36:06 2009 From: kirby.urner at gmail.com (kirby urner) Date: Wed, 4 Feb 2009 11:36:06 -0800 Subject: [Chicago] Python for Teachers (Pycon promo from Portland, long) Message-ID: So the horses are out of the gate [0] and I'm running dead last (did I hear someone say "running"?). Sorry Steve (he's the jockey). Maybe there's still time to rent that blimp?[1] Here's a link to me blog (yar!) bristling with follow-up links, re our agenda in Portland (open source capital), getting some good results, including from our (reputedly strong) public school system: http://worldgame.blogspot.com/2009/01/wanderers-2008128.html (meeting with Lew Frederick, our own Vernon Jordon Jr. i.e. a respected Portland power broker) (we have a new superintendent, sympathetic to our OS Bridge efforts to connect K-12 to our burgeoning open source culture, attracting new immigrants from your state etc., lots of good skills [2]). http://mybizmo.blogspot.com/2006/09/yar.html (explaining about "yar!" for people who don't know Portland that well) http://www.csmonitor.com/2005/1128/p03s02-ussc.html (Portland as open source capital) So how do we motivate rank and file math teachers in the midwest to drop those hamster-brained calculators and pick up the real deal: a machine executable math notation (MN per Iverson, cite http://www.jsoftware.com/jwiki/Essays/Bibliography)? Philosophers from Leibniz through Ada and Bush (Vannevar -- anticipated Google in 1945) have dreamed of math languages wherein you describe reality in some way, then have them automate human affairs in some way, not to "replace" human intelligence (AI scifi, kinda dumb) but rather to supplement and augment it (what's really the case, right now today -- a dream come true). "So that's where OO comes in, boyz and grrlz: the new toyz (long anticipated logics) have arrived" -- might be our message, not slighting the lambda calculus folk, who tend to snobberize vs. OO (there was a time when Schemers considered OO a threat, but now they love Ruby they tell me). As I was posting to math.teaching.technology at the Math Forum recently: """ Any school serious about grooming kids for Silicon Forest jobs (this'd be that -- Greater Portland, spreading to Bend and Ashland to the south, Redmond to the north (Space Needle an icon) [1]) is going to be phasing in some executable math languages to supplement the typeset ones (e.g. Ruby, Python... J, MathCad). """ http://mathforum.org/kb/message.jspa?messageID=6596176&tstart=0 (i.e. yet more about how we teach mathematics to wannabe silicon foresters, via Saturday Academy, Oregon Curriculum Network, LEP High, Winterhaven etc. etc.). Anyway, if any of you have connections in the Chicago school system, maybe send 'em a heads up, like maybe a link to this open letter to our new school superintendent, saved at our Wanderers Wiki?: https://wanderers.pbwiki.com/PyconPromo (plus here's some recent OS Bridge marketing, using simple Google appengine: osgarden.appspot.com ) What if you're not a math teacher? Probably none of you are (although I would argue if you use Python, you teach it, and given Python is an executable MN ("math notation" -- Iverson), you're thereby a math teacher (certifiably). Understanding "math" in its modern 'Godel Escher Bach' sense of being alphanumeric, not just arithmetical e.g. "regular expression" are a valid math topic just as surely as any language game logic -- don't let anyone tell ya different. :) So let me assure you more private sector corporate types that our 'Python for Teachers' is *not* just for rank and file high school math teachers who need to polish their skills (or be left behind big time). I'm from the private sector myself, work through Saturday Academy and PPS to spread "Pythonic math", but am effective in so doing in large degree because of my ongoing connections to "the real world" (i.e. the actual job market). Anyone interested in leading a corporate training might get value from this. My angle is anyone who *uses* Python is also *a teacher* of Python (if only to herself), and I'm aiming to pass along a lot of heuristics I've found to be effective (as is Steve). For example: We say "everything as in object in Python" which is smart, good to show dir(1) i.e. int type "has guts", and "".join(['c','a','t']) invokes a method on the empty string object i.e. even lowly 1 and "" are objects in the sense of "containing smarts" (lots of blueprints go into 'em).[3] However, those special names (which are everywhere, especially at the primitive level) look pretty weird, yet you need 'em for the most basic of basics: birth. Talking about the __init__ constructor. So here's my "hello world" in Pythonic Math (we're starting here, not "getting to it in CS2" like the dinos do): class Biotum: def __init__(self): self.stomach = [] def __repr__(self): return "Biotum @ ", id(self) def eat(self, food): self.stomach.append(food) def poop(self): if len(self.stomach) > 1: return stomach.pop(0) That's really early, at the "hello world" level. It's not like we spend a year teaching procedural programming first. It's more like we look at some YouTubes of biota (!) and then say "if you're a biologist looking for some kind of executable math notation to describe biota, wouldn't this make a lot of sense?" In other words, it's not about "getting beyond procedural programming" (who cares about that?) it's about communicating about the real world in various walks of life, using the OO paradigm and philosophy (remember to say "am a", not just "is a", and "have a", not just "has a"...). Because OO, in the first instance, is about communicating to other humans, not to computers. It's a way of thinking about a knowledge domain, getting it formalized in "a language that works". Portland: a city that works. http://www.portlandtribune.com/news/story.php?story_id=118911404787414800 (dissenting view from PHP site) Anyway, you know the rap. It's new to parents though. Junior comes home saying "we programmed a Dog and Monkey in math class today, had them eat each other" [4], and maybe mom or dad phones my office, wondering what this is about. "Rest assured," I say "from Dogs and Monkeys 'tis but a short step to Vectors, Polyhedra and Numbers Modulo N -- this is a well-designed on-ramp to a well-paying job in the Silicon Forest." They ring off with a smile, glad Junior is getting such a relevant education, loves doing homework (lots of YouTubes and Showmedo, in addition to snake charming). [5] So then I point out how special names look a lot like __ribs__, and snakes have *lots* of __ribs__. Kids get that. Like here's a "template snake" (a canonical Python class): class Snake: def __init__(self): # born! self.stomach = [] def __rib__(self): pass def __rib__(self): pass def __rib__(self): pass (note that this is legal Python even if __rib__ isn't a special name (it gets mangled/munged) and even if you use a lot of 'em) You see where I'm going with this don't you: In building reading knowledge of Python (to start, even before writing much), we're having kids get comfortable with __ribs__ *and* the idea that "everything is an object in Python" -- except now we can say "everything is a Snake" (esp. w/ type/class unification), or even (drum roll)... ...everything is a python in Python. Pass it on.... OK, back to reading 'Web Semantics in the Clouds' by Peter Mika and Giovanni Tummarello, just uploaded a copy to Wanderers eGroup (lots of engineers, Cal Tech connections...). More later then! Kirby Urner 4dsolutions.net "A Pioneer in Open Source" [0] Horses out of the gate, off and running... um... Here are the numbers as of 2/4/2008. --greg Hands on Python I (Harrington) 8 Faster Python Programs through Optimization (Muller) 9 Iron Python (Foord/Hartley) 4 Using Twisted Deferreds (Zadika) 2 Beginning TurboGears (Ramm) 3 Introduction to the Google App Engine (Gregoio) 5 Easy Concurrency with Kamaelia (Jacobs/McFerron) 0 Working with Excel Files in Python (Withers) 5 Hands on Python II (Harrington) 6 Django in the Real World (Kaplan-Moss) 15 Eggs and Buildout Development (Rush) 5 Geographic Information Systems in Python (Han) 3 Intermediate TurboGears (Ramm) 3 A Curious Course on Coroutines and Concurrency (Beazley) 11 Building Real-time Network applications for the web with Twisted and Orbited (Carter) 0 Introduction to Functional Web Testing With Twill & Selenium (Zabinos/Peppers/Boers) 2 Python 401: Some Advanced Topics (Holden) 16 py.test - rapid testing with minimal effort (Dorsey/Krekel) 4 ToscaWidgets: Test Driven Modular Ajax (Perkins) 1 Introduction to SQLAlchemy (Ellis) 10 Hands on with Trac Plugins (Kantrowitz) 2 Data Storage in Python - An Overview of Options (Muller) 5 Python 101 (Williams) 6 Scrape the Web: Strategies for programming websites that don't expect it (Laroia) 7 Introduction to Object-Oriented Programming (Goldwater) 6 py.Test cross-platform and distributed testing (Krekel/Dorsey) 3 Python for Teachers (Urner/Holden) 0 Advanced SQLAlchemy (Kirtland/Bayer) 13 Using the repoze.bfg Web Framework (McDonough/Perkins) 2 A Tour of the Python Standard Library (Kumaran) 7 Python 102 (Williams) 7 Internet Programming with Python (Chun) 8 [1] """ In other news, Pycon is suggesting Steve Holden and I rent a blimp to flash ads about a Flying Circus event: him and me doing an experimental prototype curriculum of tomorrow as a twosome, me the futurist Portlander, hot off the jet, and he the focused interlocutor, keeping me on task and on target, in terms of preaching relevantly to the actually present choir. """ http://www.nabble.com/Reality-checks-at-OSU...-td20628411.html [2] http://mybizmo.blogspot.com/2009/01/ppug-2009113.html (PPUG meeting, ending with beers and discussions of Illinois politics with new immigrants from Illinois and Wisconsin). [3] http://mybizmo.blogspot.com/2009/01/transitions-of-power.html (cartoon about OO paradigm) [4] ShowMeDo | Python for Math Teachers: http://showmedo.com/videos/series?id=101 [5] groundbreaking Salon article, sparked little reaction because math teachers only know how to argue about whether to use calculators or not. That's it: TI or no TI, that is the question. Something smells rotten in Denmark, no? http://www.salon.com/tech/feature/2006/09/14/basic/ (yes, it's promoting BASIC over Python -- that was just to stir up some healthy debates I think, mostly didn't happen, just more snoring at the switch as the trains keep vectoring down that rickety old pre-calc track towards Calculus Mountain (insider mathspeak)). From carl at personnelware.com Wed Feb 4 22:02:12 2009 From: carl at personnelware.com (Carl Karsten) Date: Wed, 04 Feb 2009 15:02:12 -0600 Subject: [Chicago] Module Visualizer? Dia? In-Reply-To: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> References: <3096c19d0902021527s2aefa3d1k52bddbd3ae4a7781@mail.gmail.com> Message-ID: <498A0254.5060204@personnelware.com> Chris McAvoy wrote: > Anyone know of an easy way to visualize a Python Module? > > Like with fancy charts, or UML or something? http://projects.gnome.org/dia/python.html "generates a new diagram which contains all objects of dir(dia). Now fills attributes and operations by using Python reflexion ... " I can't figure out if it can map something other than dir(dia) - Carl K From bray at sent.com Wed Feb 4 22:24:58 2009 From: bray at sent.com (Brian Ray) Date: Wed, 4 Feb 2009 15:24:58 -0600 Subject: [Chicago] February Meeting Part II Message-ID: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> The feedback for this meeting that needs sort out. Thanks in advance for everyone who stepped up to the plate. It will certainly be one of our best, if not the best ever... I want to be fair and keep things moving at the same time. If I missed you, or I read the feedback incorrectly, now is the time to complain. With that said, here is a very tentative plan: Feb: James S - (30) Arduino + python hugs - (10) orb demo Cosmin - (30) py2app and py2exe Mossimo - (10) help port to linux Scullin - (30) IBM's BlueGene /P bcfg2 March: James S - (30) Scientific with NumPy, SciPy and matplotlib ... Frank - (30) Extend VIM Kumar - (45) Testing Ajax (PyCon) Deferred: Tim Ottinger - Agile James S - Multiprocessing Beer talks Off topic talks This is NOT final. Any feedback? Brian Ray From swgithen at mtu.edu Wed Feb 4 22:31:45 2009 From: swgithen at mtu.edu (Steven Githens) Date: Wed, 04 Feb 2009 16:31:45 -0500 Subject: [Chicago] February Meeting Part II In-Reply-To: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> References: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> Message-ID: <498A0941.9000901@mtu.edu> Looking forward to witnessing the Cosmin Mossimo synergy. Do we have a firm location yet since it's not on the wiki? ( I would search back through the list, but who knows if the location has been monkey patched throughout the threads ). Just need to plan time accordingly depending on how far from the loop it is. Cheers, Steve Brian Ray wrote: > The feedback for this meeting that needs sort out. Thanks in advance > for everyone who stepped up to the plate. It will certainly be one of > our best, if not the best ever... > > I want to be fair and keep things moving at the same time. If I > missed you, or I read the feedback incorrectly, now is the time to > complain. With that said, here is a very tentative plan: > > Feb: > James S - (30) Arduino + python > hugs - (10) orb demo > Cosmin - (30) py2app and py2exe > Mossimo - (10) help port to linux > Scullin - (30) IBM's BlueGene /P bcfg2 > > March: > James S - (30) Scientific with NumPy, SciPy and matplotlib ... > Frank - (30) Extend VIM > Kumar - (45) Testing Ajax (PyCon) > > Deferred: > Tim Ottinger - Agile > James S - Multiprocessing > Beer talks > Off topic talks > > This is NOT final. Any feedback? > > Brian Ray > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From mdipierro at cs.depaul.edu Wed Feb 4 22:40:40 2009 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Wed, 4 Feb 2009 15:40:40 -0600 Subject: [Chicago] February Meeting Part II In-Reply-To: <498A0941.9000901@mtu.edu> References: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> <498A0941.9000901@mtu.edu> Message-ID: <011A7C8F-3CCF-42F3-9EAC-148A92CDF7ED@cs.depaul.edu> Actually Cosmin will be teaching me. I have nothing to say on this topic. Looking forward to this meeting to. Massimo On Feb 4, 2009, at 3:31 PM, Steven Githens wrote: > Looking forward to witnessing the Cosmin Mossimo synergy. > > Do we have a firm location yet since it's not on the wiki? ( I would > search back through the list, but who knows if the location has been > monkey patched throughout the threads ). Just need to plan time > accordingly depending on how far from the loop it is. > > Cheers, > Steve > > Brian Ray wrote: >> The feedback for this meeting that needs sort out. Thanks in advance >> for everyone who stepped up to the plate. It will certainly be one of >> our best, if not the best ever... >> >> I want to be fair and keep things moving at the same time. If I >> missed you, or I read the feedback incorrectly, now is the time to >> complain. With that said, here is a very tentative plan: >> >> Feb: >> James S - (30) Arduino + python >> hugs - (10) orb demo >> Cosmin - (30) py2app and py2exe >> Mossimo - (10) help port to linux >> Scullin - (30) IBM's BlueGene /P bcfg2 >> >> March: >> James S - (30) Scientific with NumPy, SciPy and matplotlib ... >> Frank - (30) Extend VIM >> Kumar - (45) Testing Ajax (PyCon) >> >> Deferred: >> Tim Ottinger - Agile >> James S - Multiprocessing >> Beer talks >> Off topic talks >> >> This is NOT final. Any feedback? >> >> Brian Ray >> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From cosmin at offbytwo.com Wed Feb 4 22:44:49 2009 From: cosmin at offbytwo.com (Cosmin Stejerean) Date: Wed, 4 Feb 2009 15:44:49 -0600 Subject: [Chicago] February Meeting Part II In-Reply-To: <011A7C8F-3CCF-42F3-9EAC-148A92CDF7ED@cs.depaul.edu> References: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> <498A0941.9000901@mtu.edu> <011A7C8F-3CCF-42F3-9EAC-148A92CDF7ED@cs.depaul.edu> Message-ID: <383bbcce0902041344k187af3cexce78591f6f0fb4c8@mail.gmail.com> On Wed, Feb 4, 2009 at 3:40 PM, Massimo Di Pierro wrote: > Actually Cosmin will be teaching me. I have nothing to say on this topic. > Looking forward to this meeting to. > Actually Josh will be teaching both of us. -- Cosmin Stejerean http://offbytwo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcroneme at thoughtworks.com Thu Feb 5 03:19:10 2009 From: jcroneme at thoughtworks.com (Josh Cronemeyer) Date: Wed, 4 Feb 2009 20:19:10 -0600 Subject: [Chicago] February Meeting Part II In-Reply-To: <383bbcce0902041344k187af3cexce78591f6f0fb4c8@mail.gmail.com> Message-ID: And if all goes well with the brewing talk I'll be drunk to boot. Cosmin Stejerean Sent by: chicago-bounces+jcroneme=thoughtworks.com at python.org 02/04/09 03:44 PM Please respond to The Chicago Python Users Group To The Chicago Python Users Group cc Subject Re: [Chicago] February Meeting Part II On Wed, Feb 4, 2009 at 3:40 PM, Massimo Di Pierro wrote: Actually Cosmin will be teaching me. I have nothing to say on this topic. Looking forward to this meeting to. Actually Josh will be teaching both of us. -- Cosmin Stejerean http://offbytwo.com _______________________________________________ Chicago mailing list Chicago at python.org http://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 13340 bytes Desc: not available URL: From kumar.mcmillan at gmail.com Thu Feb 5 03:25:18 2009 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Wed, 4 Feb 2009 20:25:18 -0600 Subject: [Chicago] February Meeting Part II In-Reply-To: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> References: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> Message-ID: On Wed, Feb 4, 2009 at 3:24 PM, Brian Ray wrote: > The feedback for this meeting that needs sort out. Thanks in advance for > everyone who stepped up to the plate. It will certainly be one of our best, > if not the best ever... > > I want to be fair and keep things moving at the same time. If I missed you, > or I read the feedback incorrectly, now is the time to complain. With that > said, here is a very tentative plan: > > Feb: > James S - (30) Arduino + python > hugs - (10) orb demo > Cosmin - (30) py2app and py2exe > Mossimo - (10) help port to linux > Scullin - (30) IBM's BlueGene /P bcfg2 > > March: > James S - (30) Scientific with NumPy, SciPy and matplotlib ... > Frank - (30) Extend VIM > Kumar - (45) Testing Ajax (PyCon) > > Deferred: > Tim Ottinger - Agile > James S - Multiprocessing > Beer talks > Off topic talks > > This is NOT final. Any feedback? Brian, this schedule looks great to me. Maybe we can round up who was going to do the beer brewing talk for March. BTW, I'll only need 30 min for my pycon practice (if I go for 45 then I will be in trouble). > > Brian Ray > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From allanlesage at gmail.com Thu Feb 5 03:38:02 2009 From: allanlesage at gmail.com (Allan LeSage) Date: Wed, 4 Feb 2009 20:38:02 -0600 Subject: [Chicago] February Meeting Part II In-Reply-To: References: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> Message-ID: <69ad11e40902041838n4cba8725g7f167f901c4c97d5@mail.gmail.com> If we do the brewing thing in March I'd like to show some yeast microscopy videos from when I worked on yeast microscopy. (Not really Python-related.) Allan On Wed, Feb 4, 2009 at 8:25 PM, Kumar McMillan wrote: > On Wed, Feb 4, 2009 at 3:24 PM, Brian Ray wrote: > > The feedback for this meeting that needs sort out. Thanks in advance for > > everyone who stepped up to the plate. It will certainly be one of our > best, > > if not the best ever... > > > > I want to be fair and keep things moving at the same time. If I missed > you, > > or I read the feedback incorrectly, now is the time to complain. With > that > > said, here is a very tentative plan: > > > > Feb: > > James S - (30) Arduino + python > > hugs - (10) orb demo > > Cosmin - (30) py2app and py2exe > > Mossimo - (10) help port to linux > > Scullin - (30) IBM's BlueGene /P bcfg2 > > > > March: > > James S - (30) Scientific with NumPy, SciPy and matplotlib ... > > Frank - (30) Extend VIM > > Kumar - (45) Testing Ajax (PyCon) > > > > Deferred: > > Tim Ottinger - Agile > > James S - Multiprocessing > > Beer talks > > Off topic talks > > > > This is NOT final. Any feedback? > > Brian, this schedule looks great to me. Maybe we can round up who was > going to do the beer brewing talk for March. BTW, I'll only need 30 > min for my pycon practice (if I go for 45 then I will be in trouble). > > > > > Brian Ray > > > > > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > http://mail.python.org/mailman/listinfo/chicago > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From igorsyl at gmail.com Wed Feb 4 19:07:08 2009 From: igorsyl at gmail.com (Igor Sylvester) Date: Wed, 4 Feb 2009 12:07:08 -0600 Subject: [Chicago] order of keyword arguments Message-ID: Hi Everyone, Is there a way to obtain the order of keyword arguments in this example: def foo(**kargs): print kargs.items() The call foo(A=0, B=1) could print (('A', 0), ('B', 1)) or (('B', 1), ('A', 0)). Since dictionaries do not know about ordering, I can't obtain the order of keyword arguments by simply looking into kargs. Perhaps there is a way to introspect the function stack to get a hold of the order of the arguments. Does anyone know if this is possible? Thanks! Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: From ianb at colorstudy.com Thu Feb 5 04:05:41 2009 From: ianb at colorstudy.com (Ian Bicking) Date: Wed, 4 Feb 2009 21:05:41 -0600 Subject: [Chicago] order of keyword arguments In-Reply-To: References: Message-ID: On Wed, Feb 4, 2009 at 12:07 PM, Igor Sylvester wrote: > Hi Everyone, > > Is there a way to obtain the order of keyword arguments in this example: > > def foo(**kargs): > print kargs.items() > > The call foo(A=0, B=1) could print (('A', 0), ('B', 1)) or (('B', 1), ('A', > 0)). > > Since dictionaries do not know about ordering, I can't obtain the order of > keyword arguments by simply looking into kargs. > Perhaps there is a way to introspect the function stack to get a hold of > the order of the arguments. Does anyone know if this is possible? > Nah, it's not really possible. You could look back in the function stack, find the line number, parse the line, try to resolve symbols to determine which part of the code refers to your function... but really, no, no way to do it. -- Ian Bicking | http://blog.ianbicking.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From ias at alum.mit.edu Thu Feb 5 06:33:16 2009 From: ias at alum.mit.edu (Igor Sylvester) Date: Wed, 4 Feb 2009 23:33:16 -0600 Subject: [Chicago] order of keyword arguments In-Reply-To: References: Message-ID: Is this worthy of a PEP? On Wed, Feb 4, 2009 at 9:05 PM, Ian Bicking wrote: > On Wed, Feb 4, 2009 at 12:07 PM, Igor Sylvester wrote: > >> Hi Everyone, >> >> Is there a way to obtain the order of keyword arguments in this example: >> >> def foo(**kargs): >> print kargs.items() >> >> The call foo(A=0, B=1) could print (('A', 0), ('B', 1)) or (('B', 1), >> ('A', 0)). >> >> Since dictionaries do not know about ordering, I can't obtain the order of >> keyword arguments by simply looking into kargs. >> Perhaps there is a way to introspect the function stack to get a hold of >> the order of the arguments. Does anyone know if this is possible? >> > > Nah, it's not really possible. You could look back in the function stack, > find the line number, parse the line, try to resolve symbols to determine > which part of the code refers to your function... but really, no, no way to > do it. > > > -- > Ian Bicking | http://blog.ianbicking.org > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Thu Feb 5 06:38:46 2009 From: kirby.urner at gmail.com (kirby urner) Date: Wed, 4 Feb 2009 21:38:46 -0800 Subject: [Chicago] order of keyword arguments In-Reply-To: References: Message-ID: On Wed, Feb 4, 2009 at 9:33 PM, Igor Sylvester wrote: > Is this worthy of a PEP? > Doesn't it just go against the design of Python? Dictionaries don't care about order, so if you do, use something other than a dictionary? You can pass a list or something? Don't use the **kwargs feature? $0.02 Kirby From carl at personnelware.com Thu Feb 5 06:39:17 2009 From: carl at personnelware.com (Carl Karsten) Date: Wed, 04 Feb 2009 23:39:17 -0600 Subject: [Chicago] order of keyword arguments In-Reply-To: References: Message-ID: <498A7B85.4060704@personnelware.com> Igor Sylvester wrote: > Is this worthy of a PEP? > > On Wed, Feb 4, 2009 at 9:05 PM, Ian Bicking wrote: > >> On Wed, Feb 4, 2009 at 12:07 PM, Igor Sylvester wrote: >> >>> Hi Everyone, >>> >>> Is there a way to obtain the order of keyword arguments in this example: >>> >>> def foo(**kargs): >>> print kargs.items() >>> >>> The call foo(A=0, B=1) could print (('A', 0), ('B', 1)) or (('B', 1), >>> ('A', 0)). What is the use case for this? >>> >>> Since dictionaries do not know about ordering, I can't obtain the order of >>> keyword arguments by simply looking into kargs. >>> Perhaps there is a way to introspect the function stack to get a hold of >>> the order of the arguments. Does anyone know if this is possible? Carl K >>> >> Nah, it's not really possible. You could look back in the function stack, >> find the line number, parse the line, try to resolve symbols to determine >> which part of the code refers to your function... but really, no, no way to >> do it. >> From ianb at colorstudy.com Thu Feb 5 06:48:59 2009 From: ianb at colorstudy.com (Ian Bicking) Date: Wed, 4 Feb 2009 23:48:59 -0600 Subject: [Chicago] order of keyword arguments In-Reply-To: References: Message-ID: On Wed, Feb 4, 2009 at 11:33 PM, Igor Sylvester wrote: > Is this worthy of a PEP? > You could try, but I doubt it'd get any traction. After all, if you do func(**kw) there's no possible way to capture the order of the keyword arguments, since the underlying dictionary didn't have an order. Also you have to remember that for: def add(x, y): return x+y these function calls are all equivalent: add(1, 2) add(1, y=2) add(y=2, x=1) -- Ian Bicking | http://blog.ianbicking.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcp at mac.com Thu Feb 5 15:36:48 2009 From: tcp at mac.com (Ted Pollari) Date: Thu, 05 Feb 2009 06:36:48 -0800 Subject: [Chicago] order of keyword arguments In-Reply-To: <498A7B85.4060704@personnelware.com> References: <498A7B85.4060704@personnelware.com> Message-ID: <69FCDB00-08B5-4639-85EC-385F6C400B89@mac.com> On Feb 4, 2009, at 9:39 PM, Carl Karsten wrote: > Igor Sylvester wrote: >> Is this worthy of a PEP? >> On Wed, Feb 4, 2009 at 9:05 PM, Ian Bicking >> wrote: >>> On Wed, Feb 4, 2009 at 12:07 PM, Igor Sylvester >>> wrote: >>> >>>> Hi Everyone, >>>> >>>> Is there a way to obtain the order of keyword arguments in this >>>> example: >>>> >>>> def foo(**kargs): >>>> print kargs.items() >>>> >>>> The call foo(A=0, B=1) could print (('A', 0), ('B', 1)) or (('B', >>>> 1), >>>> ('A', 0)). > > What is the use case for this? +1 The first step in making a viable PEP would be showing a clear use- case where the is clearly needed. I'm not saying there isn't one, but I'd like to see why you think it's PEP-worthy. -t From mdipierro at cs.depaul.edu Thu Feb 5 17:39:27 2009 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Thu, 5 Feb 2009 10:39:27 -0600 Subject: [Chicago] February Meeting Part II In-Reply-To: References: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> Message-ID: Just to be sure... which day is the meeting? The web page does not say. Massimo On Feb 4, 2009, at 8:25 PM, Kumar McMillan wrote: > On Wed, Feb 4, 2009 at 3:24 PM, Brian Ray wrote: >> The feedback for this meeting that needs sort out. Thanks in >> advance for >> everyone who stepped up to the plate. It will certainly be one of >> our best, >> if not the best ever... >> >> I want to be fair and keep things moving at the same time. If I >> missed you, >> or I read the feedback incorrectly, now is the time to complain. >> With that >> said, here is a very tentative plan: >> >> Feb: >> James S - (30) Arduino + python >> hugs - (10) orb demo >> Cosmin - (30) py2app and py2exe >> Mossimo - (10) help port to linux >> Scullin - (30) IBM's BlueGene /P bcfg2 >> >> March: >> James S - (30) Scientific with NumPy, SciPy and matplotlib ... >> Frank - (30) Extend VIM >> Kumar - (45) Testing Ajax (PyCon) >> >> Deferred: >> Tim Ottinger - Agile >> James S - Multiprocessing >> Beer talks >> Off topic talks >> >> This is NOT final. Any feedback? > > Brian, this schedule looks great to me. Maybe we can round up who was > going to do the beer brewing talk for March. BTW, I'll only need 30 > min for my pycon practice (if I go for 45 then I will be in trouble). > >> >> Brian Ray >> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From g at rrett.us.com Thu Feb 5 17:50:12 2009 From: g at rrett.us.com (Garrett Smith) Date: Thu, 5 Feb 2009 10:50:12 -0600 (CST) Subject: [Chicago] February Meeting Part II In-Reply-To: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> Message-ID: I missed that we were filling up two months worth of talks. I've been teeing up some content on using Thrift for cross language communication (in my case, Python <-> Java). May seems like a ways off though. So I'll throw that topic out there if there's a slot in March and anyone's interested. Garrett ----- "Brian Ray" wrote: > The feedback for this meeting that needs sort out. Thanks in advance > > for everyone who stepped up to the plate. It will certainly be one of > > our best, if not the best ever... > > I want to be fair and keep things moving at the same time. If I > missed you, or I read the feedback incorrectly, now is the time to > complain. With that said, here is a very tentative plan: > > Feb: > James S - (30) Arduino + python > hugs - (10) orb demo > Cosmin - (30) py2app and py2exe > Mossimo - (10) help port to linux > Scullin - (30) IBM's BlueGene /P bcfg2 > > March: > James S - (30) Scientific with NumPy, SciPy and matplotlib ... > Frank - (30) Extend VIM > Kumar - (45) Testing Ajax (PyCon) > > Deferred: > Tim Ottinger - Agile > James S - Multiprocessing > Beer talks > Off topic talks > > This is NOT final. Any feedback? > > Brian Ray > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From bray at sent.com Thu Feb 5 21:22:21 2009 From: bray at sent.com (Brian Ray) Date: Thu, 5 Feb 2009 14:22:21 -0600 Subject: [Chicago] February Meeting Part II In-Reply-To: <498A0941.9000901@mtu.edu> References: <85FB18CD-3E45-472F-91AF-F1270A597394@sent.com> <498A0941.9000901@mtu.edu> Message-ID: On Feb 4, 2009, at 3:31 PM, Steven Githens wrote: > > Do we have a firm location yet since it's not on the wiki? ( I > would search back through the list, but who knows if the location > has been monkey patched throughout the threads ). Just need to plan > time accordingly depending on how far from the loop it is. I have firmed up on the venue will be : Sully?s House (in their large private meeting room on second floor) Tap Room & Grill 1501 N. Dayton St. Chicago, Illinois 60622 At the corner of Blackhawk and Dayton http://www.sullyshouse.com/ They have a large projector we can use. It is a new space. The 20 Beers on Tab all craft and mircobrewery with Belgium, Irish and German. Full kitchen. The space has been reserved and is free for our use. Drinks and food will cost but the owner will try and work out a discount. I would say it is a 10-15 minute ride on Red Train (North and Clyborn) from the loop. Their is free street parking in that area. Brian Ray From szybalski at gmail.com Fri Feb 6 07:27:54 2009 From: szybalski at gmail.com (Lukasz Szybalski) Date: Fri, 6 Feb 2009 00:27:54 -0600 Subject: [Chicago] torrent and python Message-ID: <804e5c70902052227x7564b0b2m78ffd0bbb826623b@mail.gmail.com> Hello, I was wondering if somebody has played around with the torrent files in python? http://code.google.com/p/metalink-library/source/browse/trunk/metalink.py I was looking for a python library that would take a big file, or set of files and create torrent files for them and then serve them in a torrent server. something like: import bittorrent (or import torrent) data=file.open('somebigfile.data') bittorrent.create_torrent(data) then upload it to a torrent server running on my computer that can be accessed from outside. Then I could distribute some python app that would import bittorrent bittorrent.download(url_to_some torrent file) #or an actual torrent file Any recommendations? Thanks, Lucas -- How to create python package? http://lucasmanual.com/mywiki/PythonPaste Bazaar and Launchpad http://lucasmanual.com/mywiki/Bazaar From igorsyl at gmail.com Thu Feb 5 13:20:22 2009 From: igorsyl at gmail.com (Igor Sylvester) Date: Thu, 5 Feb 2009 06:20:22 -0600 Subject: [Chicago] order of keyword arguments In-Reply-To: References: Message-ID: Thanks for your comments. *Doesn't it just go against the design of Python? Dictionaries don't care about order, so if you do, use something other than a dictionary? You can pass a list or something? Don't use the **kwargs feature? $0.02 * My suggestion is not to change the dict object but perhaps make kwargs an instance of a subclass of dict. The kwargs instance would know about the ordering of the keyword arguments. Alternatively, the inspect module can be amended with code that introspects the frame to figure this out. *What is the use case for this? * I want to use the foo(A=1,B=2) notation instead of foo(('A', 1), ('B', 2)), where the order of the elements matter. *You could try, but I doubt it'd get any traction. After all, if you do func(**kw) there's no possible way to capture the order of the keyword arguments, since the underlying dictionary didn't have an order. Also you have to remember that for: def add(x, y): return x+y these function calls are all equivalent: add(1, 2) add(1, y=2) add(y=2, x=1) * I'm not sure I understand your example. The function signature is foo(**kargs) so calls to foo(1,2) and foo(1,B=2) would fail with a TypeError. foo(A=1,B=2) would work. On Wed, Feb 4, 2009 at 11:48 PM, Ian Bicking wrote: > On Wed, Feb 4, 2009 at 11:33 PM, Igor Sylvester wrote: > >> Is this worthy of a PEP? >> > > You could try, but I doubt it'd get any traction. After all, if you do > func(**kw) there's no possible way to capture the order of the keyword > arguments, since the underlying dictionary didn't have an order. Also you > have to remember that for: > > def add(x, y): return x+y > > these function calls are all equivalent: > > add(1, 2) > add(1, y=2) > add(y=2, x=1) > > > > > -- > Ian Bicking | http://blog.ianbicking.org > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Sat Feb 7 05:48:09 2009 From: kirby.urner at gmail.com (kirby urner) Date: Fri, 6 Feb 2009 20:48:09 -0800 Subject: [Chicago] order of keyword arguments In-Reply-To: References: Message-ID: On Thu, Feb 5, 2009 at 4:20 AM, Igor Sylvester wrote: > Thanks for your comments. > > Doesn't it just go against the design of Python? Dictionaries don't > care about order, so if you do, use something other than a dictionary? > You can pass a list or something? Don't use the **kwargs feature? > $0.02 > > My suggestion is not to change the dict object but perhaps make kwargs an > instance of a subclass of dict. The kwargs instance would know about the > ordering of the keyword arguments. The thing is you're not required to pass arguments as a dictionary, and if the order really matters, then you probably shouldn't. However if order does matter and you must pass to **kwargs, you could have a special function that takes the assignments and seeds a dictionary with argument order info e.g. orderargs(egg=17, chicken=56) gives back... {('chicken':(17,1), 'egg':(56,0)} # the tuple encodes ordering info ...for then passing to your **kwargs. You could go myfunction ( orderargs(b=17, a=56) ) and have your myfunction aware of which came first. Kirby From tcp at mac.com Sat Feb 7 06:09:16 2009 From: tcp at mac.com (Ted Pollari) Date: Fri, 06 Feb 2009 21:09:16 -0800 Subject: [Chicago] order of keyword arguments In-Reply-To: References: Message-ID: <83AF9AD8-AF2B-42B4-8ECF-E2AF6D2CFF6C@mac.com> On Feb 5, 2009, at 4:20 AM, Igor Sylvester wrote: > I want to use the foo(A=1,B=2) notation instead of foo(('A', 1), > ('B', 2)), where the order of the elements matter. Again, can you give us a concrete example of this? Not to be pushy, but I'm having trouble seeing where the above is the ideal solution to any particular use case that I can think up, so I'm likely missing something and would love to be enlightened. Passing in a list (or other sequence) seems to be a much cleaner way of doing this for reasons outlined previously. Because, fundamentally, if you're ordering something and that order matters, you're passing in a sequence, not a set of discrete keyword arguments. On some philosophical level, I think you're trying to do something that conflicts with the notion of 'keyword arguments' -- but maybe that's just me. -ted From tim at gebhardtcomputing.com Sat Feb 7 16:27:11 2009 From: tim at gebhardtcomputing.com (Tim Gebhardt) Date: Sat, 7 Feb 2009 09:27:11 -0600 Subject: [Chicago] Creating property() members programmatically Message-ID: <1ce3f61a0902070727y19aa444es5e8797e51685e03e@mail.gmail.com> Hello Chipy, Does anyone know of a way to create property() members on an object programmatically? Anything I've Googled with "property" and "programmatically" doesn't really come up with what I'm looking for. Here's my use case: I'm creating a ctypes wrapper for the LAME MP3 library. There are quite a few parameters that someone can set when encoding an MP3, such as the bitrate, number of audio channels, high pass frequency, blah, blah, blah. There's about 70. The issue is that there's 3 places in my wrapper where I have to declare them: once in the global LAME state object, once in setting up the argument types and return types of the LAME getter/setter functions, and once in my high level Python "Encoder" object. So to make things easy and less error prone I declared a list of the parameters and their types so I could reuse the data I hand-typed in about these properties. I also have a small dictionary of overrides for parameters that aren't gettable or settable or that need to be handled with special circumstances. This worked fine for my first 2 places where I needed the data, but I'm struggling to get it to work for the 3rd part, my high-level Encoder object. I need to be able to create a property() on my Encoder object because setting a LAME parameter on an MP3 stream actually needs to call the LAME library, and if the return value's not good then I need to throw an exception. The best I've been able to do is use my data about the LAME parameters, output the Python code I need to a text file, and copy/paste that into my object's declaration. Does anyone know how I could create a bunch of property() items on an object based on a list of data? Thanks, -Tim Gebhardt tim at gebhardtcomputing.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From deadwisdom at gmail.com Sat Feb 7 17:57:00 2009 From: deadwisdom at gmail.com (Brantley Harris) Date: Sat, 7 Feb 2009 10:57:00 -0600 Subject: [Chicago] Creating property() members programmatically In-Reply-To: <1ce3f61a0902070727y19aa444es5e8797e51685e03e@mail.gmail.com> References: <1ce3f61a0902070727y19aa444es5e8797e51685e03e@mail.gmail.com> Message-ID: <694c06d60902070857k287429e6xe82d46422eade125@mail.gmail.com> So it's easy enough to declare properties on classes, but rather difficult to do so on objects themselves (I'm not even sure it's possible, well not good form anyhow.) So you have a few options. One is to subclass your Encoder with an intermediate class, and then add properties, dynamically to it: class LameEncoder(Encoder): @classmethod def add_property(cls, attr, default): def setter(self, v): setattr(self, '_%s' % attr, v) def getter(self): return getattr(self, '_%s' % attr, default) setatter(cls, attr, property(gettter, setter)) for attr, default in PARAMETER_LIST: LameEncoder.add_property(atter, default) Another is to override the __setattr__ method on the intermediate class, so that when an attribute is assigned, you can run this function. You have to be careful though because everything goes through this.: class LameEncoder(Encoder): def __setattr__(self, k, v): if (k in PARAMATER_LIST): try: self.set_lame_parameter(k, v) except LameError: raise Something else: self.__dict__[k] = v Or maybe this could be made easier with a Descriptor. I'll let you google that one. Suffice to say it's a sort of property object, that lets you define what to do when it's assigned to and gotten from. Also, this assuming that the Encoder object isn't in your code, if it is you can just dump this stuff onto it. Hope that helps. On Sat, Feb 7, 2009 at 9:27 AM, Tim Gebhardt wrote: > Hello Chipy, > > Does anyone know of a way to create property() members on an object > programmatically? Anything I've Googled with "property" and > "programmatically" doesn't really come up with what I'm looking for. > > Here's my use case: > > I'm creating a ctypes wrapper for the LAME MP3 library. There are quite a > few parameters that someone can set when encoding an MP3, such as the > bitrate, number of audio channels, high pass frequency, blah, blah, blah. > There's about 70. The issue is that there's 3 places in my wrapper where I > have to declare them: once in the global LAME state object, once in setting > up the argument types and return types of the LAME getter/setter functions, > and once in my high level Python "Encoder" object. > > So to make things easy and less error prone I declared a list of the > parameters and their types so I could reuse the data I hand-typed in about > these properties. I also have a small dictionary of overrides for > parameters that aren't gettable or settable or that need to be handled with > special circumstances. This worked fine for my first 2 places where I > needed the data, but I'm struggling to get it to work for the 3rd part, my > high-level Encoder object. > > I need to be able to create a property() on my Encoder object because > setting a LAME parameter on an MP3 stream actually needs to call the LAME > library, and if the return value's not good then I need to throw an > exception. > > The best I've been able to do is use my data about the LAME parameters, > output the Python code I need to a text file, and copy/paste that into my > object's declaration. > > Does anyone know how I could create a bunch of property() items on an object > based on a list of data? > > Thanks, > > -Tim Gebhardt > tim at gebhardtcomputing.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > From maney at two14.net Sun Feb 8 16:26:17 2009 From: maney at two14.net (Martin Maney) Date: Sun, 8 Feb 2009 09:26:17 -0600 Subject: [Chicago] Creating property() members programmatically In-Reply-To: <1ce3f61a0902070727y19aa444es5e8797e51685e03e@mail.gmail.com> References: <1ce3f61a0902070727y19aa444es5e8797e51685e03e@mail.gmail.com> Message-ID: <20090208152617.GB22882@furrr.two14.net> On Sat, Feb 07, 2009 at 09:27:11AM -0600, Tim Gebhardt wrote: > The best I've been able to do is use my data about the LAME parameters, > output the Python code I need to a text file, and copy/paste that into my > object's declaration. > > Does anyone know how I could create a bunch of property() items on an object > based on a list of data? How about instaed of cut'n'paste, you incorporate the generated code by making it a base class (or classes - although I've done some work with ctypes, I'm not sure I understand just what you're doing). Alternately, perhaps you could implement the "properties" the old-fashioned way, using __getattribute__ and __setattr__, with code there that consults you hand-entered metadata to decide how to handle each "property". IIRC properties were introduced as a more convenient way to handle the most common uses of these older methods. -- "What's so funny? That I'm sitting on a deserted beach at night, nibbling at gourmet meals, and rereading every book I've ever loved? Can you think of anything more worthwhile?" -- Michael Flynn From bray at sent.com Fri Feb 6 17:05:39 2009 From: bray at sent.com (Brian Ray) Date: Fri, 6 Feb 2009 10:05:39 -0600 Subject: [Chicago] ANN ChiPy February Meeting Thursday, 12th, at Sully's Message-ID: <7EA2F2FE-48D7-458B-9BCC-3A2F1A09F643@sent.com> Chicago Python User Group ========================= Go ChiPy! After last month's hugely successful language comparison mayhem, the world's most successful user group strikes again! Robots and OS Packaging, are the major topic areas. James Snyder, from Northwestern University's Biomedical Engineering Department, will be serializing Arduino microcontroller with Python for robotic pursuits. Jason Huggins, co-founder of Sauce Labs Inc and creator of Selenium, will follow up with a quick demo of his Arduino- based Ambient Orb clone, called 'orbison' (http://code.google.com/p/orbison/ ). For the second part, Cosmin Stejerean, software engineering and computer security specialist, will cover how to package your Python package with tools like py2app and py2exe. Massimo Di Pierro, professor at DePaul CTI, will get some brief help porting his popular web2py Enterprise Web Framework to a linux package from a live audience. Let's see if it is possible in 10 minutes! Last but not least, William Scullin, Argonne National Laboratory and cheese lover, will present on bcfg2, a tool written in Python for system administrators to fingerprint their environment and about Python, in general, on IBM's BlueGene /P supercompter. There will be a moment of silence in respect to Unix Timestamp 1234567890 Our host for the meeting is Sully's House Tap Room & Grill. All ages are welcome to this Free Private Event. For those of age, Sully?s House offer 20 Beers on tap, and 35 Bottles - all craft and microbrewery, specializing in Belgium, Irish and German selections. Enjoy great Bar Food & Pizza from our Italian Oven and Daily discounted menu specials. The host has given us a dedicated bartender. We will meet in the private party room on the second floor that is well equipped with top of the line video equipment ? 100? HD screen & full A/V accessibility with Rock Band & Wii. Nice big space, bring a friend. Thanks Sully's!!! This *will* be our best meeting yet. Topics ------ * Arduino + Python, James Snyder * Orb demo, Jason Huggins * py2app and py2exe, Cosmin Stejerean * help package web2py for linux, Massimo Di Pierro * IBM's BlueGene /P bcfg2, William Scullin When ---- Thursday, February 12th, ~7pm Location -------- Sully?s House Tap Room & Grill, 1501 N. Dayton St. Chicago, Illinois 60622 At the corner of Blackhawk and Dayton http://www.sullyshouse.com/ (2) Blocks from the North & Clybourn Red Line stop. Free street parking available. About ChiPy ----------- ChiPy is a group of Chicago Python Programmers, l33t, and n00bs. Meetings are held monthly at various locations around Chicago. Also, ChiPy is a proud sponsor of many Open Source and Educational efforts in Chicago. Stay tuned to the mailing list for more info. ChiPy website: ChiPy Mailing List: ChiPy Announcement *ONLY* Mailing List: Python website: From tim at gebhardtcomputing.com Mon Feb 9 16:13:45 2009 From: tim at gebhardtcomputing.com (Tim Gebhardt) Date: Mon, 9 Feb 2009 09:13:45 -0600 Subject: [Chicago] Creating property() members programmatically In-Reply-To: <694c06d60902070857k287429e6xe82d46422eade125@mail.gmail.com> References: <1ce3f61a0902070727y19aa444es5e8797e51685e03e@mail.gmail.com> <694c06d60902070857k287429e6xe82d46422eade125@mail.gmail.com> Message-ID: <1ce3f61a0902090713h2a2fcbcenb8fa081f98192a76@mail.gmail.com> On Sat, Feb 7, 2009 at 10:57 AM, Brantley Harris wrote: > So it's easy enough to declare properties on classes, but rather > difficult to do so on objects themselves (I'm not even sure it's > possible, well not good form anyhow.) > > So you have a few options. One is to subclass your Encoder with an > intermediate class, and then add properties, dynamically to it: > class LameEncoder(Encoder): > @classmethod > def add_property(cls, attr, default): > def setter(self, v): > setattr(self, '_%s' % attr, v) > def getter(self): > return getattr(self, '_%s' % attr, default) > setatter(cls, attr, property(gettter, setter)) > > for attr, default in PARAMETER_LIST: > LameEncoder.add_property(atter, default) > I went with the first method you suggested and it worked perfectly. Thanks! -Tim Gebhardt tim at gebhardtcomputing.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From richgor at northwestern.edu Tue Feb 10 05:43:45 2009 From: richgor at northwestern.edu (Rich Gordon) Date: Mon, 9 Feb 2009 22:43:45 -0600 Subject: [Chicago] ANN: BarCamp NewsInnovation Message-ID: <002c01c98b3a$28218820$78649860$@edu> Chicago Python folks: BarCamp NewsInnovation Chicago 2.21.09 barcamp_medill_.jpg Join this group for a one-day un-conference to experience the creativity and energy that occurs when technologist, programmers, web developers, designers, hackers and information architects teams to do cool stuff with journalists, entrepreneurs, tech business dudes, students, professors and others with interest in news and information. This ad hoc event will be a place to not only talk about how technology is influencing journalism, but participants will be given the opportunity to brainstorm an idea and hack it out by the end of the afternoon. The idea behind BarCamp NewsInnovation is to get energetic, tech-savvy, open-minded individuals who embrace the chaos in the media industry because the ability to do really cool things still exists. The nature of a barcamp is to share ideas, expand thinking and creativity and prototype or demonstrate something, and the same will be true for BarCamp NewsInnovation. Where Medill Graduate School of Journalism newsroom, downtown Chicago at 210 Clark Street When Saturday, Feb. 21, 9 a.m. How to register Registration is open to 50 people at http://barcampnewssinnovationchi.eventbrite.com/. Please take a few moments to register. Space is limited. More information and to sign up for a presentation or discussion http://barcamp.org/NewsInnovation-Chicago What is a BarCamp A BarCamp is an ad-hoc gathering born from the desire for people to share and learn in an open environment. It is an intense event with discussions, demos, and interaction from participants. - barcamp.org Any questions? Feel free to contact me: richgor - at - northwestern.edu, or the phone number below. Rich Gordon Associate Professor, Director of Digital Media in Education Medill School, Northwestern University 1870 Campus Drive Evanston, IL 60208 (847) 467-5968 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 12988 bytes Desc: not available URL: From cwebber at dustycloud.org Wed Feb 11 19:19:38 2009 From: cwebber at dustycloud.org (Christopher Allan Webber) Date: Wed, 11 Feb 2009 12:19:38 -0600 Subject: [Chicago] Video of January meeting? In-Reply-To: <49872277.6000201@yahoo.com> (Christian Long's message of "Mon, 02 Feb 2009 10:42:31 -0600") References: <49872277.6000201@yahoo.com> Message-ID: <87ljsc7s5h.fsf@grumps.dustycloud.org> Carl, we have all the edited videos for this. I don't think they're ideal, but we should post them up, no? Let's talk on IRC later tonight. Christian Long writes: > Is there video available of the January 2009 meeting? My quick search > was not fruitful. > > Thanks, > > Christian > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From swgithen at mtu.edu Fri Feb 13 20:45:09 2009 From: swgithen at mtu.edu (Steven Githens) Date: Fri, 13 Feb 2009 14:45:09 -0500 Subject: [Chicago] Bespin Python Highlighting Message-ID: <4995CDC5.4070006@mtu.edu> Awesome meeting last night. Does anyone follow the email lists and stuff for this: https://bespin.mozilla.com/index.html Wondering if anyone in the know, knows the status of Python file highlighting. It says there is only js/html/css(or something else) at the moment. -s From jbsnyder at fanplastic.org Fri Feb 13 20:51:16 2009 From: jbsnyder at fanplastic.org (James Snyder) Date: Fri, 13 Feb 2009 13:51:16 -0600 Subject: [Chicago] Links for Arduino Talk Message-ID: Hi - For those interested in checking out some of the hardware or software used during the talk, here are some useful links: Main Arduino Project Page: http://www.arduino.cc/ Arduino Playground (lots of hardware/software examples): http://www.arduino.cc/playground/ Firmata: http://www.firmata.org/wiki/Main_Page http://arduino.cc/en/Reference/Firmata Pyduino: http://code.google.com/p/pyduino/ Places to Get Kits and Hardware: http://www.adafruit.com/ http://www.sparkfun.com/ http://liquidware.com/ (I've not bought anything from them personally, but they have some interesting Arduino compatible boards) Also if you're interested in some of the code used during the talk, I've posted some of the demos I did at the end up on github: http://github.com/jsnyder/jbsnyder_tools/tree/master You'll probably need to install a few modules to make them work including wx, multiprocessing, matplotlib and numpy (in addition to pyduino from above). The mouse demo also uses a little Objective C program to move the mouse around, compile instructions for that are in the movemouse.m file. -- James Snyder Biomedical Engineering Northwestern University jbsnyder at fanplastic.org http://fanplastic.org/key.txt ph: (847) 644-2322 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: From mdipierro at cs.depaul.edu Fri Feb 13 20:53:58 2009 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Fri, 13 Feb 2009 13:53:58 -0600 Subject: [Chicago] Bespin Python Highlighting In-Reply-To: <4995CDC5.4070006@mtu.edu> References: <4995CDC5.4070006@mtu.edu> Message-ID: <3E8E601D-4AAD-49A6-8EA7-DD76923F8102@cs.depaul.edu> I do not know about bespin but for server-side python to html highlighting: 1) pygments is great although a bit heavy for my taste. 2) web2py provides a funciton CODE(open('yourfile.py','r').read(),language='python') for client-side (js code) python to html highlighting: 3) editarea works great. Massimo On Feb 13, 2009, at 1:45 PM, Steven Githens wrote: > Awesome meeting last night. > > Does anyone follow the email lists and stuff for this: > https://bespin.mozilla.com/index.html > > Wondering if anyone in the know, knows the status of Python file > highlighting. It says there is only js/html/css(or something else) at > the moment. > > -s > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From swgithen at mtu.edu Fri Feb 13 21:01:16 2009 From: swgithen at mtu.edu (Steven Githens) Date: Fri, 13 Feb 2009 15:01:16 -0500 Subject: [Chicago] Bespin Python Highlighting In-Reply-To: <3E8E601D-4AAD-49A6-8EA7-DD76923F8102@cs.depaul.edu> References: <4995CDC5.4070006@mtu.edu> <3E8E601D-4AAD-49A6-8EA7-DD76923F8102@cs.depaul.edu> Message-ID: <4995D18C.1010001@mtu.edu> Actually, I started using EditArea for my project a few months ago after being introduced to it by web2py. :p I'm mostly interested in this because it has sidebars, the command line on the bottom, and the other IDE lookin' stuff going on. Which would be cool for my thing ( which is a sort of jython extension to my dayjob j2ee project for scripting our system with jython/jruby/groovy/whatever ). Completely random, but have you tried running web2py in Jython2.5 at all yet? ( or IronPython ). -s Massimo Di Pierro wrote: > I do not know about bespin but > > for server-side python to html highlighting: > 1) pygments is great although a bit heavy for my taste. > 2) web2py provides a funciton > > CODE(open('yourfile.py','r').read(),language='python') > > for client-side (js code) python to html highlighting: > 3) editarea works great. > > Massimo > > > On Feb 13, 2009, at 1:45 PM, Steven Githens wrote: > >> Awesome meeting last night. >> >> Does anyone follow the email lists and stuff for this: >> https://bespin.mozilla.com/index.html >> >> Wondering if anyone in the know, knows the status of Python file >> highlighting. It says there is only js/html/css(or something else) at >> the moment. >> >> -s >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From carl at personnelware.com Fri Feb 13 21:09:13 2009 From: carl at personnelware.com (Carl Karsten) Date: Fri, 13 Feb 2009 14:09:13 -0600 Subject: [Chicago] videos are on the way Message-ID: <4995D369.1030604@personnelware.com> the talks are transcoded and uploading as I type. Arduino is up and being converted to flash now: http://chipy.blip.tv/file/1771318/ or if you can't wait: http://carlfk.blip.tv/file/1770677/ Carl K From kumar.mcmillan at gmail.com Fri Feb 13 21:18:34 2009 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Fri, 13 Feb 2009 14:18:34 -0600 Subject: [Chicago] Bespin Python Highlighting In-Reply-To: <4995CDC5.4070006@mtu.edu> References: <4995CDC5.4070006@mtu.edu> Message-ID: On Fri, Feb 13, 2009 at 1:45 PM, Steven Githens wrote: > Awesome meeting last night. > > Does anyone follow the email lists and stuff for this: > https://bespin.mozilla.com/index.html That app is pretty neat. Looks like there will be a talk on using Canvas at the next JavaScript meetup: http://www.meetup.com/js-chi/ > > Wondering if anyone in the know, knows the status of Python file > highlighting. It says there is only js/html/css(or something else) at the > moment. besides Pygments, there is also a nifty JavaScript one: http://code.google.com/p/syntaxhighlighter/ (i.e. you can put it on your blog without running extra server side code) From jason at jrandolph.com Fri Feb 13 22:30:02 2009 From: jason at jrandolph.com (Jason Huggins) Date: Fri, 13 Feb 2009 15:30:02 -0600 Subject: [Chicago] videos are on the way In-Reply-To: <4995D369.1030604@personnelware.com> References: <4995D369.1030604@personnelware.com> Message-ID: <53b9568a0902131330i7e0ac053yed7096e06953b5a2@mail.gmail.com> On Fri, Feb 13, 2009 at 2:09 PM, Carl Karsten wrote: > the talks are transcoded and uploading as I type. Thanks Carl! Eagerly hitting the refresh button waiting for more. :-) cheers, hugs From tcp at mac.com Fri Feb 13 22:50:36 2009 From: tcp at mac.com (Ted Pollari) Date: Fri, 13 Feb 2009 13:50:36 -0800 Subject: [Chicago] videos are on the way In-Reply-To: <4995D369.1030604@personnelware.com> References: <4995D369.1030604@personnelware.com> Message-ID: On Feb 13, 2009, at 12:09 PM, Carl Karsten wrote: > the talks are transcoded and uploading as I type. > > Arduino is up and being converted to flash now: http://chipy.blip.tv/file/1771318/ > > or if you can't wait: http://carlfk.blip.tv/file/1770677/ > > Carl K Thanks Carl -- now if only you could upload me a beer, my long- distance ChiPy experience would almost be complete! ;-) -ted From bray at sent.com Fri Feb 13 22:56:38 2009 From: bray at sent.com (Brian Ray) Date: Fri, 13 Feb 2009 15:56:38 -0600 Subject: [Chicago] videos are on the way In-Reply-To: <4995D369.1030604@personnelware.com> References: <4995D369.1030604@personnelware.com> Message-ID: On Feb 13, 2009, at 2:09 PM, Carl Karsten wrote: > > Arduino is up and being converted to flash now: http://chipy.blip.tv/file/1771318/ Best video, yet! Nice job, Carl. Brian Ray From tcp at mac.com Fri Feb 13 23:12:25 2009 From: tcp at mac.com (Ted Pollari) Date: Fri, 13 Feb 2009 14:12:25 -0800 Subject: [Chicago] videos are on the way In-Reply-To: <4995D369.1030604@personnelware.com> References: <4995D369.1030604@personnelware.com> Message-ID: <1804CDC5-9DE2-4C0C-B827-C8A037223DF8@mac.com> On Feb 13, 2009, at 12:09 PM, Carl Karsten wrote: > the talks are transcoded and uploading as I type. > > Arduino is up and being converted to flash now: http://chipy.blip.tv/file/1771318/ In the Arduino talk, right around 11:40, it just freezes until ~ 12:10 -- what's up with that? I reloaded it and everything, thinking my browser was somehow horked. Any ideas? -t From carl at personnelware.com Sat Feb 14 00:05:13 2009 From: carl at personnelware.com (Carl Karsten) Date: Fri, 13 Feb 2009 17:05:13 -0600 Subject: [Chicago] videos are on the way In-Reply-To: <1804CDC5-9DE2-4C0C-B827-C8A037223DF8@mac.com> References: <4995D369.1030604@personnelware.com> <1804CDC5-9DE2-4C0C-B827-C8A037223DF8@mac.com> Message-ID: <4995FCA9.7030807@personnelware.com> Ted Pollari wrote: > > On Feb 13, 2009, at 12:09 PM, Carl Karsten wrote: > >> the talks are transcoded and uploading as I type. >> >> Arduino is up and being converted to flash now: >> http://chipy.blip.tv/file/1771318/ > > > In the Arduino talk, right around 11:40, it just freezes until ~ 12:10 > -- what's up with that? I reloaded it and everything, thinking my > browser was somehow horked. Any ideas? I bet thats when something happened. it wasn't when I sat on the wire and pulled it out of the camera, that was later. I was shuffling stuff around, and suddenly it wasn't working. that's what I remember. Carl K From varmaa at gmail.com Sat Feb 14 00:38:07 2009 From: varmaa at gmail.com (Atul Varma) Date: Fri, 13 Feb 2009 15:38:07 -0800 Subject: [Chicago] Bespin Python Highlighting In-Reply-To: <4995CDC5.4070006@mtu.edu> References: <4995CDC5.4070006@mtu.edu> Message-ID: <361b27370902131538r5be184fbi6116bf8074d882fd@mail.gmail.com> Hey Steven, There isn't currently any Python syntax highlighting, but there's a plug-in style interface for adding new highlighting... It's all done in JS. This is the JS one: https://bespin.mozilla.com/docs/#code/syntax/javascript.js I just talked to Ben and Dion and they'd be happy to answer any questions you have about implementing a Python highlighter, but there isn't one around currently. - Atul On Fri, Feb 13, 2009 at 11:45 AM, Steven Githens wrote: > Awesome meeting last night. > > Does anyone follow the email lists and stuff for this: > https://bespin.mozilla.com/index.html > > Wondering if anyone in the know, knows the status of Python file > highlighting. It says there is only js/html/css(or something else) at the > moment. > > -s > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Sat Feb 14 09:44:46 2009 From: carl at personnelware.com (Carl Karsten) Date: Sat, 14 Feb 2009 02:44:46 -0600 Subject: [Chicago] videos are on the way In-Reply-To: <4995D369.1030604@personnelware.com> References: <4995D369.1030604@personnelware.com> Message-ID: <4996847E.1040307@personnelware.com> Carl Karsten wrote: > the talks are transcoded and uploading as I type. But I can only upload 1gig per day, and the files are: -rw-r--r-- 1 carl carl 773328996 2009-02-13 06:31 Arduino.ogg -rw-r--r-- 1 carl carl 1291849572 2009-02-13 11:30 BlueGene.ogg -rw-r--r-- 1 carl carl 871957697 2009-02-13 06:42 installers.ogg -rw-r--r-- 1 carl carl 670396330 2009-02-13 06:22 orbs.ogg -rw-r--r-- 1 carl carl 610099125 2009-02-13 10:35 py2exe.ogg So looks like it's gonna be one per day - and need to do something about 1,291,849,572.... Carl K From mdipierro at cs.depaul.edu Sat Feb 14 16:23:00 2009 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Sat, 14 Feb 2009 09:23:00 -0600 Subject: [Chicago] Bespin Python Highlighting In-Reply-To: <4995D18C.1010001@mtu.edu> References: <4995CDC5.4070006@mtu.edu> <3E8E601D-4AAD-49A6-8EA7-DD76923F8102@cs.depaul.edu> <4995D18C.1010001@mtu.edu> Message-ID: <8F4E3477-B991-4D8E-8928-0E7B37B8ED61@cs.depaul.edu> yes. web2py runs with Jython but not the database drivers. There is an experimental version in trunk with support for sqlite under zxJDBC but I have not tried it yet. web2py runs with IronPython but 1) not the database drivers 2) you have to comment (import csv) thus no CSV IO 3) you cannot use the internal wsgi web server. You have to use some other web server. Massimo On Feb 13, 2009, at 2:01 PM, Steven Githens wrote: > Actually, I started using EditArea for my project a few months ago > after > being introduced to it by web2py. :p > > I'm mostly interested in this because it has sidebars, the command > line > on the bottom, and the other IDE lookin' stuff going on. Which > would be > cool for my thing ( which is a sort of jython extension to my dayjob > j2ee project for scripting our system with jython/jruby/groovy/ > whatever ). > > Completely random, but have you tried running web2py in Jython2.5 at > all > yet? ( or IronPython ). > > > -s > > Massimo Di Pierro wrote: >> I do not know about bespin but >> >> for server-side python to html highlighting: >> 1) pygments is great although a bit heavy for my taste. >> 2) web2py provides a funciton >> >> CODE(open('yourfile.py','r').read(),language='python') >> >> for client-side (js code) python to html highlighting: >> 3) editarea works great. >> >> Massimo >> >> >> On Feb 13, 2009, at 1:45 PM, Steven Githens wrote: >> >>> Awesome meeting last night. >>> >>> Does anyone follow the email lists and stuff for this: >>> https://bespin.mozilla.com/index.html >>> >>> Wondering if anyone in the know, knows the status of Python file >>> highlighting. It says there is only js/html/css(or something >>> else) at >>> the moment. >>> >>> -s >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> http://mail.python.org/mailman/listinfo/chicago >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From kumar.mcmillan at gmail.com Mon Feb 16 06:26:08 2009 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Sun, 15 Feb 2009 23:26:08 -0600 Subject: [Chicago] ANN: Nose Plugin to run JavaScript tests Message-ID: I've been messing around with a Nose plugin that discovers JavaScript test files (just like .py files but ending in .js). It collects them and runs them all at the end in a java subprocess using Rhino. Not the most elegant solution but so far it seems like a nice way to maintain a test suite of both Python and JavaScript code. easy_install NoseJS Documentation: http://pypi.python.org/pypi/NoseJS It's still experimental so if anyone has a suite of JavaScript tests please let me know if it works or not. There is some support for JavaScript libraries that are tied to the DOM of a browser. -Kumar PS. Even though the root of the word "Rhinocerous" means nose in ancient Greek I still couldn't think of a clever name that wasn't, well, too clever. From chris.mcavoy at gmail.com Tue Feb 17 19:17:29 2009 From: chris.mcavoy at gmail.com (Chris McAvoy) Date: Tue, 17 Feb 2009 12:17:29 -0600 Subject: [Chicago] Pycon Session Chairs Message-ID: <3096c19d0902171017o29ca996gfbe548694a61b1af@mail.gmail.com> Hi All, You can now sign up as a session chair for Pycon sessions: http://us.pycon.org/2009/conference/schedule/ The session chair is responsible for being at the session a little early, helping the speaker with water and instruction, introducting the speaker, and keeping the speaker aware of time. I'll help you with your duties. It's a pretty low-impact job. Get to signing up! Chris From chris.mcavoy at gmail.com Tue Feb 17 20:38:29 2009 From: chris.mcavoy at gmail.com (Chris McAvoy) Date: Tue, 17 Feb 2009 13:38:29 -0600 Subject: [Chicago] Pycon Session Chairs In-Reply-To: References: <3096c19d0902171017o29ca996gfbe548694a61b1af@mail.gmail.com> Message-ID: <3096c19d0902171138w38c8b8boee36d9fa6a2d0adf@mail.gmail.com> On Tue, Feb 17, 2009 at 1:08 PM, Concerned in Chicago wrote: > Where's the sign-up sheet? > > - *REDACTED* > Sorry about that Concerned, you have to click on the session, then there's a link inside of the fancy ajazzzzz popup that says "volunteer to be the session chair." Chris From tcp at mac.com Tue Feb 17 20:46:38 2009 From: tcp at mac.com (Ted Pollari) Date: Tue, 17 Feb 2009 11:46:38 -0800 Subject: [Chicago] Pycon Session Chairs In-Reply-To: <3096c19d0902171138w38c8b8boee36d9fa6a2d0adf@mail.gmail.com> References: <3096c19d0902171017o29ca996gfbe548694a61b1af@mail.gmail.com> <3096c19d0902171138w38c8b8boee36d9fa6a2d0adf@mail.gmail.com> Message-ID: On Feb 17, 2009, at 11:38 AM, Chris McAvoy wrote: > On Tue, Feb 17, 2009 at 1:08 PM, Concerned in Chicago wrote: >> Where's the sign-up sheet? >> >> - *REDACTED* >> > > Sorry about that Concerned, you have to click on the session, then > there's a link inside of the fancy ajazzzzz popup that says "volunteer > to be the session chair." > > Chris In fact, you need to hover over the session name, etc and wait for the tooltip to come up and that's where you can opt in to being a session chair -- clicking on the session will likely just mark it as a session you're interested in attending. -ted From chris.mcavoy at gmail.com Tue Feb 17 20:53:00 2009 From: chris.mcavoy at gmail.com (Chris McAvoy) Date: Tue, 17 Feb 2009 13:53:00 -0600 Subject: [Chicago] Pycon Session Chairs In-Reply-To: References: <3096c19d0902171017o29ca996gfbe548694a61b1af@mail.gmail.com> <3096c19d0902171138w38c8b8boee36d9fa6a2d0adf@mail.gmail.com> Message-ID: <3096c19d0902171153t1f4c176eg1e3b31d9bc25f64a@mail.gmail.com> Listen to Ted. That f'er is smmmmmmmart. Chris On Tue, Feb 17, 2009 at 1:46 PM, Ted Pollari wrote: > > On Feb 17, 2009, at 11:38 AM, Chris McAvoy wrote: > >> On Tue, Feb 17, 2009 at 1:08 PM, Concerned in Chicago wrote: >>> >>> Where's the sign-up sheet? >>> >>> - *REDACTED* >>> >> >> Sorry about that Concerned, you have to click on the session, then >> there's a link inside of the fancy ajazzzzz popup that says "volunteer >> to be the session chair." >> >> Chris > > > In fact, you need to hover over the session name, etc and wait for the > tooltip to come up and that's where you can opt in to being a session chair > -- clicking on the session will likely just mark it as a session you're > interested in attending. > > -ted > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From tcp at mac.com Tue Feb 17 21:01:21 2009 From: tcp at mac.com (Ted Pollari) Date: Tue, 17 Feb 2009 12:01:21 -0800 Subject: [Chicago] Pycon Session Chairs In-Reply-To: <3096c19d0902171153t1f4c176eg1e3b31d9bc25f64a@mail.gmail.com> References: <3096c19d0902171017o29ca996gfbe548694a61b1af@mail.gmail.com> <3096c19d0902171138w38c8b8boee36d9fa6a2d0adf@mail.gmail.com> <3096c19d0902171153t1f4c176eg1e3b31d9bc25f64a@mail.gmail.com> Message-ID: <9E4A9F6D-B96A-4319-92CA-9ADCEFCF4844@mac.com> On Feb 17, 2009, at 11:53 AM, Chris McAvoy wrote: > Listen to Ted. That f'er is smmmmmmmart. > > Chris Can I get that on a tshirt? From kumar.mcmillan at gmail.com Wed Feb 18 01:11:05 2009 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Tue, 17 Feb 2009 18:11:05 -0600 Subject: [Chicago] [nose-users] Re: ANN: Nose Plugin to run JavaScript tests In-Reply-To: References: Message-ID: On Tue, Feb 17, 2009 at 3:42 PM, John J Lee wrote: >> Hmm, actually, I think it was just my misunderstanding of the original >> docs when it said you can't call a method *in Python* that was defined >> in JavaScript. But calling a method in JS defined in JS probably >> always worked. > > What docs say that? Both should be possible. I don't work on it, I'm > just curious. It was a doctest example on the page Atul posted: http://code.google.com/p/python-spidermonkey/ under Limitations, this line: >>> cx.eval_script("function foo(x) { return x + 1; }; foo;") {'prototype': {}} showing how the return value is not a python function, like you might expect. > >> version but had no luck. There were no instructions and I had a lot >> of trouble getting the XUL dy-libs to bind correctly. I forget >> exactly how I first got it to build in Atul's fork. > > Better off asking Paul, I guess. You didn't mention which OS platform > you're on, BTW. yeah, I'll try to bug him about it. It looks like he has disabled issue tracking on github but I posted my progress on the wiki: http://wiki.github.com/davisp/python-spidermonkey/building-on-mac-os-x > > > John > > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups "nose-users" group. > To post to this group, send email to nose-users at googlegroups.com > To unsubscribe from this group, send email to nose-users+unsubscribe at googlegroups.com > For more options, visit this group at http://groups.google.com/group/nose-users?hl=en > -~----------~----~----~----~------~----~------~--~--- > > From brianherman at gmail.com Wed Feb 18 01:43:04 2009 From: brianherman at gmail.com (Brian Herman) Date: Tue, 17 Feb 2009 18:43:04 -0600 Subject: [Chicago] Pycon Session Chairs In-Reply-To: <9E4A9F6D-B96A-4319-92CA-9ADCEFCF4844@mac.com> References: <3096c19d0902171017o29ca996gfbe548694a61b1af@mail.gmail.com> <3096c19d0902171138w38c8b8boee36d9fa6a2d0adf@mail.gmail.com> <3096c19d0902171153t1f4c176eg1e3b31d9bc25f64a@mail.gmail.com> <9E4A9F6D-B96A-4319-92CA-9ADCEFCF4844@mac.com> Message-ID: <4ef15ddc0902171643t76e74b6o15f2d57e21d7205d@mail.gmail.com> http://github.com/inky/see/tree/master see(pencil_case) ? [] for in + * += *= < <= == != > >= len() .append() .count() .extend() .index() .insert() .pop() .remove() .reverse() .sort() vs >>> dir(pencil_case) ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__delsli ce__', '__doc__', '__eq__', '__ge__', '__getattribute__', '__getitem__', '__gets lice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__iter__', ' __le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__r educe_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__ ', '__setslice__', '__str__', 'append', 'count', 'extend', 'index', 'insert', 'p op', 'remove', 'reverse', 'sort'] On Tue, Feb 17, 2009 at 2:01 PM, Ted Pollari wrote: > > On Feb 17, 2009, at 11:53 AM, Chris McAvoy wrote: > > Listen to Ted. That f'er is smmmmmmmart. >> >> Chris >> > > > Can I get that on a tshirt? > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -- Sincerely, Brian Herman -------------- next part -------------- An HTML attachment was scrubbed... URL: From Neil_Katz at playstation.sony.com Wed Feb 18 16:47:05 2009 From: Neil_Katz at playstation.sony.com (Neil_Katz at playstation.sony.com) Date: Wed, 18 Feb 2009 10:47:05 -0500 Subject: [Chicago] Sony Playstation - Python Developer - Full-Time Opportunity Message-ID: Hi - I work at Playstation and we're looking to hire an intermediate level Python Developer for our R&D team. This full-time opportunity is located in our Foster City, CA office. If interested in pursuing this opportunity, please contact me at neil_katz at playstation.sony.com Thanks, Neil Software Engineer, Server U.S. Research & Development (US R&D) is building and expanding services for the PlayStation? family of platforms. The candidate will be a skilled Python software developer with experience in designing and implementing web applications with a database backend. The candidate will expand upon the currently implemented system and incorporate new requirements with opportunities in the design of new components and services. The candidate will work with the project manager and development team to maintain schedule and software quality. - Experience with scripting languages, especially Python, a must. Strong skills in Python-based web frameworks like Django may be considered as an alternative to Java expertise. - Knowledge in Java based web application and database application development a plus. Ideally be experienced with common application servers like Tomcat, web frameworks such as Struts, database application tools such as persistence layers and in SQL use. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 15582 bytes Desc: not available URL: From cosmin at offbytwo.com Wed Feb 18 21:04:30 2009 From: cosmin at offbytwo.com (Cosmin Stejerean) Date: Wed, 18 Feb 2009 14:04:30 -0600 Subject: [Chicago] Pycon Session Chairs In-Reply-To: <4ef15ddc0902171643t76e74b6o15f2d57e21d7205d@mail.gmail.com> References: <3096c19d0902171017o29ca996gfbe548694a61b1af@mail.gmail.com> <3096c19d0902171138w38c8b8boee36d9fa6a2d0adf@mail.gmail.com> <3096c19d0902171153t1f4c176eg1e3b31d9bc25f64a@mail.gmail.com> <9E4A9F6D-B96A-4319-92CA-9ADCEFCF4844@mac.com> <4ef15ddc0902171643t76e74b6o15f2d57e21d7205d@mail.gmail.com> Message-ID: <383bbcce0902181204h456e03fh6c942721afcf2c18@mail.gmail.com> I don't know what this has to do with pycon session chairs but it's pretty neat. On Tue, Feb 17, 2009 at 6:43 PM, Brian Herman wrote: > http://github.com/inky/see/tree/master > > see(pencil_case) > ? [] for in + * += *= < <= == != > >= len() > .append() .count() .extend() .index() .insert() .pop() .remove() > > .reverse() .sort() > > vs > > >>> dir(pencil_case) > ['__add__', '__class__', '__contains__', '__delattr__', '__delitem__', '__delsli > ce__', '__doc__', '__eq__', '__ge__', '__getattribute__', '__getitem__', '__gets > > lice__', '__gt__', '__hash__', '__iadd__', '__imul__', '__init__', '__iter__', ' > __le__', '__len__', '__lt__', '__mul__', '__ne__', '__new__', '__reduce__', '__r > > educe_ex__', '__repr__', '__reversed__', '__rmul__', '__setattr__', '__setitem__ > ', '__setslice__', '__str__', 'append', 'count', 'extend', 'index', 'insert', 'p > > op', 'remove', 'reverse', 'sort'] > > > > On Tue, Feb 17, 2009 at 2:01 PM, Ted Pollari wrote: > >> >> On Feb 17, 2009, at 11:53 AM, Chris McAvoy wrote: >> >> Listen to Ted. That f'er is smmmmmmmart. >>> >>> Chris >>> >> >> >> Can I get that on a tshirt? >> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago >> > > > > -- > Sincerely, > Brian Herman > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > -- Cosmin Stejerean http://offbytwo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdipierro at cs.depaul.edu Thu Feb 19 17:23:56 2009 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Thu, 19 Feb 2009 10:23:56 -0600 Subject: [Chicago] unicode -> xml Message-ID: <8AF47573-78FC-48A1-BE45-3514FC5844CC@cs.depaul.edu> problem. Given >>> a=chr(245).decode('latin-1').encode('utf8','xmlcharref') >>> print a ? how do I translate this into valid escaped XML "&U+xxxx;" in the general case? Masimo From murman at gmail.com Thu Feb 19 17:38:47 2009 From: murman at gmail.com (Michael Urman) Date: Thu, 19 Feb 2009 10:38:47 -0600 Subject: [Chicago] unicode -> xml In-Reply-To: <8AF47573-78FC-48A1-BE45-3514FC5844CC@cs.depaul.edu> References: <8AF47573-78FC-48A1-BE45-3514FC5844CC@cs.depaul.edu> Message-ID: On Thu, Feb 19, 2009 at 10:23, Massimo Di Pierro wrote: > problem. Given > >>>> a=chr(245).decode('latin-1').encode('utf8','xmlcharref') >>>> print a > ? > > how do I translate this into valid escaped XML "&U+xxxx;" in the general > case? Do you prefer something like >>> c = chr(245).decode('latin-1') >>> c.encode('ascii','xmlcharrefreplace') Or something like >>> '&U+%04X' % ord(c) -- Michael Urman From cosmin at offbytwo.com Thu Feb 19 17:39:02 2009 From: cosmin at offbytwo.com (Cosmin Stejerean) Date: Thu, 19 Feb 2009 10:39:02 -0600 Subject: [Chicago] unicode -> xml In-Reply-To: <8AF47573-78FC-48A1-BE45-3514FC5844CC@cs.depaul.edu> References: <8AF47573-78FC-48A1-BE45-3514FC5844CC@cs.depaul.edu> Message-ID: <383bbcce0902190839j629a7ecar47a30ebba9514ab4@mail.gmail.com> On Thu, Feb 19, 2009 at 10:23 AM, Massimo Di Pierro wrote: > problem. Given > > >>> a=chr(245).decode('latin-1').encode('utf8','xmlcharref') > >>> print a > ? > > how do I translate this into valid escaped XML "&U+xxxx;" in the general > case? > reduce(lambda x,y: x + y[2:].upper(), map(lambda x: hex(ord(x)), a), '&U+') -- Cosmin Stejerean http://offbytwo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bray at sent.com Thu Feb 19 17:40:50 2009 From: bray at sent.com (Brian Ray) Date: Thu, 19 Feb 2009 10:40:50 -0600 Subject: [Chicago] unicode -> xml In-Reply-To: <8AF47573-78FC-48A1-BE45-3514FC5844CC@cs.depaul.edu> References: <8AF47573-78FC-48A1-BE45-3514FC5844CC@cs.depaul.edu> Message-ID: <3EB78EB9-5D72-4119-8915-C8BC6B67C11D@sent.com> On Feb 19, 2009, at 10:23 AM, Massimo Di Pierro wrote: > problem. Given > > >>> a=chr(245).decode('latin-1').encode('utf8','xmlcharref') > >>> print a > ? > > how do I translate this into valid escaped XML "&U+xxxx;" in the > general case? > This reference mentions something along those lines: Does this help? Brian Ray From mdipierro at cs.depaul.edu Thu Feb 19 19:13:43 2009 From: mdipierro at cs.depaul.edu (Massimo Di Pierro) Date: Thu, 19 Feb 2009 12:13:43 -0600 Subject: [Chicago] unicode -> xml In-Reply-To: <3EB78EB9-5D72-4119-8915-C8BC6B67C11D@sent.com> References: <8AF47573-78FC-48A1-BE45-3514FC5844CC@cs.depaul.edu> <3EB78EB9-5D72-4119-8915-C8BC6B67C11D@sent.com> Message-ID: Thank you this is exactly what I was looking for: >>> import codecs >>> enc = codecs.getencoder('us-ascii') >>> text=chr(245) >>> enc(text.decode('latin-1'),'xmlcharrefreplace')[0] 'õ' Massimo On Feb 19, 2009, at 10:40 AM, Brian Ray wrote: > > On Feb 19, 2009, at 10:23 AM, Massimo Di Pierro wrote: > >> problem. Given >> >>>>> a=chr(245).decode('latin-1').encode('utf8','xmlcharref') >>>>> print a >> ? >> >> how do I translate this into valid escaped XML "&U+xxxx;" in the >> general case? >> > > This reference mentions something along those lines: > > > > Does this help? > > Brian Ray > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago From ken at stox.org Fri Feb 20 05:00:18 2009 From: ken at stox.org (Kenneth P. Stox) Date: Thu, 19 Feb 2009 22:00:18 -0600 Subject: [Chicago] Flourish 2009 Registration Now Open Message-ID: <1235102418.9778.76.camel@stox.dyndns.org> If you're not familiar with the conference, have a look at the webpage, this will be the 3rd year running with hopefully many more to come. It's a FLOSS (Free Libre Open Source Software) conference completely organized, and run by a student body. FLOURISH 2009 BRINGS TOGETHER OPEN-SOURCE EXPERTS FROM AROUND CHICAGO, THE MIDWEST, AND AROUND THE WORLD WHAT Flourish 2009 Flourish is an annual conference dedicated to bringing together experts and enthusiasts in Free, Libre, Open Source Software (FLOSS). Attendees of Flourish have an opportunity to see how using, creating and supporting FLOSS can enhance their careers, businesses and academic aspirations. Admission always free. WHO The University of Illinois at Chicago's ACM and IEEE chapters, with sponsorship from Motorola, Sun Microsystems, Orbitz, and others. WHY - Key open-source topics such as Google Android, Kubuntu, the Linux kernel, open mapping, user interfaces, music collaboration, and energy-efficient supercomputing. - Speakers like Ruby On Rails creator David Heinemeier Hansson, open-source law expert Daliah Sapers, and kernel hacker Christoph Lameter, - In-depth workshops on Erlang, Drupal, OpenSolaris, and Processing. WHEN April 3 - 4, 2009 9am - 5pm WHERE UIC Student Center East 750 South Halsted HOW Register at: http://www.flourishconf.com/register Follow updates via Twitter: http://twitter.com/flourishconf/ From jason at jrandolph.com Sat Feb 21 01:43:30 2009 From: jason at jrandolph.com (Jason Huggins) Date: Fri, 20 Feb 2009 18:43:30 -0600 Subject: [Chicago] imaplib and gmail... the inbox count is wrong! Wrong, I tell ya! Message-ID: <53b9568a0902201643x4cfbb552r2cdc62c32daa3375@mail.gmail.com> Hiya, folks! I tried googling this, but nothing came up in my quest... so I'm switching to "Let's ask some humans" mode. I'm trying to get an accurate count of the total number of messages (read and unread) in my Inbox. Here's my code: >>> import imaplib >>> mail = imaplib.IMAP4_SSL('imap.gmail.com', 993) >>> mail.login('larry at gmail.com','sergey_is_my_homeboy') ('OK', ['larry at gmail.com authenticated (Success)']) >>> status, count = mail.select ('Inbox') >>> status, count ('OK', ['9332']) If I log into Gmail through the web, the inbox count is different (and thousands less than 9332). The 9332 number appears to be the number if I open "All Mail" through the web. Is there a way to *just* get the number of messages in the inbox? It feels like the above code should give me the accurate number, but it's not. Thanks! - jason From orblivion at gmail.com Sat Feb 21 02:42:17 2009 From: orblivion at gmail.com (Dan Krol) Date: Fri, 20 Feb 2009 19:42:17 -0600 Subject: [Chicago] imaplib and gmail... the inbox count is wrong! Wrong, I tell ya! In-Reply-To: <53b9568a0902201643x4cfbb552r2cdc62c32daa3375@mail.gmail.com> References: <53b9568a0902201643x4cfbb552r2cdc62c32daa3375@mail.gmail.com> Message-ID: <94e10adf0902201742k15271e9cnb32543ba5de1f3fe@mail.gmail.com> I'll say this, sometimes my inbox count on the web is wrong. I've gotten the likes of "1-100 of 101", through weird orders of archiving things. On 2/20/09, Jason Huggins wrote: > Hiya, folks! > > I tried googling this, but nothing came up in my quest... so I'm > switching to "Let's ask some humans" mode. > > I'm trying to get an accurate count of the total number of messages > (read and unread) in my Inbox. > > Here's my code: >>>> import imaplib >>>> mail = imaplib.IMAP4_SSL('imap.gmail.com', 993) >>>> mail.login('larry at gmail.com','sergey_is_my_homeboy') > ('OK', ['larry at gmail.com authenticated (Success)']) >>>> status, count = mail.select ('Inbox') >>>> status, count > ('OK', ['9332']) > > If I log into Gmail through the web, the inbox count is different (and > thousands less than 9332). The 9332 number appears to be the number if > I open "All Mail" through the web. Is there a way to *just* get the > number of messages in the inbox? It feels like the above code should > give me the accurate number, but it's not. > > Thanks! > > - jason > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From fawad at fawad.net Sat Feb 21 03:44:18 2009 From: fawad at fawad.net (Fawad Halim) Date: Fri, 20 Feb 2009 20:44:18 -0600 Subject: [Chicago] imaplib and gmail... the inbox count is wrong! Wrong, I tell ya! In-Reply-To: <53b9568a0902201643x4cfbb552r2cdc62c32daa3375@mail.gmail.com> References: <53b9568a0902201643x4cfbb552r2cdc62c32daa3375@mail.gmail.com> Message-ID: <191920ad0902201844p5717ba09w90954a0d3feb9516@mail.gmail.com> Hmm, It works for me. >>> mail.select('INBOX')[1] ['25'] >>> mail.select('[Gmail]/All Mail')[1] ['148403'] The INBOX count I'm getting is consistent with the number of messages in my inbox (read and unread). Regards -fawad On Fri, Feb 20, 2009 at 6:43 PM, Jason Huggins wrote: > Hiya, folks! > > I tried googling this, but nothing came up in my quest... so I'm > switching to "Let's ask some humans" mode. > > I'm trying to get an accurate count of the total number of messages > (read and unread) in my Inbox. > > Here's my code: >>>> import imaplib >>>> mail = imaplib.IMAP4_SSL('imap.gmail.com', 993) >>>> mail.login('larry at gmail.com','sergey_is_my_homeboy') > ('OK', ['larry at gmail.com authenticated (Success)']) >>>> status, count = mail.select ('Inbox') >>>> status, count > ('OK', ['9332']) > > If I log into Gmail through the web, the inbox count is different (and > thousands less than 9332). The 9332 number appears to be the number if > I open "All Mail" through the web. Is there a way to *just* get the > number of messages in the inbox? It feels like the above code should > give me the accurate number, but it's not. > > Thanks! > > - jason > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From chris.mcavoy at gmail.com Sat Feb 21 17:23:50 2009 From: chris.mcavoy at gmail.com (Chris McAvoy) Date: Sat, 21 Feb 2009 10:23:50 -0600 Subject: [Chicago] Basic Regex Question Message-ID: <3096c19d0902210823h17ac7753p9a7f571f0d268115@mail.gmail.com> Hi All, I have the following regex: album_regex = re.compile(r'(?P.*)\s-\s(?P.*)\((?P