From brianherman at gmail.com Sun Jul 4 04:03:10 2010 From: brianherman at gmail.com (Brian Herman) Date: Sat, 3 Jul 2010 21:03:10 -0500 Subject: [Chicago] Can Erlang do this I think not? Message-ID: http://www.google.com/buzz/bslatkin/6SXDRWXFWkN *2000+ entity writes per second sustained for 8+ days straight*. That's *125 writes/sec/shard All with fucking snakes on a motherfucking plane! (google app engine) Well maybe some spam. Spam. Spam. Spam. Spam. *Thanks, Brian Herman brianjherman.com Research Assistant University Of Illinois at Chicago brianherman at acm.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Tue Jul 6 04:51:02 2010 From: carl at personnelware.com (Carl Karsten) Date: Mon, 5 Jul 2010 21:51:02 -0500 Subject: [Chicago] talk this Thurs Message-ID: happy holidays... and now back to biz: who wants to talk? Twisted sounds like a good topic. -- Carl K From dgriff1 at gmail.com Tue Jul 6 05:26:09 2010 From: dgriff1 at gmail.com (Daniel Griffin) Date: Mon, 5 Jul 2010 22:26:09 -0500 Subject: [Chicago] talk this Thurs In-Reply-To: References: Message-ID: Where is the meeting this thursday? On Mon, Jul 5, 2010 at 9:51 PM, Carl Karsten wrote: > happy holidays... and now back to biz: who wants to talk? Twisted > sounds like a good topic. > > -- > Carl K > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex.gaynor at gmail.com Tue Jul 6 05:35:59 2010 From: alex.gaynor at gmail.com (Alex Gaynor) Date: Mon, 5 Jul 2010 22:35:59 -0500 Subject: [Chicago] talk this Thurs In-Reply-To: References: Message-ID: On Mon, Jul 5, 2010 at 10:26 PM, Daniel Griffin wrote: > Where is the meeting this thursday? > > On Mon, Jul 5, 2010 at 9:51 PM, Carl Karsten wrote: >> >> happy holidays... and now back to biz: who wants to talk? ?Twisted >> sounds like a good topic. >> >> -- >> Carl K >> _______________________________________________ >> 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 > > I've got a talk on PyPy and Unladen Swallow (And the Speed of Python) for PyOhio that I'm getting ready, I could do that if there's interest. Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." -- Voltaire "The people's good is the highest law." -- Cicero "Code can always be simpler than you think, but never as simple as you want" -- Me From kumar.mcmillan at gmail.com Tue Jul 6 06:56:50 2010 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Mon, 5 Jul 2010 23:56:50 -0500 Subject: [Chicago] talk this Thurs In-Reply-To: References: Message-ID: On Mon, Jul 5, 2010 at 10:35 PM, Alex Gaynor wrote: > I've got a talk on PyPy and Unladen Swallow (And the Speed of Python) > for PyOhio that I'm getting ready, I could do that if there's > interest. I'm not a 100% sure I can make it this Thursday but a talk on Unladen Swallow + speedups would be very cool! -Kumar > > Alex > > -- > "I disapprove of what you say, but I will defend to the death your > right to say it." -- Voltaire > "The people's good is the highest law." -- Cicero > "Code can always be simpler than you think, but never as simple as you > want" -- Me > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From carl at personnelware.com Tue Jul 6 17:18:22 2010 From: carl at personnelware.com (Carl Karsten) Date: Tue, 6 Jul 2010 10:18:22 -0500 Subject: [Chicago] meeting Thurs 7 ITA pizza Message-ID: more formal post coming later after I GSD, but for now, get your pizza order in 2 talks, these are gonna be duzies: PyPy and Unladen-Swallow: Making your Python Fast Presenter: Alex Gaynor Audience: beginner/intermediate Summary: Python has a reputation for being a bit slow, but it doesn't have to be that way. This talk will cover why Python is slow, and what two of the most exciting virtual machines are doing about it. And the long awaited Twisted talk by Daniel Griffin. -- Carl K From brianhray at gmail.com Tue Jul 6 17:24:05 2010 From: brianhray at gmail.com (Brian Ray) Date: Tue, 6 Jul 2010 10:24:05 -0500 Subject: [Chicago] meeting Thurs 7 ITA pizza In-Reply-To: References: Message-ID: RSVP here: https://spreadsheets.google.com/viewform?formkey=dHVLOTNTU3oxTzJKYjB3RmV4eVZkMEE6MA -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Wed Jul 7 03:17:52 2010 From: skip at pobox.com (skip at pobox.com) Date: Tue, 6 Jul 2010 20:17:52 -0500 Subject: [Chicago] Good to know they use Python/Django Message-ID: <19507.54720.40078.684482@montanaro.dyndns.org> I just signed up for Map My Ride's Le Tour Challenge. Here's the start of their welcome email: Dear , Congratulations, you are registered to participate in the 2010 Le Tour Challenge benefiting the American Diabetes Association (ADA). http://www.mapmyride.com/tdf ... Nice to know they are Python folks. :-) Skip From brianherman at gmail.com Wed Jul 7 21:47:13 2010 From: brianherman at gmail.com (Brian Herman) Date: Wed, 7 Jul 2010 14:47:13 -0500 Subject: [Chicago] talk this Thurs In-Reply-To: References: Message-ID: No twisted people T_T it sounds really cool. Twisted like twisted sick python. Does the almighty Karl Carsten know about kwisted kython? Thanks, Brian Herman brianjherman.com Research Assistant University Of Illinois at Chicago brianherman at acm.org Consultant University of Chicago On Mon, Jul 5, 2010 at 11:56 PM, Kumar McMillan wrote: > On Mon, Jul 5, 2010 at 10:35 PM, Alex Gaynor > wrote: > > I've got a talk on PyPy and Unladen Swallow (And the Speed of Python) > > for PyOhio that I'm getting ready, I could do that if there's > > interest. > > I'm not a 100% sure I can make it this Thursday but a talk on Unladen > Swallow + speedups would be very cool! > > -Kumar > > > > > Alex > > > > -- > > "I disapprove of what you say, but I will defend to the death your > > right to say it." -- Voltaire > > "The people's good is the highest law." -- Cicero > > "Code can always be simpler than you think, but never as simple as you > > want" -- Me > > _______________________________________________ > > 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 brianhray at gmail.com Wed Jul 7 22:33:11 2010 From: brianhray at gmail.com (Brian Ray) Date: Wed, 7 Jul 2010 15:33:11 -0500 Subject: [Chicago] ChiPy July Meeting Message-ID: As it turns out, this will be the best user group meeting ever! Best Ever, Anywhere, and you do not even need to pay admission or listen to Ads by desperate head hunters looking for coders who code will not crash a foreign market exchange because they improperly cast a void pointer. Best Ever, Gang, get it! Spread the word and join the peaceful Python fanatics for fun and education in a nicely Air Conditioned Room, Color HD Display, Free WIFI, HD surround sound, power windows, and convenient down town location right next to the Sear.. I mean Willis Tower! Free admission. Just bring your open ears and mind, folks! When: 7 PM Thursday July 8, 2010 Where: ITA | TechNexus 200 S. Wacker Drive, 15th Floor Chicago, IL 60606 Metra: exit on Adams St, walk East across the bridge, first door on the right. Topics ------ 1. PyPy and Unladen-Swallow: Making your Python Fast by Alex Gaynor Python has a reputation for being a bit slow, but it doesn't have to be that way. This talk will cover why Python is slow, and what two of the most exciting virtual machines are doing about it. 2. long awaited Twisted talk by Daniel Griffin. Sign Up ------- If you plan to attend please add your name https://spreadsheets.google.com/viewform?formkey=dHVLOTNTU3oxTzJKYjB3RmV4eVZkMEE6MA About the group --------------- ChiPy is made up of people of all levels of programming and Python knowledge. At every meeting we have had both beginning programmers, people who are just starting to use Python, as well as experienced Python programmers. Don't be intimidated about coming to a meeting. Note that ChiPy is not a formal organization. We collect no dues, elect no officers, and keep no roster. Signing up for the mailing list carries no obligation. Nor does showing up at the meetings. Nor, at least so far, does anything else we have done, although we always appreciate it when our presenters show up. (They usually do!) http://chipy.org _______________________________________________ Chicago mailing list Chicago at python.org http://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.mcavoy at gmail.com Wed Jul 7 22:37:39 2010 From: chris.mcavoy at gmail.com (Chris McAvoy) Date: Wed, 7 Jul 2010 15:37:39 -0500 Subject: [Chicago] Good to know they use Python/Django In-Reply-To: <19507.54720.40078.684482@montanaro.dyndns.org> References: <19507.54720.40078.684482@montanaro.dyndns.org> Message-ID: You're just an object to them. ;) On Tue, Jul 6, 2010 at 8:17 PM, wrote: > I just signed up for Map My Ride's Le Tour Challenge. Here's the start of > their welcome email: > > Dear , > > Congratulations, you are registered to participate in the 2010 Le Tour > Challenge benefiting the American Diabetes Association (ADA). > > http://www.mapmyride.com/tdf > > ... > > Nice to know they are Python folks. :-) > > Skip > > _______________________________________________ > 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 Wed Jul 7 22:37:43 2010 From: carl at personnelware.com (Carl Karsten) Date: Wed, 7 Jul 2010 15:37:43 -0500 Subject: [Chicago] ANN: ChiPy at ITA Thu July 8, 7p Message-ID: ChiPy ========================= When: 7 PM Thursday July 8, 2010 Where: ITA Best meeting ever! Topics ------ 1. 7:00 Programming with Twisted. (Dan Griffin) 2. 7:45 Pizza (Imaginary Landscape) 3. 8:30 PyPy and Unladen-Swallow: Making your Python Fast (Alex Gaynor) Details ------- 1. Programming with Twisted. Dan Griffin - What twisted is and its purpose in life(ie the reactor pattern). - Non-blocking network programming. - The confusing topic of deferreds and callbacks everywhere. - Methods for dealing with blocking APIs. 2. Pizza Imaginary Landscape Local Python shop wants to make sure we don't pass out from starvation. Return the favor by visiting http://chicagopython.com 3. PyPy and Unladen-Swallow: Making your Python Fast Alex Gaynor Python has a reputation for being a bit slow, but it doesn't have to be that way. This talk will cover why Python is slow, and what two of the most exciting virtual machines are doing about it. Location -------- Illinois Technology Association (ITA) 200 S. Wacker Drive 15th Floor Chicago, IL 60606 312.435.2805 http://www.illinoistech.org Metra: exit on Adams St, walk East across the bridge, first door on the right. Show your ID to security. Be on the list or they will be sad. http://chipy.org/FrontPage#sign-up -- Carl K From kumar.mcmillan at gmail.com Thu Jul 8 00:16:05 2010 From: kumar.mcmillan at gmail.com (Kumar McMillan) Date: Wed, 7 Jul 2010 17:16:05 -0500 Subject: [Chicago] Good to know they use Python/Django In-Reply-To: References: <19507.54720.40078.684482@montanaro.dyndns.org> Message-ID: On Wed, Jul 7, 2010 at 3:37 PM, Chris McAvoy wrote: > You're just an object to them. ?;) you're not even a real object, just a proxy :( > > On Tue, Jul 6, 2010 at 8:17 PM, wrote: >> >> I just signed up for Map My Ride's Le Tour Challenge. ?Here's the start of >> their welcome email: >> >> ? ?Dear , >> >> ? ?Congratulations, you are registered to participate in the 2010 Le Tour >> ? ?Challenge benefiting the American Diabetes Association (ADA). >> >> ? ?http://www.mapmyride.com/tdf >> >> ? ?... >> >> Nice to know they are Python folks. :-) >> >> Skip >> >> _______________________________________________ >> 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 brianherman at gmail.com Thu Jul 8 04:10:48 2010 From: brianherman at gmail.com (Brian Herman) Date: Wed, 7 Jul 2010 21:10:48 -0500 Subject: [Chicago] Good to know they use Python/Django In-Reply-To: References: <19507.54720.40078.684482@montanaro.dyndns.org> Message-ID: At least we all have a memory address at 0x16e1a090. But I guess we share that with everyone.... Thanks, Brian Herman brianjherman.com Research Assistant University Of Illinois at Chicago brianherman at acm.org Consultant University of Chicago On Wed, Jul 7, 2010 at 5:16 PM, Kumar McMillan wrote: > On Wed, Jul 7, 2010 at 3:37 PM, Chris McAvoy > wrote: > > You're just an object to them. ;) > > you're not even a real object, just a proxy :( > > > > > On Tue, Jul 6, 2010 at 8:17 PM, wrote: > >> > >> I just signed up for Map My Ride's Le Tour Challenge. Here's the start > of > >> their welcome email: > >> > >> Dear , > >> > >> Congratulations, you are registered to participate in the 2010 Le > Tour > >> Challenge benefiting the American Diabetes Association (ADA). > >> > >> http://www.mapmyride.com/tdf > >> > >> ... > >> > >> Nice to know they are Python folks. :-) > >> > >> Skip > >> > >> _______________________________________________ > >> 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 brian.curtin at gmail.com Fri Jul 9 21:16:39 2010 From: brian.curtin at gmail.com (Brian Curtin) Date: Fri, 9 Jul 2010 14:16:39 -0500 Subject: [Chicago] Fwd: Call for Applications - PSF Sponsored Sprints Message-ID: Hi all, The topic I've babbled on about the last couple of meetings is finally here. Forwarded below is the call for sprint applications for the Python Software Foundation sponsored sprint program. A few questions... 1. *Would you be interested in participating?* It takes all levels of experience to make stuff like this work, so don't be shy. You'll learn, you'll have fun, and you'll make an impact. 1a. *When would you be interested in participating?* (loose estimate, e.g., "end of July") 2. *Where could this be held?* (requirements: desks, chairs, wireless) 3. *Are you or your company interested in sponsoring the sprint in any way?*(see #2, beer, etc) 4. *What are you interested in working on?* What dependencies are holding you back from using 3.x? Let's work on porting them. What's wrong with the documentation? Let's fix it. Want to dig into the standard library? Let's do it. I would like to organize a sprint(s), however, my weekends between now and early-August are filled, so I couldn't actually participate in said sprint(s) until then. I'll help put together a sprint in the meantime if there is interest in something being done in July. Above all, I'd love to get a group together for something like this on a regular basis. Montreal Python was the first PSF sponsorship group because they do regular sprints. We at ChiPy, home of the best meetings ever, surely could put together the best sprints ever. Interested? Let me know. Know of another mailing list that would be interested in joining us? Please forward this! For further info, check out http://pythonsprints.com/ - the home page for all things PSF sprint related. Thanks, Brian ---------- Forwarded message ---------- From: Jesse Noller Date: Thu, Jul 8, 2010 at 12:44 Subject: [Sprints] Call for Applications - PSF Sponsored Sprints [please share] To: sprints at python.org The PSF is happy to open our first call for applications for sprint funding! Have you ever had a group of people together to hack towards a common goal? You've hosted a sprint! Have you ever wanted to get a group of like minded Pythonistas together to hack for a day? You're going to want to hold a sprint! Whether you call them Sprints, Hackfests, Hack-a-thons, or any other name, they're a great way to hang out with like-minded developers and work on common code. Sprints are an unbeatable way to build friendships and contacts that will last for years to come, and they're a great way to learn about something new if you're just starting out. The Python Software Foundation has set aside funds to be distributed to world-wide sprint efforts. We're anticipating 2-3 events per month focused on covering topics to help the entire community: - Python Core bug triage and patch submission (on-boarding new contributors) - Python Core documentation (including process documentation) improvements - Porting libraries/applications to Python 3 - Python website/wiki content improvements - PyPI packaging hosting site improvements - Contribution to other "core" projects, such as packaging related issues. If you are interested in holding a sprint on any of the topics above and you're looking for some money to help out with sprint costs, we can help (up to a max of $250 USD). Prepare an application including the following information: - Date and Location: Where will the event be? What day and time? - Organizers: Who are the event organizers and sprint coach? Is the sprint being run by a Python user group? - Attendees: How many participants do you expect? - Goal: What is the focus and goal of the sprint? - Budget: How much funding you are requesting, and what will you use it for? - Applications should be sent to: sprints at python.org with the subject "Sprint Funding Application - " We encourage anyone - even those who have never held, or been to a sprint - to consider holding one. We will help you as much as we can with welcome packets, advertising, and hooking you up with required resources - anything to make it possible. As part of being approved, the you will need to agree to deliver a report (hopefully, with pictures!) of the sprint to the Sprint Committee, so we can post it on the sprint blog and site: http://www.pythonsprints.com If you have any questions or need more information, contact us by email at sprints at python.org. More information is up on our blog: http://pythonsprints.com/2010/07/8/call-applications-now-open/ _______________________________________________ Sprints mailing list Sprints at python.org http://mail.python.org/mailman/listinfo/sprints -------------- next part -------------- An HTML attachment was scrubbed... URL: From bray at sent.com Thu Jul 8 05:07:21 2010 From: bray at sent.com (Brian Ray) Date: Wed, 7 Jul 2010 22:07:21 -0500 Subject: [Chicago] Fwd: MapMyRun: Welcome to the Aquaphor Le Tour Challenge References: <20100708030317.31931.34359@madison.mapmyfitness.com> Message-ID: <0DE15974-9F98-4C9E-BB76-EFC06FE0E926@sent.com> For the record it's fixed: Begin forwarded message: > From: The MapMyRun Team > Date: July 7, 2010 10:03:17 PM CDT > To: Bray at sent.com > Subject: MapMyRun: Welcome to the Aquaphor Le Tour Challenge > > Dear Brian, > > Congratulations, you are registered to participate in the 2010 Le > Tour Challenge benefiting the American Diabetes Association (ADA). > > http://www.mapmyride.com/tdf > > Get the most out of the 2010 Le Tour Challenge by following these > steps. > > 1. Update your profile ? Add a picture and share information about y > our cycling with other participants. > > 2. Get the latest 2010 Le Tour Challenge news ? visit the Challenge > Hub frequently and see what is new, prizes that have been added and > all ADA fundraising details leading up to the official Challenge sta > rt. > > 3. Follow the 2010 Le Tour Challenge on Twitter @MapMyRIDE ? get up- > to-date Challenge news, changes and highlights before, during and af > ter the event. Share your Challenge successes by tagging your posts > with #letour. > > 4. Download iMapMyRide+ for the iPhone ? and ensure that all your Ch > allenge rides are verified. iMapMyRide+ uses the built-in GPS on yo > ur iPhone to track your routes, distance, pace and calories burned. > And it automatically uploads all of your training data to MapMyRide.com > . > > http://itunes.apple.com/us/app/imapmyride/id30656234?mt=8 > > Thanks again for participating and best of luck in your training > leading up to the start of the 2010 Le Tour Challenge > > Allez! Allez! > -The MapMyRun Team > > --------------------------------- > This is a system generated email. Read our privacy policy: > http://beta.mapmyrun.com/privacy_policy -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergioafp at gmail.com Sat Jul 17 20:27:51 2010 From: sergioafp at gmail.com (Sergio Pereira) Date: Sat, 17 Jul 2010 13:27:51 -0500 Subject: [Chicago] Presenter for a Python 101 talk Message-ID: Hi, I'm looking for someone that could deliver an introduction to Pyhton for a .NET user group downtown. Not looking for an IronPython presentation but a CPython or agnostic one. If you can talk a little about IronPython that would be great but it shouldn't be the focus of the talk. This group is the Chicago ALT.NET (http://chicagoalt.net) and our members, even though they come from .NET backgrounds, have a lot of interest in learning about new languages and technologies that have nothing to do with Microsoft. We're just looking for someone that could explain the basics of Python syntax, the tools required to use it, explain where Python is being used with success, and what is currently popular in Python developments (like App Engine? Django? I'm really not familiar enough yet to suggest :) ) Any takers? Contact me here or directly to avoid noise in the list: sergioafp /at/ gmail Cheers! ______________________________________ Sergio Pereira -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Sun Jul 18 02:42:20 2010 From: kirby.urner at gmail.com (kirby urner) Date: Sat, 17 Jul 2010 17:42:20 -0700 Subject: [Chicago] greetings from PDX user group Message-ID: Greetings from Portland's user group (Oregon). Looking for new open source projects? I think the coming thing is for universities to brag if they "eat their own dog food." Self-respecting academies don't outsource the basics of student enrollment and course offerings to private vendor products. That'd be my thesis for some upcoming Lightning Talk. In the gossip column, what I brought up last meetup was some discussion of whether to drop IDLE from Standard Library. I've got some ruminations on that on edu-sig here: http://mail.python.org/pipermail/edu-sig/2010-July/010025.html (IDLE mentioned somewhere in the middle). Nice chatting with ya, Kirby Urner PSF '09 ps: fond memories of Pycon 2009 Photostream: http://www.flickr.com/photos/17157315 at N00/sets/72157616066135225/ 4dsolutions.net etc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tonkinjs at yahoo.com Tue Jul 20 10:05:25 2010 From: tonkinjs at yahoo.com (Jonathan Tonkin) Date: Tue, 20 Jul 2010 01:05:25 -0700 (PDT) Subject: [Chicago] An item that may be of interest to group members Message-ID: <408288.42719.qm@web111316.mail.gq1.yahoo.com> >From Greg Neumarke, Secretary of the Chicago Chapter ACM:? "The Chicago Chapter of the ACM is having a Summer planning meeting. Please come if you are interested in shaping the future of the Chicago Chapter, volunteering in any way, or submitting your name to run for one of the 4 elected council positions (Chair, Vice-Chair, Secretary, or Treasurer) We intend to meet around 6:30pm in the evening at a location in the Ogilvy/Union Station area, on a day in the last week of July that works best for most of us.? To that end, please complete this survey about what dates you are available to attend. http://www.chicagoacm.org/rsvp We will decide on the final date quickly and send out another missive with specifics. Thanks for your continuing interest in the Chicago Chapter of the ACM!" -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianherman at gmail.com Tue Jul 20 15:33:21 2010 From: brianherman at gmail.com (Brian Herman) Date: Tue, 20 Jul 2010 08:33:21 -0500 Subject: [Chicago] Python & HTML together at last Message-ID: *http://ironpython.net/browser/gettingstarted.html* Now you can use spam bacon eggs and spam I mean python in your html inline. Example: You don't need a server that supports python. Just a client that supports iron python. Yay! Thanks, Brian Herman brianjherman.com Research Assistant University Of Illinois at Chicago brianherman at acm.org Consultant University of Chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Tue Jul 20 16:21:00 2010 From: brianhray at gmail.com (Brian Ray) Date: Tue, 20 Jul 2010 09:21:00 -0500 Subject: [Chicago] Python & HTML together at last In-Reply-To: References: Message-ID: Hey Brian, it's Brian: That is pretty interesting. And thanks for not cursing ;) I always wondered about other client side implementations of Python and where they stand. Wether it be Gestalt, Silverlight, MozPython, some Mozilla attempts... Speaking of Mozilla, Ian posted a while back this article http://blog.ianbicking.org/2010/03/10/joining-mozilla/ where someone comments, "Congratulations, Ian! Now I can see Python in the browser happening :)" Not sure if that is a joke or not; however, I think the IronPython way may be the only real way besides building your own browser plugin (which I have done btw and it was a real pain and was only suitable for demonstration and for those who do not mind if someone else erases your hard drive). -- The Other Brian On Tue, Jul 20, 2010 at 8:33 AM, Brian Herman wrote: > *http://ironpython.net/browser/gettingstarted.html* > Now you can use spam bacon eggs and spam I mean python in your html > inline. > Example: > > > > > You don't need a server that supports python. > Just a client that supports iron python. > Yay! > > > Thanks, > Brian Herman > > brianjherman.com > Research Assistant > University Of Illinois at Chicago > brianherman at acm.org > Consultant > University of Chicago > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianherman at gmail.com Tue Jul 20 16:46:26 2010 From: brianherman at gmail.com (Brian Herman) Date: Tue, 20 Jul 2010 09:46:26 -0500 Subject: [Chicago] Python & HTML together at last In-Reply-To: References: Message-ID: Though this approach does require silverlight to be installed. I looked in the javascript file that it refrences and I saw silverlight. Though I already have silverlight because I watch netflix. I like silverlight because you can play windows movies on linux in the browser. http://www.mono-project.com/Moonlight I don't really hear many linux people complaining about silverlight's performance like they do about flash. Unfortunately, thats because no one uses silverlight. :( I guess there are two kinds of products the ones that people complain about and use and the ones people don't complain about because they don't use them. http://arstechnica.com/open-source/news/2009/02/moonlight-10-brings-silverlight-to-linux.ars Thanks, Brian Herman brianjherman.com Research Assistant University Of Illinois at Chicago brianherman at acm.org Consultant University of Chicago On Tue, Jul 20, 2010 at 9:21 AM, Brian Ray wrote: > MozPython -------------- next part -------------- An HTML attachment was scrubbed... URL: From chad at glendenin.com Tue Jul 20 17:29:25 2010 From: chad at glendenin.com (Chad Glendenin) Date: Tue, 20 Jul 2010 10:29:25 -0500 Subject: [Chicago] Python & HTML together at last In-Reply-To: References: Message-ID: What I'd really like is a way to watch streaming video that doesn't involve a technology controlled by a corporation that obviously hates open source and has an agenda of turning the open internet into a closed, proprietary standard. Am I talking about Adobe or Microsoft? Both. ccg On Tue, Jul 20, 2010 at 9:46 AM, Brian Herman wrote: > Though this approach does require silverlight to be installed. > I looked in the javascript file that it refrences and I saw silverlight. > Though I already have silverlight because I watch netflix. I like > silverlight because you can play windows movies on linux in the browser. > http://www.mono-project.com/Moonlight > I don't really hear many linux people complaining about silverlight's > performance like they do about flash. Unfortunately, thats because no one > uses silverlight. :( I guess there are two kinds of products the ones that > people complain about and use and the ones people don't complain about > because they don't use them. > > http://arstechnica.com/open-source/news/2009/02/moonlight-10-brings-silverlight-to-linux.ars > > Thanks, > Brian Herman > > brianjherman.com > Research Assistant > University Of Illinois at Chicago > brianherman at acm.org > Consultant > University of Chicago > > > On Tue, Jul 20, 2010 at 9:21 AM, Brian Ray wrote: >> >> MozPython > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > > From brian.curtin at gmail.com Tue Jul 20 17:39:35 2010 From: brian.curtin at gmail.com (Brian Curtin) Date: Tue, 20 Jul 2010 10:39:35 -0500 Subject: [Chicago] Python & HTML together at last In-Reply-To: References: Message-ID: On Tue, Jul 20, 2010 at 10:29, Chad Glendenin wrote: > ...controlled by a corporation that obviously hates open source... > > ccg That's a slightly odd perspective on Microsoft, especially given that IronPython and IronRuby both switched to an Apache license and IronPython is getting closer to accepting external contributions. Plus, Microsoft recently gave the PSF around $120,000 worth of MSDN subscriptions for core CPython developers thanks to their Open Source Technology Center, a group focused on making sure open source projects have the resources to operate successfully on Windows. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken at stox.org Tue Jul 20 18:12:04 2010 From: ken at stox.org (Kenneth P. Stox) Date: Tue, 20 Jul 2010 11:12:04 -0500 Subject: [Chicago] Python & HTML together at last In-Reply-To: References: Message-ID: <1279642324.4934.31.camel@stox.dyndns.org> On Tue, 2010-07-20 at 10:39 -0500, Brian Curtin wrote: > On Tue, Jul 20, 2010 at 10:29, Chad Glendenin > wrote: > ...controlled by a corporation that obviously hates open > source... > > ccg > > > That's a slightly odd perspective on Microsoft, especially given that > IronPython and IronRuby both switched to an Apache license and > IronPython is getting closer to accepting external contributions. > Plus, Microsoft recently gave the PSF around $120,000 worth of MSDN > subscriptions for core CPython developers thanks to their Open Source > Technology Center, a group focused on making sure open source projects > have the resources to operate successfully on Windows. Microsoft does not hate Open Source, but it truly despises the GPL. They have made their opinion quit clear in this matter. From brianherman at gmail.com Tue Jul 20 19:02:44 2010 From: brianherman at gmail.com (Brian Herman) Date: Tue, 20 Jul 2010 12:02:44 -0500 Subject: [Chicago] Python & HTML together at last In-Reply-To: <1279642324.4934.31.camel@stox.dyndns.org> References: <1279642324.4934.31.camel@stox.dyndns.org> Message-ID: Microsoft research also gives hosting and developers to the ocaml project. They also include F# (Microsoft's version of ocaml) as a first class language in Visual Studio 2010. Thanks, Brian Herman brianjherman.com Research Assistant University Of Illinois at Chicago brianherman at acm.org Consultant University of Chicago On Tue, Jul 20, 2010 at 11:12 AM, Kenneth P. Stox wrote: > On Tue, 2010-07-20 at 10:39 -0500, Brian Curtin wrote: > > On Tue, Jul 20, 2010 at 10:29, Chad Glendenin > > wrote: > > ...controlled by a corporation that obviously hates open > > source... > > > > ccg > > > > > > That's a slightly odd perspective on Microsoft, especially given that > > IronPython and IronRuby both switched to an Apache license and > > IronPython is getting closer to accepting external contributions. > > Plus, Microsoft recently gave the PSF around $120,000 worth of MSDN > > subscriptions for core CPython developers thanks to their Open Source > > Technology Center, a group focused on making sure open source projects > > have the resources to operate successfully on Windows. > > Microsoft does not hate Open Source, but it truly despises the GPL. They > have made their opinion quit clear in this matter. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Tue Jul 20 19:10:44 2010 From: brianhray at gmail.com (Brian Ray) Date: Tue, 20 Jul 2010 12:10:44 -0500 Subject: [Chicago] Python & HTML together at last In-Reply-To: References: Message-ID: On Tue, Jul 20, 2010 at 10:39 AM, Brian Curtin wrote: > On Tue, Jul 20, 2010 at 10:29, Chad Glendenin wrote: > >> ...controlled by a corporation that obviously hates open source... >> >> ccg > > > That's a slightly odd perspective on Microsoft, especially given that > IronPython and IronRuby both switched to an Apache license and IronPython is > getting closer to accepting external contributions. Plus, Microsoft recently > gave the PSF around $120,000 worth of MSDN subscriptions for core CPython > developers thanks to their Open Source Technology Center, a group focused on > making sure open source projects have the resources to operate successfully > on Windows. > > Hi Brian^3, I do think Micro$oft has parts of the business that will never get the advantage of Copy Left (GPL etc). I think they also have a business perspective that makes sense to embrace open source. They also have a business perspective (depending on who you talk to) that probably does not like open source because they some fear what they do not understand. I think I got all these perspectives all from different people who work and M$. They are just a really big company that seems to be disjointed. I choose to ignore that to some degree. And it is not so much hate M$, I just really like working with a language that is not controlled by any one corporation. It allows any one person from "up strairs" to slip into a language planning meeting and slip a business agenda into the language. I have worked with Adobe stuff and M$ stuff especially the specs for printing (like PDF and XPS, for example) and noticed that a lot of the same people who embraced earlier open standards (IE the Red Book... PostScript) also embraced open standards. But the weird thing is that you must follow their interpretation of these standards if you wish to make PDF or XPS. And since the code in these libs is not open source (and can be expensive for source license) it becomes prohibitive for anyone in the open source world to work on software that interpolates well. Developers end up pretty frustrated but usually wish they would take a different corporate approach that is more consistent. And btw 120,000 is nice but barely a tithing. -- Yet, the other Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From samir at esamir.com Thu Jul 22 16:55:24 2010 From: samir at esamir.com (Samir Faci) Date: Thu, 22 Jul 2010 09:55:24 -0500 Subject: [Chicago] Popen/subprocess/Poll Question. Message-ID: I'm sure this is something fairly silly I'm overlooking, but I've been spending too much time on this... so I figured I should ask the powers that be. I'm running a process that's usually takes a while.... (in the best case scenario a few hours... going on days occasionally) I'm presuming I need to spawn a thread for the process so it doesn't block. So I have something like this: class testit(Thread): def __init__ (self,cmd): Thread.__init__(self) self.cmd = cmd self.p = sub.Popen(shlex.split(self.cmd), stdout=sub.PIPE, stderr=sub.PIPE) def run(self): out,err = self.p.communicate() print out print err def getProcess(self): return self.p current = testit("watch -n 5 date") proc = current.getProcess #### insert useful code here current.start() current.join() Now, what I'm trying to accomplish is to have it print its output to a screen AND let me capture its output. I'd like to see the output. I'd also like to see the output as its processing, not capture it, and print it to screen and then write to file. I think I need to poll it before starting the process, and register an event so whenever stdout changes, I can pull that information and push write to file. Though the whole events/polling isn't making much sense to me right now. Any hints? -- Samir Faci *insert title* fortune | cowsay -f /usr/share/cows/tux.cow From dgriff1 at gmail.com Thu Jul 22 17:07:21 2010 From: dgriff1 at gmail.com (Daniel Griffin) Date: Thu, 22 Jul 2010 10:07:21 -0500 Subject: [Chicago] Popen/subprocess/Poll Question. In-Reply-To: References: Message-ID: Using communicate is basically going to block until the process is done. You can use a tempfile and read the temp file at some interval to print to screen, then fseek(0) at the end to get the contents of the file. Also, if you use PIPE it goes to memory which can really screw you up if you have a lot of output. To use poll you basically have to check it periodically. I do this in twisted with a reactor.callLater(1, blah.check_process()) . You can do the same with a while loop with a sleep in it. Dan On Thu, Jul 22, 2010 at 9:55 AM, Samir Faci wrote: > I'm sure this is something fairly silly I'm overlooking, but I've been > spending too much time on this... so I figured I should ask the powers > that be. > > I'm running a process that's usually takes a while.... (in the best > case scenario a few hours... going on days occasionally) > > I'm presuming I need to spawn a thread for the process so it doesn't block. > > So I have something like this: > > class testit(Thread): > def __init__ (self,cmd): > Thread.__init__(self) > self.cmd = cmd > self.p = sub.Popen(shlex.split(self.cmd), stdout=sub.PIPE, > stderr=sub.PIPE) > def run(self): > out,err = self.p.communicate() > print out > print err > def getProcess(self): > return self.p > > current = testit("watch -n 5 date") > proc = current.getProcess > > #### insert useful code here > > current.start() > current.join() > > > Now, what I'm trying to accomplish is to have it print its output to a > screen AND let me capture its output. I'd like to see the output. > I'd also like to see the output as its processing, not capture it, and > print it to screen and then write to file. > > I think I need to poll it before starting the process, and register an > event so whenever stdout changes, I can pull that information and push > write to file. > Though the whole events/polling isn't making much sense to me right > now. Any hints? > > > -- > Samir Faci > *insert title* > fortune | cowsay -f /usr/share/cows/tux.cow > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Thu Jul 22 17:38:49 2010 From: brianhray at gmail.com (Brian Ray) Date: Thu, 22 Jul 2010 10:38:49 -0500 Subject: [Chicago] Popen/subprocess/Poll Question. In-Reply-To: References: Message-ID: On Thu, Jul 22, 2010 at 9:55 AM, Samir Faci wrote: > I'm sure this is something fairly silly I'm overlooking, but I've been > spending too much time on this... so I figured I should ask the powers > that be. > > This is complicated stuff. Do *not* feel bad. I was working on something similar where I used a non-blocking Queue Server like this one http://www.google.com/codesearch/p?hl=en#EvwmCkrYNSE/src/queue_server.py&l=34&d=0 However, I modified the code so that the worker will periodically post back some results to the server so the log can be displayed. You can run Subprocess in the worker then post stuff back to the Queue. The important elements here is how the Queue() waits by default. Also an important to know which *thing* your talking about when your posting anything to the dispatching Queue server. I changed the way the Queue and the id handing works in my own code. Also, I changed the way stopping stuff works. I wanted to be able to stop on demand and not get a ghost server and make works end gracefully. That was a bit tricky because the code here suggests serve_forever. I put a stop() method on the workers and the server. So in the Workers I sleep() and check _stop periodically. Likewise, when I am looking for Queue objects, put those in loop and set the timeout Queue.get(True,10) so that it does not block. Likewise, you will want to make one final call to the server to release the socket (it may fail, which is fine). If things really get hung on the worker or the server (or if I get impatient) I do a force stop with psutil. Oh, the other change I made is that I ended up using a WorkerPool Thread that actually has a collection of Workers ready to do *something*. It just starts a bunch of workers that are watching polling waiting for the command to start actually do something from the Server. It has its own stop() which just calls stop on all the worker threads. Hope this helps, -- Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From maney at two14.net Thu Jul 22 17:28:44 2010 From: maney at two14.net (Martin Maney) Date: Thu, 22 Jul 2010 10:28:44 -0500 Subject: [Chicago] Popen/subprocess/Poll Question. In-Reply-To: References: Message-ID: <20100722152844.GA4063@furrr.two14.net> On Thu, Jul 22, 2010 at 09:55:24AM -0500, Samir Faci wrote: > I'm running a process that's usually takes a while.... (in the best > case scenario a few hours... going on days occasionally) > > I'm presuming I need to spawn a thread for the process so it doesn't block. Thread-on-the-brain disease? Why not run it as a separate process? Threads are just processes that can mess each other up almost without trying. :-/ > Now, what I'm trying to accomplish is to have it print its output to a > screen AND let me capture its output. I'd like to see the output. > I'd also like to see the output as its processing, not capture it, and > print it to screen and then write to file. There's an Anciente Unixe command that does this very thing, named "tee". Just sayin' -- I'm not proud. We really haven't done everything we could to protect our customers ... Our products just aren't engineered for security. -- Brian Valentine, Microsoft Senior VP in charge of the Windows development team From dgriff1 at gmail.com Thu Jul 22 17:49:34 2010 From: dgriff1 at gmail.com (Daniel Griffin) Date: Thu, 22 Jul 2010 10:49:34 -0500 Subject: [Chicago] Popen/subprocess/Poll Question. In-Reply-To: <20100722152844.GA4063@furrr.two14.net> References: <20100722152844.GA4063@furrr.two14.net> Message-ID: You really don't need Threads or Processes if you just use poll. Just keep a list of popen's and periodically check them with poll. On Thu, Jul 22, 2010 at 10:28 AM, Martin Maney wrote: > On Thu, Jul 22, 2010 at 09:55:24AM -0500, Samir Faci wrote: > > I'm running a process that's usually takes a while.... (in the best > > case scenario a few hours... going on days occasionally) > > > > I'm presuming I need to spawn a thread for the process so it doesn't > block. > > Thread-on-the-brain disease? Why not run it as a separate process? > Threads are just processes that can mess each other up almost without > trying. :-/ > > > Now, what I'm trying to accomplish is to have it print its output to a > > screen AND let me capture its output. I'd like to see the output. > > I'd also like to see the output as its processing, not capture it, and > > print it to screen and then write to file. > > There's an Anciente Unixe command that does this very thing, named > "tee". Just sayin' > > -- > I'm not proud. We really haven't done everything we could to > protect our customers ... Our products just aren't engineered > for security. -- Brian Valentine, Microsoft Senior VP > in charge of the Windows development team > > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwebber at dustycloud.org Thu Jul 22 17:54:20 2010 From: cwebber at dustycloud.org (Christopher Allan Webber) Date: Thu, 22 Jul 2010 10:54:20 -0500 Subject: [Chicago] Python & HTML together at last In-Reply-To: (Chad Glendenin's message of "Tue, 20 Jul 2010 10:29:25 -0500") References: Message-ID: <87ocdzldg3.fsf@dustycloud.org>