From diomedestydeus at gmail.com Wed Jan 1 00:27:04 2014 From: diomedestydeus at gmail.com (Philip Doctor) Date: Tue, 31 Dec 2013 17:27:04 -0600 Subject: [Chicago] Anyone using Python 3? In-Reply-To: <20131231224426.GH9269@wdfs.graniteweb.com> References: <20131231224426.GH9269@wdfs.graniteweb.com> Message-ID: ... This comes from having accountability for what's on the systems and the need to be able to ask Red Hat for help if something on the system breaks. I don't know what kind of deal you have with Red Hat, but can't you just altinstall python on RHEL? This should leave the system install untouched, so from RH's perspective python should look like just another business application you're running, not something they either have to support, or impacts the system build? Or is there a further impact here I'm missing? On Tue, Dec 31, 2013 at 4:44 PM, David Rock wrote: > * Nick Bennett [2013-12-30 20:32]: > > I'm speaking unofficially here - I work in sort of legacy systems, > running > > CentOS with various versions of Python, all less than 2.7. Some of our > > servers have Python 2.5, others have 2.6. There's some adherence to > what's > > in the official repositories for the respective version of CentOS on that > > server, which is out of my control and I don't understand anyway. > > I'm in a similar boat. I use what's supplied by Red Hat for RHEL (which > is the same stuff CentOS uses). This comes from having accountability > for what's on the systems and the need to be able to ask Red Hat for > help if something on the system breaks. > > Until Red Hat supplies python 3, there's no way I'll ever be able to use > it. > > -- > David Rock > david at graniteweb.com > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Wed Jan 1 00:27:18 2014 From: kirby.urner at gmail.com (kirby urner) Date: Tue, 31 Dec 2013 15:27:18 -0800 Subject: [Chicago] Anyone using Python 3? In-Reply-To: <20131231224426.GH9269@wdfs.graniteweb.com> References: <20131231224426.GH9269@wdfs.graniteweb.com> Message-ID: O'Reilly School of Technology (OST) where I'm one of two Python mentors, teaches only Python 3. We're mostly in Eclipse using 3.1 at the moment, with plans on the books to make the leap to 3.4 next. Of course many of my students demonstrate familiarity with 2.x whereas those completely new to Python may at first be confused. Lets be up front about it: it takes a bit of explaining, as not all languages are "living" nor have all made "a leap" in maturity -- there's a story here. I actually find it helpful to dredge up the Y2K memories and say how Guido tongue-in-cheek hooked into that by making "Py3K" seem millennial (i.e. semi-apocalyptic), a "mock crisis" in the tradition of our love of comedy (Monty Python et al). In point of fact, the transition has been going smoothly, and there's nothing stopping 2.x engines from running reliably, supporting what's already on their shoulders. In other words, it's not either/or: Pythons of different vintage will be found within the ecosystem. There's no reason to "junk" 2.x as if it were a rusting car. Languages don't rust, at least not in that way. Anyway, our approach is learning the nuances of 2.x after learning 3.x is very doable, so we're not hurting their job-seeking prospects with the 3.x focus. Python 3 is just better in a lot of ways, so if we have to choose (and we kind of do, being tiny) why not go with the best? Kirby Urner -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at python.org Wed Jan 1 00:44:13 2014 From: brian at python.org (Brian Curtin) Date: Tue, 31 Dec 2013 17:44:13 -0600 Subject: [Chicago] Anyone using Python 3? In-Reply-To: <20131231224426.GH9269@wdfs.graniteweb.com> References: <20131231224426.GH9269@wdfs.graniteweb.com> Message-ID: On Tue, Dec 31, 2013 at 4:44 PM, David Rock wrote: > * Nick Bennett [2013-12-30 20:32]: >> I'm speaking unofficially here - I work in sort of legacy systems, running >> CentOS with various versions of Python, all less than 2.7. Some of our >> servers have Python 2.5, others have 2.6. There's some adherence to what's >> in the official repositories for the respective version of CentOS on that >> server, which is out of my control and I don't understand anyway. > > I'm in a similar boat. I use what's supplied by Red Hat for RHEL (which > is the same stuff CentOS uses). This comes from having accountability > for what's on the systems and the need to be able to ask Red Hat for > help if something on the system breaks. > > Until Red Hat supplies python 3, there's no way I'll ever be able to use > it. http://developerblog.redhat.com/2013/09/12/rhscl1-ga/ From carl at personnelware.com Wed Jan 1 02:25:55 2014 From: carl at personnelware.com (Carl Karsten) Date: Tue, 31 Dec 2013 19:25:55 -0600 Subject: [Chicago] Anyone using Python 3? In-Reply-To: References: <20131231224426.GH9269@wdfs.graniteweb.com> Message-ID: Red Hat Software Collections 1.0 includes access to the latest stable versions of the following languages: ... Python 3.3, which offers significant improvements in language consistency, Unicode performance, imports, and distribution of packages. http://videos.pumpingstationone.org/video/26/red-hat-software-collections btw - this thing (not really sure what the proper name of it is - Red Hat Software Collections is likely it, but that's a lot of words) is kinda like virtualenv for linux binaries, and python can be one of them, which means python and all of its libs can live is there own thing, which is what virtualenv does too, so it can replace virtualenv. This does not mean it should, just passing on what made me understand it. back to Python 3 - If anyone wants to spend the day porting something, we can get some PSF funding to cover pizza and such. The Pizza parlor that is basically at the Kedzie blue line stop has a meeting room that would be perfect place to spend the day. I can supply power strips :) On Tue, Dec 31, 2013 at 5:44 PM, Brian Curtin wrote: > On Tue, Dec 31, 2013 at 4:44 PM, David Rock wrote: >> * Nick Bennett [2013-12-30 20:32]: >>> I'm speaking unofficially here - I work in sort of legacy systems, running >>> CentOS with various versions of Python, all less than 2.7. Some of our >>> servers have Python 2.5, others have 2.6. There's some adherence to what's >>> in the official repositories for the respective version of CentOS on that >>> server, which is out of my control and I don't understand anyway. >> >> I'm in a similar boat. I use what's supplied by Red Hat for RHEL (which >> is the same stuff CentOS uses). This comes from having accountability >> for what's on the systems and the need to be able to ask Red Hat for >> help if something on the system breaks. >> >> Until Red Hat supplies python 3, there's no way I'll ever be able to use >> it. > > http://developerblog.redhat.com/2013/09/12/rhscl1-ga/ > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -- Carl K From emperorcezar at gmail.com Wed Jan 1 14:19:50 2014 From: emperorcezar at gmail.com (Adam "Cezar" Jenkins) Date: Wed, 1 Jan 2014 07:19:50 -0600 Subject: [Chicago] statsd decorators In-Reply-To: References: Message-ID: No, but I really like the looks of it. I think this will be really useful. On Dec 21, 2013 11:04 AM, "sheila miguez" wrote: > Has anyone used this: > > https://pypi.python.org/pypi/perfmetrics > > I'm looking for decorators so I can send metrics to graphite without a lot > of code cancer. > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Wed Jan 1 14:53:36 2014 From: randy7771026 at gmail.com (Randy Baxley) Date: Wed, 1 Jan 2014 07:53:36 -0600 Subject: [Chicago] Anyone using Python 3? In-Reply-To: References: <20131231224426.GH9269@wdfs.graniteweb.com> Message-ID: It is funny the things one learns and the levels on which we are able to understand them. I was at that Pumping Station: One presentation and had no idea how it might apply to me. Since I have never used a blue line stop south of Clinton I googled blue line Kedzie and on the page clicked around to get to a picture of the stop above ground and this map: http://www.transitchicago.com/assets/1/clickable_system_map/200806C.htm When I was 547 pounds and new to the area a friend who I met somehow that was sort of a pioneer in the telecommunications sector here understood my statement that 'it is not if I can take a step, it is how many steps I have left.' He promised without prompting to send me the applications for handicap hangdowns which also led me to the RTA trainers who recommended after seeing me totally freak out when the blue line went underground and bolt to the closest exit at the Clark and Lake Blue line stop that I not ride public transportation. This claustrophobic like reaction subsided with my weight loss but when I have the time I still prefer to go to the Brown Line when traveling around the loop and north side. Anyway, let us assume that everyone can get to that station, when they walk out onto the overpass will they turn to the right or left? How many blocks will they need to walk and will they need to cross the street? Those are the types of questions I would like a visual CTA app to make unnecessary. On Tue, Dec 31, 2013 at 7:25 PM, Carl Karsten wrote: > Red Hat Software Collections 1.0 includes access to the latest stable > versions of the following languages: > ... > Python 3.3, which offers significant improvements in language > consistency, Unicode performance, imports, and distribution of > packages. > > http://videos.pumpingstationone.org/video/26/red-hat-software-collections > > btw - this thing (not really sure what the proper name of it is - Red > Hat Software Collections is likely it, but that's a lot of words) is > kinda like virtualenv for linux binaries, and python can be one of > them, which means python and all of its libs can live is there own > thing, which is what virtualenv does too, so it can replace > virtualenv. This does not mean it should, just passing on what made > me understand it. > > back to Python 3 - If anyone wants to spend the day porting something, > we can get some PSF funding to cover pizza and such. The Pizza parlor > that is basically at the Kedzie blue line stop has a meeting room that > would be perfect place to spend the day. I can supply power strips :) > > > On Tue, Dec 31, 2013 at 5:44 PM, Brian Curtin wrote: > > On Tue, Dec 31, 2013 at 4:44 PM, David Rock > wrote: > >> * Nick Bennett [2013-12-30 20:32]: > >>> I'm speaking unofficially here - I work in sort of legacy systems, > running > >>> CentOS with various versions of Python, all less than 2.7. Some of our > >>> servers have Python 2.5, others have 2.6. There's some adherence to > what's > >>> in the official repositories for the respective version of CentOS on > that > >>> server, which is out of my control and I don't understand anyway. > >> > >> I'm in a similar boat. I use what's supplied by Red Hat for RHEL (which > >> is the same stuff CentOS uses). This comes from having accountability > >> for what's on the systems and the need to be able to ask Red Hat for > >> help if something on the system breaks. > >> > >> Until Red Hat supplies python 3, there's no way I'll ever be able to use > >> it. > > > > http://developerblog.redhat.com/2013/09/12/rhscl1-ga/ > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > > -- > Carl K > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Thu Jan 2 16:29:50 2014 From: shekay at pobox.com (sheila miguez) Date: Thu, 2 Jan 2014 09:29:50 -0600 Subject: [Chicago] Chicago data dictionary Message-ID: data and metadata about chicago data http://www.chapinhall.org/news/spotlight/chicago_data_dictionary http://datadictionary.cityofchicago.org/ -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Thu Jan 2 20:23:12 2014 From: brianhray at gmail.com (Brian Ray) Date: Thu, 2 Jan 2014 13:23:12 -0600 Subject: [Chicago] I can give a short talk on: Natural Language Processing with Python Message-ID: In particular, a talk/ live demo of http://nltk.org/. I would entertain the idea if someone wants to join me for giving the talk. I am sure there are many of you who know more me on the topic than I do. any +1's ?? pllllls -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From robkapteyn at gmail.com Thu Jan 2 21:35:28 2014 From: robkapteyn at gmail.com (Rob Kapteyn) Date: Thu, 2 Jan 2014 14:35:28 -0600 Subject: [Chicago] I can give a short talk on: Natural Language Processing with Python In-Reply-To: References: Message-ID: +1 -- looks interesting, sort of like "yacc" for English text ;) On Thu, Jan 2, 2014 at 1:23 PM, Brian Ray wrote: > In particular, a talk/ live demo of http://nltk.org/. > > I would entertain the idea if someone wants to join me for giving the > talk. I am sure there are many of you who know more me on the topic than I > do. > > any +1's ?? pllllls > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From osiddique at gmail.com Thu Jan 2 20:34:05 2014 From: osiddique at gmail.com (Osman Siddique) Date: Thu, 2 Jan 2014 13:34:05 -0600 Subject: [Chicago] I can give a short talk on: Natural Language Processing with Python In-Reply-To: References: Message-ID: +1 On Thu, Jan 2, 2014 at 1:23 PM, Brian Ray wrote: > In particular, a talk/ live demo of http://nltk.org/. > > I would entertain the idea if someone wants to join me for giving the > talk. I am sure there are many of you who know more me on the topic than I > do. > > any +1's ?? pllllls > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at graniteweb.com Fri Jan 3 00:41:44 2014 From: david at graniteweb.com (David Rock) Date: Thu, 2 Jan 2014 17:41:44 -0600 Subject: [Chicago] Anyone using Python 3? In-Reply-To: References: <20131231224426.GH9269@wdfs.graniteweb.com> Message-ID: <20140102234144.GM9269@wdfs.graniteweb.com> * Philip Doctor [2013-12-31 17:27]: > ... This comes from having accountability for what's on the systems and the > need to be able to ask Red Hat for help if something on the system breaks. > > I don't know what kind of deal you have with Red Hat, but can't you just > altinstall python on RHEL? This should leave the system install untouched, > so from RH's perspective python should look like just another business > application you're running, not something they either have to support, or > impacts the system build? Or is there a further impact here I'm missing? For starters, Software collections is a RHEL 6 only offering. The majority of my environment is still RHEL 5, so I can't use it. What's worse, there are several hundred RHEL 4 systems that I have to deal with that force using an even older python 2 than I'd like. Python is also not used as a development tool, so custom installs would be for my benefit only, and the level of coding I'm doing doesn't require anything exotic. Additionally, getting back to the question at hand, there's nothing in Python 3 that provides an impetus to get OFF of python 2. Could I create an alt install of python 3? Sure. Is it worth it? Definitely not. Getting in the business of maintaining a custom build of python just to have Python 3 on all the systems, just for myself, (that will be increasingly difficult to maintain across the entire environment) is time taken away from more pressing issues. It doesn't make sense to code in Python 3 only to be put in a position where my code won't work on any of the production systems. -- David Rock david at graniteweb.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: Digital signature URL: From tal.liron at threecrickets.com Fri Jan 3 06:29:15 2014 From: tal.liron at threecrickets.com (Tal Liron) Date: Fri, 03 Jan 2014 13:29:15 +0800 Subject: [Chicago] Sincerity and Prudence Message-ID: <52C64AAB.7070800@threecrickets.com> An HTML attachment was scrubbed... URL: From brian at python.org Fri Jan 3 22:07:18 2014 From: brian at python.org (Brian Curtin) Date: Fri, 3 Jan 2014 15:07:18 -0600 Subject: [Chicago] OT: comparison shopping for co-working spaces In-Reply-To: References: Message-ID: On Wed, Nov 13, 2013 at 3:50 PM, Allan LeSage wrote: > > Hi, > > I'm in the market for a co-working space and would like a listing and/or > recommendations for some good ones within the city limits. > > I just spent a day at NextSpace formerly COOP, I've also visited the > CivicLab; both are good matches but I'm being picky. Did you end up picking a spot? I've been lightly thinking about joining a coworking space. From dinaldo at gmail.com Fri Jan 3 23:58:12 2014 From: dinaldo at gmail.com (Don Sheu) Date: Fri, 3 Jan 2014 14:58:12 -0800 Subject: [Chicago] Startup Row at PyCon is Back Message-ID: Startup Row at PyCon is backStartup Row is back ? our offer to showcase the most promising Python startups out there! This year in addition to online applications, I'm going to hold a pitch event in Chicago to select our representative startup at PyCon Montreal. This'll guarantee that a Chicago company will represent at Startup Row, and only Silicon Valley startups using Python will represent in Montreal. I'm depending on the Chicago Python community's support to make sure a Chicago startup is represented in Montreal. The concept is very simple: if you convince us that your young company is the next big thing, we are going to give you a free booth for one day in our Expo Hall and two free passes to the conference. Startup Row gives you a unique opportunity to connect with a global, highly technical crowd. Among the 2000+ PyCon attendees, could be a new co-founder, your next investor, a future business partner, or even hundreds of new users, depending on who your target market is. These are stories we?ve heard from previous Startup Row nominees. The technological landscape of tomorrow is yours to make. Come and show us that it's one where Python shines. The rules are simple: - You must have less than 15 employees, including founders, and be less than two years old. - You must use Python somewhere in your startup. Backend, frontend, testing, wherever. - If selected, you have to come and staff your booth for the Expo Hall hours on your appointed day. We will do our best to give you the day that works best for you (either Friday or Saturday). - No repeats. If you were on startup row last year, your startup is not eligible. We want to give a chance to as many startups as possible. Startups will be selected by our panel of judges based on their business potential. Ambitious new approaches to solving old problems count, so are world changing applications of cutting edge technology. There are few wrong answers here. Apply today: https://pycon2014.wufoo.com/forms/pycon-2014-startup-row/ Here's a link to the blog post on PyCon website, http://pycon.blogspot.ca/2013/12/startup-row-is-back.html -- Don Sheu (312) 880-9389 -------------- next part -------------- An HTML attachment was scrubbed... URL: From emperorcezar at gmail.com Sun Jan 5 01:08:48 2014 From: emperorcezar at gmail.com (Cezar Jenkins) Date: Sat, 4 Jan 2014 18:08:48 -0600 Subject: [Chicago] stream host on chipy.org In-Reply-To: References: Message-ID: All done. --? Cezar Jenkins @emperorcezar On December 30, 2013 at 11:29:27 AM, Carl Karsten (carl at personnelware.com) wrote: bump. On Thu, Dec 12, 2013 at 4:36 PM, Carl Karsten wrote: > how do we get the stream link on chipy.org to point to > http://timvideos.us/chipy ? > > and just do it.. but I am wondering how > > -- > Carl K -- Carl K _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Sun Jan 5 22:15:35 2014 From: shekay at pobox.com (sheila miguez) Date: Sun, 5 Jan 2014 15:15:35 -0600 Subject: [Chicago] Food for meeting and rsvps -- need to talk to host Message-ID: Hi all, I'd like to be able to talk to the sponsor about food and also about the rsvp list. food One of the attendees is vegan and wants to know if the sponsors will provide vegan options so that he knows whether he needs to diy dinner. rsvp list If the sponsor needs to have names for security, I would like to be able to pass along the meetup rsvp list in case anyone on meetup forgets to rsvp on the chipy page. thanks -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From castironpi at gmail.com Sun Jan 5 18:08:59 2014 From: castironpi at gmail.com (Aaron Brady) Date: Sun, 5 Jan 2014 11:08:59 -0600 Subject: [Chicago] january Message-ID: Hi, I'm new. Are you getting food at the meetup? Or do you go out after? I'm vegan, I would need to go to Subway before or call ahead to the restaurant. From ascription at yahoo.com Sun Jan 5 18:20:48 2014 From: ascription at yahoo.com (Aaron Brady) Date: Sun, 5 Jan 2014 09:20:48 -0800 (PST) Subject: [Chicago] january Message-ID: <1388942448.6939.YahooMailNeo@web140206.mail.bf1.yahoo.com> Hi, I'm new. ?Are you getting food at the meetup? ?Or do you go out?after? ?I'm vegan, I would need to go to Subway before or call ahead to?the restaurant. ?Apologies if this is double-posting, I tried another address than the one I subscribed with. From brianhray at gmail.com Mon Jan 6 00:23:10 2014 From: brianhray at gmail.com (Brian Ray) Date: Sun, 5 Jan 2014 17:23:10 -0600 Subject: [Chicago] january In-Reply-To: <1388942448.6939.YahooMailNeo@web140206.mail.bf1.yahoo.com> References: <1388942448.6939.YahooMailNeo@web140206.mail.bf1.yahoo.com> Message-ID: Yes there will be food. I will request a vegan alternative. Thanks. Afterword, we do sometimes grab drinks, sometimes we have after meeting drink slush fund, sometimes not. On Sun, Jan 5, 2014 at 11:20 AM, Aaron Brady wrote: > Hi, I'm new. Are you getting food at the meetup? Or do you go out after? > I'm vegan, I would need to go to Subway before or call ahead to the > restaurant. Apologies if this is double-posting, I tried another address > than the one I subscribed with. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Mon Jan 6 00:24:41 2014 From: brianhray at gmail.com (Brian Ray) Date: Sun, 5 Jan 2014 17:24:41 -0600 Subject: [Chicago] I'm lonely presenter Message-ID: I am not the only one getting up there thursday. Common folks, let's hear some topics proposals. What ya'all workin on huh? If I can do it, so can you ;) -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at goggl.es Mon Jan 6 00:48:29 2014 From: nick at goggl.es (Nick Bennett) Date: Sun, 5 Jan 2014 17:48:29 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: I'd love for an excuse to get up and talk, but I just don't know what would be interesting to an audience. I'll just say a few of the things I've been fiddling with, someone speak up if any of this would be interesting to hear about for a few minutes. Recently I've been distracted from ChiPy by going to the Open Gov Hack Nights (http://opengovhacknight.org/) where I've been able to help Alex Soble with his Divvy Bikes-related Chrome extension Divvy Brags ( https://chrome.google.com/webstore/detail/divvybrags/obpfmeilmeicjimgkpekfgmaoelbbfpf) by writing a Python script to get the pairwise distances between Divvy bike stations from the Google Maps API using "by the bike" distances. The first script I wrote actually used the MapQuest Open API: https://gist.github.com/tothebeat/7783079 I complicated that script into a little project to get pairwise distances from Google Maps or MapQuest using the distanceMatrix request correctly: https://github.com/tothebeat/pairwise-geo-distances I also dove into some Roadway Fatalities data, after seeing one too many of those "there have been 900 deaths on the highway this year" from the USHTA's FARS (enough initialisms?) which is available in DBF and SAS file formats. I used a DBF-reading Python module that is never going to be on the top 100 of Pypi downloads, and translated all roadway fatality data provided for the years 1975 to 2012 into CSV format. All if this is on Github and there's a little automatic page for it: http://tothebeat.github.io/fatal-car-crashes/ I contributed to Open Gov Hack Night in a small way by fixing two bugs on the issues list of civic-json-worker ( https://github.com/open-city/civic-json-worker), the project that hits the Github API and produces a JSON file that is then served up to power the Open Gov Hack Night's project listing page ( http://opengovhacknight.org/projects.html). I never knew contributing to a project could be so simple. It was just a few lines of code in total, there was more work involved in forking and formatting my git commit message nicely and sending the pull request. I connected with a few other people at the hack night who wanted to try to take a stab at scraping one of the City of Chicago's department websites, namely their Business Solicitations search page ( https://webapps1.cityofchicago.org/VCSearchWeb/org/cityofchicago/vcsearch/controller/solicitations/begin.do?agencyId=city). One person had no prior programming experience, and another was familiar but had not used Python extensively. We have a Github organization and repo that is quietly developing bitrot: https://github.com/bnjy-opengov/chi-solicitations-feed That's about as far into my project stash before I start to churn up real inanity. On Sun, Jan 5, 2014 at 5:24 PM, Brian Ray wrote: > I am not the only one getting up there thursday. Common folks, let's hear > some topics proposals. What ya'all workin on huh? If I can do it, so can > you ;) > > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Mon Jan 6 01:08:17 2014 From: carl at personnelware.com (Carl Karsten) Date: Sun, 5 Jan 2014 18:08:17 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: > by writing a Python script to get the pairwise distances between Divvy bike > stations from the Google Maps API using "by the bike" distances. I would like something about this. pretty much anything. I use various google API stuff successfully, but it is almost a surprise to me that things work. and then when they don't work, that is also a surprise. I think my main problem is I don't have a clue how to debug this stuff, and I don't have a good feel for how to think about it. Like this code worked for over a year: https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 A month or so ago stopped working. It doesn't error, it just doesn't give the same results it used to. (it should flip a youtube video from unlisted to public.) (if anyone wants to hack on this, that one .py should run on its own and it should be easy to get the creds setup so you can test it on your own account, or set up a test account) I want that fixed, and I want a clue how one goes about figuring out what is going on. I have also written code to talk to a goog spread sheet and calendar, same feeling of uncertainty. So anything in this area should help. -- Carl K From carl at personnelware.com Mon Jan 6 01:09:40 2014 From: carl at personnelware.com (Carl Karsten) Date: Sun, 5 Jan 2014 18:09:40 -0600 Subject: [Chicago] Venue announced for January 9th: Dev Bootcamp In-Reply-To: References: Message-ID: bump bump On Tue, Dec 24, 2013 at 7:11 PM, Brian Ray wrote: > I'll take care of this. Thanks for the reminder. > > > On Tuesday, December 24, 2013, Carl Karsten wrote: >> >> bump >> >> paging someone from Dev Bootcamp >> http://chipyvenue.pythonanywhere.com/ >> >> please park in the white form which is for loading data only. >> >> you can log back in to add more data later. >> >> >> -- >> Carl K >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago > > > > -- > Brian Ray > @brianray > (773) 669-7717 > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Carl K From nick at goggl.es Mon Jan 6 03:25:21 2014 From: nick at goggl.es (Nick Bennett) Date: Sun, 5 Jan 2014 20:25:21 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: All that I have learned about Python, I have learned through trial and error in IPython. I usually get the feel of an API or new module first in the shell, and then I can write code in my editor. I could give a talk on using an interactive shell to debug code and explore modules, in particular IPython but the the approach would be similar with others like IDLE or python or bpython. I introduced my work mentor to it, a purist with a mechanical keyboard tailored for vim use, and since then he has been using ipython on most of our Python-based work projects. If that's not a stunning recommendation, I don't know what is one. Let's call the talk "Getting a feel for the code" and in it I will talk about using Python REPL shells including python, IPython, and bpython. I'll talk about getting access to a Python REPL quickly and easily when in need, to appeal to a wider audience. Perhaps you see something interesting on Github and you want to see how it would work, but you're not a programmer yet and/or don't have a Python environment at your fingertips. I'll talk about PythonAnywhere, along with a blurb about getting an EC2 instance going. Could I use your code, Carl, as an example in the presentation? Thoughts? On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten wrote: > On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: > > by writing a Python script to get the pairwise distances between Divvy > bike > > stations from the Google Maps API using "by the bike" distances. > > I would like something about this. pretty much anything. > I use various google API stuff successfully, but it is almost a > surprise to me that things work. > and then when they don't work, that is also a surprise. > I think my main problem is I don't have a clue how to debug this > stuff, and I don't have a good feel for how to think about it. > > Like this code worked for over a year: > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 > > A month or so ago stopped working. It doesn't error, it just doesn't > give the same results it used to. (it should flip a youtube video from > unlisted to public.) (if anyone wants to hack on this, that one .py > should run on its own and it should be easy to get the creds setup so > you can test it on your own account, or set up a test account) > > I want that fixed, and I want a clue how one goes about figuring out > what is going on. > > I have also written code to talk to a goog spread sheet and calendar, > same feeling of uncertainty. > > So anything in this area should help. > > -- > Carl K > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Mon Jan 6 03:33:41 2014 From: shekay at pobox.com (sheila miguez) Date: Sun, 5 Jan 2014 20:33:41 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: I'm +1 for a talk from you. On Jan 5, 2014 8:25 PM, "Nick Bennett" wrote: > All that I have learned about Python, I have learned through trial and > error in IPython. I usually get the feel of an API or new module first in > the shell, and then I can write code in my editor. I could give a talk on > using an interactive shell to debug code and explore modules, in particular > IPython but the the approach would be similar with others like IDLE or > python or bpython. I introduced my work mentor to it, a purist with a > mechanical keyboard tailored for vim use, and since then he has been using > ipython on most of our Python-based work projects. If that's not a stunning > recommendation, I don't know what is one. > > Let's call the talk "Getting a feel for the code" and in it I will talk > about using Python REPL shells including python, IPython, and bpython. I'll > talk about getting access to a Python REPL quickly and easily when in need, > to appeal to a wider audience. Perhaps you see something interesting on > Github and you want to see how it would work, but you're not a programmer > yet and/or don't have a Python environment at your fingertips. I'll talk > about PythonAnywhere, along with a blurb about getting an EC2 instance > going. Could I use your code, Carl, as an example in the presentation? > > Thoughts? > > > On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten wrote: > >> On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: >> > by writing a Python script to get the pairwise distances between Divvy >> bike >> > stations from the Google Maps API using "by the bike" distances. >> >> I would like something about this. pretty much anything. >> I use various google API stuff successfully, but it is almost a >> surprise to me that things work. >> and then when they don't work, that is also a surprise. >> I think my main problem is I don't have a clue how to debug this >> stuff, and I don't have a good feel for how to think about it. >> >> Like this code worked for over a year: >> >> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 >> >> A month or so ago stopped working. It doesn't error, it just doesn't >> give the same results it used to. (it should flip a youtube video from >> unlisted to public.) (if anyone wants to hack on this, that one .py >> should run on its own and it should be easy to get the creds setup so >> you can test it on your own account, or set up a test account) >> >> I want that fixed, and I want a clue how one goes about figuring out >> what is going on. >> >> I have also written code to talk to a goog spread sheet and calendar, >> same feeling of uncertainty. >> >> So anything in this area should help. >> >> -- >> Carl K >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From danieltpeters at gmail.com Mon Jan 6 04:31:57 2014 From: danieltpeters at gmail.com (Daniel Peters) Date: Sun, 5 Jan 2014 21:31:57 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: +1 as well. love debugging talks. On Sun, Jan 5, 2014 at 8:33 PM, sheila miguez wrote: > I'm +1 for a talk from you. > On Jan 5, 2014 8:25 PM, "Nick Bennett" wrote: > >> All that I have learned about Python, I have learned through trial and >> error in IPython. I usually get the feel of an API or new module first in >> the shell, and then I can write code in my editor. I could give a talk on >> using an interactive shell to debug code and explore modules, in particular >> IPython but the the approach would be similar with others like IDLE or >> python or bpython. I introduced my work mentor to it, a purist with a >> mechanical keyboard tailored for vim use, and since then he has been using >> ipython on most of our Python-based work projects. If that's not a stunning >> recommendation, I don't know what is one. >> >> Let's call the talk "Getting a feel for the code" and in it I will talk >> about using Python REPL shells including python, IPython, and bpython. I'll >> talk about getting access to a Python REPL quickly and easily when in need, >> to appeal to a wider audience. Perhaps you see something interesting on >> Github and you want to see how it would work, but you're not a programmer >> yet and/or don't have a Python environment at your fingertips. I'll talk >> about PythonAnywhere, along with a blurb about getting an EC2 instance >> going. Could I use your code, Carl, as an example in the presentation? >> >> Thoughts? >> >> >> On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten wrote: >> >>> On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: >>> > by writing a Python script to get the pairwise distances between Divvy >>> bike >>> > stations from the Google Maps API using "by the bike" distances. >>> >>> I would like something about this. pretty much anything. >>> I use various google API stuff successfully, but it is almost a >>> surprise to me that things work. >>> and then when they don't work, that is also a surprise. >>> I think my main problem is I don't have a clue how to debug this >>> stuff, and I don't have a good feel for how to think about it. >>> >>> Like this code worked for over a year: >>> >>> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 >>> >>> A month or so ago stopped working. It doesn't error, it just doesn't >>> give the same results it used to. (it should flip a youtube video from >>> unlisted to public.) (if anyone wants to hack on this, that one .py >>> should run on its own and it should be easy to get the creds setup so >>> you can test it on your own account, or set up a test account) >>> >>> I want that fixed, and I want a clue how one goes about figuring out >>> what is going on. >>> >>> I have also written code to talk to a goog spread sheet and calendar, >>> same feeling of uncertainty. >>> >>> So anything in this area should help. >>> >>> -- >>> Carl K >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ascription at yahoo.com Mon Jan 6 04:34:44 2014 From: ascription at yahoo.com (Aaron Brady) Date: Sun, 5 Jan 2014 19:34:44 -0800 (PST) Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: <1388979284.97553.YahooMailNeo@web140201.mail.bf1.yahoo.com> Hi ChiPy, I'm the new guy. ?I'm the vegan Ms. Miguez referred to. I'm comfortable saying I'm a Python "vet" at this point. ?I've also been on stage as a musician before, all through school, so I have some experience in the performing arts. ?I would love to take a spot for a presentation if you have one available this Thursday. I have a bachelor's in CS. ?Not everybody does but they should. ?You should take some classes somewhere if you can. ?So some of the items I could present are a bit abstract. As I was telling #chipy on Freenode, I'm out in the suburbs but I lived in the city for 2 years before. ?I went to one of the meetings when it was back on the DePaul campus but dropped out after. Since then I've assembled a small collection of topics that are suitable for presentations. ?I'd love to present any or all of anything on the list, even the stuff that isn't directly Python. ?Please take a look, and if you have a slot but no one speaks up, I'll just start at the beginning. http://home.comcast.net/~castironpi-misc/projects.html On Sunday, January 5, 2014 8:34 PM, sheila miguez wrote: I'm +1 for a talk from you. On Jan 5, 2014 8:25 PM, "Nick Bennett" wrote: All that I have learned about Python, I have learned through trial and error in IPython. I usually get the feel of an API or new module first in the shell, and then I can write code in my editor. I could give a talk on using an interactive shell to debug code and explore modules, in particular IPython but the the approach would be similar with others like IDLE or python or bpython. I introduced my work mentor to it, a purist with a mechanical keyboard tailored for vim use, and since then he has been using ipython on most of our Python-based work projects. If that's not a stunning recommendation, I don't know what is one. > >Let's call the talk "Getting a feel for the code" and in it I will talk about using Python REPL shells including python, IPython, and bpython. I'll talk about getting access to a Python REPL quickly and easily when in need, to appeal to a wider audience. Perhaps you see something interesting on Github and you want to see how it would work, but you're not a programmer yet and/or don't have a Python environment at your fingertips. I'll talk about PythonAnywhere, along with a blurb about getting an EC2 instance going. Could I use your code, Carl, as an example in the presentation? > >Thoughts? > > > > >On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten wrote: > >On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: >>> by writing a Python script to get the pairwise distances between Divvy bike >>> stations from the Google Maps API using "by the bike" distances. >> >>I would like something about this. ?pretty much anything. >>I use various google API stuff successfully, but it is almost a >>surprise to me that things work. >>and then when they don't work, that is also a surprise. >>I think my main problem is I don't have a clue how to debug this >>stuff, and I don't have a good feel for how to think about it. >> >>Like this code worked for over a year: >>https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 >> >>A month or so ago stopped working. ?It doesn't error, it just doesn't >>give the same results it used to. (it should flip a youtube video from >>unlisted to public.) (if anyone wants to hack on this, that one .py >>should run on its own and it should be easy to get the creds setup so >>you can test it on your own account, or set up a test account) >> >>I want that fixed, and I want a clue how one goes about figuring out >>what is going on. >> >>I have also written code to talk to a goog spread sheet and calendar, >>same feeling of uncertainty. >> >>So anything in this area should help. >> >>-- >>Carl K >> >>_______________________________________________ >>Chicago mailing list >>Chicago at python.org >>https://mail.python.org/mailman/listinfo/chicago >> > >_______________________________________________ >Chicago mailing list >Chicago at python.org >https://mail.python.org/mailman/listinfo/chicago > > _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Mon Jan 6 07:01:38 2014 From: wirth.jason at gmail.com (Jason Wirth) Date: Mon, 6 Jan 2014 00:01:38 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: <1388979284.97553.YahooMailNeo@web140201.mail.bf1.yahoo.com> References: <1388979284.97553.YahooMailNeo@web140201.mail.bf1.yahoo.com> Message-ID: @Nick +1 for anything IPython. +1 for Divvy +1 for any kind of debugging @Aaron Welcome to Chipy! I looked through some of your projects and you mentioned the relevance of a CS degree; one thought, it could be nice to have a talk on "foundational" computer science topics. Your site also mentioned C/C++, I think some comparison to Python would be interesting. I recently came across this book Data Structures and Algorithms: Using Python and C++ and was intrigued by the reviewer's comment: Chapter eight introduces the C++ language to Python programmers and does a > great compare/contrast between the two languages. What I like most here is > that you'll end with a stronger understanding of Python when you see the > differences. -- Jason Wirth 213.675.5294 wirth.jason at gmail.com On Sun, Jan 5, 2014 at 9:34 PM, Aaron Brady wrote: > Hi ChiPy, > > I'm the new guy. I'm the vegan Ms. Miguez referred to. > > I'm comfortable saying I'm a Python "vet" at this point. I've also been > on stage as a musician before, all through school, so I have some > experience in the performing arts. I would love to take a spot for a > presentation if you have one available this Thursday. > > I have a bachelor's in CS. Not everybody does but they should. You > should take some classes somewhere if you can. So some of the items I > could present are a bit abstract. > > As I was telling #chipy on Freenode, I'm out in the suburbs but I lived in > the city for 2 years before. I went to one of the meetings when it was > back on the DePaul campus but dropped out after. > > Since then I've assembled a small collection of topics that are suitable > for presentations. I'd love to present any or all of anything on the list, > even the stuff that isn't directly Python. Please take a look, and if > you have a slot but no one speaks up, I'll just start at the beginning. > > http://home.comcast.net/~castironpi-misc/projects.html > > > On Sunday, January 5, 2014 8:34 PM, sheila miguez > wrote: > I'm +1 for a talk from you. > On Jan 5, 2014 8:25 PM, "Nick Bennett" wrote: > > All that I have learned about Python, I have learned through trial and > error in IPython. I usually get the feel of an API or new module first in > the shell, and then I can write code in my editor. I could give a talk on > using an interactive shell to debug code and explore modules, in particular > IPython but the the approach would be similar with others like IDLE or > python or bpython. I introduced my work mentor to it, a purist with a > mechanical keyboard tailored for vim use, and since then he has been using > ipython on most of our Python-based work projects. If that's not a stunning > recommendation, I don't know what is one. > > Let's call the talk "Getting a feel for the code" and in it I will talk > about using Python REPL shells including python, IPython, and bpython. I'll > talk about getting access to a Python REPL quickly and easily when in need, > to appeal to a wider audience. Perhaps you see something interesting on > Github and you want to see how it would work, but you're not a programmer > yet and/or don't have a Python environment at your fingertips. I'll talk > about PythonAnywhere, along with a blurb about getting an EC2 instance > going. Could I use your code, Carl, as an example in the presentation? > > Thoughts? > > > On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten wrote: > > On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: > > by writing a Python script to get the pairwise distances between Divvy > bike > > stations from the Google Maps API using "by the bike" distances. > > I would like something about this. pretty much anything. > I use various google API stuff successfully, but it is almost a > surprise to me that things work. > and then when they don't work, that is also a surprise. > I think my main problem is I don't have a clue how to debug this > stuff, and I don't have a good feel for how to think about it. > > Like this code worked for over a year: > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 > > A month or so ago stopped working. It doesn't error, it just doesn't > give the same results it used to. (it should flip a youtube video from > unlisted to public.) (if anyone wants to hack on this, that one .py > should run on its own and it should be easy to get the creds setup so > you can test it on your own account, or set up a test account) > > I want that fixed, and I want a clue how one goes about figuring out > what is going on. > > I have also written code to talk to a goog spread sheet and calendar, > same feeling of uncertainty. > > So anything in this area should help. > > -- > Carl K > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From szybalski at gmail.com Mon Jan 6 07:08:38 2014 From: szybalski at gmail.com (Lukasz Szybalski) Date: Mon, 6 Jan 2014 00:08:38 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: > I'd love for an excuse to get up and talk, but I just don't know what > would be interesting to an audience. I'll just say a few of the things I've > been fiddling with, someone speak up if any of this would be interesting to > hear about for a few minutes. > > Recently I've been distracted from ChiPy by going to the Open Gov Hack > Nights (http://opengovhacknight.org/) where I've been able to help Alex > Soble with his Divvy Bikes-related Chrome extension Divvy Brags ( > https://chrome.google.com/webstore/detail/divvybrags/obpfmeilmeicjimgkpekfgmaoelbbfpf) > by writing a Python script to get the pairwise distances between Divvy bike > stations from the Google Maps API using "by the bike" distances. The first > script I wrote actually used the MapQuest Open API: > https://gist.github.com/tothebeat/7783079 I complicated that script into > a little project to get pairwise distances from Google Maps or MapQuest > using the distanceMatrix request correctly: > https://github.com/tothebeat/pairwise-geo-distances > > I also dove into some Roadway Fatalities data, after seeing one too many > of those "there have been 900 deaths on the highway this year" from the > USHTA's FARS (enough initialisms?) which is available in DBF and SAS file > formats. I used a DBF-reading Python module that is never going to be on > the top 100 of Pypi downloads, and translated all roadway fatality data > provided for the years 1975 to 2012 into CSV format. All if this is on > Github and there's a little automatic page for it: > http://tothebeat.github.io/fatal-car-crashes/ > Above talk would be very interesting if you willing to talk about it. I wonder if there are people attending that would maybe wanted to talk about how to color code zipcodes, or how to put 1000 points on the map withing these zipcodes, using google maps API or some open stack. I always seem to get stuck on displaying a zipcode boundary on the map. Thanks Lucas -- http://lucasmanual.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Mon Jan 6 11:06:43 2014 From: carl at personnelware.com (Carl Karsten) Date: Mon, 6 Jan 2014 04:06:43 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: I would be ecstatic if you used me code! But.. This just in, which kinda trows a wrench in my excitement: My code, youtube_uploader.py is really just a wrapper around https://developers.google.com/gdata/ so that the rest of the system has a fairly consistent interface to various hosts, and I have some simple code to dev/test/debug. But if you look at the top of the gdata/ url: """ Warning: Most newer Google APIs are not Google Data APIs. The Google Data APIs documentation applies only to the older APIs that are listed in the Google Data APIs directory. For information about a specific new API, see that API's documentation. For information about authorizing requests with a newer API, see Google Accounts Authentication and Authorization. """ So seems I should throw out this whole thing and rewrite it using: https://developers.google.com/youtube/v3/ That will be what I put my next effort into, so if you can do something with that, it will be more helpful. The interface the rest of the system expects is what you see in def test_upload(): and def test_set_pub(): Here is where it is used: https://github.com/CarlFK/veyepar/blob/master/dj/scripts/post_yt.py#L153 https://github.com/CarlFK/veyepar/blob/master/dj/scripts/mk_public.py#L60 yes, pw.py is user/pw https://github.com/CarlFK/veyepar/blob/master/dj/scripts/sample_pw.py And maybe I should to this try/except thing to make it easier: like I do here: https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py#L24 it is 4am.. I need to sleep before my head falls on my keyboard. So look for that in a few hours ;) On Sun, Jan 5, 2014 at 8:33 PM, sheila miguez wrote: > I'm +1 for a talk from you. > > On Jan 5, 2014 8:25 PM, "Nick Bennett" wrote: >> >> All that I have learned about Python, I have learned through trial and >> error in IPython. I usually get the feel of an API or new module first in >> the shell, and then I can write code in my editor. I could give a talk on >> using an interactive shell to debug code and explore modules, in particular >> IPython but the the approach would be similar with others like IDLE or >> python or bpython. I introduced my work mentor to it, a purist with a >> mechanical keyboard tailored for vim use, and since then he has been using >> ipython on most of our Python-based work projects. If that's not a stunning >> recommendation, I don't know what is one. >> >> Let's call the talk "Getting a feel for the code" and in it I will talk >> about using Python REPL shells including python, IPython, and bpython. I'll >> talk about getting access to a Python REPL quickly and easily when in need, >> to appeal to a wider audience. Perhaps you see something interesting on >> Github and you want to see how it would work, but you're not a programmer >> yet and/or don't have a Python environment at your fingertips. I'll talk >> about PythonAnywhere, along with a blurb about getting an EC2 instance >> going. Could I use your code, Carl, as an example in the presentation? >> >> Thoughts? >> >> >> On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten >> wrote: >>> >>> On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: >>> > by writing a Python script to get the pairwise distances between Divvy >>> > bike >>> > stations from the Google Maps API using "by the bike" distances. >>> >>> I would like something about this. pretty much anything. >>> I use various google API stuff successfully, but it is almost a >>> surprise to me that things work. >>> and then when they don't work, that is also a surprise. >>> I think my main problem is I don't have a clue how to debug this >>> stuff, and I don't have a good feel for how to think about it. >>> >>> Like this code worked for over a year: >>> >>> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 >>> >>> A month or so ago stopped working. It doesn't error, it just doesn't >>> give the same results it used to. (it should flip a youtube video from >>> unlisted to public.) (if anyone wants to hack on this, that one .py >>> should run on its own and it should be easy to get the creds setup so >>> you can test it on your own account, or set up a test account) >>> >>> I want that fixed, and I want a clue how one goes about figuring out >>> what is going on. >>> >>> I have also written code to talk to a goog spread sheet and calendar, >>> same feeling of uncertainty. >>> >>> So anything in this area should help. >>> >>> -- >>> Carl K >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Carl K From randy7771026 at gmail.com Mon Jan 6 14:00:53 2014 From: randy7771026 at gmail.com (Randy Baxley) Date: Mon, 6 Jan 2014 07:00:53 -0600 Subject: [Chicago] I'm lonely presenter Message-ID: +1 On Sun, Jan 5, 2014 at 8:25 PM, Nick Bennett wrote: > All that I have learned about Python, I have learned through trial and > error in IPython. I usually get the feel of an API or new module first in > the shell, and then I can write code in my editor. I could give a talk on > using an interactive shell to debug code and explore modules, in particular > IPython but the the approach would be similar with others like IDLE or > python or bpython. I introduced my work mentor to it, a purist with a > mechanical keyboard tailored for vim use, and since then he has been using > ipython on most of our Python-based work projects. If that's not a stunning > recommendation, I don't know what is one. > > Let's call the talk "Getting a feel for the code" and in it I will talk > about using Python REPL shells including python, IPython, and bpython. I'll > talk about getting access to a Python REPL quickly and easily when in need, > to appeal to a wider audience. Perhaps you see something interesting on > Github and you want to see how it would work, but you're not a programmer > yet and/or don't have a Python environment at your fingertips. I'll talk > about PythonAnywhere, along with a blurb about getting an EC2 instance > going. Could I use your code, Carl, as an example in the presentation? > > Thoughts? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Mon Jan 6 14:05:35 2014 From: randy7771026 at gmail.com (Randy Baxley) Date: Mon, 6 Jan 2014 07:05:35 -0600 Subject: [Chicago] I'm lonely presenter Message-ID: The wonder of it all when a hack works and the frustrated wonder of it all when something breaks is shared by me. For those of us whose interaction outside of code does not have a support contract this can feel like swimming in wet cement. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Mon Jan 6 17:18:12 2014 From: shekay at pobox.com (sheila miguez) Date: Mon, 6 Jan 2014 10:18:12 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: On Mon, Jan 6, 2014 at 4:06 AM, Carl Karsten wrote: > > So seems I should throw out this whole thing and rewrite it using: > https://developers.google.com/youtube/v3/ > > That will be what I put my next effort into, so if you can do > something with that, it will be more > helpful. An interactive ipython session for playing with the api is fun and would also demonstrate skills that people use when troubleshooting things. I know I've done that before. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt at soulrobotic.com Mon Jan 6 16:54:58 2014 From: matt at soulrobotic.com (Matthew Erickson) Date: Mon, 6 Jan 2014 15:54:58 +0000 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: Oh dear; I've had that feeling even with the "support" contract- but those were The Days I Don't Think About when I hacked Fortran for a living. -- Matt On 1/6/14, 7:05 AM, "Randy Baxley" > wrote: The wonder of it all when a hack works and the frustrated wonder of it all when something breaks is shared by me. For those of us whose interaction outside of code does not have a support contract this can feel like swimming in wet cement. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Mon Jan 6 17:53:13 2014 From: shekay at pobox.com (sheila miguez) Date: Mon, 6 Jan 2014 10:53:13 -0600 Subject: [Chicago] Food for meeting and rsvps -- need to talk to host In-Reply-To: References: Message-ID: *crickets* On Sun, Jan 5, 2014 at 3:15 PM, sheila miguez wrote: > rsvp list > > If the sponsor needs to have names for security, I would like to be able > to pass along the meetup rsvp list in case anyone on meetup forgets to rsvp > on the chipy page. > > thanks > Does Dev Bootcamp have a security desk, and if so, will someone put me in touch with the host so that I can pass along the names from Meetup in case a meetup member forgets to rsvp on the chipy site. I haven't done this before, but then I saw that Adam did for the previous meeting, and well, that was rather nice of him. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Mon Jan 6 18:15:18 2014 From: randy7771026 at gmail.com (Randy Baxley) Date: Mon, 6 Jan 2014 11:15:18 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: In my Fortran days I was lucky to work for one of the two Exxon Research centers and we had more Docs and classes than many universities. I was in charge of maintaining our documentation for our propritary and purchased packages and I actually read it all. Made me quite a know it all to the point that word got back to me about some folks being trained not liking having 'Baxley preached to them by the instructors'. These days I need a Baxley to preach to me on how to build a product. I have enjoyed meeting the Dev Bootcamp folks at Open Gov and Urban Geeks Drink and am encouraged that Chipy is being hosted by them. Though I am not likely a candidate for their classes it would be encouraging and perhaps I would benefit second hand if they had an open gov and Python path. On Mon, Jan 6, 2014 at 9:54 AM, Matthew Erickson wrote: > Oh dear; I've had that feeling even with the "support" contract- but > those were The Days I Don't Think About when I hacked Fortran for a living. > > -- Matt > > On 1/6/14, 7:05 AM, "Randy Baxley" wrote: > > > > > The wonder of it all when a hack works and the frustrated wonder of it all > when something breaks is shared by me. For those of us whose interaction > outside of code does not have a support contract this can feel like > swimming in wet cement. > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From allanlesage at gmail.com Mon Jan 6 18:55:20 2014 From: allanlesage at gmail.com (Allan LeSage) Date: Mon, 6 Jan 2014 11:55:20 -0600 Subject: [Chicago] OT: comparison shopping for co-working spaces In-Reply-To: References: Message-ID: Belated thanks to everybody for their suggestions--I haven't committed anywhere mostly due to the expense, but I've been doing occasional meet-ups at coffee shops to co-work the afternoon. I'll add news to this thread if I do another demo. . . . On Fri, Jan 3, 2014 at 3:07 PM, Brian Curtin wrote: > On Wed, Nov 13, 2013 at 3:50 PM, Allan LeSage > wrote: > > > > Hi, > > > > I'm in the market for a co-working space and would like a listing and/or > > recommendations for some good ones within the city limits. > > > > I just spent a day at NextSpace formerly COOP, I've also visited the > > CivicLab; both are good matches but I'm being picky. > > Did you end up picking a spot? I've been lightly thinking about > joining a coworking space. > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Mon Jan 6 18:52:43 2014 From: brianhray at gmail.com (Brian Ray) Date: Mon, 6 Jan 2014 11:52:43 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: OK looks like we love all these proposals... Presenters, leaving this one up to you. Based on the feedback, propose your talk here: http://www.chipy.org/meetings/topics/propose Pretty please try and get this done by midnight tonight or contact me if you need more time. I want to get the invite out for the warmest meeting ever. On Mon, Jan 6, 2014 at 11:15 AM, Randy Baxley wrote: > In my Fortran days I was lucky to work for one of the two Exxon Research > centers and we had more Docs and classes than many universities. I was in > charge of maintaining our documentation for our propritary and purchased > packages and I actually read it all. Made me quite a know it all to the > point that word got back to me about some folks being trained not liking > having 'Baxley preached to them by the instructors'. These days I need a > Baxley to preach to me on how to build a product. I have enjoyed meeting > the Dev Bootcamp folks at Open Gov and Urban Geeks Drink and am encouraged > that Chipy is being hosted by them. Though I am not likely a candidate for > their classes it would be encouraging and perhaps I would benefit second > hand if they had an open gov and Python path. > > > On Mon, Jan 6, 2014 at 9:54 AM, Matthew Erickson wrote: > >> Oh dear; I've had that feeling even with the "support" contract- but >> those were The Days I Don't Think About when I hacked Fortran for a living. >> >> -- Matt >> >> On 1/6/14, 7:05 AM, "Randy Baxley" wrote: >> >> >> >> >> The wonder of it all when a hack works and the frustrated wonder of it >> all when something breaks is shared by me. For those of us whose >> interaction outside of code does not have a support contract this can feel >> like swimming in wet cement. >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Mon Jan 6 18:58:58 2014 From: brianhray at gmail.com (Brian Ray) Date: Mon, 6 Jan 2014 11:58:58 -0600 Subject: [Chicago] Venue announced for January 9th: Dev Bootcamp In-Reply-To: References: Message-ID: Carl: I filled this out. Just let me know (preferably off the list) if you need more details. On Sun, Jan 5, 2014 at 6:09 PM, Carl Karsten wrote: > bump bump > > On Tue, Dec 24, 2013 at 7:11 PM, Brian Ray wrote: > > I'll take care of this. Thanks for the reminder. > > > > > > On Tuesday, December 24, 2013, Carl Karsten wrote: > >> > >> bump > >> > >> paging someone from Dev Bootcamp > >> http://chipyvenue.pythonanywhere.com/ > >> > >> please park in the white form which is for loading data only. > >> > >> you can log back in to add more data later. > >> > >> > >> -- > >> Carl K > >> _______________________________________________ > >> Chicago mailing list > >> Chicago at python.org > >> https://mail.python.org/mailman/listinfo/chicago > > > > > > > > -- > > Brian Ray > > @brianray > > (773) 669-7717 > > > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > > > > -- > Carl K > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Mon Jan 6 19:22:24 2014 From: brianhray at gmail.com (Brian Ray) Date: Mon, 6 Jan 2014 12:22:24 -0600 Subject: [Chicago] Food for meeting and rsvps -- need to talk to host In-Reply-To: References: Message-ID: Sheila: Please enter the names into the Chipy.org RSVP list. See Cezar if you need access. Also, I filed a ticket about this https://github.com/chicagopython/chipy.org/issues/47 6 months ago. This was our concern of using two systems. The RSVP list on chipy.org is the only one that will be considered. Also, yes I requested Vegan option. If they can not provide, I will. I am in contact with the hosts so continue to filter any questions to me. Thanks! On Mon, Jan 6, 2014 at 10:53 AM, sheila miguez wrote: > *crickets* > > On Sun, Jan 5, 2014 at 3:15 PM, sheila miguez wrote: > >> rsvp list >> >> If the sponsor needs to have names for security, I would like to be able >> to pass along the meetup rsvp list in case anyone on meetup forgets to rsvp >> on the chipy page. >> >> thanks >> > > > Does Dev Bootcamp have a security desk, and if so, will someone put me in > touch with the host so that I can pass along the names from Meetup in case > a meetup member forgets to rsvp on the chipy site. I haven't done this > before, but then I saw that Adam did for the previous meeting, and well, > that was rather nice of him. > > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Mon Jan 6 19:39:35 2014 From: shekay at pobox.com (sheila miguez) Date: Mon, 6 Jan 2014 12:39:35 -0600 Subject: [Chicago] Food for meeting and rsvps -- need to talk to host In-Reply-To: References: Message-ID: On Mon, Jan 6, 2014 at 12:22 PM, Brian Ray wrote: > Sheila: > > Please enter the names into the Chipy.org RSVP list. See Cezar if you need > access. > I have access > Also, I filed a ticket about this > https://github.com/chicagopython/chipy.org/issues/47 6 months ago. This > was our concern of using two systems. The RSVP list on chipy.org is the > only one that will be considered. > Indeed. I still think it is worth using meetup despite the annoyances I have with it. I used to be adamently opposed. For a mild tangent, my grant request to the PSF to cover meetup organizer fees last year was accepted, and they asked if they could provide any other assistance. I mentioned that it would be nice to have someone write up a system to automatically sync meetup data with our data. I don't have a block of time for this, so I cannot do it. Basically, I'd like someone to write up a script that could use the meetup.com api to fetch RSVP data so that it can be frobbed and pushed to chipy.org's api. This presuppose that there is a chipy.org api, so if that doesn't exist yet, I'd want to someone to create that as well. The PSF doesn't usually provide that type of assistance but I figured it didn't hurt to ask. > Also, yes I requested Vegan option. If they can not provide, I will. > > I am in contact with the hosts so continue to filter any questions to me. > Thanks! > My preference would be to have more than one person in contact with a host so that you are not the single point of failure in the communication stream. I understand that we wouldn't want to bombard them with a lot of traffic from the entire list, but having 2 or 3 people would be helpful and would promote transparency. > > On Mon, Jan 6, 2014 at 10:53 AM, sheila miguez wrote: > >> *crickets* >> >> On Sun, Jan 5, 2014 at 3:15 PM, sheila miguez wrote: >> >>> rsvp list >>> >>> If the sponsor needs to have names for security, I would like to be able >>> to pass along the meetup rsvp list in case anyone on meetup forgets to rsvp >>> on the chipy page. >>> >>> thanks >>> >> >> >> Does Dev Bootcamp have a security desk, and if so, will someone put me in >> touch with the host so that I can pass along the names from Meetup in case >> a meetup member forgets to rsvp on the chipy site. I haven't done this >> before, but then I saw that Adam did for the previous meeting, and well, >> that was rather nice of him. >> >> >> -- >> sheila >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.barrios at sykes.com Mon Jan 6 19:08:01 2014 From: david.barrios at sykes.com (Barrios, David J.) Date: Mon, 6 Jan 2014 18:08:01 +0000 Subject: [Chicago] Job Opportunity: Software Engineer Message-ID: <6fc8d0d2656b4d179691c3a2cb1f2e8c@BLUPR06MB530.namprd06.prod.outlook.com> `Talent Sprout by Sykes `__ (Chicago, IL, USA) ======================================================================================== **Job Description**: Designing, developing and/or modifying enterprise-wide end-user, system level, and data management software applications. Responsible for meeting software compliance standards; evaluates integration of software applications with the overall computing environment; and documentation, testing, maintenance, and software updates. Communicates with domain experts, users, and management throughout the software development lifecycle. **Requirements** * Adheres to SYKES policies on ethics and integrity. * Develop in Python, HTML, and occasionally SQL, Django, and Java code. * Work within a SCRUM/Agile development process; provide actionable retrospective feedback; and cultivate a collaborative environment with technical/non-technical stakeholders. * Full lifecycle development process including design, development, testing and implementation of moderate complexity systems. * Write and review portions of detailed specifications of system components of simple to moderate complexity. * Interface with technical and non- technical personnel and/or team members to finalize requirements. * Provide feedback on technical tasks of simple to moderate complexity. * Support day to day operations of software. Develop enhancements to existing software code and enhance software tools to improve operations, productivity and reduce errors. * Contribute to design, code and test reviews. * Perform unit testing, reports results and makes recommendations to improve software code performance and scalability. * Develop and execute performance, integration and test plans in collaboration with QA team. (i.e. test monitoring, debugging, problem resolutions, etc.). * Commitment to meaningful feedback for schedule development and delivers high quality code as scheduled. * Commitment to Quality standards and process is required. * Install, Configure and Administer the Development Environment including Operating System, Web Server and SQL Server. * Keep up to date with interesting new developments and solutions in the web development world. * Ability to travel approximately 3 weeks per year within USA (i.e. training, stakeholder visit, user site visit, tech conference, etc.). * May perform other additional duties and responsibilities as assigned. **About the Company** A global provider of outsourced contact center services to leading companies worldwide, SYKES delivers customer service for international market leaders that include wireless carriers, credit card issuers, PC manufacturers and more. Together with Alpine Access/Talent Sprout, the new SYKES is reimagining a whole new world of opportunity. And that opportunity is quickly becoming reality as we proudly launch our new brand, SYKES Home Powered by Alpine Access. A simple, yet revolutionary approach to customer care: rather than bring the people to the work, bring the work to the people. ** Company Benefits ** * Medical * Dental * Vision * Life Insurance * Disability * Dependent Care * 401(k) * Tuition Assistance * Student Scholarship * 10 vacation days per year * 6 sick days per year * 1 Technical Course or Technical Event per year **Contact Info:** * **Contact**: David Barrios Director Software Development * **E-mail contact**: david.barrios at sykes.com * **Web**: http://talentsprout.com/#filter=.jobs * **No telecommuting** -------------- next part -------------- An HTML attachment was scrubbed... URL: From doc.n.try at gmail.com Mon Jan 6 20:23:26 2014 From: doc.n.try at gmail.com (Gang Huang) Date: Mon, 6 Jan 2014 13:23:26 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: @nick That's awesome for the divvy work. I was actually trying to implement json from divvy to look at path prediction for fun, which needs accurate distance calculation, before my free time disappeared. I'll love to hear how you are approaching it. On Jan 5, 2014 5:48 PM, "Nick Bennett" wrote: > I'd love for an excuse to get up and talk, but I just don't know what > would be interesting to an audience. I'll just say a few of the things I've > been fiddling with, someone speak up if any of this would be interesting to > hear about for a few minutes. > > Recently I've been distracted from ChiPy by going to the Open Gov Hack > Nights (http://opengovhacknight.org/) where I've been able to help Alex > Soble with his Divvy Bikes-related Chrome extension Divvy Brags ( > https://chrome.google.com/webstore/detail/divvybrags/obpfmeilmeicjimgkpekfgmaoelbbfpf) > by writing a Python script to get the pairwise distances between Divvy bike > stations from the Google Maps API using "by the bike" distances. The first > script I wrote actually used the MapQuest Open API: > https://gist.github.com/tothebeat/7783079 I complicated that script into > a little project to get pairwise distances from Google Maps or MapQuest > using the distanceMatrix request correctly: > https://github.com/tothebeat/pairwise-geo-distances > > I also dove into some Roadway Fatalities data, after seeing one too many > of those "there have been 900 deaths on the highway this year" from the > USHTA's FARS (enough initialisms?) which is available in DBF and SAS file > formats. I used a DBF-reading Python module that is never going to be on > the top 100 of Pypi downloads, and translated all roadway fatality data > provided for the years 1975 to 2012 into CSV format. All if this is on > Github and there's a little automatic page for it: > http://tothebeat.github.io/fatal-car-crashes/ > > I contributed to Open Gov Hack Night in a small way by fixing two bugs on > the issues list of civic-json-worker ( > https://github.com/open-city/civic-json-worker), the project that hits > the Github API and produces a JSON file that is then served up to power the > Open Gov Hack Night's project listing page ( > http://opengovhacknight.org/projects.html). I never knew contributing to > a project could be so simple. It was just a few lines of code in total, > there was more work involved in forking and formatting my git commit > message nicely and sending the pull request. > > I connected with a few other people at the hack night who wanted to try to > take a stab at scraping one of the City of Chicago's department websites, > namely their Business Solicitations search page ( > https://webapps1.cityofchicago.org/VCSearchWeb/org/cityofchicago/vcsearch/controller/solicitations/begin.do?agencyId=city). > One person had no prior programming experience, and another was familiar > but had not used Python extensively. We have a Github organization and repo > that is quietly developing bitrot: > https://github.com/bnjy-opengov/chi-solicitations-feed > > That's about as far into my project stash before I start to churn up real > inanity. > > > On Sun, Jan 5, 2014 at 5:24 PM, Brian Ray wrote: > >> I am not the only one getting up there thursday. Common folks, let's hear >> some topics proposals. What ya'all workin on huh? If I can do it, so can >> you ;) >> >> >> >> -- >> Brian Ray >> @brianray >> (773) 669-7717 >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Mon Jan 6 21:24:28 2014 From: carl at personnelware.com (Carl Karsten) Date: Mon, 6 Jan 2014 14:24:28 -0600 Subject: [Chicago] Venue announced for January 9th: Dev Bootcamp In-Reply-To: References: Message-ID: Brian - I'd like someone from Dev Bootcamp to fill this in. They have the best knowledge of the site and logistics involved and if they fill the form out directly there's less chance of miscommunication. It also gives me their contact information so I can speak to them directly. Generally, I think it's a good idea to have multiple people organizing/sharing information so that there are fewer points of failure. Can someone from Dev Bootcamp please create their own account and fill out the form? On Mon, Jan 6, 2014 at 11:58 AM, Brian Ray wrote: > Carl: > > I filled this out. Just let me know (preferably off the list) if you need > more details. > > > On Sun, Jan 5, 2014 at 6:09 PM, Carl Karsten wrote: >> >> bump bump >> >> On Tue, Dec 24, 2013 at 7:11 PM, Brian Ray wrote: >> > I'll take care of this. Thanks for the reminder. >> > >> > >> > On Tuesday, December 24, 2013, Carl Karsten wrote: >> >> >> >> bump >> >> >> >> paging someone from Dev Bootcamp >> >> http://chipyvenue.pythonanywhere.com/ >> >> >> >> please park in the white form which is for loading data only. >> >> >> >> you can log back in to add more data later. >> >> >> >> >> >> -- >> >> Carl K >> >> _______________________________________________ >> >> Chicago mailing list >> >> Chicago at python.org >> >> https://mail.python.org/mailman/listinfo/chicago >> > >> > >> > >> > -- >> > Brian Ray >> > @brianray >> > (773) 669-7717 >> > >> > >> > _______________________________________________ >> > Chicago mailing list >> > Chicago at python.org >> > https://mail.python.org/mailman/listinfo/chicago >> > >> >> >> >> -- >> Carl K >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago > > > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Carl K From carl at personnelware.com Tue Jan 7 00:15:02 2014 From: carl at personnelware.com (Carl Karsten) Date: Mon, 6 Jan 2014 17:15:02 -0600 Subject: [Chicago] need chipy.org login code Message-ID: a change to the chipy.org site blocks email addresses from the json api unless you are logged in. I need code to do that. Here is code that does it for http://pyohio.org/schedule/json/ https://github.com/CarlFK/veyepar/blob/master/tests/auth/uc.py If no one comes up with some code tonight, lets un-do the change to the site so I can work on this later. -- Carl K From emperorcezar at gmail.com Tue Jan 7 00:23:06 2014 From: emperorcezar at gmail.com (Adam "Cezar" Jenkins) Date: Mon, 6 Jan 2014 17:23:06 -0600 Subject: [Chicago] need chipy.org login code In-Reply-To: References: Message-ID: I'll get ya tonight. It's easy to turn on. On Jan 6, 2014 5:17 PM, "Carl Karsten" wrote: > a change to the chipy.org site blocks email addresses from the json > api unless you are logged in. > > I need code to do that. > > Here is code that does it for > http://pyohio.org/schedule/json/ > > https://github.com/CarlFK/veyepar/blob/master/tests/auth/uc.py > > If no one comes up with some code tonight, lets un-do the change to > the site so I can work on this later. > > -- > Carl K > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ascription at yahoo.com Tue Jan 7 02:38:28 2014 From: ascription at yahoo.com (Aaron Brady) Date: Mon, 6 Jan 2014 17:38:28 -0800 (PST) Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: <1389058708.99059.YahooMailNeo@web140203.mail.bf1.yahoo.com> This link was startling. ?I had just planned to ask people if they wanted to see one thing or another on my site. ?I don't have any slides. ?I could put together something but a whiteboard is fine if you have one. ?Can I just use someone else's laptop? ?Or even a workstation at the site? ?I would just need to put the text of the program on the screen, plus the image file if I make one. ?I don't even need to run it, it's just a test suite that passes. I'm driving, what is parking like? ?Can you get back in to the site to get your machine if you don't want to bring it to the bar? Don't sweat the food, the vegan, I'll just pick up a Subway on route. On Monday, January 6, 2014 11:59 AM, Brian Ray wrote: OK looks like we love all these proposals... Presenters, leaving this one up to you. Based on the feedback, propose your talk here:?http://www.chipy.org/meetings/topics/propose Pretty please try and get this done by midnight tonight or contact me if you need more time. I want to get the invite out for the warmest meeting ever. On Mon, Jan 6, 2014 at 11:15 AM, Randy Baxley wrote: In my Fortran days I was lucky to work for one of the two Exxon Research centers and we had more Docs and classes than many universities. ?I was in charge of maintaining our documentation for our propritary and purchased packages and I actually read it all. ?Made me quite a know it all to the point that word got back to me about some folks being trained not liking having 'Baxley preached to them by the instructors'. ?These days I need a Baxley to preach to me on how to build a product. ?I have enjoyed meeting the Dev Bootcamp folks at Open Gov and Urban Geeks Drink and am encouraged that Chipy is being hosted by them. ?Though I am not likely a candidate for their classes it would be encouraging and perhaps I would benefit second hand if they had an open gov and Python path. > > > >On Mon, Jan 6, 2014 at 9:54 AM, Matthew Erickson wrote: > >Oh dear; I've had that feeling even with the "support" contract- but those were The Days I Don't Think About when I hacked Fortran for a living. >> >> >>-- Matt >> >> >>On 1/6/14, 7:05 AM, "Randy Baxley" wrote: >> >> >> >>> >>> >>> >>> >>>The wonder of it all when a hack works and the frustrated wonder of it all when something breaks is shared by me. ?For those of us whose interaction outside of code does not have a support contract this can feel like swimming in wet cement. >> >>_______________________________________________ >>Chicago mailing list >>Chicago at python.org >>https://mail.python.org/mailman/listinfo/chicago >> >> > >_______________________________________________ >Chicago mailing list >Chicago at python.org >https://mail.python.org/mailman/listinfo/chicago > > -- Brian Ray? @brianray (773) 669-7717 _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Tue Jan 7 02:46:14 2014 From: brianhray at gmail.com (Brian Ray) Date: Mon, 6 Jan 2014 19:46:14 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: <1389058708.99059.YahooMailNeo@web140203.mail.bf1.yahoo.com> References: <1389058708.99059.YahooMailNeo@web140203.mail.bf1.yahoo.com> Message-ID: The vegan part is already taken care of. There is street parking but be careful where you park. They do enforce. You can use my laptop. Also, your talk is approved. On Mon, Jan 6, 2014 at 7:38 PM, Aaron Brady wrote: > This link was startling. I had just planned to ask people if they wanted > to see one thing or another on my site. I don't have any slides. I could > put together something but a whiteboard is fine if you have one. Can I > just use someone else's laptop? Or even a workstation at the site? I > would just need to put the text of the program on the screen, plus the > image file if I make one. I don't even need to run it, it's just a test > suite that passes. > > I'm driving, what is parking like? Can you get back in to the site to get > your machine if you don't want to bring it to the bar? > > Don't sweat the food, the vegan, I'll just pick up a Subway on route. > > > > On Monday, January 6, 2014 11:59 AM, Brian Ray > wrote: > OK looks like we love all these proposals... > > Presenters, leaving this one up to you. Based on the feedback, propose > your talk here: http://www.chipy.org/meetings/topics/propose > > > Pretty please try and get this done by midnight tonight or contact me if > you need more time. I want to get the invite out for the warmest meeting > ever. > > > > > > > On Mon, Jan 6, 2014 at 11:15 AM, Randy Baxley wrote: > > In my Fortran days I was lucky to work for one of the two Exxon Research > centers and we had more Docs and classes than many universities. I was in > charge of maintaining our documentation for our propritary and purchased > packages and I actually read it all. Made me quite a know it all to the > point that word got back to me about some folks being trained not liking > having 'Baxley preached to them by the instructors'. These days I need a > Baxley to preach to me on how to build a product. I have enjoyed meeting > the Dev Bootcamp folks at Open Gov and Urban Geeks Drink and am encouraged > that Chipy is being hosted by them. Though I am not likely a candidate for > their classes it would be encouraging and perhaps I would benefit second > hand if they had an open gov and Python path. > > > On Mon, Jan 6, 2014 at 9:54 AM, Matthew Erickson wrote: > > Oh dear; I've had that feeling even with the "support" contract- but > those were The Days I Don't Think About when I hacked Fortran for a living. > > -- Matt > > On 1/6/14, 7:05 AM, "Randy Baxley" wrote: > > > > > The wonder of it all when a hack works and the frustrated wonder of it all > when something breaks is shared by me. For those of us whose interaction > outside of code does not have a support contract this can feel like > swimming in wet cement. > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at goggl.es Tue Jan 7 04:52:13 2014 From: nick at goggl.es (Nick Bennett) Date: Mon, 6 Jan 2014 21:52:13 -0600 Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: @Gang and all, Divvy Bikes is the bike rental service that just set up shop here in Chicago sometime in the last 6 months. They installed 300 bike stations throughout the city, and plan to install 175 more. There is a JSON data feed on the bike stations here: http://divvybikes.com/stations/json If you want to view this nicely formatted, try here: http://jsonviewer.stack.hu/#http://divvybikes.com/stations/json This data includes latitude, longitude, station name (it's usually descriptive of where it is), total number of bikes, how many are currently available, and some other stuff. If you are a Divvy Bikes member, you can go to your online account and see a table of the stations where you picked up and dropped off bikes, along with the duration of the ride. Presumably this is for accounting purposes. Alex Soble created a Chrome browser extension that scrapes this table of data from the page and enriches it with the distance between the stations. While you more than likely did not ride straight from one station to another, this at least gives a lower bound ("You rode more than ___ miles!"). He then takes this distance and slices and dices it with the time and displays it very usefully with Highcharts. He also gives you a link to download your data as CSV so you can do what you want with it. Take a peek at his extension here, nice charts: https://chrome.google.com/webstore/detail/divvybrags/obpfmeilmeicjimgkpekfgmaoelbbfpf His Chrome browser extension is open source and hosted on Github: https://github.com/alexsoble/divvybrags2 He was featured in an article about a previous related project: http://www.dnainfo.com/chicago/20130926/south-loop/divvy-shuts-down-inventors-mileage-tracking-app Alex found his table of pick-ups and drop-offs was over 200 rows long, and with each row his Javascript code would make a Google Maps API call to get the distance. His extension also doesn't cache your data between visits to your profile, so every time he reloaded the page while developing the extension he had to wait for it to slog through 200+ Google Maps API call, easily 3-5 minutes. What his extension needed was a listing of distances for every possible pairwise combination of bike stations. With 300 stations, that's 300*299/2 or 44850 Google Maps API calls. But wait, the distance from station A to station B by bike might be different than station B to A based on bike routing information! 98700 API calls is a rather daunting figure when faced with the API usage limits for free accounts ( https://developers.google.com/maps/documentation/distancematrix/#Limits). The problem became solvable when I did a few things: - Alex got a Google Maps API BUSINESS key from the Smart Chicago Collaborative (http://www.smartchicagocollaborative.org/), which allowed us to use the much more generous rate limits of the Business account - I found that MapQuest has an open data version with a corresponding API, and they have very relaxed rate limits for anyone who goes to the simple trouble of creating a developer account. http://open.mapquestapi.com/directions/#matrix - I was using the distanceMatrix call inefficiently. I was originally sending it pairs of stations, pair by pair, which goes to show I didn't read the name of the function. Instead I sent it a 1xN matrix (a list) of stations and it returned N distances; that's the distance between the first station in the list and every station in the list including itself. By packing in as many stations as the respective API allowed (24ish for the Google distanceMatrix GET request (really weird that it's GET), 100 for the MapQuest POST request), I significantly reduced the number of API calls I had to make. I wrapped the distanceMatrix calls for both services in functions that take a list of stations as dictionaries that have at least 'latitude' and 'longitude' keys. They just rely on the third-party library requests ( http://docs.python-requests.org). I endeavoured to make them as readable as I could because I imagine myself having to read the code again in 6 months: https://github.com/tothebeat/pairwise-geo-distances/blob/master/mapquest.py https://github.com/tothebeat/pairwise-geo-distances/blob/master/googlemaps.py Those are just modules for the main script, that is meant to be run as a command-line script: https://github.com/tothebeat/pairwise-geo-distances/blob/master/station_distances.py There's similar data for NYC and D.C. Steve Vance told me about here: https://github.com/tothebeat/pairwise-geo-distances/tree/master/bike_stations_data I hope that helps! On Mon, Jan 6, 2014 at 1:23 PM, Gang Huang wrote: > @nick > That's awesome for the divvy work. I was actually trying to implement json > from divvy to look at path prediction for fun, which needs accurate > distance calculation, before my free time disappeared. I'll love to hear > how you are approaching it. > On Jan 5, 2014 5:48 PM, "Nick Bennett" wrote: > >> I'd love for an excuse to get up and talk, but I just don't know what >> would be interesting to an audience. I'll just say a few of the things I've >> been fiddling with, someone speak up if any of this would be interesting to >> hear about for a few minutes. >> >> Recently I've been distracted from ChiPy by going to the Open Gov Hack >> Nights (http://opengovhacknight.org/) where I've been able to help Alex >> Soble with his Divvy Bikes-related Chrome extension Divvy Brags ( >> https://chrome.google.com/webstore/detail/divvybrags/obpfmeilmeicjimgkpekfgmaoelbbfpf) >> by writing a Python script to get the pairwise distances between Divvy bike >> stations from the Google Maps API using "by the bike" distances. The first >> script I wrote actually used the MapQuest Open API: >> https://gist.github.com/tothebeat/7783079 I complicated that script into >> a little project to get pairwise distances from Google Maps or MapQuest >> using the distanceMatrix request correctly: >> https://github.com/tothebeat/pairwise-geo-distances >> >> I also dove into some Roadway Fatalities data, after seeing one too many >> of those "there have been 900 deaths on the highway this year" from the >> USHTA's FARS (enough initialisms?) which is available in DBF and SAS file >> formats. I used a DBF-reading Python module that is never going to be on >> the top 100 of Pypi downloads, and translated all roadway fatality data >> provided for the years 1975 to 2012 into CSV format. All if this is on >> Github and there's a little automatic page for it: >> http://tothebeat.github.io/fatal-car-crashes/ >> >> I contributed to Open Gov Hack Night in a small way by fixing two bugs on >> the issues list of civic-json-worker ( >> https://github.com/open-city/civic-json-worker), the project that hits >> the Github API and produces a JSON file that is then served up to power the >> Open Gov Hack Night's project listing page ( >> http://opengovhacknight.org/projects.html). I never knew contributing to >> a project could be so simple. It was just a few lines of code in total, >> there was more work involved in forking and formatting my git commit >> message nicely and sending the pull request. >> >> I connected with a few other people at the hack night who wanted to try >> to take a stab at scraping one of the City of Chicago's department >> websites, namely their Business Solicitations search page ( >> https://webapps1.cityofchicago.org/VCSearchWeb/org/cityofchicago/vcsearch/controller/solicitations/begin.do?agencyId=city). >> One person had no prior programming experience, and another was familiar >> but had not used Python extensively. We have a Github organization and repo >> that is quietly developing bitrot: >> https://github.com/bnjy-opengov/chi-solicitations-feed >> >> That's about as far into my project stash before I start to churn up real >> inanity. >> >> >> On Sun, Jan 5, 2014 at 5:24 PM, Brian Ray wrote: >> >>> I am not the only one getting up there thursday. Common folks, let's >>> hear some topics proposals. What ya'all workin on huh? If I can do it, so >>> can you ;) >>> >>> >>> >>> -- >>> Brian Ray >>> @brianray >>> (773) 669-7717 >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Tue Jan 7 14:40:25 2014 From: brianhray at gmail.com (Brian Ray) Date: Tue, 7 Jan 2014 07:40:25 -0600 Subject: [Chicago] [ANN] ChiPy January: Dev Bootcamp this Thursday 9th at 7pm Message-ID: Stay warm, come to ChiPy... This month's meeting is brought to you by Dev Bootcamp, an immersive 9-week computer programming program. http://devbootcamp.com/ Food and Drink Provided! Free and open to everyone ( no prior Python or Programming experience required). Bring a friend. RSVP -> http://chipy.org Dev Bootcamp 351 West Hubbard St. Suite #701 Chicago IL 60654 When: Jan. 9, 2014, 7 p.m. Topics: - *Lexical Graphs with Natural Language Processing using NLTK* (0:30:00 Minutes) By: Brian Ray Brian will talk about his experiences using Python and NLTK http://nltk.org/ to run language comparisons to generate lexical difference graphs like the one mentioned in the "Lexical Distance Among the Languages of Europe" article. http://bit.ly/1cS46Ba The focus will be on the NLTK and how its internals work to process a language. This talk will be his best one ever. - *Garbage Collection w/ Ref. Cycles* (0:30:00 Minutes) By: Aaron Brady Reference counting is very useful but it has an odd problem. We employ a technique from graphs to approach it. The solution works but it's a bit slow. - *There were 986 roadway fatalities in Illinois in 2013. Where's the data?* (0:20:00 Minutes) By: Nick Bennett Seen on garish LED roadway signs all around Chicago on New Year's Eve, 2013: 986 TRAFFIC DEATHS IN 2013. It leads to many questions: On what roads? When did the accidents happen? What do we do now? I'm scared to drive. I will talk about purging my fears by finding the data to answer some of those questions. http://tothebeat.github.io/fatal-car-crashes/This talk will involve PythonAnywhere, IPython, a module that's not even on PyPi (dbfpy), searching for and finding open government data, CartoDB, Google Fusion Tables, csv, and maybe Pandas. Rest assured, there will be no graphic photos. This will be our warmest meeting ever! RSVP Today http://chipy.org -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Tue Jan 7 20:05:30 2014 From: carl at personnelware.com (Carl Karsten) Date: Tue, 7 Jan 2014 13:05:30 -0600 Subject: [Chicago] need chipy.org login code In-Reply-To: References: Message-ID: did anything happen last night? On Mon, Jan 6, 2014 at 5:23 PM, Adam "Cezar" Jenkins wrote: > I'll get ya tonight. It's easy to turn on. > > On Jan 6, 2014 5:17 PM, "Carl Karsten" wrote: >> >> a change to the chipy.org site blocks email addresses from the json >> api unless you are logged in. >> >> I need code to do that. >> >> Here is code that does it for >> http://pyohio.org/schedule/json/ >> >> https://github.com/CarlFK/veyepar/blob/master/tests/auth/uc.py >> >> If no one comes up with some code tonight, lets un-do the change to >> the site so I can work on this later. >> >> -- >> Carl K >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Carl K From carl at personnelware.com Tue Jan 7 21:21:55 2014 From: carl at personnelware.com (Carl Karsten) Date: Tue, 7 Jan 2014 14:21:55 -0600 Subject: [Chicago] need chipy.org login code In-Reply-To: References: Message-ID: Oh! I can kill two birds with one stone! If I don't have an email, I'll send the emails here. Which will cover a request to post here when they are done. On Tue, Jan 7, 2014 at 1:05 PM, Carl Karsten wrote: > did anything happen last night? > > On Mon, Jan 6, 2014 at 5:23 PM, Adam "Cezar" Jenkins > wrote: >> I'll get ya tonight. It's easy to turn on. >> >> On Jan 6, 2014 5:17 PM, "Carl Karsten" wrote: >>> >>> a change to the chipy.org site blocks email addresses from the json >>> api unless you are logged in. >>> >>> I need code to do that. >>> >>> Here is code that does it for >>> http://pyohio.org/schedule/json/ >>> >>> https://github.com/CarlFK/veyepar/blob/master/tests/auth/uc.py >>> >>> If no one comes up with some code tonight, lets un-do the change to >>> the site so I can work on this later. >>> >>> -- >>> Carl K >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > > > -- > Carl K -- Carl K From emperorcezar at gmail.com Wed Jan 8 16:12:19 2014 From: emperorcezar at gmail.com (Cezar Jenkins) Date: Wed, 8 Jan 2014 09:12:19 -0600 Subject: [Chicago] need chipy.org login code In-Reply-To: References: Message-ID: I sent you something that works. That said. If you sent an email to the list when videos were done, that would be awesome. --? Cezar Jenkins @emperorcezar On January 7, 2014 at 2:22:36 PM, Carl Karsten (carl at personnelware.com) wrote: Oh! I can kill two birds with one stone! If I don't have an email, I'll send the emails here. Which will cover a request to post here when they are done. On Tue, Jan 7, 2014 at 1:05 PM, Carl Karsten wrote: > did anything happen last night? > > On Mon, Jan 6, 2014 at 5:23 PM, Adam "Cezar" Jenkins > wrote: >> I'll get ya tonight. It's easy to turn on. >> >> On Jan 6, 2014 5:17 PM, "Carl Karsten" wrote: >>> >>> a change to the chipy.org site blocks email addresses from the json >>> api unless you are logged in. >>> >>> I need code to do that. >>> >>> Here is code that does it for >>> http://pyohio.org/schedule/json/ >>> >>> https://github.com/CarlFK/veyepar/blob/master/tests/auth/uc.py >>> >>> If no one comes up with some code tonight, lets un-do the change to >>> the site so I can work on this later. >>> >>> -- >>> Carl K >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > > > -- > Carl K -- Carl K _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete at wearpants.org Wed Jan 8 18:49:48 2014 From: pete at wearpants.org (Peter Fein) Date: Wed, 8 Jan 2014 11:49:48 -0600 Subject: [Chicago] statsd decorators In-Reply-To: References: Message-ID: You might also check out http://measure-it.readthedocs.org/en/latest/ which I gave a talk on a few weeks ago. On Sat, Dec 21, 2013 at 11:04 AM, sheila miguez wrote: > Has anyone used this: > > https://pypi.python.org/pypi/perfmetrics > > I'm looking for decorators so I can send metrics to graphite without a lot > of code cancer. > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Peter Fein | wearpants.org | @wearpants I read email at the start and end of each day. IM if urgent. From brianhray at gmail.com Wed Jan 8 18:55:47 2014 From: brianhray at gmail.com (Brian Ray) Date: Wed, 8 Jan 2014 11:55:47 -0600 Subject: [Chicago] reminder to RSVP for tomorrow's meeting Message-ID: http://chipy.org It's going to be awesome. -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Wed Jan 8 19:34:15 2014 From: shekay at pobox.com (sheila miguez) Date: Wed, 8 Jan 2014 12:34:15 -0600 Subject: [Chicago] statsd decorators In-Reply-To: References: Message-ID: yes, thank you. my brain was fried and I hadn't gone back to the talk to find your project but kept meaning to. On Wed, Jan 8, 2014 at 11:49 AM, Peter Fein wrote: > You might also check out http://measure-it.readthedocs.org/en/latest/ > which I gave a talk on a few weeks ago. > > On Sat, Dec 21, 2013 at 11:04 AM, sheila miguez wrote: > > Has anyone used this: > > > > https://pypi.python.org/pypi/perfmetrics > > > > I'm looking for decorators so I can send metrics to graphite without a > lot > > of code cancer. > > > > -- > > sheila > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > > > > -- > Peter Fein | wearpants.org | @wearpants > > I read email at the start and end of each day. IM if urgent. > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Thu Jan 9 00:41:08 2014 From: shekay at pobox.com (sheila miguez) Date: Wed, 8 Jan 2014 17:41:08 -0600 Subject: [Chicago] reminder to RSVP for tomorrow's meeting In-Reply-To: References: Message-ID: Hey Brian, I can get a json response of the rsvps from meetup fairly easily, but the only way I can see to get this in to chipy is by using hte admin entry by entry. That is not going to happen. I'll give you the json though. On Wed, Jan 8, 2014 at 11:55 AM, Brian Ray wrote: > http://chipy.org > > It's going to be awesome. > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Thu Jan 9 01:47:35 2014 From: carl at personnelware.com (Carl Karsten) Date: Wed, 8 Jan 2014 18:47:35 -0600 Subject: [Chicago] Venue announced for January 9th: Dev Bootcamp In-Reply-To: References: Message-ID: bump bump bump bump + What are loading doc hours, and who is a contact for the loading doc? (will email) Still no email. Not sure when I should be showing up or what to do when I get there. On Mon, Jan 6, 2014 at 2:24 PM, Carl Karsten wrote: > Brian - > > I'd like someone from Dev Bootcamp to fill this in. They have the > best knowledge of the site and logistics involved and if they fill the > form out directly there's less chance of miscommunication. It also > gives me their contact information so I can speak to them directly. > Generally, I think it's a good idea to have multiple people > organizing/sharing information so that there are fewer points of > failure. > > Can someone from Dev Bootcamp please create their own account and fill > out the form? > > > > > On Mon, Jan 6, 2014 at 11:58 AM, Brian Ray wrote: >> Carl: >> >> I filled this out. Just let me know (preferably off the list) if you need >> more details. >> >> >> On Sun, Jan 5, 2014 at 6:09 PM, Carl Karsten wrote: >>> >>> bump bump >>> >>> On Tue, Dec 24, 2013 at 7:11 PM, Brian Ray wrote: >>> > I'll take care of this. Thanks for the reminder. >>> > >>> > >>> > On Tuesday, December 24, 2013, Carl Karsten wrote: >>> >> >>> >> bump >>> >> >>> >> paging someone from Dev Bootcamp >>> >> http://chipyvenue.pythonanywhere.com/ >>> >> >>> >> please park in the white form which is for loading data only. >>> >> >>> >> you can log back in to add more data later. >>> >> >>> >> >>> >> -- >>> >> Carl K >>> >> _______________________________________________ >>> >> Chicago mailing list >>> >> Chicago at python.org >>> >> https://mail.python.org/mailman/listinfo/chicago >>> > >>> > >>> > >>> > -- >>> > Brian Ray >>> > @brianray >>> > (773) 669-7717 >>> > >>> > >>> > _______________________________________________ >>> > Chicago mailing list >>> > Chicago at python.org >>> > https://mail.python.org/mailman/listinfo/chicago >>> > >>> >>> >>> >>> -- >>> Carl K >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >> >> >> >> >> -- >> Brian Ray >> @brianray >> (773) 669-7717 >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > > > -- > Carl K -- Carl K From brianhray at gmail.com Thu Jan 9 14:42:24 2014 From: brianhray at gmail.com (Brian Ray) Date: Thu, 9 Jan 2014 07:42:24 -0600 Subject: [Chicago] Venue announced for January 9th: Dev Bootcamp In-Reply-To: References: Message-ID: I'll find out and contact you off the list. On Wednesday, January 8, 2014, Carl Karsten wrote: > bump bump bump bump > > + What are loading doc hours, and who is a contact for the loading > doc? (will email) > Still no email. > > Not sure when I should be showing up or what to do when I get there. > > > > On Mon, Jan 6, 2014 at 2:24 PM, Carl Karsten > > wrote: > > Brian - > > > > I'd like someone from Dev Bootcamp to fill this in. They have the > > best knowledge of the site and logistics involved and if they fill the > > form out directly there's less chance of miscommunication. It also > > gives me their contact information so I can speak to them directly. > > Generally, I think it's a good idea to have multiple people > > organizing/sharing information so that there are fewer points of > > failure. > > > > Can someone from Dev Bootcamp please create their own account and fill > > out the form? > > > > > > > > > > On Mon, Jan 6, 2014 at 11:58 AM, Brian Ray > > wrote: > >> Carl: > >> > >> I filled this out. Just let me know (preferably off the list) if you > need > >> more details. > >> > >> > >> On Sun, Jan 5, 2014 at 6:09 PM, Carl Karsten > > wrote: > >>> > >>> bump bump > >>> > >>> On Tue, Dec 24, 2013 at 7:11 PM, Brian Ray > > wrote: > >>> > I'll take care of this. Thanks for the reminder. > >>> > > >>> > > >>> > On Tuesday, December 24, 2013, Carl Karsten wrote: > >>> >> > >>> >> bump > >>> >> > >>> >> paging someone from Dev Bootcamp > >>> >> http://chipyvenue.pythonanywhere.com/ > >>> >> > >>> >> please park in the white form which is for loading data only. > >>> >> > >>> >> you can log back in to add more data later. > >>> >> > >>> >> > >>> >> -- > >>> >> Carl K > >>> >> _______________________________________________ > >>> >> Chicago mailing list > >>> >> Chicago at python.org > >>> >> https://mail.python.org/mailman/listinfo/chicago > >>> > > >>> > > >>> > > >>> > -- > >>> > Brian Ray > >>> > @brianray > >>> > (773) 669-7717 > >>> > > >>> > > >>> > _______________________________________________ > >>> > Chicago mailing list > >>> > Chicago at python.org > >>> > https://mail.python.org/mailman/listinfo/chicago > >>> > > >>> > >>> > >>> > >>> -- > >>> Carl K > >>> _______________________________________________ > >>> Chicago mailing list > >>> Chicago at python.org > >>> https://mail.python.org/mailman/listinfo/chicago > >> > >> > >> > >> > >> -- > >> Brian Ray > >> @brianray > >> (773) 669-7717 > >> > >> _______________________________________________ > >> Chicago mailing list > >> Chicago at python.org > >> https://mail.python.org/mailman/listinfo/chicago > >> > > > > > > > > -- > > Carl K > > > > -- > Carl K > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Thu Jan 9 15:56:27 2014 From: brianhray at gmail.com (Brian Ray) Date: Thu, 9 Jan 2014 08:56:27 -0600 Subject: [Chicago] reminder to RSVP for tomorrow's meeting In-Reply-To: References: Message-ID: Let's chat off the list. We will figure something out. On Wed, Jan 8, 2014 at 5:41 PM, sheila miguez wrote: > Hey Brian, > > I can get a json response of the rsvps from meetup fairly easily, but the > only way I can see to get this in to chipy is by using hte admin entry by > entry. That is not going to happen. I'll give you the json though. > > > On Wed, Jan 8, 2014 at 11:55 AM, Brian Ray wrote: > >> http://chipy.org >> >> It's going to be awesome. >> >> -- >> Brian Ray >> @brianray >> (773) 669-7717 >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jp at zavteq.com Thu Jan 9 17:00:27 2014 From: jp at zavteq.com (JP Bader) Date: Thu, 9 Jan 2014 10:00:27 -0600 Subject: [Chicago] Report generators Message-ID: Hey ChiPy'ers, I'm doing research on report generators. In the past I've used Clarity and Jasper, but don't know much about the available options as it's been about 6-7 years since I've had to use a generator (with templates) versus just home-growing for clients. I've done BI work with Cognos and BusinessObjects, but those are way beyond scope. Are there some good suggestions people have used that are operable by non-technical users who want to make their own templates? I know licenses play a role as well, so commercial and OS versions are all appreciated as recommendations. Thanks, -- JP Bader Principal Zavteq, Inc. @lordB8r | jp at zavteq.com 608.692.2468 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jp at zavteq.com Thu Jan 9 22:22:42 2014 From: jp at zavteq.com (JP Bader) Date: Thu, 9 Jan 2014 15:22:42 -0600 Subject: [Chicago] OT: comparison shopping for co-working spaces In-Reply-To: References: Message-ID: I don't know if others are looking for something that's not downtown and not in the burbs, but I'll throw out there that my office has a few open spots. I've been here a year with a month-month contract. The space offers phone, internet, 24/7 access with security system, fridge, fax, heat/ac, et al. There are a total of 6 desks/cubes, each with its own layout, and I can get exact measurements if folks want to know more. Price is $475/mo. The space is in a restored warehouse/factory on Ravenswood, just north of Irving Park (1 block walk to the Brown line). It's the same building where Threadless started out. I'm working on setting up some dedicated IP blocks as well, in case folks want to host their own servers. It's just not big enough to host ChiPy, but it was used for an Onion shoot last year ( http://www.theonion.com/video/the-onions-tips-for-succeeding-as-a-woman-in-the-w,34594/ ) On Mon, Jan 6, 2014 at 11:55 AM, Allan LeSage wrote: > Belated thanks to everybody for their suggestions--I haven't committed > anywhere mostly due to the expense, but I've been doing occasional meet-ups > at coffee shops to co-work the afternoon. I'll add news to this thread if > I do another demo. . . . > > > > On Fri, Jan 3, 2014 at 3:07 PM, Brian Curtin wrote: > >> On Wed, Nov 13, 2013 at 3:50 PM, Allan LeSage >> wrote: >> > >> > Hi, >> > >> > I'm in the market for a co-working space and would like a listing and/or >> > recommendations for some good ones within the city limits. >> > >> > I just spent a day at NextSpace formerly COOP, I've also visited the >> > CivicLab; both are good matches but I'm being picky. >> >> Did you end up picking a spot? I've been lightly thinking about >> joining a coworking space. >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- JP Bader Principal Zavteq, Inc. @lordB8r | jp at zavteq.com 608.692.2468 -------------- next part -------------- An HTML attachment was scrubbed... URL: From szybalski at gmail.com Fri Jan 10 01:36:08 2014 From: szybalski at gmail.com (Lukasz Szybalski) Date: Thu, 9 Jan 2014 18:36:08 -0600 Subject: [Chicago] http://timvideos.us/chipy ? Message-ID: Hello, Is the meeting available via the timvideos.us? Getting Invalid group: chipy (valid groups [u'webb', u'lt2', u'lt1', u'default', u'rob', u'lcatv', u'octagon', u'gentilli', u'wool', u'config']) Thanks Lucas -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Fri Jan 10 04:08:24 2014 From: carl at personnelware.com (Carl Karsten) Date: Thu, 9 Jan 2014 21:08:24 -0600 Subject: [Chicago] http://timvideos.us/chipy ? In-Reply-To: References: Message-ID: nope. recordings are looking ok, should be up in a few hours. On Thu, Jan 9, 2014 at 6:36 PM, Lukasz Szybalski wrote: > Hello, > > Is the meeting available via the timvideos.us? > > Getting > > Invalid group: chipy (valid groups [u'webb', u'lt2', u'lt1', u'default', > u'rob', u'lcatv', u'octagon', u'gentilli', u'wool', u'config']) > > > > Thanks > Lucas > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Carl K From nick at goggl.es Fri Jan 10 08:36:01 2014 From: nick at goggl.es (Nick Bennett) Date: Fri, 10 Jan 2014 01:36:01 -0600 Subject: [Chicago] Thank you for your warm reception of my talk! Message-ID: Before I pass out, I wanted to thank everyone who attended ChiPy tonight for receiving my talk and for sharing some great ideas and insights into the roadway fatality data. I was a bit surprised by how well you responded to me talk, so I may have missed some feedback. Here are some of the ideas I heard: - Look at night versus day, correlating time of day with accidents - Sleep is the leading cause of accidents. What mechanisms could be used/required for keeping drivers awake, especially truck drivers? - Comparing accidents occurring on major streets versus minor streets If I have forgotten your suggestion, please reply and tell me. If you'd like to try working with these scripts, if you're just starting out with Python or still getting your sea legs, I made sure that the repository is small enough that you can download it with a free PythonAnywhere account. I could use your feedback on making my PythonAnywhere instructions more helpful: https://github.com/tothebeat/fatal-car-crashes#setup-on-pythonanywhere If you are interested in working on this data or other kinds of open-ish data, I would highly recommend going to the Open Gov Hack Night held every Tuesday at 6pm held at 1871 in the Merchandise Mart. http://opengovhacknight.org/ One thing I didn't mention in my presentation is that I suffer from major depression. I think this goes vastly under-reported; there's a terrible culture of silence surrounding this illness and I am determined to change this in some small way by talking about my own experience. At the Aaron Swartz Hackathon I talked a little bit about it and I was overwhelmed by the positive feedback I received. I wrote a little bit about how I find going to things like the Open Gov Hack Night (although ChiPy is also included) really help me: http://goggl.es/opengov-is-my-antidepressant/ Last but not least, remember the people behind the numbers. https://medium.com/p/47434acb50a8 Loving ChiPy, Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From dnfehrenbach at gmail.com Fri Jan 10 19:12:18 2014 From: dnfehrenbach at gmail.com (Daniel Fehrenbach) Date: Fri, 10 Jan 2014 12:12:18 -0600 Subject: [Chicago] Report generators In-Reply-To: References: Message-ID: I recently tried to identify things like this for work and was not really happy with anything available. Besides the ones you mentioned I looked at Pentaho (open source edition), Tableau, Microsoft Reporting Services and creating our own tools with ReportLab ( http://www.reportlab.com/software/opensource/). For the most part the subscription services were too expensive for us and the open source ones were too fragile to deploy as packaged without devoting time we don't have to create and maintain them. We're likely heading towards MS SRSS because we have SQL Server installed elsewhere but there were pretty serious compromised with all the options. Any other experiences or anecdotes would be appreciated. On Thu, Jan 9, 2014 at 10:00 AM, JP Bader wrote: > Hey ChiPy'ers, > > I'm doing research on report generators. In the past I've used Clarity and > Jasper, but don't know much about the available options as it's been about > 6-7 years since I've had to use a generator (with templates) versus just > home-growing for clients. I've done BI work with Cognos and > BusinessObjects, but those are way beyond scope. > > Are there some good suggestions people have used that are operable by > non-technical users who want to make their own templates? I know licenses > play a role as well, so commercial and OS versions are all appreciated as > recommendations. > > Thanks, > > -- > JP Bader > Principal > Zavteq, Inc. > @lordB8r | jp at zavteq.com > 608.692.2468 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ascription at yahoo.com Fri Jan 10 20:49:54 2014 From: ascription at yahoo.com (Aaron Brady) Date: Fri, 10 Jan 2014 11:49:54 -0800 (PST) Subject: [Chicago] I'm lonely presenter In-Reply-To: References: Message-ID: <1389383394.58542.YahooMailNeo@web140206.mail.bf1.yahoo.com> Hello again, It was my first time on camera, though I did have some experience on stage going in. ?Thanks everyone, you were a forgiving audience. The links I promised: ?My "projects page": http://home.comcast.net/~castironpi-misc/projects.html The module that was the subject of the talk: http://home.comcast.net/~castironpi-misc/irc-0084%20reference%20cycle%20breaker.py The sloppy diagram for practice: http://home.comcast.net/~castironpi-misc/irc-0084%20reference%20cycles.png On Monday, January 6, 2014 9:52 PM, Nick Bennett wrote: @Gang and all, Divvy Bikes is the bike rental service that just set up shop here in Chicago sometime in the last 6 months. They installed 300 bike stations throughout the city, and plan to install 175 more. There is a JSON data feed on the bike stations here: http://divvybikes.com/stations/json If you want to view this nicely formatted, try here: http://jsonviewer.stack.hu/#http://divvybikes.com/stations/json This data includes latitude, longitude, station name (it's usually descriptive of where it is), total number of bikes, how many are currently available, and some other stuff. If you are a Divvy Bikes member, you can go to your online account and see a table of the stations where you picked up and dropped off bikes, along with the duration of the ride. Presumably this is for accounting purposes. Alex Soble created a Chrome browser extension that scrapes this table of data from the page and enriches it with the distance between the stations. While you more than likely did not ride straight from one station to another, this at least gives a lower bound ("You rode more than ___ miles!"). He then takes this distance and slices and dices it with the time and displays it very usefully with Highcharts. He also gives you a link to download your data as CSV so you can do what you want with it. Take a peek at his extension here, nice charts: https://chrome.google.com/webstore/detail/divvybrags/obpfmeilmeicjimgkpekfgmaoelbbfpf His Chrome browser extension is open source and hosted on Github: https://github.com/alexsoble/divvybrags2 He was featured in an article about a previous related project: http://www.dnainfo.com/chicago/20130926/south-loop/divvy-shuts-down-inventors-mileage-tracking-app Alex found his table of pick-ups and drop-offs was over 200 rows long, and with each row his Javascript code would make a Google Maps API call to get the distance. His extension also doesn't cache your data between visits to your profile, so every time he reloaded the page while developing the extension he had to wait for it to slog through 200+ Google Maps API call, easily 3-5 minutes. What his extension needed was a listing of distances for every possible pairwise combination of bike stations. With 300 stations, that's 300*299/2 or 44850 Google Maps API calls. But wait, the distance from station A to station B by bike might be different than station B to A based on bike routing information! 98700 API calls is a rather daunting figure when faced with the API usage limits for free accounts (https://developers.google.com/maps/documentation/distancematrix/#Limits). The problem became solvable when I did a few things: - Alex got a Google Maps API BUSINESS key from the Smart Chicago Collaborative (http://www.smartchicagocollaborative.org/), which allowed us to use the much more generous rate limits of the Business account - I found that MapQuest has an open data version with a corresponding API, and they have very relaxed rate limits for anyone who goes to the simple trouble of creating a developer account. http://open.mapquestapi.com/directions/#matrix - I was using the distanceMatrix call inefficiently. I was originally sending it pairs of stations, pair by pair, which goes to show I didn't read the name of the function. Instead I sent it a 1xN matrix (a list) of stations and it returned N distances; that's the distance between the first station in the list and every station in the list including itself. By packing in as many stations as the respective API allowed (24ish for the Google distanceMatrix GET request (really weird that it's GET), 100 for the MapQuest POST request), I significantly reduced the number of API calls I had to make. I wrapped the distanceMatrix calls for both services in functions that take a list of stations as dictionaries that have at least 'latitude' and 'longitude' keys. They just rely on the third-party library requests (http://docs.python-requests.org). I endeavoured to make them as readable as I could because I imagine myself having to read the code again in 6 months: https://github.com/tothebeat/pairwise-geo-distances/blob/master/mapquest.py https://github.com/tothebeat/pairwise-geo-distances/blob/master/googlemaps.py Those are just modules for the main script, that is meant to be run as a command-line script: https://github.com/tothebeat/pairwise-geo-distances/blob/master/station_distances.py There's similar data for NYC and D.C. Steve Vance told me about here: https://github.com/tothebeat/pairwise-geo-distances/tree/master/bike_stations_data I hope that helps! On Mon, Jan 6, 2014 at 1:23 PM, Gang Huang wrote: @nick >That's awesome for the divvy work. I was actually trying to implement json from divvy to look at path prediction for fun, which needs accurate distance calculation, before my free time disappeared. I'll love to hear how you are approaching it. >On Jan 5, 2014 5:48 PM, "Nick Bennett" wrote: > >I'd love for an excuse to get up and talk, but I just don't know what would be interesting to an audience. I'll just say a few of the things I've been fiddling with, someone speak up if any of this would be interesting to hear about for a few minutes. >> >>Recently I've been distracted from ChiPy by going to the Open Gov Hack Nights (http://opengovhacknight.org/) where I've been able to help Alex Soble with his Divvy Bikes-related Chrome extension Divvy Brags (https://chrome.google.com/webstore/detail/divvybrags/obpfmeilmeicjimgkpekfgmaoelbbfpf) by writing a Python script to get the pairwise distances between Divvy bike stations from the Google Maps API using "by the bike" distances. The first script I wrote actually used the MapQuest Open API: https://gist.github.com/tothebeat/7783079 I complicated that script into a little project to get pairwise distances from Google Maps or MapQuest using the distanceMatrix request correctly: https://github.com/tothebeat/pairwise-geo-distances >> >>I also dove into some Roadway Fatalities data, after seeing one too many of those "there have been 900 deaths on the highway this year" from the USHTA's FARS (enough initialisms?) which is available in DBF and SAS file formats. I used a DBF-reading Python module that is never going to be on the top 100 of Pypi downloads, and translated all roadway fatality data provided for the years 1975 to 2012 into CSV format. All if this is on Github and there's a little automatic page for it: http://tothebeat.github.io/fatal-car-crashes/ >> >>I contributed to Open Gov Hack Night in a small way by fixing two bugs on the issues list of civic-json-worker (https://github.com/open-city/civic-json-worker), the project that hits the Github API and produces a JSON file that is then served up to power the Open Gov Hack Night's project listing page (http://opengovhacknight.org/projects.html). I never knew contributing to a project could be so simple. It was just a few lines of code in total, there was more work involved in forking and formatting my git commit message nicely and sending the pull request. >> >>I connected with a few other people at the hack night who wanted to try to take a stab at scraping one of the City of Chicago's department websites, namely their Business Solicitations search page (https://webapps1.cityofchicago.org/VCSearchWeb/org/cityofchicago/vcsearch/controller/solicitations/begin.do?agencyId=city). One person had no prior programming experience, and another was familiar but had not used Python extensively. We have a Github organization and repo that is quietly developing bitrot: https://github.com/bnjy-opengov/chi-solicitations-feed >> >>That's about as far into my project stash before I start to churn up real inanity. >> >> >> >> >>On Sun, Jan 5, 2014 at 5:24 PM, Brian Ray wrote: >> >>I am not the only one getting up there thursday. Common folks, let's hear some topics proposals. What ya'all workin on huh? If I can do it, so can you ;) >>> >>> >>> >>> >>> >>>-- >>>Brian Ray? >>>@brianray >>>(773) 669-7717 >>>_______________________________________________ >>>Chicago mailing list >>>Chicago at python.org >>>https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >>_______________________________________________ >>Chicago mailing list >>Chicago at python.org >>https://mail.python.org/mailman/listinfo/chicago >> >> >_______________________________________________ >Chicago mailing list >Chicago at python.org >https://mail.python.org/mailman/listinfo/chicago > > _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Fri Jan 10 21:36:47 2014 From: brianhray at gmail.com (Brian Ray) Date: Fri, 10 Jan 2014 14:36:47 -0600 Subject: [Chicago] Best meeting ever, last night Message-ID: My #*NLTK* #*Python* talk last night: Slides http://bit.ly/KPQlck IPython Notebook http://bit.ly/KPQlck Video http://youtu.be/cj-DTFmIUjE -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Fri Jan 10 21:38:31 2014 From: brianhray at gmail.com (Brian Ray) Date: Fri, 10 Jan 2014 14:38:31 -0600 Subject: [Chicago] Best meeting ever, last night In-Reply-To: References: Message-ID: IPython Notebook http://bit.ly/KK2YFm On Fri, Jan 10, 2014 at 2:36 PM, Brian Ray wrote: > My #*NLTK* #*Python* talk last night: > > Slides http://bit.ly/KPQlck > IPython Notebook http://bit.ly/KPQlck > Video http://youtu.be/cj-DTFmIUjE > > -- > Brian Ray > @brianray > (773) 669-7717 > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Jan 10 21:53:33 2014 From: shekay at pobox.com (sheila miguez) Date: Fri, 10 Jan 2014 14:53:33 -0600 Subject: [Chicago] Best meeting ever, last night In-Reply-To: References: Message-ID: I'll add the extra links to the pyvideo page once you have it out of draft mode. On Fri, Jan 10, 2014 at 2:38 PM, Brian Ray wrote: > IPython Notebook http://bit.ly/KK2YFm > > > On Fri, Jan 10, 2014 at 2:36 PM, Brian Ray wrote: > >> My #*NLTK* #*Python* talk last night: >> >> Slides http://bit.ly/KPQlck >> IPython Notebook http://bit.ly/KPQlck >> Video http://youtu.be/cj-DTFmIUjE >> >> -- >> Brian Ray >> @brianray >> (773) 669-7717 >> > > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Jan 10 21:58:27 2014 From: shekay at pobox.com (sheila miguez) Date: Fri, 10 Jan 2014 14:58:27 -0600 Subject: [Chicago] metadata for all the talks Message-ID: Hi all, I'm a pyvideo admin. I try to catch when y'all post links for the talks here so that I can add them to the video page. I see that Brian, Nick, and Adam shared links. Thanks guys, I'll add them soonish once the videos are out of draft mode (they still need the speakers to approve). Generally, If anyone has a favorite pyvideo talk that they'd like to add links to, let me know! -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Fri Jan 10 22:22:14 2014 From: wirth.jason at gmail.com (Jason Wirth) Date: Fri, 10 Jan 2014 15:22:14 -0600 Subject: [Chicago] Best meeting ever, last night In-Reply-To: References: Message-ID: There's an nbviewer site that renders public URLs (eg hosted on GitHub) in pretty HTML. http://nbviewer.ipython.org/ Brian, the notebooks are JSON and have a .ipynb extension. Your file looks different, did you export as .py? On Friday, January 10, 2014, sheila miguez wrote: > I'll add the extra links to the pyvideo page once you have it out of draft > mode. > > > On Fri, Jan 10, 2014 at 2:38 PM, Brian Ray wrote: > >> IPython Notebook http://bit.ly/KK2YFm >> >> >> On Fri, Jan 10, 2014 at 2:36 PM, Brian Ray wrote: >> >>> My #*NLTK* #*Python* talk last night: >>> >>> Slides http://bit.ly/KPQlck >>> IPython Notebook http://bit.ly/KPQlck >>> Video http://youtu.be/cj-DTFmIUjE >>> >>> -- >>> Brian Ray >>> @brianray >>> (773) 669-7717 >>> >> >> >> >> -- >> Brian Ray >> @brianray >> (773) 669-7717 >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > > -- > sheila > -- -- Jason Wirth 213.675.5294 wirth.jason at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ascription at yahoo.com Fri Jan 10 23:09:19 2014 From: ascription at yahoo.com (Aaron Brady) Date: Fri, 10 Jan 2014 14:09:19 -0800 (PST) Subject: [Chicago] metadata for all the talks In-Reply-To: References: Message-ID: <1389391759.96908.YahooMailNeo@web140203.mail.bf1.yahoo.com> Hi Sheila, The links I posted on the other thread would be great. ?I added them to the "youtube" page as a comment. ?You might want to "host" the file on the "chipy" or the "pyvideos" site directly. ?You can link directly to the file on my site and "fail over" to your cached copy if it's broken. On Friday, January 10, 2014 2:59 PM, sheila miguez wrote: Hi all, I'm a pyvideo admin. I try to catch when y'all post links for the talks here so that I can add them to the video page. I see that Brian, Nick, and Adam shared links. Thanks guys, I'll add them soonish once the videos are out of draft mode (they still need the speakers to approve). Generally, If anyone has a favorite pyvideo talk that they'd like to add links to, let me know! -- sheila _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Jan 10 23:47:26 2014 From: shekay at pobox.com (sheila miguez) Date: Fri, 10 Jan 2014 16:47:26 -0600 Subject: [Chicago] metadata for all the talks In-Reply-To: <1389391759.96908.YahooMailNeo@web140203.mail.bf1.yahoo.com> References: <1389391759.96908.YahooMailNeo@web140203.mail.bf1.yahoo.com> Message-ID: Oh hi all, This reply gives me a chance to explain a little about pvyideo.org and a little bit of what I know about Carl's process when it comes to listing videos there. Pyvideo is an video indexing site, and we don't host videos. However, Carl works with pyvideo for his shows and normally pushes videos to multiple places (youtube and archive, but not archive lately because < https://github.com/CarlFK/veyepar/issues/35>). Due to the blip-apocalypse, < http://holdenweb.blogspot.co.uk/2014/01/bliptv-deletes-python-content.html>, we downloaded everything we could find in pyvideo that was on blip and uploaded all the files to rackspace, after talking to Jesse (rackspace open source guy) about it. So maybe we should plan on making something that pushes everything to rackspace and archive.org despite who's using the pyvideo api/admin. hurrah. Ps. you can prevent cat massacres http://mediagoblin.org/news/on-prism.html On Fri, Jan 10, 2014 at 4:09 PM, Aaron Brady wrote: > Hi Sheila, > > The links I posted on the other thread would be great. I added them to > the "youtube" page as a comment. You might want to "host" the file on the > "chipy" or the "pyvideos" site directly. You can link directly to the file > on my site and "fail over" to your cached copy if it's broken. > > > > > On Friday, January 10, 2014 2:59 PM, sheila miguez > wrote: > Hi all, > > I'm a pyvideo admin. I try to catch when y'all post links for the talks > here so that I can add them to the video page. I see that Brian, Nick, and > Adam shared links. Thanks guys, I'll add them soonish once the videos are > out of draft mode (they still need the speakers to approve). > > Generally, If anyone has a favorite pyvideo talk that they'd like to add > links to, let me know! > > > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From rlspelich at gmail.com Sat Jan 11 23:47:33 2014 From: rlspelich at gmail.com (Robert Spelich) Date: Sat, 11 Jan 2014 16:47:33 -0600 Subject: [Chicago] regular expression headache Message-ID: Can anyone offer me a suggestion as to why a regular expression that validates on a testing tool would not match on the same string when run in a script or directly in the interpreter? I used 2 different online tools, one a general expression tool and one Python specific. They both matched, when run locally it does not match. I am using an re from a cookbook to match addresses in a database that start with a PO Box address. I am using 2.7. I am stumped. po_box = re.compile('^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') Thanks in advance if anyone can help me out. -Bob S. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tottinge at gmail.com Sun Jan 12 00:12:25 2014 From: tottinge at gmail.com (Tim Ottinger) Date: Sat, 11 Jan 2014 15:12:25 -0800 Subject: [Chicago] regular expression headache In-Reply-To: References: Message-ID: is the regex being run in a different engine? Quoting? Expanding/interpolating? On Sat, Jan 11, 2014 at 2:47 PM, Robert Spelich wrote: > Can anyone offer me a suggestion as to why a regular expression that > validates on a testing tool would not match on the same string when run in > a script or directly in the interpreter? I used 2 different online tools, > one a general expression tool and one Python specific. They both matched, > when run locally it does not match. > > I am using an re from a cookbook to match addresses in a database that > start with a PO Box address. I am using 2.7. I am stumped. > > po_box = re.compile('^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') > > Thanks in advance if anyone can help me out. > > -Bob S. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Tim Ottinger, Sr. Consultant, Industrial Logic ------------------------------------- http://www.industriallogic.com/ http://agileinaflash.com/ http://agileotter.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at agilitynerd.com Sun Jan 12 00:18:49 2014 From: steve at agilitynerd.com (Steve Schwarz) Date: Sat, 11 Jan 2014 17:18:49 -0600 Subject: [Chicago] regular expression headache In-Reply-To: References: Message-ID: Bob, Can you post your code/tests? Then we can try it out too and help debug what is going on. Best Regards, Steve Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ Dog Agility Search: http://googility.com/ Dog Agility Courses: http://agilitycourses.com/ http://www.facebook.com/AgilityNerd On Sat, Jan 11, 2014 at 4:47 PM, Robert Spelich wrote: > Can anyone offer me a suggestion as to why a regular expression that > validates on a testing tool would not match on the same string when run in > a script or directly in the interpreter? I used 2 different online tools, > one a general expression tool and one Python specific. They both matched, > when run locally it does not match. > > I am using an re from a cookbook to match addresses in a database that > start with a PO Box address. I am using 2.7. I am stumped. > > po_box = re.compile('^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') > > Thanks in advance if anyone can help me out. > > -Bob S. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Sun Jan 12 00:36:41 2014 From: brianhray at gmail.com (Brian Ray) Date: Sat, 11 Jan 2014 17:36:41 -0600 Subject: [Chicago] Best meeting ever, last night In-Reply-To: References: Message-ID: Ah, thanks Jason, you're brilliant: http://nbviewer.ipython.org/github/brianray/chipy_nlp/blob/master/docs/NPL%20ChiPy%20Jan%202014.ipynb Yes I exported as .py as well as .ipynb. A possible answer to someone's question regarding language identification using NLTK: https://code.google.com/p/nltk/source/browse/trunk/nltk_contrib/nltk_contrib/misc/langid.py On Friday, January 10, 2014, Jason Wirth wrote: > There's an nbviewer site that renders public URLs (eg hosted on GitHub) in pretty > HTML. > > http://nbviewer.ipython.org/ > > Brian, the notebooks are JSON and have a .ipynb extension. Your file looks > different, did you export as .py? > > > > On Friday, January 10, 2014, sheila miguez wrote: > >> I'll add the extra links to the pyvideo page once you have it out of >> draft mode. >> >> >> On Fri, Jan 10, 2014 at 2:38 PM, Brian Ray wrote: >> >>> IPython Notebook http://bit.ly/KK2YFm >>> >>> >>> On Fri, Jan 10, 2014 at 2:36 PM, Brian Ray wrote: >>> >>>> My #*NLTK* #*Python* talk last night: >>>> >>>> Slides http://bit.ly/KPQlck >>>> IPython Notebook http://bit.ly/KPQlck >>>> Video http://youtu.be/cj-DTFmIUjE >>>> >>>> -- >>>> Brian Ray >>>> @brianray >>>> (773) 669-7717 >>>> >>> >>> >>> >>> -- >>> Brian Ray >>> @brianray >>> (773) 669-7717 >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> >> -- >> sheila >> > > > -- > > -- > Jason Wirth > 213.675.5294 > wirth.jason at gmail.com 'wirth.jason at gmail.com');> > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rlspelich at gmail.com Sun Jan 12 00:40:46 2014 From: rlspelich at gmail.com (Robert Spelich) Date: Sat, 11 Jan 2014 17:40:46 -0600 Subject: [Chicago] regular expression headache In-Reply-To: References: Message-ID: import re address = 'PO Box 34' regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b") mo = regex.search(address) mo This should return a match object. It returns one when I test it at http://www.pythonregex.com. Thanks again.-Bob On Sat, Jan 11, 2014 at 5:18 PM, Steve Schwarz wrote: > Bob, > Can you post your code/tests? Then we can try it out too and help debug > what is going on. > > Best Regards, > Steve > Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ > Dog Agility Search: http://googility.com/ > Dog Agility Courses: http://agilitycourses.com/ > http://www.facebook.com/AgilityNerd > > On Sat, Jan 11, 2014 at 4:47 PM, Robert Spelich wrote: > >> Can anyone offer me a suggestion as to why a regular expression that >> validates on a testing tool would not match on the same string when run in >> a script or directly in the interpreter? I used 2 different online tools, >> one a general expression tool and one Python specific. They both matched, >> when run locally it does not match. >> >> I am using an re from a cookbook to match addresses in a database that >> start with a PO Box address. I am using 2.7. I am stumped. >> >> po_box = re.compile('^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') >> >> Thanks in advance if anyone can help me out. >> >> -Bob S. >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > > -- > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at agilitynerd.com Sun Jan 12 01:21:33 2014 From: steve at agilitynerd.com (Steve Schwarz) Date: Sat, 11 Jan 2014 18:21:33 -0600 Subject: [Chicago] regular expression headache In-Reply-To: References: Message-ID: I tested it in python 2.5, 2.7.6 and 3.3 and it fails in all of them. Seems to be the "\b", when I remove it it matches. Steve On Sat, Jan 11, 2014 at 5:40 PM, Robert Spelich wrote: > import re > address = 'PO Box 34' > regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b") > mo = regex.search(address) > mo > > This should return a match object. It returns one when I test it at > http://www.pythonregex.com. > > Thanks again.-Bob > > > On Sat, Jan 11, 2014 at 5:18 PM, Steve Schwarz wrote: > >> Bob, >> Can you post your code/tests? Then we can try it out too and help debug >> what is going on. >> >> Best Regards, >> Steve >> Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ >> Dog Agility Search: http://googility.com/ >> Dog Agility Courses: http://agilitycourses.com/ >> http://www.facebook.com/AgilityNerd >> >> On Sat, Jan 11, 2014 at 4:47 PM, Robert Spelich wrote: >> >>> Can anyone offer me a suggestion as to why a regular expression that >>> validates on a testing tool would not match on the same string when run in >>> a script or directly in the interpreter? I used 2 different online tools, >>> one a general expression tool and one Python specific. They both matched, >>> when run locally it does not match. >>> >>> I am using an re from a cookbook to match addresses in a database that >>> start with a PO Box address. I am using 2.7. I am stumped. >>> >>> po_box = re.compile('^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') >>> >>> Thanks in advance if anyone can help me out. >>> >>> -Bob S. >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> >> -- >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Best Regards, Steve Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ Dog Agility Search: http://googility.com/ Dog Agility Courses: http://agilitycourses.com/ http://www.facebook.com/AgilityNerd -------------- next part -------------- An HTML attachment was scrubbed... URL: From rlspelich at gmail.com Sun Jan 12 02:04:39 2014 From: rlspelich at gmail.com (Robert Spelich) Date: Sat, 11 Jan 2014 19:04:39 -0600 Subject: [Chicago] regular expression headache In-Reply-To: References: Message-ID: Steve, Thank you so much! I can't tell you how much time I spent trying to get this to run. -Bob S. On Sat, Jan 11, 2014 at 6:21 PM, Steve Schwarz wrote: > I tested it in python 2.5, 2.7.6 and 3.3 and it fails in all of them. > Seems to be the "\b", when I remove it it matches. > Steve > > > On Sat, Jan 11, 2014 at 5:40 PM, Robert Spelich wrote: > >> import re >> address = 'PO Box 34' >> regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b") >> mo = regex.search(address) >> mo >> >> This should return a match object. It returns one when I test it at >> http://www.pythonregex.com. >> >> Thanks again.-Bob >> >> >> On Sat, Jan 11, 2014 at 5:18 PM, Steve Schwarz wrote: >> >>> Bob, >>> Can you post your code/tests? Then we can try it out too and help debug >>> what is going on. >>> >>> Best Regards, >>> Steve >>> Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ >>> Dog Agility Search: http://googility.com/ >>> Dog Agility Courses: http://agilitycourses.com/ >>> http://www.facebook.com/AgilityNerd >>> >>> On Sat, Jan 11, 2014 at 4:47 PM, Robert Spelich wrote: >>> >>>> Can anyone offer me a suggestion as to why a regular expression that >>>> validates on a testing tool would not match on the same string when run in >>>> a script or directly in the interpreter? I used 2 different online tools, >>>> one a general expression tool and one Python specific. They both matched, >>>> when run locally it does not match. >>>> >>>> I am using an re from a cookbook to match addresses in a database that >>>> start with a PO Box address. I am using 2.7. I am stumped. >>>> >>>> po_box = re.compile('^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') >>>> >>>> Thanks in advance if anyone can help me out. >>>> >>>> -Bob S. >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> >>> -- >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > > -- > Best Regards, > Steve > Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ > Dog Agility Search: http://googility.com/ > Dog Agility Courses: http://agilitycourses.com/ > http://www.facebook.com/AgilityNerd > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at agilitynerd.com Sun Jan 12 02:42:02 2014 From: steve at agilitynerd.com (Steve Schwarz) Date: Sat, 11 Jan 2014 19:42:02 -0600 Subject: [Chicago] regular expression headache In-Reply-To: References: Message-ID: For me, when it comes to writing regexps I always write a ton of test strings ordered easy to hard and start from very short simple regexps until they all pass. On Saturday, January 11, 2014, Robert Spelich wrote: > Steve, > Thank you so much! I can't tell you how much time I spent trying to get > this to run. > -Bob S. > > > On Sat, Jan 11, 2014 at 6:21 PM, Steve Schwarz wrote: > > I tested it in python 2.5, 2.7.6 and 3.3 and it fails in all of them. > Seems to be the "\b", when I remove it it matches. > Steve > > > On Sat, Jan 11, 2014 at 5:40 PM, Robert Spelich wrote: > > import re > address = 'PO Box 34' > regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b") > mo = regex.search(address) > mo > > This should return a match object. It returns one when I test it at > http://www.pythonregex.com. > > Thanks again.-Bob > > > On Sat, Jan 11, 2014 at 5:18 PM, Steve Schwarz wrote: > > Bob, > Can you post your code/tests? Then we can try it out too and help debug > what is going on. > > Best Regards, > Steve > Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ > Dog Agility Search: http://googility.com/ > Dog Agility Courses: http://agilitycourses.com/ > http://www.facebook.com/AgilityNerd > > On Sat, Jan 11, 2014 at 4:47 PM, Robert Spelich wrote: > > Can anyone offer me a suggestion as to why a regular expression that > validates on a testing tool would not match on the same string when run in > a script or directly in the interpreter? I used 2 different online tools, > one a general expression tool and one Python specific. They both matched, > when run locally it does not match. > > I am using an re from a cookbook to match addresses in a database that > start with a PO Box address. I am using 2.7. I am stumped. > > po_box = re.compile('^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') > > Thanks in advance if anyone can help me out. > > -Bob S. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > > -- > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > > -- > Best Regards, > Steve > Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ > Dog Agility Search: > > -- Sent from my phone, sorry if it is brief. -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Sun Jan 12 14:55:28 2014 From: randy7771026 at gmail.com (Randy Baxley) Date: Sun, 12 Jan 2014 07:55:28 -0600 Subject: [Chicago] Best Chipy Meeting Ever!!! Message-ID: I was surprised at the number of folks who got out for the meeting and glad to see you all. The presentations all had such an open to growth and help me help others attitude from folks who are the best of Chipy in three very different areas. The time afterward at the venue and at the Shamrock Club both had a very encouraging energy. Randy 224-927-9886 randy7771026 at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hundredpercentjuice at gmail.com Mon Jan 13 17:35:16 2014 From: hundredpercentjuice at gmail.com (JS Irick) Date: Mon, 13 Jan 2014 11:35:16 -0500 Subject: [Chicago] regular expression headache In-Reply-To: References: Message-ID: Robert- You need to use raw strings for regular expressions, otherwise your regexp special characters will not be properly interpreted. (experts, please correct any terms I have wrong here) Replace this lineregex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b") withregex = re.compile(r'^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') Or you could escape your slashes:regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\\b") Thank you. -js On Sat, Jan 11, 2014 at 8:42 PM, Steve Schwarz wrote: > For me, when it comes to writing regexps I always write a ton of test > strings ordered easy to hard and start from very short simple regexps until > they all pass. > > On Saturday, January 11, 2014, Robert Spelich wrote: > >> Steve, >> Thank you so much! I can't tell you how much time I spent trying to get >> this to run. >> -Bob S. >> >> >> On Sat, Jan 11, 2014 at 6:21 PM, Steve Schwarz wrote: >> >> I tested it in python 2.5, 2.7.6 and 3.3 and it fails in all of them. >> Seems to be the "\b", when I remove it it matches. >> Steve >> >> >> On Sat, Jan 11, 2014 at 5:40 PM, Robert Spelich wrote: >> >> import re >> address = 'PO Box 34' >> regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b") >> mo = regex.search(address) >> mo >> >> This should return a match object. It returns one when I test it at >> http://www.pythonregex.com. >> >> Thanks again.-Bob >> >> >> On Sat, Jan 11, 2014 at 5:18 PM, Steve Schwarz wrote: >> >> Bob, >> Can you post your code/tests? Then we can try it out too and help debug >> what is going on. >> >> Best Regards, >> Steve >> Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ >> Dog Agility Search: http://googility.com/ >> Dog Agility Courses: http://agilitycourses.com/ >> http://www.facebook.com/AgilityNerd >> >> On Sat, Jan 11, 2014 at 4:47 PM, Robert Spelich wrote: >> >> Can anyone offer me a suggestion as to why a regular expression that >> validates on a testing tool would not match on the same string when run in >> a script or directly in the interpreter? I used 2 different online tools, >> one a general expression tool and one Python specific. They both matched, >> when run locally it does not match. >> >> I am using an re from a cookbook to match addresses in a database that >> start with a PO Box address. I am using 2.7. I am stumped. >> >> po_box = re.compile('^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') >> >> Thanks in advance if anyone can help me out. >> >> -Bob S. >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> >> >> >> -- >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> >> >> >> -- >> Best Regards, >> Steve >> Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ >> Dog Agility Search: >> >> > > -- > Sent from my phone, sorry if it is brief. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- ==== JS Irick 312-307-8904 Consultant: truqua.com Coach: atlascrossfit.com Programmer: juicetux.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From yarkot1 at gmail.com Mon Jan 13 19:56:37 2014 From: yarkot1 at gmail.com (Yarko Tymciurak) Date: Mon, 13 Jan 2014 12:56:37 -0600 Subject: [Chicago] regular expression headache In-Reply-To: References: Message-ID: On Jan 13, 2014 10:36 AM, "JS Irick" wrote: > > Robert- > > You need to use raw strings for regular expressions, otherwise your regexp special characters will not be properly interpreted. (experts, please correct any terms I have wrong here) > > Replace this line > regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b") > with > regex = re.compile(r'^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') > I would not offer this following "or" - it makes things conditional. The issue is that strings get interpreted on read, so if you put the string in a variable, how many times does it get interpreted? What about when you put it in a variable, and append or otherwise change it (someday) programmatically (think: settings). r'somethin' keeps it clean. > Or you could escape your slashes: > regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\\b") > > Thank you. -js > > > On Sat, Jan 11, 2014 at 8:42 PM, Steve Schwarz wrote: >> >> For me, when it comes to writing regexps I always write a ton of test strings ordered easy to hard and start from very short simple regexps until they all pass. >> >> On Saturday, January 11, 2014, Robert Spelich wrote: >>> >>> Steve, >>> Thank you so much! I can't tell you how much time I spent trying to get this to run. >>> -Bob S. >>> >>> >>> On Sat, Jan 11, 2014 at 6:21 PM, Steve Schwarz wrote: >>>> >>>> I tested it in python 2.5, 2.7.6 and 3.3 and it fails in all of them. Seems to be the "\b", when I remove it it matches. >>>> Steve >>>> >>>> >>>> On Sat, Jan 11, 2014 at 5:40 PM, Robert Spelich wrote: >>>>> >>>>> import re >>>>> address = 'PO Box 34' >>>>> regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b") >>>>> mo = regex.search(address) >>>>> mo >>>>> >>>>> This should return a match object. It returns one when I test it at http://www.pythonregex.com. >>>>> >>>>> Thanks again.-Bob >>>>> >>>>> >>>>> On Sat, Jan 11, 2014 at 5:18 PM, Steve Schwarz wrote: >>>>>> >>>>>> Bob, >>>>>> Can you post your code/tests? Then we can try it out too and help debug what is going on. >>>>>> >>>>>> Best Regards, >>>>>> Steve >>>>>> Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ >>>>>> Dog Agility Search: http://googility.com/ >>>>>> Dog Agility Courses: http://agilitycourses.com/ >>>>>> http://www.facebook.com/AgilityNerd >>>>>> >>>>>> On Sat, Jan 11, 2014 at 4:47 PM, Robert Spelich wrote: >>>>>>> >>>>>>> Can anyone offer me a suggestion as to why a regular expression that validates on a testing tool would not match on the same string when run in a script or directly in the interpreter? I used 2 different online tools, one a general expression tool and one Python specific. They both matched, when run locally it does not match. >>>>>>> >>>>>>> I am using an re from a cookbook to match addresses in a database that start with a PO Box address. I am using 2.7. I am stumped. >>>>>>> >>>>>>> po_box = re.compile('^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') >>>>>>> >>>>>>> Thanks in advance if anyone can help me out. >>>>>>> >>>>>>> -Bob S. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Chicago mailing list >>>>>>> Chicago at python.org >>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>> >>>> >>>> >>>> -- >>>> Best Regards, >>>> Steve >>>> Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ >>>> Dog Agility Search: >> >> >> >> -- >> Sent from my phone, sorry if it is brief. >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > > > -- > ==== > JS Irick > 312-307-8904 > Consultant: truqua.com > Coach: atlascrossfit.com > Programmer: juicetux.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rlspelich at gmail.com Tue Jan 14 04:11:39 2014 From: rlspelich at gmail.com (Robert Spelich) Date: Mon, 13 Jan 2014 21:11:39 -0600 Subject: [Chicago] regular expression headache In-Reply-To: References: Message-ID: Thanks Yarko. I'll give it a try. On Mon, Jan 13, 2014 at 12:56 PM, Yarko Tymciurak wrote: > > On Jan 13, 2014 10:36 AM, "JS Irick" > wrote: > > > > Robert- > > > > You need to use raw strings for regular expressions, otherwise your > regexp special characters will not be properly interpreted. (experts, > please correct any terms I have wrong here) > > > > Replace this line > > regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b") > > with > > regex = re.compile(r'^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') > > > > I would not offer this following "or" - it makes things conditional. > > The issue is that strings get interpreted on read, so if you put the > string in a variable, how many times does it get interpreted? What about > when you put it in a variable, and append or otherwise change it (someday) > programmatically (think: settings). > > > r'somethin' keeps it clean. > > > > Or you could escape your slashes: > > regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\\b") > > > > Thank you. -js > > > > > > On Sat, Jan 11, 2014 at 8:42 PM, Steve Schwarz > wrote: > >> > >> For me, when it comes to writing regexps I always write a ton of test > strings ordered easy to hard and start from very short simple regexps until > they all pass. > >> > >> On Saturday, January 11, 2014, Robert Spelich wrote: > >>> > >>> Steve, > >>> Thank you so much! I can't tell you how much time I spent trying to > get this to run. > >>> -Bob S. > >>> > >>> > >>> On Sat, Jan 11, 2014 at 6:21 PM, Steve Schwarz > wrote: > >>>> > >>>> I tested it in python 2.5, 2.7.6 and 3.3 and it fails in all of them. > Seems to be the "\b", when I remove it it matches. > >>>> Steve > >>>> > >>>> > >>>> On Sat, Jan 11, 2014 at 5:40 PM, Robert Spelich > wrote: > >>>>> > >>>>> import re > >>>>> address = 'PO Box 34' > >>>>> regex = re.compile("^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b") > >>>>> mo = regex.search(address) > >>>>> mo > >>>>> > >>>>> This should return a match object. It returns one when I test it at > http://www.pythonregex.com. > >>>>> > >>>>> Thanks again.-Bob > >>>>> > >>>>> > >>>>> On Sat, Jan 11, 2014 at 5:18 PM, Steve Schwarz < > steve at agilitynerd.com> wrote: > >>>>>> > >>>>>> Bob, > >>>>>> Can you post your code/tests? Then we can try it out too and help > debug what is going on. > >>>>>> > >>>>>> Best Regards, > >>>>>> Steve > >>>>>> Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ > >>>>>> Dog Agility Search: http://googility.com/ > >>>>>> Dog Agility Courses: http://agilitycourses.com/ > >>>>>> http://www.facebook.com/AgilityNerd > >>>>>> > >>>>>> On Sat, Jan 11, 2014 at 4:47 PM, Robert Spelich < > rlspelich at gmail.com> wrote: > >>>>>>> > >>>>>>> Can anyone offer me a suggestion as to why a regular expression > that validates on a testing tool would not match on the same string when > run in a script or directly in the interpreter? I used 2 different online > tools, one a general expression tool and one Python specific. They both > matched, when run locally it does not match. > >>>>>>> > >>>>>>> I am using an re from a cookbook to match addresses in a database > that start with a PO Box address. I am using 2.7. I am stumped. > >>>>>>> > >>>>>>> po_box = re.compile('^(?:Post (?:Office )?|P[. ]?O\.? )?Box\b') > >>>>>>> > >>>>>>> Thanks in advance if anyone can help me out. > >>>>>>> > >>>>>>> -Bob S. > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> Chicago mailing list > >>>>>>> Chicago at python.org > >>>>>>> https://mail.python.org/mailman/listinfo/chicago > >>>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> -- > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> Chicago mailing list > >>>>>> Chicago at python.org > >>>>>> https://mail.python.org/mailman/listinfo/chicago > >>>>>> > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> Chicago mailing list > >>>>> Chicago at python.org > >>>>> https://mail.python.org/mailman/listinfo/chicago > >>>>> > >>>> > >>>> > >>>> > >>>> -- > >>>> Best Regards, > >>>> Steve > >>>> Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ > >>>> Dog Agility Search: > >> > >> > >> > >> -- > >> Sent from my phone, sorry if it is brief. > >> > >> _______________________________________________ > >> Chicago mailing list > >> Chicago at python.org > >> https://mail.python.org/mailman/listinfo/chicago > >> > > > > > > > > -- > > ==== > > JS Irick > > 312-307-8904 > > Consultant: truqua.com > > Coach: atlascrossfit.com > > Programmer: juicetux.com > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Wed Jan 15 18:10:51 2014 From: shekay at pobox.com (sheila miguez) Date: Wed, 15 Jan 2014 11:10:51 -0600 Subject: [Chicago] scientific programming / code review pilot Message-ID: http://software-carpentry.org/blog/2014/01/code-review-round-2.html Mozilla Science Lab/Software-Carpentry folks are looking for participants for a study on code review with scientific programmers -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtobis at gmail.com Wed Jan 15 18:41:22 2014 From: mtobis at gmail.com (Michael Tobis) Date: Wed, 15 Jan 2014 11:41:22 -0600 Subject: [Chicago] scientific programming / code review pilot In-Reply-To: References: Message-ID: Sigh. Born too soon, yet again. This is a great idea. I wonder how much enthusiasm it will generate among scientists. I think there is a question here about how much the potential mentors know about code review. I've always been enthusiastic about the concept but could never get it to happen either in the academic or commercial settings where I have found myself. So even people who believe that code review is necessary may never have really done it. mt On Wed, Jan 15, 2014 at 11:10 AM, sheila miguez wrote: > http://software-carpentry.org/blog/2014/01/code-review-round-2.html > > Mozilla Science Lab/Software-Carpentry folks are looking for participants > for a study on code review with scientific programmers > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > From shekay at pobox.com Wed Jan 15 18:52:23 2014 From: shekay at pobox.com (sheila miguez) Date: Wed, 15 Jan 2014 11:52:23 -0600 Subject: [Chicago] scientific programming / code review pilot In-Reply-To: References: Message-ID: On Wed, Jan 15, 2014 at 11:41 AM, Michael Tobis wrote: > I think there is a question here about how much the potential mentors > know about code review. I've always been enthusiastic about the > They pair industry programmers with scientific programmers. Also in question would be how valuable the review would be if the reviewer is not familiar with the project. More details from the first study are here. http://mozillascience.org/code-review-for-science-what-we-learned/ http://arxiv.org/abs/1311.2412 This experiment was a means to explore the following: > > - What does code review from a software engineer outside of academia > look like? How do they approach the task? > - To what extent is domain knowledge needed to do a successful code > review? Is the code parseable by someone outside of that discipline? > - What lessons can be learned about code review, possibly to influence > and enhance traditional peer review? > - Does this process surface issues around best practice in writing > software and code? If so, what are those issues? > - Following the review, how useful are the comments to the author? > Does this feedback help them in their work? How can we change those norms? > > -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at paulmayassociates.com Wed Jan 15 18:18:49 2014 From: paul at paulmayassociates.com (Paul May) Date: Wed, 15 Jan 2014 17:18:49 -0000 Subject: [Chicago] From PMA - Position: Python Architect Contract or full time Message-ID: <625431304251514@198.154.215.62:26> Good morning ChiPy members and Happy New Year. Let me know if anyone is interested or knows some interested in this role. Could be hourly contract for a full time role. Hopefully everyone is de-thawing out +1 ;-) Python Architect - contract or full time Location - Deerfield, IL 60015 Salary or hourly commensurate with experience Python Architect ? Assist staff with developing an "as-built" suite of architecture documentation for the Solution. Identify gaps or issues with the technology stack and suggest improvements. ? Design and architect modifications to the overall systems architecture to improve the system reliability and performance. ? Write server-side code for web-applications, create high-volume production applications, and develop prototypes quickly. ? Work with Web Services and the development of software application and features. ? Design, develop, code, test, implementation and support of all phases of the software development lifecycle using Python. ? Work collaboratively with other internal development teams, Product teams and QA teams on the design and integration of new software and features. Requirements: ? Minimum of 10 years of solid server side web-application software development experience in Python ? Understanding of object oriented concepts, using formal development methods. (Experience with agile/test driven methodologies a plus) ? Experience with SQL ? Develop robust, secure, complex, scalable, high volume, commercial-grade web applications ? Financial and business workflow development experience ? Expertise with all phases of the software development lifecycle, including requirements analysis, design, coding, testing, implementation, and support ? Work in a collaborative team environment ? Excellent verbal and written skills Desired Experience: ? Behavior Driven Development ? Architecture and systems development ? Experience with PostgreSQL or SQLAlchemy database programming ? Application development experience using Linux, Apache, Django, Webware, SQLObject, Reportlab technologies ? Business Process focused systems is a plus Click here to apply online Thanks, Paul President v 708-479-1111 c 312-925-1294 Paul May & Associates, Inc. (PMA) paul at paulmayassociates.com link up http://www.linkedin.com/in/paulmayassociates like us on http://www.facebook.com/paulmayassociates Search over 100 real jobs www.paulmayassociates.com Note:- If you do not wish to receive emails from Paul May & Associates, please send an email to remove at paulmayassociates.com and put REMOVE in the Subject line. (The following links were included with this email:) http://jobs.paulmayassociates.com/pcrbin/apply.asp?r=FLJ4ydZSB%2b1S1pYOQWAbHcoplFDZ6ZrI9yUyMDm%2bynDv0zKXWGgz8GlGpI7mWhzGG3DbbCY%3d mailto:paul at paulmayassociates.com http://www.linkedin.com/in/paulmayassociates http://www.facebook.com/paulmayassociates http://www.paulmayassociates.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Thu Jan 16 05:14:23 2014 From: brianhray at gmail.com (Brian Ray) Date: Wed, 15 Jan 2014 22:14:23 -0600 Subject: [Chicago] Good news: February Venue Announced Message-ID: Our host for February will be Bank of America at the historical: Bank of America Building (Field Building) 135 South LaSalle, 43rd floor Chicago, IL 60604 This surely will be our best meeting ever. RSVP is now open http://chipy.org -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Thu Jan 16 05:15:44 2014 From: wirth.jason at gmail.com (Jason Wirth) Date: Wed, 15 Jan 2014 22:15:44 -0600 Subject: [Chicago] Good news: February Venue Announced In-Reply-To: References: Message-ID: Best pizza ever? -- Jason Wirth 213.675.5294 wirth.jason at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Thu Jan 16 05:21:05 2014 From: brianhray at gmail.com (Brian Ray) Date: Wed, 15 Jan 2014 22:21:05 -0600 Subject: [Chicago] Good news: February Venue Announced In-Reply-To: References: Message-ID: Are you offering ;) On Wed, Jan 15, 2014 at 10:15 PM, Jason Wirth wrote: > Best pizza ever? > > > > -- > Jason Wirth > 213.675.5294 > wirth.jason at gmail.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From yarkot1 at gmail.com Thu Jan 16 05:43:25 2014 From: yarkot1 at gmail.com (Yarko Tymciurak) Date: Wed, 15 Jan 2014 22:43:25 -0600 Subject: [Chicago] Good news: February Venue Announced In-Reply-To: References: Message-ID: On Jan 15, 2014 10:14 PM, "Brian Ray" wrote: > > Our host for February will be Bank of America at the historical: > >> Bank of America Building (Field Building) >> >> 135 South LaSalle, 43rd floor >> >> Chicago, IL 60604 > > > This surely will be our > best meeting ever ? Wait... Where have I heard that before? Hmm... > RSVP is now open http://chipy.org :-) > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Thu Jan 16 05:48:38 2014 From: brianhray at gmail.com (Brian Ray) Date: Wed, 15 Jan 2014 22:48:38 -0600 Subject: [Chicago] Good news: February Venue Announced In-Reply-To: References: Message-ID: > > > best meeting ever ? > > Wait... Where have I heard that before? Hmm... > > > RSVP is now open http://chipy.org > > > Clearly, we keep getting better and better... progress! Oh and February is actually a good month for us. Just-in-time compiled a day before valentines days, spend some quality time with your favorite programming language! -------------- next part -------------- An HTML attachment was scrubbed... URL: From jp at zavteq.com Thu Jan 16 05:33:03 2014 From: jp at zavteq.com (JP Bader) Date: Wed, 15 Jan 2014 22:33:03 -0600 Subject: [Chicago] Good news: February Venue Announced In-Reply-To: References: Message-ID: Kosher? Well, a dev can try, right? On Wed, Jan 15, 2014 at 10:21 PM, Brian Ray wrote: > Are you offering ;) > > > On Wed, Jan 15, 2014 at 10:15 PM, Jason Wirth wrote: > >> Best pizza ever? >> >> >> >> -- >> Jason Wirth >> 213.675.5294 >> wirth.jason at gmail.com >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- JP Bader Principal Zavteq, Inc. @lordB8r | jp at zavteq.com 608.692.2468 -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Thu Jan 16 12:44:00 2014 From: randy7771026 at gmail.com (Randy Baxley) Date: Thu, 16 Jan 2014 05:44:00 -0600 Subject: [Chicago] Good news: February Venue Announced In-Reply-To: References: Message-ID: Meatetarian so Kosher is fine with me. Would not hurt to ask a Kosher BBQ joint to provide if we had a sponsor. On Wed, Jan 15, 2014 at 10:33 PM, JP Bader wrote: > Kosher? > > Well, a dev can try, right? > > > On Wed, Jan 15, 2014 at 10:21 PM, Brian Ray wrote: > >> Are you offering ;) >> >> >> On Wed, Jan 15, 2014 at 10:15 PM, Jason Wirth wrote: >> >>> Best pizza ever? >>> >>> >>> >>> -- >>> Jason Wirth >>> 213.675.5294 >>> wirth.jason at gmail.com >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> >> -- >> Brian Ray >> @brianray >> (773) 669-7717 >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > > -- > JP Bader > Principal > Zavteq, Inc. > @lordB8r | jp at zavteq.com > 608.692.2468 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Thu Jan 16 19:02:22 2014 From: shekay at pobox.com (sheila miguez) Date: Thu, 16 Jan 2014 12:02:22 -0600 Subject: [Chicago] Help test the scipy conference staging site Message-ID: Hi! https://conference-staging.scipy.org/ The conference staging site for scipy is up, and you can help by creating accounts, submitting proposals for talks, sponsorship, etc.. The issue tracker for the site is here. If you see a problem, let us know by opening an issue. https://github.com/scipy-conference/SciPy-2014/issues Ignore styling for now, we are still making adjustments. We've emailed the scipy-organizers list to solicit help, but I'd like Chicago people to help since I can talk to you in person at python office hours or other events like that. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From danieltpeters at gmail.com Thu Jan 16 20:02:30 2014 From: danieltpeters at gmail.com (Daniel Peters) Date: Thu, 16 Jan 2014 13:02:30 -0600 Subject: [Chicago] Help test the scipy conference staging site In-Reply-To: References: Message-ID: are they using a self signed cert? getting an untrusted ssl error in chromium On Thu, Jan 16, 2014 at 12:02 PM, sheila miguez wrote: > Hi! > > https://conference-staging.scipy.org/ > > The conference staging site for scipy is up, and you can help by creating > accounts, submitting proposals for talks, sponsorship, etc.. The issue > tracker for the site is here. If you see a problem, let us know by opening > an issue. > > https://github.com/scipy-conference/SciPy-2014/issues > > Ignore styling for now, we are still making adjustments. > > We've emailed the scipy-organizers list to solicit help, but I'd like > Chicago people to help since I can talk to you in person at python office > hours or other events like that. > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Thu Jan 16 20:44:25 2014 From: shekay at pobox.com (sheila miguez) Date: Thu, 16 Jan 2014 13:44:25 -0600 Subject: [Chicago] Help test the scipy conference staging site In-Reply-To: References: Message-ID: I think they are still working on the cert, hence the horrible badness warnings. On Thu, Jan 16, 2014 at 1:02 PM, Daniel Peters wrote: > are they using a self signed cert? getting an untrusted ssl error in > chromium > > > On Thu, Jan 16, 2014 at 12:02 PM, sheila miguez wrote: > >> Hi! >> >> https://conference-staging.scipy.org/ >> >> The conference staging site for scipy is up, and you can help by creating >> accounts, submitting proposals for talks, sponsorship, etc.. The issue >> tracker for the site is here. If you see a problem, let us know by opening >> an issue. >> >> https://github.com/scipy-conference/SciPy-2014/issues >> >> Ignore styling for now, we are still making adjustments. >> >> We've emailed the scipy-organizers list to solicit help, but I'd like >> Chicago people to help since I can talk to you in person at python office >> hours or other events like that. >> >> -- >> sheila >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Thu Jan 16 21:59:18 2014 From: carl at personnelware.com (Carl Karsten) Date: Thu, 16 Jan 2014 14:59:18 -0600 Subject: [Chicago] help code new youtube upload Message-ID: I need help. > So seems I should throw out this whole thing and rewrite it using: > https://developers.google.com/youtube/v3/ I can't figure out how to run the samples. Reading the docs, looking at the sample code, and playing around at the >>> prompt; I cant figure out how to authenticate. Here are the obvious starting places: https://developers.google.com/youtube/v3/ https://developers.google.com/api-client-library/python/ The two samples I am failing to get to work: https://code.google.com/p/youtube-api-samples/source/browse/samples/python/upload_video.py https://github.com/youtube/yt-samples-python/blob/master/simple_upload.py You will need to get credentials from https://code.google.com/apis/console/#:access If someone can figure out how to setup a test account that isn't linked to personal accounts so we can share it with random people on the internet, that woujld be great. The milestone I am shooting for: A single .py that when run will upload an mp4 and print out the youtube URL. It should be dirt simple. All the values should be hard coded, with the exception of secrets (like password or private key.) Here is the same thing that I use to uplaod to the Rackspace CDN: https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py If someone can take a stab at this and tell me how far they got, On Mon, Jan 6, 2014 at 4:06 AM, Carl Karsten wrote: > I would be ecstatic if you used me code! > > But.. > This just in, which kinda trows a wrench in my excitement: > > My code, youtube_uploader.py is really just a wrapper around > > https://developers.google.com/gdata/ > > so that the rest of the system has a fairly consistent interface to > various hosts, and I have some simple code to dev/test/debug. > > But if you look at the top of the gdata/ url: > """ > Warning: Most newer Google APIs are not Google Data APIs. The Google > Data APIs documentation applies only to the older APIs that are listed > in the Google Data APIs directory. For information about a specific > new API, see that API's documentation. For information about > authorizing requests with a newer API, see Google Accounts > Authentication and Authorization. > """ > > So seems I should throw out this whole thing and rewrite it using: > https://developers.google.com/youtube/v3/ > > That will be what I put my next effort into, so if you can do > something with that, it will be more > helpful. > > The interface the rest of the system expects is what you see in > > def test_upload(): > and > def test_set_pub(): > > Here is where it is used: > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/post_yt.py#L153 > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/mk_public.py#L60 > > yes, pw.py is user/pw > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/sample_pw.py > > And maybe I should to this try/except thing to make it easier: > like I do here: > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py#L24 > > it is 4am.. I need to sleep before my head falls on my keyboard. > So look for that in a few hours ;) > > > On Sun, Jan 5, 2014 at 8:33 PM, sheila miguez wrote: >> I'm +1 for a talk from you. >> >> On Jan 5, 2014 8:25 PM, "Nick Bennett" wrote: >>> >>> All that I have learned about Python, I have learned through trial and >>> error in IPython. I usually get the feel of an API or new module first in >>> the shell, and then I can write code in my editor. I could give a talk on >>> using an interactive shell to debug code and explore modules, in particular >>> IPython but the the approach would be similar with others like IDLE or >>> python or bpython. I introduced my work mentor to it, a purist with a >>> mechanical keyboard tailored for vim use, and since then he has been using >>> ipython on most of our Python-based work projects. If that's not a stunning >>> recommendation, I don't know what is one. >>> >>> Let's call the talk "Getting a feel for the code" and in it I will talk >>> about using Python REPL shells including python, IPython, and bpython. I'll >>> talk about getting access to a Python REPL quickly and easily when in need, >>> to appeal to a wider audience. Perhaps you see something interesting on >>> Github and you want to see how it would work, but you're not a programmer >>> yet and/or don't have a Python environment at your fingertips. I'll talk >>> about PythonAnywhere, along with a blurb about getting an EC2 instance >>> going. Could I use your code, Carl, as an example in the presentation? >>> >>> Thoughts? >>> >>> >>> On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten >>> wrote: >>>> >>>> On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: >>>> > by writing a Python script to get the pairwise distances between Divvy >>>> > bike >>>> > stations from the Google Maps API using "by the bike" distances. >>>> >>>> I would like something about this. pretty much anything. >>>> I use various google API stuff successfully, but it is almost a >>>> surprise to me that things work. >>>> and then when they don't work, that is also a surprise. >>>> I think my main problem is I don't have a clue how to debug this >>>> stuff, and I don't have a good feel for how to think about it. >>>> >>>> Like this code worked for over a year: >>>> >>>> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 >>>> >>>> A month or so ago stopped working. It doesn't error, it just doesn't >>>> give the same results it used to. (it should flip a youtube video from >>>> unlisted to public.) (if anyone wants to hack on this, that one .py >>>> should run on its own and it should be easy to get the creds setup so >>>> you can test it on your own account, or set up a test account) >>>> >>>> I want that fixed, and I want a clue how one goes about figuring out >>>> what is going on. >>>> >>>> I have also written code to talk to a goog spread sheet and calendar, >>>> same feeling of uncertainty. >>>> >>>> So anything in this area should help. >>>> >>>> -- >>>> Carl K >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > > > -- > Carl K -- Carl K From nick at goggl.es Fri Jan 17 18:31:36 2014 From: nick at goggl.es (Nick Bennett) Date: Fri, 17 Jan 2014 11:31:36 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: Carl, Take a look at GoogleCL: http://webapps.stackexchange.com/questions/11793/how-to-upload-to-youtube-from-the-command-line/40521#40521 http://code.google.com/p/googlecl/ It may not be exactly what you're looking for since it involves a user consent screen and interactive browser session to get the OAUTH token (though this is required only once per service), but it is pretty snazzy otherwise and simple to install. >From the StackExchange answer: Install via pip: pip install googlecl Uploading a video is as simple as: google youtube post --category Education killer_robots.avi I'll keep digging for a tool that you can supply with app credentials so it never requires user interaction. I'd hate to have to go through a user consent page in lynx/w3m if you're in a remote shell. On Thu, Jan 16, 2014 at 2:59 PM, Carl Karsten wrote: > I need help. > > > So seems I should throw out this whole thing and rewrite it using: > > https://developers.google.com/youtube/v3/ > > I can't figure out how to run the samples. > > Reading the docs, looking at the sample code, and playing around at > the >>> prompt; I cant figure out how to authenticate. > > Here are the obvious starting places: > > https://developers.google.com/youtube/v3/ > https://developers.google.com/api-client-library/python/ > > The two samples I am failing to get to work: > > https://code.google.com/p/youtube-api-samples/source/browse/samples/python/upload_video.py > https://github.com/youtube/yt-samples-python/blob/master/simple_upload.py > > You will need to get credentials from > https://code.google.com/apis/console/#:access > > If someone can figure out how to setup a test account that isn't > linked to personal accounts so we can share it with random people on > the internet, that woujld be great. > > The milestone I am shooting for: > A single .py that when run will upload an mp4 and print out the youtube > URL. > It should be dirt simple. All the values should be hard coded, with > the exception of secrets (like password or private key.) > > Here is the same thing that I use to uplaod to the Rackspace CDN: > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py > > If someone can take a stab at this and tell me how far they got, > > On Mon, Jan 6, 2014 at 4:06 AM, Carl Karsten > wrote: > > I would be ecstatic if you used me code! > > > > But.. > > This just in, which kinda trows a wrench in my excitement: > > > > My code, youtube_uploader.py is really just a wrapper around > > > > https://developers.google.com/gdata/ > > > > so that the rest of the system has a fairly consistent interface to > > various hosts, and I have some simple code to dev/test/debug. > > > > But if you look at the top of the gdata/ url: > > """ > > Warning: Most newer Google APIs are not Google Data APIs. The Google > > Data APIs documentation applies only to the older APIs that are listed > > in the Google Data APIs directory. For information about a specific > > new API, see that API's documentation. For information about > > authorizing requests with a newer API, see Google Accounts > > Authentication and Authorization. > > """ > > > > So seems I should throw out this whole thing and rewrite it using: > > https://developers.google.com/youtube/v3/ > > > > That will be what I put my next effort into, so if you can do > > something with that, it will be more > > helpful. > > > > The interface the rest of the system expects is what you see in > > > > def test_upload(): > > and > > def test_set_pub(): > > > > Here is where it is used: > > > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/post_yt.py#L153 > > > > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/mk_public.py#L60 > > > > yes, pw.py is user/pw > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/sample_pw.py > > > > And maybe I should to this try/except thing to make it easier: > > like I do here: > > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py#L24 > > > > it is 4am.. I need to sleep before my head falls on my keyboard. > > So look for that in a few hours ;) > > > > > > On Sun, Jan 5, 2014 at 8:33 PM, sheila miguez wrote: > >> I'm +1 for a talk from you. > >> > >> On Jan 5, 2014 8:25 PM, "Nick Bennett" wrote: > >>> > >>> All that I have learned about Python, I have learned through trial and > >>> error in IPython. I usually get the feel of an API or new module first > in > >>> the shell, and then I can write code in my editor. I could give a talk > on > >>> using an interactive shell to debug code and explore modules, in > particular > >>> IPython but the the approach would be similar with others like IDLE or > >>> python or bpython. I introduced my work mentor to it, a purist with a > >>> mechanical keyboard tailored for vim use, and since then he has been > using > >>> ipython on most of our Python-based work projects. If that's not a > stunning > >>> recommendation, I don't know what is one. > >>> > >>> Let's call the talk "Getting a feel for the code" and in it I will talk > >>> about using Python REPL shells including python, IPython, and bpython. > I'll > >>> talk about getting access to a Python REPL quickly and easily when in > need, > >>> to appeal to a wider audience. Perhaps you see something interesting on > >>> Github and you want to see how it would work, but you're not a > programmer > >>> yet and/or don't have a Python environment at your fingertips. I'll > talk > >>> about PythonAnywhere, along with a blurb about getting an EC2 instance > >>> going. Could I use your code, Carl, as an example in the presentation? > >>> > >>> Thoughts? > >>> > >>> > >>> On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten > >>> wrote: > >>>> > >>>> On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: > >>>> > by writing a Python script to get the pairwise distances between > Divvy > >>>> > bike > >>>> > stations from the Google Maps API using "by the bike" distances. > >>>> > >>>> I would like something about this. pretty much anything. > >>>> I use various google API stuff successfully, but it is almost a > >>>> surprise to me that things work. > >>>> and then when they don't work, that is also a surprise. > >>>> I think my main problem is I don't have a clue how to debug this > >>>> stuff, and I don't have a good feel for how to think about it. > >>>> > >>>> Like this code worked for over a year: > >>>> > >>>> > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 > >>>> > >>>> A month or so ago stopped working. It doesn't error, it just doesn't > >>>> give the same results it used to. (it should flip a youtube video from > >>>> unlisted to public.) (if anyone wants to hack on this, that one .py > >>>> should run on its own and it should be easy to get the creds setup so > >>>> you can test it on your own account, or set up a test account) > >>>> > >>>> I want that fixed, and I want a clue how one goes about figuring out > >>>> what is going on. > >>>> > >>>> I have also written code to talk to a goog spread sheet and calendar, > >>>> same feeling of uncertainty. > >>>> > >>>> So anything in this area should help. > >>>> > >>>> -- > >>>> Carl K > >>>> _______________________________________________ > >>>> Chicago mailing list > >>>> Chicago at python.org > >>>> https://mail.python.org/mailman/listinfo/chicago > >>> > >>> > >>> > >>> _______________________________________________ > >>> Chicago mailing list > >>> Chicago at python.org > >>> https://mail.python.org/mailman/listinfo/chicago > >>> > >> > >> _______________________________________________ > >> Chicago mailing list > >> Chicago at python.org > >> https://mail.python.org/mailman/listinfo/chicago > >> > > > > > > > > -- > > Carl K > > > > -- > Carl K > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Jan 17 18:51:44 2014 From: shekay at pobox.com (sheila miguez) Date: Fri, 17 Jan 2014 11:51:44 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: Is this something we could work on in person at a python office hours or maybe at programming office hours at ps1? one is on alternating wednesday and the other on alternating sundays. Or perhaps some impromptu gather at a cafe for a coding get together. This has been keeping Carl from uploading a fixed video of Jessica's python for beginner's tutorial from last pycon. among other things. Though I could be mistaken. I've only been partially mentally eavesdropping due to hanging out with Carl all the time. :) On Fri, Jan 17, 2014 at 11:31 AM, Nick Bennett wrote: > Carl, > > Take a look at GoogleCL: > > > http://webapps.stackexchange.com/questions/11793/how-to-upload-to-youtube-from-the-command-line/40521#40521 > http://code.google.com/p/googlecl/ > > It may not be exactly what you're looking for since it involves a user > consent screen and interactive browser session to get the OAUTH token > (though this is required only once per service), but it is pretty snazzy > otherwise and simple to install. > > From the StackExchange answer: > > Install via pip: > > pip install googlecl > > Uploading a video is as simple as: > > google youtube post --category Education killer_robots.avi > > > I'll keep digging for a tool that you can supply with app credentials so > it never requires user interaction. I'd hate to have to go through a user > consent page in lynx/w3m if you're in a remote shell. > > > On Thu, Jan 16, 2014 at 2:59 PM, Carl Karsten wrote: > >> I need help. >> >> > So seems I should throw out this whole thing and rewrite it using: >> > https://developers.google.com/youtube/v3/ >> >> I can't figure out how to run the samples. >> >> Reading the docs, looking at the sample code, and playing around at >> the >>> prompt; I cant figure out how to authenticate. >> >> Here are the obvious starting places: >> >> https://developers.google.com/youtube/v3/ >> https://developers.google.com/api-client-library/python/ >> >> The two samples I am failing to get to work: >> >> https://code.google.com/p/youtube-api-samples/source/browse/samples/python/upload_video.py >> https://github.com/youtube/yt-samples-python/blob/master/simple_upload.py >> >> You will need to get credentials from >> https://code.google.com/apis/console/#:access >> >> If someone can figure out how to setup a test account that isn't >> linked to personal accounts so we can share it with random people on >> the internet, that woujld be great. >> >> The milestone I am shooting for: >> A single .py that when run will upload an mp4 and print out the youtube >> URL. >> It should be dirt simple. All the values should be hard coded, with >> the exception of secrets (like password or private key.) >> >> Here is the same thing that I use to uplaod to the Rackspace CDN: >> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py >> >> If someone can take a stab at this and tell me how far they got, >> >> On Mon, Jan 6, 2014 at 4:06 AM, Carl Karsten >> wrote: >> > I would be ecstatic if you used me code! >> > >> > But.. >> > This just in, which kinda trows a wrench in my excitement: >> > >> > My code, youtube_uploader.py is really just a wrapper around >> > >> > https://developers.google.com/gdata/ >> > >> > so that the rest of the system has a fairly consistent interface to >> > various hosts, and I have some simple code to dev/test/debug. >> > >> > But if you look at the top of the gdata/ url: >> > """ >> > Warning: Most newer Google APIs are not Google Data APIs. The Google >> > Data APIs documentation applies only to the older APIs that are listed >> > in the Google Data APIs directory. For information about a specific >> > new API, see that API's documentation. For information about >> > authorizing requests with a newer API, see Google Accounts >> > Authentication and Authorization. >> > """ >> > >> > So seems I should throw out this whole thing and rewrite it using: >> > https://developers.google.com/youtube/v3/ >> > >> > That will be what I put my next effort into, so if you can do >> > something with that, it will be more >> > helpful. >> > >> > The interface the rest of the system expects is what you see in >> > >> > def test_upload(): >> > and >> > def test_set_pub(): >> > >> > Here is where it is used: >> > >> > >> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/post_yt.py#L153 >> > >> > >> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/mk_public.py#L60 >> > >> > yes, pw.py is user/pw >> > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/sample_pw.py >> > >> > And maybe I should to this try/except thing to make it easier: >> > like I do here: >> > >> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py#L24 >> > >> > it is 4am.. I need to sleep before my head falls on my keyboard. >> > So look for that in a few hours ;) >> > >> > >> > On Sun, Jan 5, 2014 at 8:33 PM, sheila miguez wrote: >> >> I'm +1 for a talk from you. >> >> >> >> On Jan 5, 2014 8:25 PM, "Nick Bennett" wrote: >> >>> >> >>> All that I have learned about Python, I have learned through trial and >> >>> error in IPython. I usually get the feel of an API or new module >> first in >> >>> the shell, and then I can write code in my editor. I could give a >> talk on >> >>> using an interactive shell to debug code and explore modules, in >> particular >> >>> IPython but the the approach would be similar with others like IDLE or >> >>> python or bpython. I introduced my work mentor to it, a purist with a >> >>> mechanical keyboard tailored for vim use, and since then he has been >> using >> >>> ipython on most of our Python-based work projects. If that's not a >> stunning >> >>> recommendation, I don't know what is one. >> >>> >> >>> Let's call the talk "Getting a feel for the code" and in it I will >> talk >> >>> about using Python REPL shells including python, IPython, and >> bpython. I'll >> >>> talk about getting access to a Python REPL quickly and easily when in >> need, >> >>> to appeal to a wider audience. Perhaps you see something interesting >> on >> >>> Github and you want to see how it would work, but you're not a >> programmer >> >>> yet and/or don't have a Python environment at your fingertips. I'll >> talk >> >>> about PythonAnywhere, along with a blurb about getting an EC2 instance >> >>> going. Could I use your code, Carl, as an example in the presentation? >> >>> >> >>> Thoughts? >> >>> >> >>> >> >>> On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten >> >>> wrote: >> >>>> >> >>>> On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: >> >>>> > by writing a Python script to get the pairwise distances between >> Divvy >> >>>> > bike >> >>>> > stations from the Google Maps API using "by the bike" distances. >> >>>> >> >>>> I would like something about this. pretty much anything. >> >>>> I use various google API stuff successfully, but it is almost a >> >>>> surprise to me that things work. >> >>>> and then when they don't work, that is also a surprise. >> >>>> I think my main problem is I don't have a clue how to debug this >> >>>> stuff, and I don't have a good feel for how to think about it. >> >>>> >> >>>> Like this code worked for over a year: >> >>>> >> >>>> >> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 >> >>>> >> >>>> A month or so ago stopped working. It doesn't error, it just doesn't >> >>>> give the same results it used to. (it should flip a youtube video >> from >> >>>> unlisted to public.) (if anyone wants to hack on this, that one .py >> >>>> should run on its own and it should be easy to get the creds setup so >> >>>> you can test it on your own account, or set up a test account) >> >>>> >> >>>> I want that fixed, and I want a clue how one goes about figuring out >> >>>> what is going on. >> >>>> >> >>>> I have also written code to talk to a goog spread sheet and calendar, >> >>>> same feeling of uncertainty. >> >>>> >> >>>> So anything in this area should help. >> >>>> >> >>>> -- >> >>>> Carl K >> >>>> _______________________________________________ >> >>>> Chicago mailing list >> >>>> Chicago at python.org >> >>>> https://mail.python.org/mailman/listinfo/chicago >> >>> >> >>> >> >>> >> >>> _______________________________________________ >> >>> Chicago mailing list >> >>> Chicago at python.org >> >>> https://mail.python.org/mailman/listinfo/chicago >> >>> >> >> >> >> _______________________________________________ >> >> Chicago mailing list >> >> Chicago at python.org >> >> https://mail.python.org/mailman/listinfo/chicago >> >> >> > >> > >> > >> > -- >> > Carl K >> >> >> >> -- >> Carl K >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Fri Jan 17 19:13:00 2014 From: carl at personnelware.com (Carl Karsten) Date: Fri, 17 Jan 2014 12:13:00 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: I hate to be picky, but did you actually run any of the code? Every single example I find seems to have some setup step missing such that the code errors in some way. I can't even get the interactive browser session stuff to work, which would be a step in the right direction. If I can get everything else to work, then I can focus on swapping out how the script does authentication. On Fri, Jan 17, 2014 at 11:31 AM, Nick Bennett wrote: > Carl, > > Take a look at GoogleCL: > > http://webapps.stackexchange.com/questions/11793/how-to-upload-to-youtube-from-the-command-line/40521#40521 > http://code.google.com/p/googlecl/ > > It may not be exactly what you're looking for since it involves a user > consent screen and interactive browser session to get the OAUTH token > (though this is required only once per service), but it is pretty snazzy > otherwise and simple to install. > > From the StackExchange answer: > > Install via pip: > > pip install googlecl > > Uploading a video is as simple as: > > google youtube post --category Education killer_robots.avi > > > I'll keep digging for a tool that you can supply with app credentials so it > never requires user interaction. I'd hate to have to go through a user > consent page in lynx/w3m if you're in a remote shell. > > > On Thu, Jan 16, 2014 at 2:59 PM, Carl Karsten > wrote: >> >> I need help. >> >> > So seems I should throw out this whole thing and rewrite it using: >> > https://developers.google.com/youtube/v3/ >> >> I can't figure out how to run the samples. >> >> Reading the docs, looking at the sample code, and playing around at >> the >>> prompt; I cant figure out how to authenticate. >> >> Here are the obvious starting places: >> >> https://developers.google.com/youtube/v3/ >> https://developers.google.com/api-client-library/python/ >> >> The two samples I am failing to get to work: >> >> https://code.google.com/p/youtube-api-samples/source/browse/samples/python/upload_video.py >> https://github.com/youtube/yt-samples-python/blob/master/simple_upload.py >> >> You will need to get credentials from >> https://code.google.com/apis/console/#:access >> >> If someone can figure out how to setup a test account that isn't >> linked to personal accounts so we can share it with random people on >> the internet, that woujld be great. >> >> The milestone I am shooting for: >> A single .py that when run will upload an mp4 and print out the youtube >> URL. >> It should be dirt simple. All the values should be hard coded, with >> the exception of secrets (like password or private key.) >> >> Here is the same thing that I use to uplaod to the Rackspace CDN: >> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py >> >> If someone can take a stab at this and tell me how far they got, >> >> On Mon, Jan 6, 2014 at 4:06 AM, Carl Karsten >> wrote: >> > I would be ecstatic if you used me code! >> > >> > But.. >> > This just in, which kinda trows a wrench in my excitement: >> > >> > My code, youtube_uploader.py is really just a wrapper around >> > >> > https://developers.google.com/gdata/ >> > >> > so that the rest of the system has a fairly consistent interface to >> > various hosts, and I have some simple code to dev/test/debug. >> > >> > But if you look at the top of the gdata/ url: >> > """ >> > Warning: Most newer Google APIs are not Google Data APIs. The Google >> > Data APIs documentation applies only to the older APIs that are listed >> > in the Google Data APIs directory. For information about a specific >> > new API, see that API's documentation. For information about >> > authorizing requests with a newer API, see Google Accounts >> > Authentication and Authorization. >> > """ >> > >> > So seems I should throw out this whole thing and rewrite it using: >> > https://developers.google.com/youtube/v3/ >> > >> > That will be what I put my next effort into, so if you can do >> > something with that, it will be more >> > helpful. >> > >> > The interface the rest of the system expects is what you see in >> > >> > def test_upload(): >> > and >> > def test_set_pub(): >> > >> > Here is where it is used: >> > >> > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/post_yt.py#L153 >> > >> > >> > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/mk_public.py#L60 >> > >> > yes, pw.py is user/pw >> > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/sample_pw.py >> > >> > And maybe I should to this try/except thing to make it easier: >> > like I do here: >> > >> > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py#L24 >> > >> > it is 4am.. I need to sleep before my head falls on my keyboard. >> > So look for that in a few hours ;) >> > >> > >> > On Sun, Jan 5, 2014 at 8:33 PM, sheila miguez wrote: >> >> I'm +1 for a talk from you. >> >> >> >> On Jan 5, 2014 8:25 PM, "Nick Bennett" wrote: >> >>> >> >>> All that I have learned about Python, I have learned through trial and >> >>> error in IPython. I usually get the feel of an API or new module first >> >>> in >> >>> the shell, and then I can write code in my editor. I could give a talk >> >>> on >> >>> using an interactive shell to debug code and explore modules, in >> >>> particular >> >>> IPython but the the approach would be similar with others like IDLE or >> >>> python or bpython. I introduced my work mentor to it, a purist with a >> >>> mechanical keyboard tailored for vim use, and since then he has been >> >>> using >> >>> ipython on most of our Python-based work projects. If that's not a >> >>> stunning >> >>> recommendation, I don't know what is one. >> >>> >> >>> Let's call the talk "Getting a feel for the code" and in it I will >> >>> talk >> >>> about using Python REPL shells including python, IPython, and bpython. >> >>> I'll >> >>> talk about getting access to a Python REPL quickly and easily when in >> >>> need, >> >>> to appeal to a wider audience. Perhaps you see something interesting >> >>> on >> >>> Github and you want to see how it would work, but you're not a >> >>> programmer >> >>> yet and/or don't have a Python environment at your fingertips. I'll >> >>> talk >> >>> about PythonAnywhere, along with a blurb about getting an EC2 instance >> >>> going. Could I use your code, Carl, as an example in the presentation? >> >>> >> >>> Thoughts? >> >>> >> >>> >> >>> On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten >> >>> wrote: >> >>>> >> >>>> On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett wrote: >> >>>> > by writing a Python script to get the pairwise distances between >> >>>> > Divvy >> >>>> > bike >> >>>> > stations from the Google Maps API using "by the bike" distances. >> >>>> >> >>>> I would like something about this. pretty much anything. >> >>>> I use various google API stuff successfully, but it is almost a >> >>>> surprise to me that things work. >> >>>> and then when they don't work, that is also a surprise. >> >>>> I think my main problem is I don't have a clue how to debug this >> >>>> stuff, and I don't have a good feel for how to think about it. >> >>>> >> >>>> Like this code worked for over a year: >> >>>> >> >>>> >> >>>> https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 >> >>>> >> >>>> A month or so ago stopped working. It doesn't error, it just doesn't >> >>>> give the same results it used to. (it should flip a youtube video >> >>>> from >> >>>> unlisted to public.) (if anyone wants to hack on this, that one .py >> >>>> should run on its own and it should be easy to get the creds setup so >> >>>> you can test it on your own account, or set up a test account) >> >>>> >> >>>> I want that fixed, and I want a clue how one goes about figuring out >> >>>> what is going on. >> >>>> >> >>>> I have also written code to talk to a goog spread sheet and calendar, >> >>>> same feeling of uncertainty. >> >>>> >> >>>> So anything in this area should help. >> >>>> >> >>>> -- >> >>>> Carl K >> >>>> _______________________________________________ >> >>>> Chicago mailing list >> >>>> Chicago at python.org >> >>>> https://mail.python.org/mailman/listinfo/chicago >> >>> >> >>> >> >>> >> >>> _______________________________________________ >> >>> Chicago mailing list >> >>> Chicago at python.org >> >>> https://mail.python.org/mailman/listinfo/chicago >> >>> >> >> >> >> _______________________________________________ >> >> Chicago mailing list >> >> Chicago at python.org >> >> https://mail.python.org/mailman/listinfo/chicago >> >> >> > >> > >> > >> > -- >> > Carl K >> >> >> >> -- >> Carl K >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Carl K From nick at goggl.es Fri Jan 17 19:46:22 2014 From: nick at goggl.es (Nick Bennett) Date: Fri, 17 Jan 2014 12:46:22 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: Hey Carl, I'm sorry it didn't work for you, I wonder what happened. It did work for me from my local machine, but when I tried from PythonAnywhere so that I could show you how to work it I couldn't get past the browser session (that opened in lynx, heh). Here's what I did on my end: I first created a virtualenv (I'm using virtualenvwrapper) and installed googlecl: $ mkvirtualenv yt $ pip install googlecl I then tested using a fake video file because I didn't have a video file immediately available: $ touch video.avi $ google youtube post --category Education video.avi Please specify user: nick271828 at gmail.com Please log in and/or grant access via your browser at https://www.google.com/accounts/OAuthAuthorizeToken?oauth_token=4%2FHwuLDEG4C1FWDt2tL9aE7R6Zy2XN&hd=defaultthen hit enter. Loading video.avi {'status': 400, 'body': 'No file found in request.', 'reason': 'Bad Request'} Since I was working from my local machine, it automatically opened the auth page in Firefox. After this I went and found a real video file and uploaded it: $ google youtube post Emperor-Sample.avi Please specify category: Entertainment Loading Emperor-Sample.avi Video uploaded: https://www.youtube.com/watch?v=Y9fJpccXJmI&feature=youtube_gdata In any case, perhaps this is not the tool you're looking for. This is a swiss army knife of gdata tools but you just want a simple youtube scalpel that's really sharp. Nick On Fri, Jan 17, 2014 at 12:13 PM, Carl Karsten wrote: > I hate to be picky, but did you actually run any of the code? > > Every single example I find seems to have some setup step missing such > that the code errors in some way. > > I can't even get the interactive browser session stuff to work, which > would be a step in the right direction. If I can get everything else > to work, then I can focus on swapping out how the script does > authentication. > > > On Fri, Jan 17, 2014 at 11:31 AM, Nick Bennett wrote: > > Carl, > > > > Take a look at GoogleCL: > > > > > http://webapps.stackexchange.com/questions/11793/how-to-upload-to-youtube-from-the-command-line/40521#40521 > > http://code.google.com/p/googlecl/ > > > > It may not be exactly what you're looking for since it involves a user > > consent screen and interactive browser session to get the OAUTH token > > (though this is required only once per service), but it is pretty snazzy > > otherwise and simple to install. > > > > From the StackExchange answer: > > > > Install via pip: > > > > pip install googlecl > > > > Uploading a video is as simple as: > > > > google youtube post --category Education killer_robots.avi > > > > > > I'll keep digging for a tool that you can supply with app credentials so > it > > never requires user interaction. I'd hate to have to go through a user > > consent page in lynx/w3m if you're in a remote shell. > > > > > > On Thu, Jan 16, 2014 at 2:59 PM, Carl Karsten > > wrote: > >> > >> I need help. > >> > >> > So seems I should throw out this whole thing and rewrite it using: > >> > https://developers.google.com/youtube/v3/ > >> > >> I can't figure out how to run the samples. > >> > >> Reading the docs, looking at the sample code, and playing around at > >> the >>> prompt; I cant figure out how to authenticate. > >> > >> Here are the obvious starting places: > >> > >> https://developers.google.com/youtube/v3/ > >> https://developers.google.com/api-client-library/python/ > >> > >> The two samples I am failing to get to work: > >> > >> > https://code.google.com/p/youtube-api-samples/source/browse/samples/python/upload_video.py > >> > https://github.com/youtube/yt-samples-python/blob/master/simple_upload.py > >> > >> You will need to get credentials from > >> https://code.google.com/apis/console/#:access > >> > >> If someone can figure out how to setup a test account that isn't > >> linked to personal accounts so we can share it with random people on > >> the internet, that woujld be great. > >> > >> The milestone I am shooting for: > >> A single .py that when run will upload an mp4 and print out the youtube > >> URL. > >> It should be dirt simple. All the values should be hard coded, with > >> the exception of secrets (like password or private key.) > >> > >> Here is the same thing that I use to uplaod to the Rackspace CDN: > >> > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py > >> > >> If someone can take a stab at this and tell me how far they got, > >> > >> On Mon, Jan 6, 2014 at 4:06 AM, Carl Karsten > >> wrote: > >> > I would be ecstatic if you used me code! > >> > > >> > But.. > >> > This just in, which kinda trows a wrench in my excitement: > >> > > >> > My code, youtube_uploader.py is really just a wrapper around > >> > > >> > https://developers.google.com/gdata/ > >> > > >> > so that the rest of the system has a fairly consistent interface to > >> > various hosts, and I have some simple code to dev/test/debug. > >> > > >> > But if you look at the top of the gdata/ url: > >> > """ > >> > Warning: Most newer Google APIs are not Google Data APIs. The Google > >> > Data APIs documentation applies only to the older APIs that are listed > >> > in the Google Data APIs directory. For information about a specific > >> > new API, see that API's documentation. For information about > >> > authorizing requests with a newer API, see Google Accounts > >> > Authentication and Authorization. > >> > """ > >> > > >> > So seems I should throw out this whole thing and rewrite it using: > >> > https://developers.google.com/youtube/v3/ > >> > > >> > That will be what I put my next effort into, so if you can do > >> > something with that, it will be more > >> > helpful. > >> > > >> > The interface the rest of the system expects is what you see in > >> > > >> > def test_upload(): > >> > and > >> > def test_set_pub(): > >> > > >> > Here is where it is used: > >> > > >> > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/post_yt.py#L153 > >> > > >> > > >> > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/mk_public.py#L60 > >> > > >> > yes, pw.py is user/pw > >> > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/sample_pw.py > >> > > >> > And maybe I should to this try/except thing to make it easier: > >> > like I do here: > >> > > >> > > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/rax_uploader.py#L24 > >> > > >> > it is 4am.. I need to sleep before my head falls on my keyboard. > >> > So look for that in a few hours ;) > >> > > >> > > >> > On Sun, Jan 5, 2014 at 8:33 PM, sheila miguez > wrote: > >> >> I'm +1 for a talk from you. > >> >> > >> >> On Jan 5, 2014 8:25 PM, "Nick Bennett" wrote: > >> >>> > >> >>> All that I have learned about Python, I have learned through trial > and > >> >>> error in IPython. I usually get the feel of an API or new module > first > >> >>> in > >> >>> the shell, and then I can write code in my editor. I could give a > talk > >> >>> on > >> >>> using an interactive shell to debug code and explore modules, in > >> >>> particular > >> >>> IPython but the the approach would be similar with others like IDLE > or > >> >>> python or bpython. I introduced my work mentor to it, a purist with > a > >> >>> mechanical keyboard tailored for vim use, and since then he has been > >> >>> using > >> >>> ipython on most of our Python-based work projects. If that's not a > >> >>> stunning > >> >>> recommendation, I don't know what is one. > >> >>> > >> >>> Let's call the talk "Getting a feel for the code" and in it I will > >> >>> talk > >> >>> about using Python REPL shells including python, IPython, and > bpython. > >> >>> I'll > >> >>> talk about getting access to a Python REPL quickly and easily when > in > >> >>> need, > >> >>> to appeal to a wider audience. Perhaps you see something interesting > >> >>> on > >> >>> Github and you want to see how it would work, but you're not a > >> >>> programmer > >> >>> yet and/or don't have a Python environment at your fingertips. I'll > >> >>> talk > >> >>> about PythonAnywhere, along with a blurb about getting an EC2 > instance > >> >>> going. Could I use your code, Carl, as an example in the > presentation? > >> >>> > >> >>> Thoughts? > >> >>> > >> >>> > >> >>> On Sun, Jan 5, 2014 at 6:08 PM, Carl Karsten < > carl at personnelware.com> > >> >>> wrote: > >> >>>> > >> >>>> On Sun, Jan 5, 2014 at 5:48 PM, Nick Bennett > wrote: > >> >>>> > by writing a Python script to get the pairwise distances between > >> >>>> > Divvy > >> >>>> > bike > >> >>>> > stations from the Google Maps API using "by the bike" distances. > >> >>>> > >> >>>> I would like something about this. pretty much anything. > >> >>>> I use various google API stuff successfully, but it is almost a > >> >>>> surprise to me that things work. > >> >>>> and then when they don't work, that is also a surprise. > >> >>>> I think my main problem is I don't have a clue how to debug this > >> >>>> stuff, and I don't have a good feel for how to think about it. > >> >>>> > >> >>>> Like this code worked for over a year: > >> >>>> > >> >>>> > >> >>>> > https://github.com/CarlFK/veyepar/blob/master/dj/scripts/youtube_uploader.py#L144 > >> >>>> > >> >>>> A month or so ago stopped working. It doesn't error, it just > doesn't > >> >>>> give the same results it used to. (it should flip a youtube video > >> >>>> from > >> >>>> unlisted to public.) (if anyone wants to hack on this, that one .py > >> >>>> should run on its own and it should be easy to get the creds setup > so > >> >>>> you can test it on your own account, or set up a test account) > >> >>>> > >> >>>> I want that fixed, and I want a clue how one goes about figuring > out > >> >>>> what is going on. > >> >>>> > >> >>>> I have also written code to talk to a goog spread sheet and > calendar, > >> >>>> same feeling of uncertainty. > >> >>>> > >> >>>> So anything in this area should help. > >> >>>> > >> >>>> -- > >> >>>> Carl K > >> >>>> _______________________________________________ > >> >>>> Chicago mailing list > >> >>>> Chicago at python.org > >> >>>> https://mail.python.org/mailman/listinfo/chicago > >> >>> > >> >>> > >> >>> > >> >>> _______________________________________________ > >> >>> Chicago mailing list > >> >>> Chicago at python.org > >> >>> https://mail.python.org/mailman/listinfo/chicago > >> >>> > >> >> > >> >> _______________________________________________ > >> >> Chicago mailing list > >> >> Chicago at python.org > >> >> https://mail.python.org/mailman/listinfo/chicago > >> >> > >> > > >> > > >> > > >> > -- > >> > Carl K > >> > >> > >> > >> -- > >> Carl K > >> _______________________________________________ > >> Chicago mailing list > >> Chicago at python.org > >> https://mail.python.org/mailman/listinfo/chicago > > > > > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > > > > -- > Carl K > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Jan 17 20:06:26 2014 From: shekay at pobox.com (sheila miguez) Date: Fri, 17 Jan 2014 13:06:26 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: On Fri, Jan 17, 2014 at 12:46 PM, Nick Bennett wrote: > In any case, perhaps this is not the tool you're looking for. This is a > swiss army knife of gdata tools but you just want a simple youtube scalpel > that's really sharp. > It's the gdata thing that is a problem. They seem to be discouraging use of the gdata package and pointing people towards the new goodness. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Fri Jan 17 20:29:14 2014 From: carl at personnelware.com (Carl Karsten) Date: Fri, 17 Jan 2014 13:29:14 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: skay: good catch. Nick: you have the right idea. Some little demo that shows something actually works. That is what I am trying to achieve before I start wrapping it in the abstraction my video processing expects. The two samples I am failing to get to work: https://code.google.com/p/youtube-api-samples/source/browse/samples/python/upload_video.py https://github.com/youtube/yt-samples-python/blob/master/simple_upload.py See if you can use your authentication credentials with those. There is a good chance I am failing because I am trying to use a different accounts to process videos and read my personal email. Or I am just blundering putting the right strings in the right file in the right directory or something stupid like that. On Fri, Jan 17, 2014 at 1:06 PM, sheila miguez wrote: > > On Fri, Jan 17, 2014 at 12:46 PM, Nick Bennett wrote: >> >> In any case, perhaps this is not the tool you're looking for. This is a >> swiss army knife of gdata tools but you just want a simple youtube scalpel >> that's really sharp. > > > It's the gdata thing that is a problem. They seem to be discouraging use of > the gdata package and pointing people towards the new goodness. > > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Carl K From jeffh at dundeemt.com Fri Jan 17 21:08:51 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Fri, 17 Jan 2014 14:08:51 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: On Fri, Jan 17, 2014 at 1:06 PM, sheila miguez wrote: > > On Fri, Jan 17, 2014 at 12:46 PM, Nick Bennett wrote: > >> In any case, perhaps this is not the tool you're looking for. This is a >> swiss army knife of gdata tools but you just want a simple youtube scalpel >> that's really sharp. >> > > It's the gdata thing that is a problem. They seem to be discouraging use > of the gdata package and pointing people towards the new goodness. > > > What is this new goodness? I've noticed some wonky behavior with gdata lately. -- Best, Jeff Hinrichs 402.218.1473 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at goggl.es Fri Jan 17 21:22:21 2014 From: nick at goggl.es (Nick Bennett) Date: Fri, 17 Jan 2014 14:22:21 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: Carl, I found their repo wanting (no requirements.txt file in a Python project, seriously?) so I forked it and added a requirements file and got it to work for me using *upload_video.py*. I'm still having a bit of trouble with simple_upload.py, but that sends me down another rabbit hole. https://github.com/tothebeat/yt-samples-python I created a README too (there wasn't one of those in the original repo, sweet), which I'll reproduce here so you don't have to go clicking through links. Try this out and let me know if you're successful at uploading as I was. I still got deprecation warnings, only about using oauth2client.tools.run() and the gflags library. Even the new hotness is old, I guess. Nick # Quickstart First, clone this repo! ```bash git clone https://github.com/tothebeat/yt-samples-python.git ``` Install [virtualenvwrapper][2] and its prerequisites. Then run: ```bash mkvirtualenv yt-samples-python pip install -r requirements.txt ``` Download your application's client secrets JSON file from the [Google Developers Console][1] and save to this folder as `client_secrets.json`. If you do not add this file, you will see something like ``` $ python upload_video.py --file=Emperor-Sample.avi WARNING: Please configure OAuth 2.0 To make this sample run you will need to populate the client_secrets.json file found at: /home/nick/src/youtube-upload/yt-samples-python/client_secrets.json with information from the APIs Console https://code.google.com/apis/console#access For more information about the client_secrets.json file format, please visit: https://developers.google.com/api-client-library/python/guide/aaa_client_secrets ``` When creating the Client ID in the Google Developers Console, be sure to choose "Installed application" at the prompt for Application Type. Instead of moving the `client_secrets.json` file to this folder, try putting it somewhere safe and create a symlink to it: $ mkdir ~/.secrets $ mv ~/Downloads/downloaded_client_secrets_asdfh234g43trg234tr2gf2.json ~/.secrets/client_secrets.json $ ln -s ~/.secrets/client_secrets.json ~/src/yt-samples-python/client_secrets.json You may also need to change the Product name to something other than the default under the "Consent screen" section of the APIs & Auth settings in the Google Developers Console. # Upload a Video to YouTube ``` python upload_video.py --file=Emperor-Sample.avi ``` If successful, you will see something like this: ``` $ python upload_video.py --file=Emperor-Sample.avi WARNING:root:This function, oauth2client.tools.run(), and the use of the gflags library are deprecated and will be removed in a future version of the library. Your browser has been opened to visit: If your browser is on a different machine then exit and re-run this application with the command-line parameter --noauth_local_webserver Authentication successful. Uploading file... 'Test Title' (video id: ) was successfully uploaded. ``` [1]: https://cloud.google.com/console [2]: http://virtualenvwrapper.readthedocs.org/en/latest/ On Fri, Jan 17, 2014 at 1:29 PM, Carl Karsten wrote: > skay: good catch. > > Nick: you have the right idea. Some little demo that shows something > actually works. That is what I am trying to achieve before I start > wrapping it in the abstraction my video processing expects. > > The two samples I am failing to get to work: > > https://code.google.com/p/youtube-api-samples/source/browse/samples/python/upload_video.py > https://github.com/youtube/yt-samples-python/blob/master/simple_upload.py > > See if you can use your authentication credentials with those. > > There is a good chance I am failing because I am trying to use a > different accounts to process videos and read my personal email. > > Or I am just blundering putting the right strings in the right file in > the right directory or something stupid like that. > > > > On Fri, Jan 17, 2014 at 1:06 PM, sheila miguez wrote: > > > > On Fri, Jan 17, 2014 at 12:46 PM, Nick Bennett wrote: > >> > >> In any case, perhaps this is not the tool you're looking for. This is a > >> swiss army knife of gdata tools but you just want a simple youtube > scalpel > >> that's really sharp. > > > > > > It's the gdata thing that is a problem. They seem to be discouraging use > of > > the gdata package and pointing people towards the new goodness. > > > > > > -- > > sheila > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > > > > -- > Carl K > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Jan 17 21:34:32 2014 From: shekay at pobox.com (sheila miguez) Date: Fri, 17 Jan 2014 14:34:32 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: On Fri, Jan 17, 2014 at 2:22 PM, Nick Bennett wrote: > > I found their repo wanting (no requirements.txt file in a Python project, > seriously?) so I forked it and added a requirements file and got it to work > for me using I know, right? Nice fork! pull request time! I wonder if they will want you to squash commits. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at goggl.es Fri Jan 17 21:37:16 2014 From: nick at goggl.es (Nick Bennett) Date: Fri, 17 Jan 2014 14:37:16 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: I skimmed CONTRIBUTING.md and my eyes glazed over. Sending a pull request will have to wait. You're welcome to fork mine and create the pull request yourself if you want. :) On Fri, Jan 17, 2014 at 2:34 PM, sheila miguez wrote: > > On Fri, Jan 17, 2014 at 2:22 PM, Nick Bennett wrote: > >> >> I found their repo wanting (no requirements.txt file in a Python project, >> seriously?) so I forked it and added a requirements file and got it to work >> for me using > > > I know, right? > > Nice fork! pull request time! I wonder if they will want you to squash > commits. > > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Jan 17 21:32:46 2014 From: shekay at pobox.com (sheila miguez) Date: Fri, 17 Jan 2014 14:32:46 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: They've got a big warning on their gdata page, https://developers.google.com/gdata/ and so you will land on https://developers.google.com/youtube/v3/code_samples/python things could use some work. On Fri, Jan 17, 2014 at 2:08 PM, Jeff Hinrichs - DM&T wrote: > > > On Fri, Jan 17, 2014 at 1:06 PM, sheila miguez wrote: > >> >> On Fri, Jan 17, 2014 at 12:46 PM, Nick Bennett wrote: >> >>> In any case, perhaps this is not the tool you're looking for. This is a >>> swiss army knife of gdata tools but you just want a simple youtube scalpel >>> that's really sharp. >>> >> >> It's the gdata thing that is a problem. They seem to be discouraging use >> of the gdata package and pointing people towards the new goodness. >> >> >> What is this new goodness? I've noticed some wonky behavior with gdata > lately. > > > -- > Best, > > Jeff Hinrichs > 402.218.1473 > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Fri Jan 17 23:45:49 2014 From: carl at personnelware.com (Carl Karsten) Date: Fri, 17 Jan 2014 16:45:49 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: Walking though your steps - this is exactly what I was looking for. not sure where the best place is to fork your fork, so here: > When creating the Client ID in the Google Developers Console, be sure to > choose "Installed application" at the prompt for Application Type. Instead > of moving the `client_secrets.json` file to this folder, try putting it > somewhere safe and create a symlink to it: Split it into two paragraphs, and maybe add some more text: When creating the Client ID in the Google Developers Console, be sure to choose "Installed application" at the prompt for Application Type. Application Type.: (*) Installed application - Runs on a desktop computer or handheld device (like Android or iPhone). Installed application type: (*) Other > Instead > of moving the `client_secrets.json` file to this folder, try putting it > somewhere safe and create a symlink to it: I am still pugging forward to replicate what you have done. If that goes well, my next step is make it work with "Service accounts" https://developers.google.com/accounts/docs/OAuth2?csw=1#serviceaccount Thanks again, this is very encouraging. -- Carl K From carl at personnelware.com Sat Jan 18 05:24:08 2014 From: carl at personnelware.com (Carl Karsten) Date: Fri, 17 Jan 2014 22:24:08 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: successfully uploaded ! I think my hangup was not "creating the Client ID in the Google Developers Console..." I was just using the creds/json that was there. Now to see about using "Service accounts" which seems to be different than the Service account I was trying to use before "creating the Client ID..." On Fri, Jan 17, 2014 at 4:45 PM, Carl Karsten wrote: > Walking though your steps - this is exactly what I was looking for. > > not sure where the best place is to fork your fork, so here: > > >> When creating the Client ID in the Google Developers Console, be sure to >> choose "Installed application" at the prompt for Application Type. Instead >> of moving the `client_secrets.json` file to this folder, try putting it >> somewhere safe and create a symlink to it: > > Split it into two paragraphs, and maybe add some more text: > > When creating the Client ID in the Google Developers Console, be sure to > choose "Installed application" at the prompt for Application Type. > > Application Type.: > (*) Installed application - Runs on a desktop computer or handheld > device (like Android or iPhone). > > Installed application type: > (*) Other > > >> Instead >> of moving the `client_secrets.json` file to this folder, try putting it >> somewhere safe and create a symlink to it: > > > I am still pugging forward to replicate what you have done. > > If that goes well, my next step is make it work with "Service accounts" > > https://developers.google.com/accounts/docs/OAuth2?csw=1#serviceaccount > > > Thanks again, this is very encouraging. > > -- > Carl K -- Carl K From randy7771026 at gmail.com Sat Jan 18 14:14:59 2014 From: randy7771026 at gmail.com (Randy Baxley) Date: Sat, 18 Jan 2014 07:14:59 -0600 Subject: [Chicago] help code new youtube upload Message-ID: I need help. > successfully uploaded ! Wow!!! This is the best list ever. Now if we can just figure out how to make this work for someone as dumb as me and not bother the way too busy for this folks on the list. Randy -------------- next part -------------- An HTML attachment was scrubbed... URL: From yarkot1 at gmail.com Sat Jan 18 15:36:45 2014 From: yarkot1 at gmail.com (Yarko Tymciurak) Date: Sat, 18 Jan 2014 08:36:45 -0600 Subject: [Chicago] help code new youtube upload In-Reply-To: References: Message-ID: Yep! Best Ever? indeed :-) On Jan 18, 2014 7:15 AM, "Randy Baxley" wrote: > > I need help. > successfully uploaded ! > > Wow!!! This is the best list ever. > > Now if we can just figure out how to make this work for someone as dumb as > me and not bother the way too busy for this folks on the list. > > Randy > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From samir at esamir.com Wed Jan 22 03:57:57 2014 From: samir at esamir.com (Samir Faci) Date: Tue, 21 Jan 2014 18:57:57 -0800 Subject: [Chicago] Python Packaging Question. Message-ID: I'm working to re-package a python project from work and hopefully open source it, and I'm running into a few blockers I was hoping someone can clarify for me. I've seen two styles and I'm not sure which is better or recommended when structuring your module A: ${root}/ - setup.py - modulename.py -modulefolder/__init__.py # contains all your code except for modulename. py - test/__init__.py # all your tests using A, I think any XML, yaml etc configuration is dropped into the modulefolder/ B: ${root}/ - setup.py - modulefolder/__init__.py /modulename.py 1. is A preferred over B? Is there a recommended layout ? Is there a recommended location as to where to store your test classes? inside the modulefolder? outside of it? 2. Where do you put your configuration? do you usually shove that into the module folder? If so, how do you derive the location of the configuration file? relative to __file__? with some os.path magic? Would you store things in /etc/ ? 3. bonus question. If anyone has a good simple example of a module they've packaged with some type of configs and such... I'd buy you a beer the next time I'm Chi town. I'm probably going to have some follow up once I get all of this squared away, but if anyone has any insight... or a link to one of those.. read this guide that answers everything you ever wanted about packaging and more. That'd be awesome. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at python.org Wed Jan 22 04:22:51 2014 From: brian at python.org (Brian Curtin) Date: Tue, 21 Jan 2014 21:22:51 -0600 Subject: [Chicago] Python Packaging Question. In-Reply-To: References: Message-ID: On Tue, Jan 21, 2014 at 8:57 PM, Samir Faci wrote: > I'm working to re-package a python project from work and hopefully open > source it, and I'm running into a few blockers I was hoping someone can > clarify for me. > > I've seen two styles and I'm not sure which is better or recommended when > structuring your module > > A: > > ${root}/ > - setup.py > - modulename.py > -modulefolder/__init__.py # contains all your code except for > modulename.py > - test/__init__.py # all your tests > > using A, I think any XML, yaml etc configuration is dropped into the > modulefolder/ > > B: > > ${root}/ > - setup.py > - modulefolder/__init__.py > /modulename.py > > > 1. is A preferred over B? Is there a recommended layout ? Is there a > recommended location as to where to store your test classes? inside the > modulefolder? outside of it? I guess it depends on what you're actually building beyond an example layout. If you're building a package, then you'll have a packagename folder, the __init__.py, and the files that folder which construct your package. If you just need a module, then just have a module. Do you have a more realistic example? Also, as for tests, most people tend to go with your A choice there. From samir at esamir.com Wed Jan 22 04:33:11 2014 From: samir at esamir.com (Samir Faci) Date: Tue, 21 Jan 2014 19:33:11 -0800 Subject: [Chicago] Python Packaging Question. In-Reply-To: References: Message-ID: Well, the code itself is going through legal... so code wise I don't have anything I can show yet. The purpose of the actual program is as follows: it creates a .py executable that will take in a series of CLI options. I need to reference a few XML template files. (Jinja2 I think, though that might go to mako at some point), reads a config.yaml file and via CLI you give a relative path to a bunch of thrift files. The code will figure out your dependency tree, and generate packages and deploy artifacts for ruby gems and maven jars. (once I figure out this python thing, I probably should add python to the list of supported languages as well). for example: ./publishClients.py --local --service thrift/services/awesome_service.thrift my idea scenario would be to have the yaml and xml live in the same folder as the module install. I'd like to be able to resolve the file path/ location of the .xml and .yaml files based on the __file__ or using the inspect package. The output would be created relative to the $cwd. I hope this helps. On Tue, Jan 21, 2014 at 7:22 PM, Brian Curtin wrote: > On Tue, Jan 21, 2014 at 8:57 PM, Samir Faci wrote: > > I'm working to re-package a python project from work and hopefully open > > source it, and I'm running into a few blockers I was hoping someone can > > clarify for me. > > > > I've seen two styles and I'm not sure which is better or recommended when > > structuring your module > > > > A: > > > > ${root}/ > > - setup.py > > - modulename.py > > -modulefolder/__init__.py # contains all your code except for > > modulename.py > > - test/__init__.py # all your tests > > > > using A, I think any XML, yaml etc configuration is dropped into the > > modulefolder/ > > > > B: > > > > ${root}/ > > - setup.py > > - modulefolder/__init__.py > > /modulename.py > > > > > > 1. is A preferred over B? Is there a recommended layout ? Is there a > > recommended location as to where to store your test classes? inside the > > modulefolder? outside of it? > > I guess it depends on what you're actually building beyond an example > layout. If you're building a package, then you'll have a packagename > folder, the __init__.py, and the files that folder which construct > your package. If you just need a module, then just have a module. > > Do you have a more realistic example? > > Also, as for tests, most people tend to go with your A choice there. > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -- Samir Faci *insert title* fortune | cowsay -f /usr/share/cows/tux.cow Sent from my non-iphone laptop. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Wed Jan 22 04:41:28 2014 From: wirth.jason at gmail.com (Jason Wirth) Date: Tue, 21 Jan 2014 21:41:28 -0600 Subject: [Chicago] Python Packaging Question. In-Reply-To: References: Message-ID: I'm not a packaging expert but my advice is this: Do you also use the package you're developing and edit it, like with pip install --editable? If so just pick one style and run with it until (if!) you run into problems. And +1 root\tests\... http://www.pip-installer.org/en/latest/usage.html *Install Options:* -e, --editable Install a project in editable mode (i.e. setuptools ?develop mode?) from a local project path or a VCS url. -- Jason Wirth 213.675.5294 wirth.jason at gmail.com On Tue, Jan 21, 2014 at 9:22 PM, Brian Curtin wrote: > On Tue, Jan 21, 2014 at 8:57 PM, Samir Faci wrote: > > I'm working to re-package a python project from work and hopefully open > > source it, and I'm running into a few blockers I was hoping someone can > > clarify for me. > > > > I've seen two styles and I'm not sure which is better or recommended when > > structuring your module > > > > A: > > > > ${root}/ > > - setup.py > > - modulename.py > > -modulefolder/__init__.py # contains all your code except for > > modulename.py > > - test/__init__.py # all your tests > > > > using A, I think any XML, yaml etc configuration is dropped into the > > modulefolder/ > > > > B: > > > > ${root}/ > > - setup.py > > - modulefolder/__init__.py > > /modulename.py > > > > > > 1. is A preferred over B? Is there a recommended layout ? Is there a > > recommended location as to where to store your test classes? inside the > > modulefolder? outside of it? > > I guess it depends on what you're actually building beyond an example > layout. If you're building a package, then you'll have a packagename > folder, the __init__.py, and the files that folder which construct > your package. If you just need a module, then just have a module. > > Do you have a more realistic example? > > Also, as for tests, most people tend to go with your A choice there. > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Wed Jan 22 04:48:10 2014 From: shekay at pobox.com (sheila miguez) Date: Tue, 21 Jan 2014 21:48:10 -0600 Subject: [Chicago] Python Packaging Question. In-Reply-To: References: Message-ID: On Tue, Jan 21, 2014 at 8:57 PM, Samir Faci wrote: > 3. bonus question. If anyone has a good simple example of a module > they've packaged with some type of configs and such... I'd buy you a beer > the next time I'm Chi town. > not me. and meta. but how about https://github.com/audreyr/cookiecutter-pypackage ? -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From samir at esamir.com Wed Jan 22 04:58:45 2014 From: samir at esamir.com (Samir Faci) Date: Tue, 21 Jan 2014 19:58:45 -0800 Subject: [Chicago] Python Packaging Question. In-Reply-To: References: Message-ID: Oooh slick. Thanks Sheila. That's a great starting point. On Tue, Jan 21, 2014 at 7:48 PM, sheila miguez wrote: > > On Tue, Jan 21, 2014 at 8:57 PM, Samir Faci wrote: > >> 3. bonus question. If anyone has a good simple example of a module >> they've packaged with some type of configs and such... I'd buy you a >> beer the next time I'm Chi town. >> > > not me. and meta. but how about > https://github.com/audreyr/cookiecutter-pypackage ? > > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Samir Faci *insert title* fortune | cowsay -f /usr/share/cows/tux.cow Sent from my non-iphone laptop. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjhelmus at gmail.com Wed Jan 22 15:52:15 2014 From: jjhelmus at gmail.com (Jonathan Helmus) Date: Wed, 22 Jan 2014 08:52:15 -0600 Subject: [Chicago] Python Packaging Question. In-Reply-To: References: Message-ID: <52DFDB1F.4070009@gmail.com> On 01/21/2014 08:57 PM, Samir Faci wrote: > I'm working to re-package a python project from work and hopefully > open source it, and I'm running into a few blockers I was hoping > someone can clarify for me. > > I've seen two styles and I'm not sure which is better or recommended > when structuring your module > > A: > > ${root}/ > - setup.py > - modulename.py > -modulefolder/__init__.py # contains all your code except for > modulename.py > - test/__init__.py # all your tests > > using A, I think any XML, yaml etc configuration is dropped into the > modulefolder/ > > B: > > ${root}/ > - setup.py > - modulefolder/__init__.py > /modulename.py > > 1. is A preferred over B? Is there a recommended layout ? Is there > a recommended location as to where to store your test classes? inside > the modulefolder? outside of it? > > 2. Where do you put your configuration? do you usually shove that > into the module folder? If so, how do you derive the location of the > configuration file? relative to __file__? with some os.path magic? > Would you store things in /etc/ ? > > 3. bonus question. If anyone has a good simple example of a module > they've packaged with some type of configs and such... I'd buy you a > beer the next time I'm Chi town. > > I'm probably going to have some follow up once I get all of this > squared away, but if anyone has any insight... or a link to one of > those.. read this guide that answers everything you ever wanted about > packaging and more. That'd be awesome. > Along with the other suggestions there is the The Hitchhiker's Guide to Packaging (http://guide.python-distribute.org/) which tried to be the guide to all things packaging. Although incomplete it does have a practical quick start and then goes into the details and inner workings of packaging tools if you want to know Cheers, - Jonathan Helmus From toby at anl.gov Wed Jan 22 21:13:26 2014 From: toby at anl.gov (Toby, Brian H.) Date: Wed, 22 Jan 2014 20:13:26 +0000 Subject: [Chicago] dict to local vars? Message-ID: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Can any Python gurus help me find a cleaner way to attack a problem? I am of the opinion that anything can be done in Python (though not always cleanly or wisely), but so far how to define variables in the local namespace from a dict has so far eluded me. Let me set the problem in context, in case there is a more pythonic way to approach this task: I am working on a set of routines that will evaluate an arbitrary expression. At least as I see myself framing the problem right now, I will end up with a str with the equation and a dict containing the values for each variable in the expression. I will not know what variable names to expect in the expression, so I must deal with them as strings at run-time. I want to evaluate the expression reasonably quickly (as I will later need numerical derivatives). The code fragment below does almost exactly what I want, except the values end up in the module's global namespace, but I would prefer they were in the local namespace or that of an object --- so that the 3rd call to evaleq would produce an exception. import numpy as np def evaleq(eq,vals): for k,v in vals.iteritems(): globals()[k] = v return 'expression '+eq+' => '+str(eval(eq)) myeq = 'a*np.exp(b)' myvals = {'a':1, 'b':0} print evaleq(myeq,myvals) print evaleq('2*Abc',{'Abc':21.}) print evaleq('2*Abc+a',{'Abc':21.}) Note that locals() is not supposed to be used in the way that I use globals() above, at least as far as I understand, so that is not an option. Any suggestions? Brian ******************************************************************** Brian H. Toby, Ph.D. office: 630-252-5488 Senior Physicist/Section Head for Scientific Software Advanced Photon Source 9700 S. Cass Ave, Bldg. 401/B4192 Argonne National Laboratory Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot gov ******************************************************************** "We will restore science to its rightful place, and wield technology's wonders... We will harness the sun and the winds and the soil to fuel our cars and run our factories... All this we can do. All this we will do." -------------- next part -------------- An HTML attachment was scrubbed... URL: From tottinge at gmail.com Wed Jan 22 21:30:25 2014 From: tottinge at gmail.com (Tim Ottinger) Date: Wed, 22 Jan 2014 14:30:25 -0600 Subject: [Chicago] dict to local vars? In-Reply-To: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> References: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Message-ID: eval will take two optional expressions. eval(string, globals, locals) You can use your dictionary of variables as the "globals" and protect the true global/locals. On Wed, Jan 22, 2014 at 2:13 PM, Toby, Brian H. wrote: > Can any Python gurus help me find a cleaner way to attack a problem? I > am of the opinion that *anything* can be done in Python (though not > always cleanly or wisely), but so far how to define variables in the local > namespace from a dict has so far eluded me. > > Let me set the problem in context, in case there is a more pythonic way > to approach this task: I am working on a set of routines that will evaluate > an arbitrary expression. At least as I see myself framing the problem right > now, I will end up with a str with the equation and a dict containing the > values for each variable in the expression. I will not know what variable > names to expect in the expression, so I must deal with them as strings at > run-time. > > I want to evaluate the expression reasonably quickly (as I will later > need numerical derivatives). The code fragment below does almost exactly > what I want, except the values end up in the module's global namespace, but > I would prefer they were in the local namespace or that of an object --- so > that the 3rd call to evaleq would produce an exception. > > import numpy as np > def evaleq(eq,vals): > for k,v in vals.iteritems(): globals()[k] = v > return 'expression '+eq+' => '+str(eval(eq)) > myeq = 'a*np.exp(b)' > myvals = {'a':1, 'b':0} > print evaleq(myeq,myvals) > print evaleq('2*Abc',{'Abc':21.}) > print evaleq('2*Abc+a',{'Abc':21.}) > > Note that locals() is not supposed to be used in the way that I use > globals() above, at least as far as I understand, so that is not an option. > > Any suggestions? > > Brian > > ******************************************************************** > Brian H. Toby, Ph.D. office: 630-252-5488 > Senior Physicist/Section Head for Scientific Software > Advanced Photon Source > 9700 S. Cass Ave, Bldg. 401/B4192 > Argonne National Laboratory > Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot gov > ******************************************************************** > "We will restore science to its rightful place, and wield technology's > wonders... We will harness the sun and the winds and the soil to fuel our > cars and run our factories... All this we can do. All this we will do." > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Tim Ottinger, Sr. Consultant, Industrial Logic ------------------------------------- http://www.industriallogic.com/ http://agileinaflash.com/ http://agileotter.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjhelmus at gmail.com Wed Jan 22 21:31:34 2014 From: jjhelmus at gmail.com (Jonathan Helmus) Date: Wed, 22 Jan 2014 14:31:34 -0600 Subject: [Chicago] dict to local vars? In-Reply-To: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> References: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Message-ID: <52E02AA6.1010901@gmail.com> Brian, The eval function can take two optional arguments, globals and locals which allow you to specify name spaces [1]. If you set locals to the dictionary of values in question they will not pollute the global name space: import numpy as np def evaleq(eq,vals): return str(eval(eq, globals(), vals)) myeq = 'a*np.exp(b)' myvals = {'a':1, 'b':0} print evaleq(myeq,myvals) print evaleq('2*Abc',{'Abc':21.}) print evaleq('2*Abc+a',{'Abc':21.}) When run this returns: 1.0 42.0 Traceback (most recent call last): File "problem.py", line 13, in print evaleq('2*Abc+a',{'Abc':21.}) File "problem.py", line 6, in evaleq return str(eval(eq, globals(), vals)) File "", line 1, in NameError: name 'a' is not defined Note that the variable don't exist in the name space of the evaleq function either, so they cannot be reused. [1] http://docs.python.org/2/library/functions.html#eval Cheers, - Jonathan Helmus On 01/22/2014 02:13 PM, Toby, Brian H. wrote: > Can any Python gurus help me find a cleaner way to attack a problem? I > am of the opinion that /anything/ can be done in Python (though not > always cleanly or wisely), but so far how to define variables in the > local namespace from a dict has so far eluded me. > > Let me set the problem in context, in case there is a more pythonic > way to approach this task: I am working on a set of routines that will > evaluate an arbitrary expression. At least as I see myself framing the > problem right now, I will end up with a str with the equation and a > dict containing the values for each variable in the expression. I will > not know what variable names to expect in the expression, so I must > deal with them as strings at run-time. > > I want to evaluate the expression reasonably quickly (as I will later > need numerical derivatives). The code fragment below does almost > exactly what I want, except the values end up in the module's global > namespace, but I would prefer they were in the local namespace or that > of an object --- so that the 3rd call to evaleq would produce an > exception. > > import numpy as np > def evaleq(eq,vals): > for k,v in vals.iteritems(): globals()[k] = v > return 'expression '+eq+' => '+str(eval(eq)) > myeq = 'a*np.exp(b)' > myvals = {'a':1, 'b':0} > print evaleq(myeq,myvals) > print evaleq('2*Abc',{'Abc':21.}) > print evaleq('2*Abc+a',{'Abc':21.}) > > Note that locals() is not supposed to be used in the way that I use > globals() above, at least as far as I understand, so that is not an > option. > > Any suggestions? > > Brian > > ******************************************************************** > Brian H. Toby, Ph.D. office: 630-252-5488 > Senior Physicist/Section Head for Scientific Software > Advanced Photon Source > 9700 S. Cass Ave, Bldg. 401/B4192 > Argonne National Laboratory > Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot gov > ******************************************************************** > "We will restore science to its rightful place, and wield technology's > wonders... We will harness the sun and the winds and the soil to fuel > our cars and run our factories... All this we can do. All this we > will do." > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Wed Jan 22 21:45:39 2014 From: brianhray at gmail.com (Brian Ray) Date: Wed, 22 Jan 2014 14:45:39 -0600 Subject: [Chicago] dict to local vars? In-Reply-To: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> References: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Message-ID: Not sure if this answers your question, but eval does take namespace arguments. See below: # http://docs.python.org/2/library/functions.html#eval myeq = 'a*np.exp(b)' myvals = {'a':1, 'b':0} def evaleq2(eq, vals): vals['np'] = np return 'expression '+eq+' => '+str(eval(eq, vals)) print evaleq2(myeq, myvals) -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Wed Jan 22 21:22:44 2014 From: adam at adamforsyth.net (Adam Forsyth) Date: Wed, 22 Jan 2014 14:22:44 -0600 Subject: [Chicago] dict to local vars? In-Reply-To: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> References: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Message-ID: I'll assume you know this is bad and that there are existing libraries to solve this problem. There isn't a good way to modify locals. Instead, I think you want to use the optional arguments to eval that allow you to provide dictionaries to use in place of the real locals and globals. import math def evaleq(eq,vals): return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) myeq = 'a*math.log(b)' myvals = {'a':3, 'b':2} print evaleq(myeq,myvals) print evaleq('2*Abc',{'Abc':21.}) print evaleq('2*Abc+a',{'Abc':21.}) expression a*math.log(b) => 2.07944154168 expression 2*Abc => 42.0 Traceback (most recent call last): File "eval.py", line 8, in print evaleq('2*Abc+a',{'Abc':21.}) File "eval.py", line 3, in evaleq return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) File "", line 1, in NameError: name 'a' is not defined On Wed, Jan 22, 2014 at 2:13 PM, Toby, Brian H. wrote: > Can any Python gurus help me find a cleaner way to attack a problem? I > am of the opinion that *anything* can be done in Python (though not > always cleanly or wisely), but so far how to define variables in the local > namespace from a dict has so far eluded me. > > Let me set the problem in context, in case there is a more pythonic way > to approach this task: I am working on a set of routines that will evaluate > an arbitrary expression. At least as I see myself framing the problem right > now, I will end up with a str with the equation and a dict containing the > values for each variable in the expression. I will not know what variable > names to expect in the expression, so I must deal with them as strings at > run-time. > > I want to evaluate the expression reasonably quickly (as I will later > need numerical derivatives). The code fragment below does almost exactly > what I want, except the values end up in the module's global namespace, but > I would prefer they were in the local namespace or that of an object --- so > that the 3rd call to evaleq would produce an exception. > > import numpy as np > def evaleq(eq,vals): > for k,v in vals.iteritems(): globals()[k] = v > return 'expression '+eq+' => '+str(eval(eq)) > myeq = 'a*np.exp(b)' > myvals = {'a':1, 'b':0} > print evaleq(myeq,myvals) > print evaleq('2*Abc',{'Abc':21.}) > print evaleq('2*Abc+a',{'Abc':21.}) > > Note that locals() is not supposed to be used in the way that I use > globals() above, at least as far as I understand, so that is not an option. > > Any suggestions? > > Brian > > ******************************************************************** > Brian H. Toby, Ph.D. office: 630-252-5488 > Senior Physicist/Section Head for Scientific Software > Advanced Photon Source > 9700 S. Cass Ave, Bldg. 401/B4192 > Argonne National Laboratory > Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot gov > ******************************************************************** > "We will restore science to its rightful place, and wield technology's > wonders... We will harness the sun and the winds and the soil to fuel our > cars and run our factories... All this we can do. All this we will do." > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtobis at gmail.com Wed Jan 22 22:35:05 2014 From: mtobis at gmail.com (Michael Tobis) Date: Wed, 22 Jan 2014 15:35:05 -0600 Subject: [Chicago] dict to local vars? In-Reply-To: References: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Message-ID: locals.update(mydict) example: >>> mydict = {"foo" : "bazz"} >>> mydict["foo"] 'bazz' >>> foo Traceback (most recent call last): File "", line 1, in NameError: name 'foo' is not defined >>> locals().update(mydict) >>> foo 'bazz' On Wed, Jan 22, 2014 at 2:22 PM, Adam Forsyth wrote: > I'll assume you know this is bad and that there are existing libraries to > solve this problem. > > > There isn't a good way to modify locals. Instead, I think you want to use > the optional arguments to eval that allow you to provide dictionaries to > use in place of the real locals and globals. > > import math > def evaleq(eq,vals): > return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) > myeq = 'a*math.log(b)' > myvals = {'a':3, 'b':2} > print evaleq(myeq,myvals) > print evaleq('2*Abc',{'Abc':21.}) > print evaleq('2*Abc+a',{'Abc':21.}) > > expression a*math.log(b) => 2.07944154168 > expression 2*Abc => 42.0 > > Traceback (most recent call last): > File "eval.py", line 8, in > > print evaleq('2*Abc+a',{'Abc':21.}) > File "eval.py", line 3, in evaleq > return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) > > File "", line 1, in > NameError: name 'a' is not defined > > > > > On Wed, Jan 22, 2014 at 2:13 PM, Toby, Brian H. wrote: > >> Can any Python gurus help me find a cleaner way to attack a problem? I >> am of the opinion that *anything* can be done in Python (though not >> always cleanly or wisely), but so far how to define variables in the local >> namespace from a dict has so far eluded me. >> >> Let me set the problem in context, in case there is a more pythonic way >> to approach this task: I am working on a set of routines that will evaluate >> an arbitrary expression. At least as I see myself framing the problem right >> now, I will end up with a str with the equation and a dict containing the >> values for each variable in the expression. I will not know what variable >> names to expect in the expression, so I must deal with them as strings at >> run-time. >> >> I want to evaluate the expression reasonably quickly (as I will later >> need numerical derivatives). The code fragment below does almost exactly >> what I want, except the values end up in the module's global namespace, but >> I would prefer they were in the local namespace or that of an object --- so >> that the 3rd call to evaleq would produce an exception. >> >> import numpy as np >> def evaleq(eq,vals): >> for k,v in vals.iteritems(): globals()[k] = v >> return 'expression '+eq+' => '+str(eval(eq)) >> myeq = 'a*np.exp(b)' >> myvals = {'a':1, 'b':0} >> print evaleq(myeq,myvals) >> print evaleq('2*Abc',{'Abc':21.}) >> print evaleq('2*Abc+a',{'Abc':21.}) >> >> Note that locals() is not supposed to be used in the way that I use >> globals() above, at least as far as I understand, so that is not an option. >> >> Any suggestions? >> >> Brian >> >> ******************************************************************** >> Brian H. Toby, Ph.D. office: 630-252-5488 >> Senior Physicist/Section Head for Scientific Software >> Advanced Photon Source >> 9700 S. Cass Ave, Bldg. 401/B4192 >> Argonne National Laboratory >> Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot gov >> ******************************************************************** >> "We will restore science to its rightful place, and wield technology's >> wonders... We will harness the sun and the winds and the soil to fuel our >> cars and run our factories... All this we can do. All this we will do." >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtobis at gmail.com Wed Jan 22 22:35:44 2014 From: mtobis at gmail.com (Michael Tobis) Date: Wed, 22 Jan 2014 15:35:44 -0600 Subject: [Chicago] dict to local vars? In-Reply-To: References: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Message-ID: oops I mean locals().update(mydict) On Wed, Jan 22, 2014 at 3:35 PM, Michael Tobis wrote: > locals.update(mydict) > > example: > > >>> mydict = {"foo" : "bazz"} > >>> mydict["foo"] > 'bazz' > >>> foo > > Traceback (most recent call last): > File "", line 1, in > NameError: name 'foo' is not defined > >>> locals().update(mydict) > >>> foo > 'bazz' > > > > On Wed, Jan 22, 2014 at 2:22 PM, Adam Forsyth wrote: > >> I'll assume you know this is bad and that there are existing libraries to >> solve this problem. >> >> >> There isn't a good way to modify locals. Instead, I think you want to use >> the optional arguments to eval that allow you to provide dictionaries to >> use in place of the real locals and globals. >> >> import math >> def evaleq(eq,vals): >> return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) >> myeq = 'a*math.log(b)' >> myvals = {'a':3, 'b':2} >> print evaleq(myeq,myvals) >> print evaleq('2*Abc',{'Abc':21.}) >> print evaleq('2*Abc+a',{'Abc':21.}) >> >> expression a*math.log(b) => 2.07944154168 >> expression 2*Abc => 42.0 >> >> Traceback (most recent call last): >> File "eval.py", line 8, in >> >> print evaleq('2*Abc+a',{'Abc':21.}) >> File "eval.py", line 3, in evaleq >> return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) >> >> File "", line 1, in >> NameError: name 'a' is not defined >> >> >> >> >> On Wed, Jan 22, 2014 at 2:13 PM, Toby, Brian H. wrote: >> >>> Can any Python gurus help me find a cleaner way to attack a problem? I >>> am of the opinion that *anything* can be done in Python (though not >>> always cleanly or wisely), but so far how to define variables in the local >>> namespace from a dict has so far eluded me. >>> >>> Let me set the problem in context, in case there is a more pythonic >>> way to approach this task: I am working on a set of routines that will >>> evaluate an arbitrary expression. At least as I see myself framing the >>> problem right now, I will end up with a str with the equation and a dict >>> containing the values for each variable in the expression. I will not know >>> what variable names to expect in the expression, so I must deal with them >>> as strings at run-time. >>> >>> I want to evaluate the expression reasonably quickly (as I will later >>> need numerical derivatives). The code fragment below does almost exactly >>> what I want, except the values end up in the module's global namespace, but >>> I would prefer they were in the local namespace or that of an object --- so >>> that the 3rd call to evaleq would produce an exception. >>> >>> import numpy as np >>> def evaleq(eq,vals): >>> for k,v in vals.iteritems(): globals()[k] = v >>> return 'expression '+eq+' => '+str(eval(eq)) >>> myeq = 'a*np.exp(b)' >>> myvals = {'a':1, 'b':0} >>> print evaleq(myeq,myvals) >>> print evaleq('2*Abc',{'Abc':21.}) >>> print evaleq('2*Abc+a',{'Abc':21.}) >>> >>> Note that locals() is not supposed to be used in the way that I use >>> globals() above, at least as far as I understand, so that is not an option. >>> >>> Any suggestions? >>> >>> Brian >>> >>> ******************************************************************** >>> Brian H. Toby, Ph.D. office: 630-252-5488 >>> Senior Physicist/Section Head for Scientific Software >>> Advanced Photon Source >>> 9700 S. Cass Ave, Bldg. 401/B4192 >>> Argonne National Laboratory >>> Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot gov >>> ******************************************************************** >>> "We will restore science to its rightful place, and wield technology's >>> wonders... We will harness the sun and the winds and the soil to fuel our >>> cars and run our factories... All this we can do. All this we will do." >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From toby at anl.gov Wed Jan 22 23:05:25 2014 From: toby at anl.gov (Toby, Brian H.) Date: Wed, 22 Jan 2014 22:05:25 +0000 Subject: [Chicago] dict to local vars? In-Reply-To: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> References: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Message-ID: <3BB6345B-7B4D-4FBF-B7F6-C9AACBCCBE8F@anl.gov> Yes, indeed, the optional args for eval() is exactly what I wanted to know! Four answers to an obscure (IMHO) question in less than 45 minutes -- you folks are incredible. Many thanks. Brian On Jan 22, 2014, at 2:13 PM, Toby, Brian H. wrote: Can any Python gurus help me find a cleaner way to attack a problem? I am of the opinion that anything can be done in Python (though not always cleanly or wisely), but so far how to define variables in the local namespace from a dict has so far eluded me. ******************************************************************** Brian H. Toby, Ph.D. office: 630-252-5488 Senior Physicist/Section Head for Scientific Software Advanced Photon Source 9700 S. Cass Ave, Bldg. 401/B4192 work cell: 630-327-8426 Argonne National Laboratory Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot gov ******************************************************************** "We will restore science to its rightful place, and wield technology's wonders... We will harness the sun and the winds and the soil to fuel our cars and run our factories... All this we can do. All this we will do." -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Wed Jan 22 22:46:27 2014 From: adam at adamforsyth.net (Adam Forsyth) Date: Wed, 22 Jan 2014 15:46:27 -0600 Subject: [Chicago] dict to local vars? In-Reply-To: References: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Message-ID: You can't depend on updating locals inside a function or other inner scope. The behavior is undefined. It works at module level because there is no separate locals -- you're updating globals. On Wed, Jan 22, 2014 at 3:35 PM, Michael Tobis wrote: > oops I mean > > locals().update(mydict) > > > On Wed, Jan 22, 2014 at 3:35 PM, Michael Tobis wrote: > >> locals.update(mydict) >> >> example: >> >> >>> mydict = {"foo" : "bazz"} >> >>> mydict["foo"] >> 'bazz' >> >>> foo >> >> Traceback (most recent call last): >> File "", line 1, in >> NameError: name 'foo' is not defined >> >>> locals().update(mydict) >> >>> foo >> 'bazz' >> >> >> >> On Wed, Jan 22, 2014 at 2:22 PM, Adam Forsyth wrote: >> >>> I'll assume you know this is bad and that there are existing libraries >>> to solve this problem. >>> >>> >>> There isn't a good way to modify locals. Instead, I think you want to >>> use the optional arguments to eval that allow you to provide dictionaries >>> to use in place of the real locals and globals. >>> >>> import math >>> def evaleq(eq,vals): >>> return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) >>> myeq = 'a*math.log(b)' >>> myvals = {'a':3, 'b':2} >>> print evaleq(myeq,myvals) >>> print evaleq('2*Abc',{'Abc':21.}) >>> print evaleq('2*Abc+a',{'Abc':21.}) >>> >>> expression a*math.log(b) => 2.07944154168 >>> expression 2*Abc => 42.0 >>> >>> Traceback (most recent call last): >>> File "eval.py", line 8, in >>> >>> print evaleq('2*Abc+a',{'Abc':21.}) >>> File "eval.py", line 3, in evaleq >>> return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) >>> >>> File "", line 1, in >>> NameError: name 'a' is not defined >>> >>> >>> >>> >>> On Wed, Jan 22, 2014 at 2:13 PM, Toby, Brian H. wrote: >>> >>>> Can any Python gurus help me find a cleaner way to attack a problem? >>>> I am of the opinion that *anything* can be done in Python (though not >>>> always cleanly or wisely), but so far how to define variables in the local >>>> namespace from a dict has so far eluded me. >>>> >>>> Let me set the problem in context, in case there is a more pythonic >>>> way to approach this task: I am working on a set of routines that will >>>> evaluate an arbitrary expression. At least as I see myself framing the >>>> problem right now, I will end up with a str with the equation and a dict >>>> containing the values for each variable in the expression. I will not know >>>> what variable names to expect in the expression, so I must deal with them >>>> as strings at run-time. >>>> >>>> I want to evaluate the expression reasonably quickly (as I will later >>>> need numerical derivatives). The code fragment below does almost exactly >>>> what I want, except the values end up in the module's global namespace, but >>>> I would prefer they were in the local namespace or that of an object --- so >>>> that the 3rd call to evaleq would produce an exception. >>>> >>>> import numpy as np >>>> def evaleq(eq,vals): >>>> for k,v in vals.iteritems(): globals()[k] = v >>>> return 'expression '+eq+' => '+str(eval(eq)) >>>> myeq = 'a*np.exp(b)' >>>> myvals = {'a':1, 'b':0} >>>> print evaleq(myeq,myvals) >>>> print evaleq('2*Abc',{'Abc':21.}) >>>> print evaleq('2*Abc+a',{'Abc':21.}) >>>> >>>> Note that locals() is not supposed to be used in the way that I use >>>> globals() above, at least as far as I understand, so that is not an option. >>>> >>>> Any suggestions? >>>> >>>> Brian >>>> >>>> ******************************************************************** >>>> Brian H. Toby, Ph.D. office: 630-252-5488 >>>> Senior Physicist/Section Head for Scientific Software >>>> Advanced Photon Source >>>> 9700 S. Cass Ave, Bldg. 401/B4192 >>>> Argonne National Laboratory >>>> Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot gov >>>> ******************************************************************** >>>> "We will restore science to its rightful place, and wield technology's >>>> wonders... We will harness the sun and the winds and the soil to fuel our >>>> cars and run our factories... All this we can do. All this we will do." >>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From timtrudell at gmail.com Thu Jan 23 01:18:57 2014 From: timtrudell at gmail.com (Tim Trudell) Date: Wed, 22 Jan 2014 18:18:57 -0600 Subject: [Chicago] Looking for Python/CS tutor Message-ID: Hello, I have a personal project I'd like to get some input. I've done a lot of playing around with tutorials and examples (Django tutorial/some flask/mongodb tutorials) but lack good perspective/deeper understanding. I'm the CS equivalent of the physics/engineering student who can memorize and plug in to formulas but doesn't have the conceptual grasp of what the formula means. Bottom line, I'm looking for resources to help me how to think like a developer. I'm a statistician by trade and am willing to tutor in math/stats or, if need be, hire someone as a tutor. Thanks! Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Thu Jan 23 02:16:46 2014 From: carl at personnelware.com (Carl Karsten) Date: Wed, 22 Jan 2014 19:16:46 -0600 Subject: [Chicago] Looking for Python/CS tutor In-Reply-To: References: Message-ID: https://wiki.pumpingstationone.org/Python_Office_Hours Next is Jan 29. We love to discuss such things. Too bad I won't be there, and there is a chance it will be canceled due to weather and all, so confirm that it is actually a go before you just show up. On Wed, Jan 22, 2014 at 6:18 PM, Tim Trudell wrote: > Hello, > > I have a personal project I'd like to get some input. I've done a lot of > playing around with tutorials and examples (Django tutorial/some > flask/mongodb tutorials) but lack good perspective/deeper understanding. > I'm the CS equivalent of the physics/engineering student who can memorize > and plug in to formulas but doesn't have the conceptual grasp of what the > formula means. > > Bottom line, I'm looking for resources to help me how to think like a > developer. > > I'm a statistician by trade and am willing to tutor in math/stats or, if > need be, hire someone as a tutor. Thanks! > > Tim > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Carl K -------------- next part -------------- An HTML attachment was scrubbed... URL: From yarkot1 at gmail.com Thu Jan 23 03:40:10 2014 From: yarkot1 at gmail.com (Yarko Tymciurak) Date: Wed, 22 Jan 2014 20:40:10 -0600 Subject: [Chicago] dict to local vars? In-Reply-To: References: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Message-ID: There's this tidbit, too (just for completeness): http://stackoverflow.com/questions/7973709/adding-exec-pass-to-a-function-allows-modifications-of-locals-to-be-reflec On Wed, Jan 22, 2014 at 3:46 PM, Adam Forsyth wrote: > You can't depend on updating locals inside a function or other inner > scope. The behavior is undefined. It works at module level because there is > no separate locals -- you're updating globals. > > > On Wed, Jan 22, 2014 at 3:35 PM, Michael Tobis wrote: > >> oops I mean >> >> locals().update(mydict) >> >> >> On Wed, Jan 22, 2014 at 3:35 PM, Michael Tobis wrote: >> >>> locals.update(mydict) >>> >>> example: >>> >>> >>> mydict = {"foo" : "bazz"} >>> >>> mydict["foo"] >>> 'bazz' >>> >>> foo >>> >>> Traceback (most recent call last): >>> File "", line 1, in >>> NameError: name 'foo' is not defined >>> >>> locals().update(mydict) >>> >>> foo >>> 'bazz' >>> >>> >>> >>> On Wed, Jan 22, 2014 at 2:22 PM, Adam Forsyth wrote: >>> >>>> I'll assume you know this is bad and that there are existing libraries >>>> to solve this problem. >>>> >>>> >>>> There isn't a good way to modify locals. Instead, I think you want to >>>> use the optional arguments to eval that allow you to provide dictionaries >>>> to use in place of the real locals and globals. >>>> >>>> import math >>>> def evaleq(eq,vals): >>>> return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) >>>> myeq = 'a*math.log(b)' >>>> myvals = {'a':3, 'b':2} >>>> print evaleq(myeq,myvals) >>>> print evaleq('2*Abc',{'Abc':21.}) >>>> print evaleq('2*Abc+a',{'Abc':21.}) >>>> >>>> expression a*math.log(b) => 2.07944154168 >>>> expression 2*Abc => 42.0 >>>> >>>> Traceback (most recent call last): >>>> File "eval.py", line 8, in >>>> >>>> print evaleq('2*Abc+a',{'Abc':21.}) >>>> File "eval.py", line 3, in evaleq >>>> return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) >>>> >>>> File "", line 1, in >>>> NameError: name 'a' is not defined >>>> >>>> >>>> >>>> >>>> On Wed, Jan 22, 2014 at 2:13 PM, Toby, Brian H. wrote: >>>> >>>>> Can any Python gurus help me find a cleaner way to attack a problem? >>>>> I am of the opinion that *anything* can be done in Python (though not >>>>> always cleanly or wisely), but so far how to define variables in the local >>>>> namespace from a dict has so far eluded me. >>>>> >>>>> Let me set the problem in context, in case there is a more pythonic >>>>> way to approach this task: I am working on a set of routines that will >>>>> evaluate an arbitrary expression. At least as I see myself framing the >>>>> problem right now, I will end up with a str with the equation and a dict >>>>> containing the values for each variable in the expression. I will not know >>>>> what variable names to expect in the expression, so I must deal with them >>>>> as strings at run-time. >>>>> >>>>> I want to evaluate the expression reasonably quickly (as I will >>>>> later need numerical derivatives). The code fragment below does almost >>>>> exactly what I want, except the values end up in the module's global >>>>> namespace, but I would prefer they were in the local namespace or that of >>>>> an object --- so that the 3rd call to evaleq would produce an exception. >>>>> >>>>> import numpy as np >>>>> def evaleq(eq,vals): >>>>> for k,v in vals.iteritems(): globals()[k] = v >>>>> return 'expression '+eq+' => '+str(eval(eq)) >>>>> myeq = 'a*np.exp(b)' >>>>> myvals = {'a':1, 'b':0} >>>>> print evaleq(myeq,myvals) >>>>> print evaleq('2*Abc',{'Abc':21.}) >>>>> print evaleq('2*Abc+a',{'Abc':21.}) >>>>> >>>>> Note that locals() is not supposed to be used in the way that I use >>>>> globals() above, at least as far as I understand, so that is not an option. >>>>> >>>>> Any suggestions? >>>>> >>>>> Brian >>>>> >>>>> ******************************************************************** >>>>> Brian H. Toby, Ph.D. office: 630-252-5488 >>>>> Senior Physicist/Section Head for Scientific Software >>>>> Advanced Photon Source >>>>> 9700 S. Cass Ave, Bldg. 401/B4192 >>>>> Argonne National Laboratory >>>>> Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot gov >>>>> ******************************************************************** >>>>> "We will restore science to its rightful place, and wield >>>>> technology's wonders... We will harness the sun and the winds and the soil >>>>> to fuel our cars and run our factories... All this we can do. All this we >>>>> will do." >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From japhy at pearachute.com Thu Jan 23 06:31:25 2014 From: japhy at pearachute.com (Japhy Bartlett) Date: Wed, 22 Jan 2014 23:31:25 -0600 Subject: [Chicago] dict to local vars? In-Reply-To: References: <70A0A9D9-EE1A-4EA7-BF95-935703FD15FF@anl.gov> Message-ID: Another way to approach an awkward situation like this maybe is to reconsider why you need to evaluate arbitrary functions as strings! What if you converted the strings into proper functions first, maybe a class that implements __call__()? Then you can __call__( **yourlocaldict.keys() ) On Wed, Jan 22, 2014 at 8:40 PM, Yarko Tymciurak wrote: > There's this tidbit, too (just for completeness): > > http://stackoverflow.com/questions/7973709/adding-exec-pass-to-a-function-allows-modifications-of-locals-to-be-reflec > > > > On Wed, Jan 22, 2014 at 3:46 PM, Adam Forsyth wrote: > >> You can't depend on updating locals inside a function or other inner >> scope. The behavior is undefined. It works at module level because there is >> no separate locals -- you're updating globals. >> >> >> On Wed, Jan 22, 2014 at 3:35 PM, Michael Tobis wrote: >> >>> oops I mean >>> >>> locals().update(mydict) >>> >>> >>> On Wed, Jan 22, 2014 at 3:35 PM, Michael Tobis wrote: >>> >>>> locals.update(mydict) >>>> >>>> example: >>>> >>>> >>> mydict = {"foo" : "bazz"} >>>> >>> mydict["foo"] >>>> 'bazz' >>>> >>> foo >>>> >>>> Traceback (most recent call last): >>>> File "", line 1, in >>>> NameError: name 'foo' is not defined >>>> >>> locals().update(mydict) >>>> >>> foo >>>> 'bazz' >>>> >>>> >>>> >>>> On Wed, Jan 22, 2014 at 2:22 PM, Adam Forsyth wrote: >>>> >>>>> I'll assume you know this is bad and that there are existing libraries >>>>> to solve this problem. >>>>> >>>>> >>>>> There isn't a good way to modify locals. Instead, I think you want to >>>>> use the optional arguments to eval that allow you to provide dictionaries >>>>> to use in place of the real locals and globals. >>>>> >>>>> import math >>>>> def evaleq(eq,vals): >>>>> return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) >>>>> myeq = 'a*math.log(b)' >>>>> myvals = {'a':3, 'b':2} >>>>> print evaleq(myeq,myvals) >>>>> print evaleq('2*Abc',{'Abc':21.}) >>>>> print evaleq('2*Abc+a',{'Abc':21.}) >>>>> >>>>> expression a*math.log(b) => 2.07944154168 >>>>> expression 2*Abc => 42.0 >>>>> >>>>> Traceback (most recent call last): >>>>> File "eval.py", line 8, in >>>>> >>>>> print evaleq('2*Abc+a',{'Abc':21.}) >>>>> File "eval.py", line 3, in evaleq >>>>> return 'expression '+eq+' => '+str(eval(eq,globals(),vals)) >>>>> >>>>> File "", line 1, in >>>>> NameError: name 'a' is not defined >>>>> >>>>> >>>>> >>>>> >>>>> On Wed, Jan 22, 2014 at 2:13 PM, Toby, Brian H. wrote: >>>>> >>>>>> Can any Python gurus help me find a cleaner way to attack a >>>>>> problem? I am of the opinion that *anything* can be done in Python >>>>>> (though not always cleanly or wisely), but so far how to define variables >>>>>> in the local namespace from a dict has so far eluded me. >>>>>> >>>>>> Let me set the problem in context, in case there is a more pythonic >>>>>> way to approach this task: I am working on a set of routines that will >>>>>> evaluate an arbitrary expression. At least as I see myself framing the >>>>>> problem right now, I will end up with a str with the equation and a dict >>>>>> containing the values for each variable in the expression. I will not know >>>>>> what variable names to expect in the expression, so I must deal with them >>>>>> as strings at run-time. >>>>>> >>>>>> I want to evaluate the expression reasonably quickly (as I will >>>>>> later need numerical derivatives). The code fragment below does almost >>>>>> exactly what I want, except the values end up in the module's global >>>>>> namespace, but I would prefer they were in the local namespace or that of >>>>>> an object --- so that the 3rd call to evaleq would produce an exception. >>>>>> >>>>>> import numpy as np >>>>>> def evaleq(eq,vals): >>>>>> for k,v in vals.iteritems(): globals()[k] = v >>>>>> return 'expression '+eq+' => '+str(eval(eq)) >>>>>> myeq = 'a*np.exp(b)' >>>>>> myvals = {'a':1, 'b':0} >>>>>> print evaleq(myeq,myvals) >>>>>> print evaleq('2*Abc',{'Abc':21.}) >>>>>> print evaleq('2*Abc+a',{'Abc':21.}) >>>>>> >>>>>> Note that locals() is not supposed to be used in the way that I use >>>>>> globals() above, at least as far as I understand, so that is not an option. >>>>>> >>>>>> Any suggestions? >>>>>> >>>>>> Brian >>>>>> >>>>>> ******************************************************************** >>>>>> Brian H. Toby, Ph.D. office: 630-252-5488 >>>>>> Senior Physicist/Section Head for Scientific Software >>>>>> Advanced Photon Source >>>>>> 9700 S. Cass Ave, Bldg. 401/B4192 >>>>>> Argonne National Laboratory >>>>>> Argonne, IL 60439-4856 e-mail: brian dot toby at anl dot >>>>>> gov >>>>>> ******************************************************************** >>>>>> "We will restore science to its rightful place, and wield >>>>>> technology's wonders... We will harness the sun and the winds and the soil >>>>>> to fuel our cars and run our factories... All this we can do. All this we >>>>>> will do." >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From perlsyntax at hotmail.com Fri Jan 24 17:58:35 2014 From: perlsyntax at hotmail.com (craig syntax) Date: Fri, 24 Jan 2014 10:58:35 -0600 Subject: [Chicago] mac os x pytohn question Message-ID: I going to be getting a mac mini and i like to know what tools do i need to run python scripts and can i use xcode to make python app for the apple store? And i hope someone that has a mac os x that will help me out i newbie come to apple:) -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at agilitynerd.com Fri Jan 24 18:03:36 2014 From: steve at agilitynerd.com (Steve Schwarz) Date: Fri, 24 Jan 2014 11:03:36 -0600 Subject: [Chicago] mac os x pytohn question In-Reply-To: References: Message-ID: http://www.python.org/getit/mac/ http://stackoverflow.com/questions/4940273/is-it-possible-to-deploy-a-python-application-on-the-mac-app-store On Fri, Jan 24, 2014 at 10:58 AM, craig syntax wrote: > I going to be getting a mac mini and i like to know what tools do i need > to run python scripts and can i use xcode to make python app for the apple > store? > > And i hope someone that has a mac os x that will help me out i newbie > come to apple:) > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Best Regards, Steve Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ Dog Agility Search: http://googility.com/ Dog Agility Courses: http://agilitycourses.com/ http://www.facebook.com/AgilityNerd -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at paulmayassociates.com Fri Jan 24 16:46:10 2014 From: paul at paulmayassociates.com (Paul May) Date: Fri, 24 Jan 2014 15:46:10 -0000 Subject: [Chicago] Sign up for The May Report - bringing you News you can Use Message-ID: <150493149084346@198.154.215.62:26> Dear Chipy Members, many of you knew Ron May who passed away in June 2013 and was my brother. We're continuing his legacy and hard work at The May Report, a collection of in Technology Community News, Information, Opinions, Scoop, and Events. This is a Grass Roots Report. Contributions from the community to get News and Scoops out. Feel free to provide information. Giving tons of information on companies hiring, their products and feet on the street views. News you can use. Check out the archives as well. If you want to share an event, post a job, add your company information, or give view point, send an email with the information to paul at themayreport.com or post it directly on the website. Check out the latest report http://themayreport.com/2014/01/20/the-may-report-bringing-you-the-latest-in-technology-community-news-information-opinions-scoop-and-events/ Sign up today to get an email notification and never miss a new report when it is posted up. Let others know about the report. www.themayreport.com Hope to see you at Chipy. This email was blessed by the Powers that be (BRay) to send out. Thanks and stay warm ;-) Paul President v 708-479-1111 c 312-925-1294 Paul May & Associates, Inc. (PMA) paul at paulmayassociates.com link up http://www.linkedin.com/in/paulmayassociates like us on http://www.facebook.com/paulmayassociates Search over 100 real jobs www.paulmayassociates.com (The following links were included with this email:) mailto:paul at themayreport.com http://themayreport.com/2014/01/20/the-may-report-bringing-you-the-latest-in-technology-community-news-information-opinions-scoop-and-events/ http://www.themayreport.com/ mailto:paul at paulmayassociates.com http://www.linkedin.com/in/paulmayassociates http://www.facebook.com/paulmayassociates http://www.paulmayassociates.com/ (The following links were included with this email:) mailto:paul at themayreport.com http://themayreport.com/2014/01/20/the-may-report-bringing-you-the-latest-in-technology-community-news-information-opinions-scoop-and-events/ http://www.themayreport.com/ mailto:paul at paulmayassociates.com http://www.linkedin.com/in/paulmayassociates http://www.facebook.com/paulmayassociates http://www.paulmayassociates.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From toastie604 at gmail.com Sat Jan 25 20:01:59 2014 From: toastie604 at gmail.com (Keith Erskine) Date: Sat, 25 Jan 2014 13:01:59 -0600 Subject: [Chicago] mac os x pytohn question Message-ID: As a newbie to both Python and Macs, the best source I found (after a long search) for setting up a Mac from scratch with Python was: http://hackercodex.com/guide/mac-osx-mountain-lion-10.8-configuration/ http://hackercodex.com/guide/python-development-environment-on-mac-osx/ (Yes, the new MacOS Maverick has been released but it's the same approach for both OS's). If you're using Python 3.3 though, you don't need to install 'virtualenv' separately (it's built in). If you're using Python 3.4, you don't even need to install 'pip'. - Keith -------------- next part -------------- An HTML attachment was scrubbed... URL: From emperorcezar at gmail.com Sun Jan 26 06:44:54 2014 From: emperorcezar at gmail.com (Cezar Jenkins) Date: Sat, 25 Jan 2014 23:44:54 -0600 Subject: [Chicago] Chipy.org now has an iCal feed Message-ID: Thanks to the work of?https://github.com/ConceitedCode?we now have an iCal feed. The url is?http://www.chipy.org/meetings/ical/ --? Cezar Jenkins @emperorcezar -------------- next part -------------- An HTML attachment was scrubbed... URL: From ascription at yahoo.com Sun Jan 26 20:35:39 2014 From: ascription at yahoo.com (Aaron Brady) Date: Sun, 26 Jan 2014 11:35:39 -0800 (PST) Subject: [Chicago] february meeting presentation Message-ID: <1390764939.36898.YahooMailNeo@web140202.mail.bf1.yahoo.com> Hi class, As you know I'm a newcomer. ?I enjoyed presenting at the January meeting. ?I'd like to sign up to do it again. I want your opinions on a topic to discuss. ?My top two preferences are hardware or deadlock detection. ?The hardware subject does not relate to Python directly, but it could be very interesting. Here are the links I would discuss. ?I could do the other one in March or anything else. Hardware (abstract, not Python): ?The abstract logic system computers are based on. ?How bits get from one place to another. ?The actual copper and silicon design is related. ?http://home.comcast.net/~castironpi-misc/projects.html#Logic_Vis Deadlock detection (abstract, example in Python). ?Multi-process programs need to coordinate access to the same resources. ?In some configurations of priority, a thread will never advance. ?Such "deadlock" can be prevented on the OS or application level. ?http://home.comcast.net/~castironpi-misc/irc-0085%20deadlock%20detection.py I guess we should just vote on it. ?What is your opinion? ?What do you want to see and hear about and learn about? -------------- next part -------------- An HTML attachment was scrubbed... URL: From latiendawi at gmail.com Mon Jan 27 15:17:23 2014 From: latiendawi at gmail.com (Latienda) Date: Mon, 27 Jan 2014 08:17:23 -0600 Subject: [Chicago] Chicago Digest, Vol 101, Issue 27 In-Reply-To: References: Message-ID: Good Morning I am a newcomer to the group and would like to know is the request for a March class suggestion accepted by replying to the email? Thanks and I look forward to the meeting. --- On Jan 27, 2014, at 5:00 AM, chicago-request at python.org wrote: > Hardware (abstract, not Python): ?The abstract logic system computers are based on. ?How bits get from one place to another. ?The actual copper and silicon design is related. ?http://home.comcast.net/~castironpi-misc/projects.html#Logic_Vis -------------- next part -------------- An HTML attachment was scrubbed... URL: From technicallydebatable at gmail.com Tue Jan 28 01:58:49 2014 From: technicallydebatable at gmail.com (Adrian Buford) Date: Mon, 27 Jan 2014 18:58:49 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: Looking for assist on writing a Python based traffic analysis script(s). I have the concept drawn but just started digging into coding. Any help is appreciated. Point A > captures bssid, mac, said, signal strength of AP(x) and appends time stamp to logA Point B > does same and appends to logB Information is compared between logs and average Point A to Point B time is generated based on signal threshold. AP(x) being any device that can broadcast such signal. Cellular, mobile hot spot, CTA train (yes they do). Idea came from using WigleWiFi this weekend. Was thinking of logging via ssh connection to home server. I'm sure accuracy can be improved via the great minds here. This idea isn't limited to two points. More points will yield better accuracy. Enough ranting. Thank you. Any help is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: From danieltpeters at gmail.com Tue Jan 28 03:55:34 2014 From: danieltpeters at gmail.com (Daniel Peters) Date: Mon, 27 Jan 2014 20:55:34 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: So, are you looking for how to implement this? There's a few wifi sniffing tools on Linux, things like (off the top of my head...) wifilist and wavemon. wavemon in particular does all of that, you could see if any of these kinds of tools output in some kind of text format, and then do what you want with that? On Mon, Jan 27, 2014 at 6:58 PM, Adrian Buford < technicallydebatable at gmail.com> wrote: > Looking for assist on writing a Python based traffic analysis script(s). I > have the concept drawn but just started digging into coding. Any help is > appreciated. > > Point A > captures bssid, mac, said, signal strength of AP(x) and appends > time stamp to logA > > Point B > does same and appends to logB > > Information is compared between logs and average Point A to Point B time > is generated based on signal threshold. AP(x) being any device that can > broadcast such signal. Cellular, mobile hot spot, CTA train (yes they do). > Idea came from using WigleWiFi this weekend. Was thinking of logging via > ssh connection to home server. I'm sure accuracy can be improved via the > great minds here. This idea isn't limited to two points. More points will > yield better accuracy. > > Enough ranting. Thank you. Any help is appreciated. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From technicallydebatable at gmail.com Tue Jan 28 04:59:25 2014 From: technicallydebatable at gmail.com (Adrian Buford) Date: Mon, 27 Jan 2014 21:59:25 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: I'll research tonight and post how I branch off. Thank you. On Jan 27, 2014 8:55 PM, "Daniel Peters" wrote: > So, are you looking for how to implement this? There's a few wifi > sniffing tools on Linux, things like (off the top of my head...) wifilist > and wavemon. wavemon in particular does all of that, you could see if any > of these kinds of tools output in some kind of text format, and then do > what you want with that? > > > On Mon, Jan 27, 2014 at 6:58 PM, Adrian Buford < > technicallydebatable at gmail.com> wrote: > >> Looking for assist on writing a Python based traffic analysis script(s). >> I have the concept drawn but just started digging into coding. Any help is >> appreciated. >> >> Point A > captures bssid, mac, said, signal strength of AP(x) and >> appends time stamp to logA >> >> Point B > does same and appends to logB >> >> Information is compared between logs and average Point A to Point B time >> is generated based on signal threshold. AP(x) being any device that can >> broadcast such signal. Cellular, mobile hot spot, CTA train (yes they do). >> Idea came from using WigleWiFi this weekend. Was thinking of logging via >> ssh connection to home server. I'm sure accuracy can be improved via the >> great minds here. This idea isn't limited to two points. More points will >> yield better accuracy. >> >> Enough ranting. Thank you. Any help is appreciated. >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From technicallydebatable at gmail.com Tue Jan 28 17:02:01 2014 From: technicallydebatable at gmail.com (Adrian Buford) Date: Tue, 28 Jan 2014 10:02:01 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: They collect the data but don't have options for export. I looked at the man pages for both. One had an export Option I couldn't get to work On Jan 27, 2014 9:59 PM, "Adrian Buford" wrote: > I'll research tonight and post how I branch off. Thank you. > On Jan 27, 2014 8:55 PM, "Daniel Peters" wrote: > >> So, are you looking for how to implement this? There's a few wifi >> sniffing tools on Linux, things like (off the top of my head...) wifilist >> and wavemon. wavemon in particular does all of that, you could see if any >> of these kinds of tools output in some kind of text format, and then do >> what you want with that? >> >> >> On Mon, Jan 27, 2014 at 6:58 PM, Adrian Buford < >> technicallydebatable at gmail.com> wrote: >> >>> Looking for assist on writing a Python based traffic analysis script(s). >>> I have the concept drawn but just started digging into coding. Any help is >>> appreciated. >>> >>> Point A > captures bssid, mac, said, signal strength of AP(x) and >>> appends time stamp to logA >>> >>> Point B > does same and appends to logB >>> >>> Information is compared between logs and average Point A to Point B time >>> is generated based on signal threshold. AP(x) being any device that can >>> broadcast such signal. Cellular, mobile hot spot, CTA train (yes they do). >>> Idea came from using WigleWiFi this weekend. Was thinking of logging via >>> ssh connection to home server. I'm sure accuracy can be improved via the >>> great minds here. This idea isn't limited to two points. More points will >>> yield better accuracy. >>> >>> Enough ranting. Thank you. Any help is appreciated. >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at goggl.es Tue Jan 28 17:37:56 2014 From: nick at goggl.es (Nick Bennett) Date: Tue, 28 Jan 2014 10:37:56 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: What you're talking about, logging information about WiFi access points, sounds a lot like wardriving . Even if that's not exactly what you mean, it should point you in some directions for how to do such things with Python. I think that one of the most important part of problem solving and research in this day and age is to get relevant keywords. Searching for "wardriving python" on DuckDuckGo produces a lot of seemingly relevant results, including: - a metric tonne of instructions on creating a mobile wardriving device using RaspberryPi and other low power (consuming) hardware, which reminds me of Paul Ebreo's talk at the ChiPy meetingNovember 2013 at Spartz "Python <3 Open Source Hardware" - a ton of stuff related to computer security and penetration testing What I didn't see in that search was much about writing Python code or particular modules. I imagine this might be because wardriving is a very common term I'd associate with non-programmers who want to perform a complex task without needing to write code. I refined the search on DuckDuckGo to "python penetration testing wifi"and got some promising directions: - Fern - "a Wireless security auditing and attack software program written using the Python Programming Language and the Python Qt GUI library, the program is able to crack and recover WEP/WPA/WPS keys and also run other network based attacks on wireless or ethernet based networks" - Video: WLAN SSID Sniffer Using Raw Sockets in [10 Lines of] Python If you don't want to go that far down the rabbit hole, you could watch this shaky video of a monitor of a fellow describing, very amiably and I think very understandably, how to use Python very simply to get information from kismet on a Raspberry Pi (for your viewers, pleease use a tripod and share your code somewhere other than Google Docs ). As with all things, please use this information responsibly and write tests for your code. Nick Bennett nick at goggl.es On Tue, Jan 28, 2014 at 10:02 AM, Adrian Buford < technicallydebatable at gmail.com> wrote: > They collect the data but don't have options for export. I looked at the > man pages for both. One had an export Option I couldn't get to work > On Jan 27, 2014 9:59 PM, "Adrian Buford" > wrote: > >> I'll research tonight and post how I branch off. Thank you. >> On Jan 27, 2014 8:55 PM, "Daniel Peters" wrote: >> >>> So, are you looking for how to implement this? There's a few wifi >>> sniffing tools on Linux, things like (off the top of my head...) wifilist >>> and wavemon. wavemon in particular does all of that, you could see if any >>> of these kinds of tools output in some kind of text format, and then do >>> what you want with that? >>> >>> >>> On Mon, Jan 27, 2014 at 6:58 PM, Adrian Buford < >>> technicallydebatable at gmail.com> wrote: >>> >>>> Looking for assist on writing a Python based traffic analysis >>>> script(s). I have the concept drawn but just started digging into coding. >>>> Any help is appreciated. >>>> >>>> Point A > captures bssid, mac, said, signal strength of AP(x) and >>>> appends time stamp to logA >>>> >>>> Point B > does same and appends to logB >>>> >>>> Information is compared between logs and average Point A to Point B >>>> time is generated based on signal threshold. AP(x) being any device that >>>> can broadcast such signal. Cellular, mobile hot spot, CTA train (yes they >>>> do). Idea came from using WigleWiFi this weekend. Was thinking of logging >>>> via ssh connection to home server. I'm sure accuracy can be improved via >>>> the great minds here. This idea isn't limited to two points. More points >>>> will yield better accuracy. >>>> >>>> Enough ranting. Thank you. Any help is appreciated. >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at goggl.es Tue Jan 28 17:56:58 2014 From: nick at goggl.es (Nick Bennett) Date: Tue, 28 Jan 2014 10:56:58 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: Obviously I need to be doing more work if I can write lengthy responses on a Tuesday morning. Yay, ice day! But seriously, I am looking for work. Please tell me what you're working on, maybe I could help. I'd really love to work with a team. I dream of Halcyon days when I'll have lunch friends again with whom I can have discussions that run the gamut from Python to Quantum Mechanics. P.S. - I use tripods when I record videoand share my code somewhere other than google docs . Nick Bennett nick at goggl.es On Tue, Jan 28, 2014 at 10:37 AM, Nick Bennett wrote: > What you're talking about, logging information about WiFi access points, > sounds a lot like wardriving . > Even if that's not exactly what you mean, it should point you in some > directions for how to do such things with Python. > > I think that one of the most important part of problem solving and > research in this day and age is to get relevant keywords. Searching for > "wardriving python" on DuckDuckGoproduces a lot of seemingly relevant results, including: > > - a metric tonne of instructions on creating a mobile wardriving device > using RaspberryPi and other low power (consuming) hardware, which reminds > me of Paul Ebreo's talk at the ChiPy meetingNovember 2013 at Spartz "Python <3 Open Source Hardware" > - a ton of stuff related to computer security and penetration testing > > What I didn't see in that search was much about writing Python code or > particular modules. I imagine this might be because wardriving is a very > common term I'd associate with non-programmers who want to perform a > complex task without needing to write code. I refined the search on DuckDuckGo > to "python penetration testing wifi"and got some promising directions: > > - Fern - "a Wireless > security auditing and attack software program written using the Python > Programming Language and the Python Qt GUI > library , the > program is able to crack and recover WEP/WPA/WPS keys and also run other > network based attacks on wireless or ethernet based networks" > - Video: WLAN SSID Sniffer Using Raw Sockets in [10 Lines of] Python > > If you don't want to go that far down the rabbit hole, you could watch this > shaky video of a monitor of > a fellow describing, very amiably and I think very understandably, how to > use Python very simply to get information from kismet on a Raspberry Pi > (for your viewers, pleease use a tripod and share your code somewhere other > than Google Docs > ). > > As with all things, please use this information responsibly and write > tests for your code. > > Nick Bennett > nick at goggl.es > > > On Tue, Jan 28, 2014 at 10:02 AM, Adrian Buford < > technicallydebatable at gmail.com> wrote: > >> They collect the data but don't have options for export. I looked at the >> man pages for both. One had an export Option I couldn't get to work >> On Jan 27, 2014 9:59 PM, "Adrian Buford" >> wrote: >> >>> I'll research tonight and post how I branch off. Thank you. >>> On Jan 27, 2014 8:55 PM, "Daniel Peters" >>> wrote: >>> >>>> So, are you looking for how to implement this? There's a few wifi >>>> sniffing tools on Linux, things like (off the top of my head...) wifilist >>>> and wavemon. wavemon in particular does all of that, you could see if any >>>> of these kinds of tools output in some kind of text format, and then do >>>> what you want with that? >>>> >>>> >>>> On Mon, Jan 27, 2014 at 6:58 PM, Adrian Buford < >>>> technicallydebatable at gmail.com> wrote: >>>> >>>>> Looking for assist on writing a Python based traffic analysis >>>>> script(s). I have the concept drawn but just started digging into coding. >>>>> Any help is appreciated. >>>>> >>>>> Point A > captures bssid, mac, said, signal strength of AP(x) and >>>>> appends time stamp to logA >>>>> >>>>> Point B > does same and appends to logB >>>>> >>>>> Information is compared between logs and average Point A to Point B >>>>> time is generated based on signal threshold. AP(x) being any device that >>>>> can broadcast such signal. Cellular, mobile hot spot, CTA train (yes they >>>>> do). Idea came from using WigleWiFi this weekend. Was thinking of logging >>>>> via ssh connection to home server. I'm sure accuracy can be improved via >>>>> the great minds here. This idea isn't limited to two points. More points >>>>> will yield better accuracy. >>>>> >>>>> Enough ranting. Thank you. Any help is appreciated. >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From technicallydebatable at gmail.com Tue Jan 28 18:28:26 2014 From: technicallydebatable at gmail.com (Adrian Buford) Date: Tue, 28 Jan 2014 11:28:26 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: The issue isn't finding code to perform the task. The issue is getting the results to a log. I cannot find anything in that direction. I would put the idea in the same category as wardriving but with an added purpose. I am a daily user of kali and pentoo I even went as far as reading the man pages on the Aircrack-ng suite to see if there was anything I overlooked. I've looked at Fern also. You are probably right. This is something I may need to hash out with my own code completely On Jan 28, 2014 10:38 AM, "Nick Bennett" wrote: > What you're talking about, logging information about WiFi access points, > sounds a lot like wardriving . > Even if that's not exactly what you mean, it should point you in some > directions for how to do such things with Python. > > I think that one of the most important part of problem solving and > research in this day and age is to get relevant keywords. Searching for > "wardriving python" on DuckDuckGoproduces a lot of seemingly relevant results, including: > > - a metric tonne of instructions on creating a mobile wardriving device > using RaspberryPi and other low power (consuming) hardware, which reminds > me of Paul Ebreo's talk at the ChiPy meetingNovember 2013 at Spartz "Python <3 Open Source Hardware" > - a ton of stuff related to computer security and penetration testing > > What I didn't see in that search was much about writing Python code or > particular modules. I imagine this might be because wardriving is a very > common term I'd associate with non-programmers who want to perform a > complex task without needing to write code. I refined the search on DuckDuckGo > to "python penetration testing wifi"and got some promising directions: > > - Fern - "a Wireless > security auditing and attack software program written using the Python > Programming Language and the Python Qt GUI > library , the > program is able to crack and recover WEP/WPA/WPS keys and also run other > network based attacks on wireless or ethernet based networks" > - Video: WLAN SSID Sniffer Using Raw Sockets in [10 Lines of] Python > > If you don't want to go that far down the rabbit hole, you could watch this > shaky video of a monitor of > a fellow describing, very amiably and I think very understandably, how to > use Python very simply to get information from kismet on a Raspberry Pi > (for your viewers, pleease use a tripod and share your code somewhere other > than Google Docs > ). > > As with all things, please use this information responsibly and write > tests for your code. > > Nick Bennett > nick at goggl.es > > > On Tue, Jan 28, 2014 at 10:02 AM, Adrian Buford < > technicallydebatable at gmail.com> wrote: > >> They collect the data but don't have options for export. I looked at the >> man pages for both. One had an export Option I couldn't get to work >> On Jan 27, 2014 9:59 PM, "Adrian Buford" >> wrote: >> >>> I'll research tonight and post how I branch off. Thank you. >>> On Jan 27, 2014 8:55 PM, "Daniel Peters" >>> wrote: >>> >>>> So, are you looking for how to implement this? There's a few wifi >>>> sniffing tools on Linux, things like (off the top of my head...) wifilist >>>> and wavemon. wavemon in particular does all of that, you could see if any >>>> of these kinds of tools output in some kind of text format, and then do >>>> what you want with that? >>>> >>>> >>>> On Mon, Jan 27, 2014 at 6:58 PM, Adrian Buford < >>>> technicallydebatable at gmail.com> wrote: >>>> >>>>> Looking for assist on writing a Python based traffic analysis >>>>> script(s). I have the concept drawn but just started digging into coding. >>>>> Any help is appreciated. >>>>> >>>>> Point A > captures bssid, mac, said, signal strength of AP(x) and >>>>> appends time stamp to logA >>>>> >>>>> Point B > does same and appends to logB >>>>> >>>>> Information is compared between logs and average Point A to Point B >>>>> time is generated based on signal threshold. AP(x) being any device that >>>>> can broadcast such signal. Cellular, mobile hot spot, CTA train (yes they >>>>> do). Idea came from using WigleWiFi this weekend. Was thinking of logging >>>>> via ssh connection to home server. I'm sure accuracy can be improved via >>>>> the great minds here. This idea isn't limited to two points. More points >>>>> will yield better accuracy. >>>>> >>>>> Enough ranting. Thank you. Any help is appreciated. >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at agilitynerd.com Tue Jan 28 21:20:15 2014 From: steve at agilitynerd.com (Steve Schwarz) Date: Tue, 28 Jan 2014 14:20:15 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: Maybe I'm missing something but why not a basic web app (even a CGI script) that the "Points" HTTP POST to? Then you can process the data at post or store centrally for further processing. You can use urllib2 or python-requests to do the POST with authentication. HTTP(S) is async and sufficiently secure for this data - unless you are sending a real lot of data/packets. Best Regards, Steve On Tue, Jan 28, 2014 at 11:28 AM, Adrian Buford < technicallydebatable at gmail.com> wrote: > The issue isn't finding code to perform the task. The issue is getting the > results to a log. I cannot find anything in that direction. I would put the > idea in the same category as wardriving but with an added purpose. I am a > daily user of kali and pentoo I even went as far as reading the man pages > on the Aircrack-ng suite to see if there was anything I overlooked. I've > looked at Fern also. You are probably right. This is something I may need > to hash out with my own code completely > On Jan 28, 2014 10:38 AM, "Nick Bennett" wrote: > >> What you're talking about, logging information about WiFi access points, >> sounds a lot like wardriving . >> Even if that's not exactly what you mean, it should point you in some >> directions for how to do such things with Python. >> >> I think that one of the most important part of problem solving and >> research in this day and age is to get relevant keywords. Searching for >> "wardriving python" on DuckDuckGoproduces a lot of seemingly relevant results, including: >> >> - a metric tonne of instructions on creating a mobile wardriving device >> using RaspberryPi and other low power (consuming) hardware, which reminds >> me of Paul Ebreo's talk at the ChiPy meetingNovember 2013 at Spartz "Python <3 Open Source Hardware" >> - a ton of stuff related to computer security and penetration testing >> >> What I didn't see in that search was much about writing Python code or >> particular modules. I imagine this might be because wardriving is a very >> common term I'd associate with non-programmers who want to perform a >> complex task without needing to write code. I refined the search on DuckDuckGo >> to "python penetration testing wifi"and got some promising directions: >> >> - Fern - "a Wireless >> security auditing and attack software program written using the Python >> Programming Language and the Python Qt GUI >> library , the >> program is able to crack and recover WEP/WPA/WPS keys and also run other >> network based attacks on wireless or ethernet based networks" >> - Video: WLAN SSID Sniffer Using Raw Sockets in [10 Lines of] Python >> >> If you don't want to go that far down the rabbit hole, you could watch this >> shaky video of a monitor of a fellow describing, very amiably and I think very understandably, how >> to use Python very simply to get information from kismet on a Raspberry Pi >> (for your viewers, pleease use a tripod and share your code somewhere other >> than Google Docs >> ). >> >> As with all things, please use this information responsibly and write >> tests for your code. >> >> Nick Bennett >> nick at goggl.es >> >> >> On Tue, Jan 28, 2014 at 10:02 AM, Adrian Buford < >> technicallydebatable at gmail.com> wrote: >> >>> They collect the data but don't have options for export. I looked at the >>> man pages for both. One had an export Option I couldn't get to work >>> On Jan 27, 2014 9:59 PM, "Adrian Buford" < >>> technicallydebatable at gmail.com> wrote: >>> >>>> I'll research tonight and post how I branch off. Thank you. >>>> On Jan 27, 2014 8:55 PM, "Daniel Peters" >>>> wrote: >>>> >>>>> So, are you looking for how to implement this? There's a few wifi >>>>> sniffing tools on Linux, things like (off the top of my head...) wifilist >>>>> and wavemon. wavemon in particular does all of that, you could see if any >>>>> of these kinds of tools output in some kind of text format, and then do >>>>> what you want with that? >>>>> >>>>> >>>>> On Mon, Jan 27, 2014 at 6:58 PM, Adrian Buford < >>>>> technicallydebatable at gmail.com> wrote: >>>>> >>>>>> Looking for assist on writing a Python based traffic analysis >>>>>> script(s). I have the concept drawn but just started digging into coding. >>>>>> Any help is appreciated. >>>>>> >>>>>> Point A > captures bssid, mac, said, signal strength of AP(x) and >>>>>> appends time stamp to logA >>>>>> >>>>>> Point B > does same and appends to logB >>>>>> >>>>>> Information is compared between logs and average Point A to Point B >>>>>> time is generated based on signal threshold. AP(x) being any device that >>>>>> can broadcast such signal. Cellular, mobile hot spot, CTA train (yes they >>>>>> do). Idea came from using WigleWiFi this weekend. Was thinking of logging >>>>>> via ssh connection to home server. I'm sure accuracy can be improved via >>>>>> the great minds here. This idea isn't limited to two points. More points >>>>>> will yield better accuracy. >>>>>> >>>>>> Enough ranting. Thank you. Any help is appreciated. >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Best Regards, Steve Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ Dog Agility Search: http://googility.com/ Dog Agility Courses: http://agilitycourses.com/ http://www.facebook.com/AgilityNerd -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Tue Jan 28 21:27:33 2014 From: shekay at pobox.com (sheila miguez) Date: Tue, 28 Jan 2014 14:27:33 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: On Tue, Jan 28, 2014 at 11:28 AM, Adrian Buford < technicallydebatable at gmail.com> wrote: > The issue isn't finding code to perform the task. The issue is getting the > results to a log. I cannot find anything in that direction. I would put the > idea in the same category as wardriving but with an added purpose. I am a > daily user of kali and pentoo I even went as far as reading the man pages > on the Aircrack-ng suite to see if there was anything I overlooked. I've > looked at Fern also. You are probably right. This is something I may need > to hash out with my own code completely Is the irc room for aircrack-ng helpful? http://www.aircrack-ng.org/irc.htmlThey might know the ins and outs of how logging works with that tool. connectd has a tail plugin that can match patterns on a log https://collectd.org/wiki/index.php/Plugin:Tail I'm not entirely clear what you are doing, but if you do end up writing a lot of this yourself, instead of logging you may want to send events to statsd or something like that. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at goggl.es Tue Jan 28 21:29:42 2014 From: nick at goggl.es (Nick Bennett) Date: Tue, 28 Jan 2014 14:29:42 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: Steve, Your idea makes sense when you're the owner of the network and have control over the access points. I think what Adrian is talking about is more along the lines of network surveys of all WLAN access points whether they're in your control or not, and specifically with the goal of using Python to get access to pertinent details and log them in any way. Nick Bennett nick at goggl.es On Tue, Jan 28, 2014 at 2:20 PM, Steve Schwarz wrote: > Maybe I'm missing something but why not a basic web app (even a CGI > script) that the "Points" HTTP POST to? Then you can process the data at > post or store centrally for further processing. You can use urllib2 or > python-requests to do the POST with authentication. HTTP(S) is async and > sufficiently secure for this data - unless you are sending a real lot of > data/packets. > > Best Regards, > Steve > > > On Tue, Jan 28, 2014 at 11:28 AM, Adrian Buford < > technicallydebatable at gmail.com> wrote: > >> The issue isn't finding code to perform the task. The issue is getting >> the results to a log. I cannot find anything in that direction. I would put >> the idea in the same category as wardriving but with an added purpose. I am >> a daily user of kali and pentoo I even went as far as reading the man >> pages on the Aircrack-ng suite to see if there was anything I overlooked. >> I've looked at Fern also. You are probably right. This is something I may >> need to hash out with my own code completely >> On Jan 28, 2014 10:38 AM, "Nick Bennett" wrote: >> >>> What you're talking about, logging information about WiFi access points, >>> sounds a lot like wardriving . >>> Even if that's not exactly what you mean, it should point you in some >>> directions for how to do such things with Python. >>> >>> I think that one of the most important part of problem solving and >>> research in this day and age is to get relevant keywords. Searching for >>> "wardriving python" on DuckDuckGoproduces a lot of seemingly relevant results, including: >>> >>> - a metric tonne of instructions on creating a mobile wardriving device >>> using RaspberryPi and other low power (consuming) hardware, which reminds >>> me of Paul Ebreo's talk at the ChiPy meetingNovember 2013 at Spartz "Python <3 Open Source Hardware" >>> - a ton of stuff related to computer security and penetration testing >>> >>> What I didn't see in that search was much about writing Python code or >>> particular modules. I imagine this might be because wardriving is a very >>> common term I'd associate with non-programmers who want to perform a >>> complex task without needing to write code. I refined the search on DuckDuckGo >>> to "python penetration testing wifi"and got some promising directions: >>> >>> - Fern - "a Wireless >>> security auditing and attack software program written using the Python >>> Programming Language and the Python Qt GUI >>> library , the >>> program is able to crack and recover WEP/WPA/WPS keys and also run other >>> network based attacks on wireless or ethernet based networks" >>> - Video: WLAN SSID Sniffer Using Raw Sockets in [10 Lines of] Python >>> >>> If you don't want to go that far down the rabbit hole, you could watch this >>> shaky video of a monitor of a fellow describing, very amiably and I think very understandably, how >>> to use Python very simply to get information from kismet on a Raspberry Pi >>> (for your viewers, pleease use a tripod and share your code somewhere other >>> than Google Docs >>> ). >>> >>> As with all things, please use this information responsibly and write >>> tests for your code. >>> >>> Nick Bennett >>> nick at goggl.es >>> >>> >>> On Tue, Jan 28, 2014 at 10:02 AM, Adrian Buford < >>> technicallydebatable at gmail.com> wrote: >>> >>>> They collect the data but don't have options for export. I looked at >>>> the man pages for both. One had an export Option I couldn't get to work >>>> On Jan 27, 2014 9:59 PM, "Adrian Buford" < >>>> technicallydebatable at gmail.com> wrote: >>>> >>>>> I'll research tonight and post how I branch off. Thank you. >>>>> On Jan 27, 2014 8:55 PM, "Daniel Peters" >>>>> wrote: >>>>> >>>>>> So, are you looking for how to implement this? There's a few wifi >>>>>> sniffing tools on Linux, things like (off the top of my head...) wifilist >>>>>> and wavemon. wavemon in particular does all of that, you could see if any >>>>>> of these kinds of tools output in some kind of text format, and then do >>>>>> what you want with that? >>>>>> >>>>>> >>>>>> On Mon, Jan 27, 2014 at 6:58 PM, Adrian Buford < >>>>>> technicallydebatable at gmail.com> wrote: >>>>>> >>>>>>> Looking for assist on writing a Python based traffic analysis >>>>>>> script(s). I have the concept drawn but just started digging into coding. >>>>>>> Any help is appreciated. >>>>>>> >>>>>>> Point A > captures bssid, mac, said, signal strength of AP(x) and >>>>>>> appends time stamp to logA >>>>>>> >>>>>>> Point B > does same and appends to logB >>>>>>> >>>>>>> Information is compared between logs and average Point A to Point B >>>>>>> time is generated based on signal threshold. AP(x) being any device that >>>>>>> can broadcast such signal. Cellular, mobile hot spot, CTA train (yes they >>>>>>> do). Idea came from using WigleWiFi this weekend. Was thinking of logging >>>>>>> via ssh connection to home server. I'm sure accuracy can be improved via >>>>>>> the great minds here. This idea isn't limited to two points. More points >>>>>>> will yield better accuracy. >>>>>>> >>>>>>> Enough ranting. Thank you. Any help is appreciated. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Chicago mailing list >>>>>>> Chicago at python.org >>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > > -- > Best Regards, > Steve > Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ > Dog Agility Search: http://googility.com/ > Dog Agility Courses: http://agilitycourses.com/ > http://www.facebook.com/AgilityNerd > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at goggl.es Tue Jan 28 22:09:19 2014 From: nick at goggl.es (Nick Bennett) Date: Tue, 28 Jan 2014 15:09:19 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: Adrian, I highly recommend you check out scapyand this post about using it. Apparently this is all you need to get a list of access points and their MAC addresses: #!/usr/bin/env python > > from scapy.all import * > > ap_list = [] > > def PacketHandler(pkt): > > if pkt.haslayer(Dot11) : > if pkt.type == 0 and pkt.subtype == 8 : > if pkt.addr2 not in ap_list : > ap_list.append(pkt.addr2) > print "AP MAC: %s with SSID: %s " %(pkt.addr2, pkt.info) > > > sniff(iface="mon0", prn = PacketHandler) > > (gist ) Related to scapy, check out this O'Reilly book Security Power Toolsthat has a chapter about scapy (written by the project author). For the logging component, there's already the logging module in the Python standard library. For an idea of how to use it, try Victor Lin's guide on good logging practice in Python . All of this hinges on you having a wireless device that can run in monitor mode (I would test this all now but I don't have that kind of wifi card). In the scapy tutorial the author recommends one in particular. Whatever platform you're on, look for a list of recommended WiFi hardware good for wardriving. Nick Bennett nick at goggl.es On Tue, Jan 28, 2014 at 2:29 PM, Nick Bennett wrote: > Steve, > > Your idea makes sense when you're the owner of the network and have > control over the access points. I think what Adrian is talking about is > more along the lines of network surveys of all WLAN access points whether > they're in your control or not, and specifically with the goal of using > Python to get access to pertinent details and log them in any way. > > Nick Bennett > nick at goggl.es > > > On Tue, Jan 28, 2014 at 2:20 PM, Steve Schwarz wrote: > >> Maybe I'm missing something but why not a basic web app (even a CGI >> script) that the "Points" HTTP POST to? Then you can process the data at >> post or store centrally for further processing. You can use urllib2 or >> python-requests to do the POST with authentication. HTTP(S) is async and >> sufficiently secure for this data - unless you are sending a real lot of >> data/packets. >> >> Best Regards, >> Steve >> >> >> On Tue, Jan 28, 2014 at 11:28 AM, Adrian Buford < >> technicallydebatable at gmail.com> wrote: >> >>> The issue isn't finding code to perform the task. The issue is getting >>> the results to a log. I cannot find anything in that direction. I would put >>> the idea in the same category as wardriving but with an added purpose. I am >>> a daily user of kali and pentoo I even went as far as reading the man >>> pages on the Aircrack-ng suite to see if there was anything I overlooked. >>> I've looked at Fern also. You are probably right. This is something I may >>> need to hash out with my own code completely >>> On Jan 28, 2014 10:38 AM, "Nick Bennett" wrote: >>> >>>> What you're talking about, logging information about WiFi access >>>> points, sounds a lot like wardriving. >>>> Even if that's not exactly what you mean, it should point you in some >>>> directions for how to do such things with Python. >>>> >>>> I think that one of the most important part of problem solving and >>>> research in this day and age is to get relevant keywords. Searching >>>> for "wardriving python" on DuckDuckGoproduces a lot of seemingly relevant results, including: >>>> >>>> - a metric tonne of instructions on creating a mobile wardriving device >>>> using RaspberryPi and other low power (consuming) hardware, which reminds >>>> me of Paul Ebreo's talk at the ChiPy meetingNovember 2013 at Spartz "Python <3 Open Source Hardware" >>>> - a ton of stuff related to computer security and penetration testing >>>> >>>> What I didn't see in that search was much about writing Python code or >>>> particular modules. I imagine this might be because wardriving is a very >>>> common term I'd associate with non-programmers who want to perform a >>>> complex task without needing to write code. I refined the search on DuckDuckGo >>>> to "python penetration testing wifi"and got some promising directions: >>>> >>>> - Fern - "a Wireless >>>> security auditing and attack software program written using the Python >>>> Programming Language and the Python Qt GUI >>>> library , the >>>> program is able to crack and recover WEP/WPA/WPS keys and also run other >>>> network based attacks on wireless or ethernet based networks" >>>> - Video: WLAN SSID Sniffer Using Raw Sockets in [10 Lines of] Python >>>> >>>> If you don't want to go that far down the rabbit hole, you could watch this >>>> shaky video of a monitor of a fellow describing, very amiably and I think very understandably, how >>>> to use Python very simply to get information from kismet on a Raspberry Pi >>>> (for your viewers, pleease use a tripod and share your code somewhere other >>>> than Google Docs >>>> ). >>>> >>>> As with all things, please use this information responsibly and write >>>> tests for your code. >>>> >>>> Nick Bennett >>>> nick at goggl.es >>>> >>>> >>>> On Tue, Jan 28, 2014 at 10:02 AM, Adrian Buford < >>>> technicallydebatable at gmail.com> wrote: >>>> >>>>> They collect the data but don't have options for export. I looked at >>>>> the man pages for both. One had an export Option I couldn't get to work >>>>> On Jan 27, 2014 9:59 PM, "Adrian Buford" < >>>>> technicallydebatable at gmail.com> wrote: >>>>> >>>>>> I'll research tonight and post how I branch off. Thank you. >>>>>> On Jan 27, 2014 8:55 PM, "Daniel Peters" >>>>>> wrote: >>>>>> >>>>>>> So, are you looking for how to implement this? There's a few wifi >>>>>>> sniffing tools on Linux, things like (off the top of my head...) wifilist >>>>>>> and wavemon. wavemon in particular does all of that, you could see if any >>>>>>> of these kinds of tools output in some kind of text format, and then do >>>>>>> what you want with that? >>>>>>> >>>>>>> >>>>>>> On Mon, Jan 27, 2014 at 6:58 PM, Adrian Buford < >>>>>>> technicallydebatable at gmail.com> wrote: >>>>>>> >>>>>>>> Looking for assist on writing a Python based traffic analysis >>>>>>>> script(s). I have the concept drawn but just started digging into coding. >>>>>>>> Any help is appreciated. >>>>>>>> >>>>>>>> Point A > captures bssid, mac, said, signal strength of AP(x) and >>>>>>>> appends time stamp to logA >>>>>>>> >>>>>>>> Point B > does same and appends to logB >>>>>>>> >>>>>>>> Information is compared between logs and average Point A to Point B >>>>>>>> time is generated based on signal threshold. AP(x) being any device that >>>>>>>> can broadcast such signal. Cellular, mobile hot spot, CTA train (yes they >>>>>>>> do). Idea came from using WigleWiFi this weekend. Was thinking of logging >>>>>>>> via ssh connection to home server. I'm sure accuracy can be improved via >>>>>>>> the great minds here. This idea isn't limited to two points. More points >>>>>>>> will yield better accuracy. >>>>>>>> >>>>>>>> Enough ranting. Thank you. Any help is appreciated. >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Chicago mailing list >>>>>>>> Chicago at python.org >>>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Chicago mailing list >>>>>>> Chicago at python.org >>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>> >>>>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> >> -- >> Best Regards, >> Steve >> Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ >> Dog Agility Search: http://googility.com/ >> Dog Agility Courses: http://agilitycourses.com/ >> http://www.facebook.com/AgilityNerd >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Tue Jan 28 22:13:34 2014 From: shekay at pobox.com (sheila miguez) Date: Tue, 28 Jan 2014 15:13:34 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: On Tue, Jan 28, 2014 at 3:09 PM, Nick Bennett wrote: > For the logging component, there's already the logging module in the > Python standard library. For an idea of how to use it, try Victor Lin's > guide on good logging practice in Python > . > I'm wondering what he wants to log and what it will be used for. If the intent is to analyze data to get information about average times, then he can use logs for that, then later scrape them to get the data, but he could handle that in other ways as well, like sending events to graphite. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From technicallydebatable at gmail.com Tue Jan 28 22:29:09 2014 From: technicallydebatable at gmail.com (Adrian Buford) Date: Tue, 28 Jan 2014 15:29:09 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: I think that is probably the most accurate way of looking at it. Looking at scapy now On Jan 28, 2014 2:29 PM, "Nick Bennett" wrote: > Steve, > > Your idea makes sense when you're the owner of the network and have > control over the access points. I think what Adrian is talking about is > more along the lines of network surveys of all WLAN access points whether > they're in your control or not, and specifically with the goal of using > Python to get access to pertinent details and log them in any way. > > Nick Bennett > nick at goggl.es > > > On Tue, Jan 28, 2014 at 2:20 PM, Steve Schwarz wrote: > >> Maybe I'm missing something but why not a basic web app (even a CGI >> script) that the "Points" HTTP POST to? Then you can process the data at >> post or store centrally for further processing. You can use urllib2 or >> python-requests to do the POST with authentication. HTTP(S) is async and >> sufficiently secure for this data - unless you are sending a real lot of >> data/packets. >> >> Best Regards, >> Steve >> >> >> On Tue, Jan 28, 2014 at 11:28 AM, Adrian Buford < >> technicallydebatable at gmail.com> wrote: >> >>> The issue isn't finding code to perform the task. The issue is getting >>> the results to a log. I cannot find anything in that direction. I would put >>> the idea in the same category as wardriving but with an added purpose. I am >>> a daily user of kali and pentoo I even went as far as reading the man >>> pages on the Aircrack-ng suite to see if there was anything I overlooked. >>> I've looked at Fern also. You are probably right. This is something I may >>> need to hash out with my own code completely >>> On Jan 28, 2014 10:38 AM, "Nick Bennett" wrote: >>> >>>> What you're talking about, logging information about WiFi access >>>> points, sounds a lot like wardriving. >>>> Even if that's not exactly what you mean, it should point you in some >>>> directions for how to do such things with Python. >>>> >>>> I think that one of the most important part of problem solving and >>>> research in this day and age is to get relevant keywords. Searching >>>> for "wardriving python" on DuckDuckGoproduces a lot of seemingly relevant results, including: >>>> >>>> - a metric tonne of instructions on creating a mobile wardriving device >>>> using RaspberryPi and other low power (consuming) hardware, which reminds >>>> me of Paul Ebreo's talk at the ChiPy meetingNovember 2013 at Spartz "Python <3 Open Source Hardware" >>>> - a ton of stuff related to computer security and penetration testing >>>> >>>> What I didn't see in that search was much about writing Python code or >>>> particular modules. I imagine this might be because wardriving is a very >>>> common term I'd associate with non-programmers who want to perform a >>>> complex task without needing to write code. I refined the search on DuckDuckGo >>>> to "python penetration testing wifi"and got some promising directions: >>>> >>>> - Fern - "a Wireless >>>> security auditing and attack software program written using the Python >>>> Programming Language and the Python Qt GUI >>>> library , the >>>> program is able to crack and recover WEP/WPA/WPS keys and also run other >>>> network based attacks on wireless or ethernet based networks" >>>> - Video: WLAN SSID Sniffer Using Raw Sockets in [10 Lines of] Python >>>> >>>> If you don't want to go that far down the rabbit hole, you could watch this >>>> shaky video of a monitor of a fellow describing, very amiably and I think very understandably, how >>>> to use Python very simply to get information from kismet on a Raspberry Pi >>>> (for your viewers, pleease use a tripod and share your code somewhere other >>>> than Google Docs >>>> ). >>>> >>>> As with all things, please use this information responsibly and write >>>> tests for your code. >>>> >>>> Nick Bennett >>>> nick at goggl.es >>>> >>>> >>>> On Tue, Jan 28, 2014 at 10:02 AM, Adrian Buford < >>>> technicallydebatable at gmail.com> wrote: >>>> >>>>> They collect the data but don't have options for export. I looked at >>>>> the man pages for both. One had an export Option I couldn't get to work >>>>> On Jan 27, 2014 9:59 PM, "Adrian Buford" < >>>>> technicallydebatable at gmail.com> wrote: >>>>> >>>>>> I'll research tonight and post how I branch off. Thank you. >>>>>> On Jan 27, 2014 8:55 PM, "Daniel Peters" >>>>>> wrote: >>>>>> >>>>>>> So, are you looking for how to implement this? There's a few wifi >>>>>>> sniffing tools on Linux, things like (off the top of my head...) wifilist >>>>>>> and wavemon. wavemon in particular does all of that, you could see if any >>>>>>> of these kinds of tools output in some kind of text format, and then do >>>>>>> what you want with that? >>>>>>> >>>>>>> >>>>>>> On Mon, Jan 27, 2014 at 6:58 PM, Adrian Buford < >>>>>>> technicallydebatable at gmail.com> wrote: >>>>>>> >>>>>>>> Looking for assist on writing a Python based traffic analysis >>>>>>>> script(s). I have the concept drawn but just started digging into coding. >>>>>>>> Any help is appreciated. >>>>>>>> >>>>>>>> Point A > captures bssid, mac, said, signal strength of AP(x) and >>>>>>>> appends time stamp to logA >>>>>>>> >>>>>>>> Point B > does same and appends to logB >>>>>>>> >>>>>>>> Information is compared between logs and average Point A to Point B >>>>>>>> time is generated based on signal threshold. AP(x) being any device that >>>>>>>> can broadcast such signal. Cellular, mobile hot spot, CTA train (yes they >>>>>>>> do). Idea came from using WigleWiFi this weekend. Was thinking of logging >>>>>>>> via ssh connection to home server. I'm sure accuracy can be improved via >>>>>>>> the great minds here. This idea isn't limited to two points. More points >>>>>>>> will yield better accuracy. >>>>>>>> >>>>>>>> Enough ranting. Thank you. Any help is appreciated. >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Chicago mailing list >>>>>>>> Chicago at python.org >>>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Chicago mailing list >>>>>>> Chicago at python.org >>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>> >>>>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> >> -- >> Best Regards, >> Steve >> Blogs: http://agilitynerd.com/ http://tech.agilitynerd.com/ >> Dog Agility Search: http://googility.com/ >> Dog Agility Courses: http://agilitycourses.com/ >> http://www.facebook.com/AgilityNerd >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From technicallydebatable at gmail.com Tue Jan 28 22:41:36 2014 From: technicallydebatable at gmail.com (Adrian Buford) Date: Tue, 28 Jan 2014 15:41:36 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: Have no way of making the logs is main concern. On Jan 28, 2014 3:14 PM, "sheila miguez" wrote: > > On Tue, Jan 28, 2014 at 3:09 PM, Nick Bennett wrote: > >> For the logging component, there's already the logging module in the >> Python standard library. For an idea of how to use it, try Victor Lin's >> guide on good logging practice in Python >> . >> > > I'm wondering what he wants to log and what it will be used for. If the > intent is to analyze data to get information about average times, then he > can use logs for that, then later scrape them to get the data, but he could > handle that in other ways as well, like sending events to graphite. > > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at sinchok.com Tue Jan 28 22:52:34 2014 From: chris at sinchok.com (Chris Sinchok) Date: Tue, 28 Jan 2014 15:52:34 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: Something like Kibana might be really useful for this: http://www.elasticsearch.org/overview/kibana/ Kibana is a simple front end that's powered by elasticsearch, and it's quite easy to get data into elasticsearch from Python--or from logstash, etc. Here's a demo, to show a few possible uses: http://demo.kibana.org/#/dashboard On Tue, Jan 28, 2014 at 3:41 PM, Adrian Buford < technicallydebatable at gmail.com> wrote: > Have no way of making the logs is main concern. > On Jan 28, 2014 3:14 PM, "sheila miguez" wrote: > >> >> On Tue, Jan 28, 2014 at 3:09 PM, Nick Bennett wrote: >> >>> For the logging component, there's already the logging module in the >>> Python standard library. For an idea of how to use it, try Victor Lin's >>> guide on good logging practice in Python >>> . >>> >> >> I'm wondering what he wants to log and what it will be used for. If the >> intent is to analyze data to get information about average times, then he >> can use logs for that, then later scrape them to get the data, but he could >> handle that in other ways as well, like sending events to graphite. >> >> >> -- >> sheila >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From technicallydebatable at gmail.com Tue Jan 28 23:35:43 2014 From: technicallydebatable at gmail.com (Adrian Buford) Date: Tue, 28 Jan 2014 16:35:43 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: Seems like Scapy will give me the output I need using sniff along with some other vars. Also Airoscapy-by looks to provide some help. Pretty much the next step is a script for log comparison which shouldn't be hard. Gonna draw up on whiteboard once home. Thanks again all. I will also check out Kibana Chris. Not too familiar. On Jan 28, 2014 3:52 PM, "Chris Sinchok" wrote: > Something like Kibana might be really useful for this: > http://www.elasticsearch.org/overview/kibana/ > > Kibana is a simple front end that's powered by elasticsearch, and it's > quite easy to get data into elasticsearch from Python--or from logstash, > etc. Here's a demo, to show a few possible uses: > http://demo.kibana.org/#/dashboard > > > On Tue, Jan 28, 2014 at 3:41 PM, Adrian Buford < > technicallydebatable at gmail.com> wrote: > >> Have no way of making the logs is main concern. >> On Jan 28, 2014 3:14 PM, "sheila miguez" wrote: >> >>> >>> On Tue, Jan 28, 2014 at 3:09 PM, Nick Bennett wrote: >>> >>>> For the logging component, there's already the logging module in the >>>> Python standard library. For an idea of how to use it, try Victor >>>> Lin's guide on good logging practice in Python >>>> . >>>> >>> >>> I'm wondering what he wants to log and what it will be used for. If the >>> intent is to analyze data to get information about average times, then he >>> can use logs for that, then later scrape them to get the data, but he could >>> handle that in other ways as well, like sending events to graphite. >>> >>> >>> -- >>> sheila >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From danieltpeters at gmail.com Tue Jan 28 23:47:27 2014 From: danieltpeters at gmail.com (Daniel Peters) Date: Tue, 28 Jan 2014 16:47:27 -0600 Subject: [Chicago] Python traffic analysis idea In-Reply-To: References: Message-ID: you might could just push the logfiles into pandas, wouldn't even need to write a script to compare them, just make each file a data frame or set of data frames and then play with it from there. On Tue, Jan 28, 2014 at 4:35 PM, Adrian Buford < technicallydebatable at gmail.com> wrote: > Seems like Scapy will give me the output I need using sniff along with > some other vars. Also Airoscapy-by looks to provide some help. Pretty much > the next step is a script for log comparison which shouldn't be hard. Gonna > draw up on whiteboard once home. Thanks again all. I will also check out > Kibana Chris. Not too familiar. > On Jan 28, 2014 3:52 PM, "Chris Sinchok" wrote: > >> Something like Kibana might be really useful for this: >> http://www.elasticsearch.org/overview/kibana/ >> >> Kibana is a simple front end that's powered by elasticsearch, and it's >> quite easy to get data into elasticsearch from Python--or from logstash, >> etc. Here's a demo, to show a few possible uses: >> http://demo.kibana.org/#/dashboard >> >> >> On Tue, Jan 28, 2014 at 3:41 PM, Adrian Buford < >> technicallydebatable at gmail.com> wrote: >> >>> Have no way of making the logs is main concern. >>> On Jan 28, 2014 3:14 PM, "sheila miguez" wrote: >>> >>>> >>>> On Tue, Jan 28, 2014 at 3:09 PM, Nick Bennett wrote: >>>> >>>>> For the logging component, there's already the logging module in the >>>>> Python standard library. For an idea of how to use it, try Victor >>>>> Lin's guide on good logging practice in Python >>>>> . >>>>> >>>> >>>> I'm wondering what he wants to log and what it will be used for. If the >>>> intent is to analyze data to get information about average times, then he >>>> can use logs for that, then later scrape them to get the data, but he could >>>> handle that in other ways as well, like sending events to graphite. >>>> >>>> >>>> -- >>>> sheila >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl at personnelware.com Wed Jan 29 12:00:54 2014 From: carl at personnelware.com (Carl Karsten) Date: Wed, 29 Jan 2014 12:00:54 +0100 Subject: [Chicago] Fwd: [psf-members-ann] ANN: Python Events Calendar - Now with Twitter feed In-Reply-To: <52E8D5F1.7000105@python.org> References: <52E8D5F1.7000105@python.org> Message-ID: Whoever did the iCal feed, or whoever wants to work on this Can you get it on our site http://www.chipy.org/ which seems to happen magically if you just ask how to do it. So someone should ask ;) Can you look at the ADDING EVENTS part below and see if it is any use to them? ---------- Forwarded message ---------- From: M.-A. Lemburg Date: Wed, Jan 29, 2014 at 11:20 AM Subject: [psf-members-ann] ANN: Python Events Calendar - Now with Twitter feed To: PSF Members Announcements [Please help spread the word by forwarding to other relevant mailing lists, user groups, etc. world-wide; thanks :-)] ________________________________________________________________________ ANNOUNCING Python Events Calendars - Now with Twitter feed maintained by the Python Software Foundation (PSF) and a group of volunteers ________________________________________________________________________ INTRODUCTION As some of you may know, the PSF has put together a team of volunteers who are maintaining a central Python events calendar. We currently have two calendars in place: * Python Events Calendar - meant for conferences and larger gatherings focusing on Python or a related technology (in whole or in part) * Python User Group Calendar - meant for user group events and other smaller local events The calendars are displayed on http://pycon.org/ and in a smaller version in the sidebar of the http://python.org/ website. You can subscribe to the calendars using iCal and RSS feeds and also embed the calendar widgets on your sites. Please see our wiki page for details: https://wiki.python.org/moin/PythonEventsCalendar The calendars are open to the world-wide Python community, so you can have local user group events, as well as regional and international conference events added to the calendars. ________________________________________________________________________ NEWS We have now created a Twitter feed for the calendars, which you can follow to get updates on all newly added events: https://twitter.com/pythonevents The tweets come with links to the event listings, which you can add to your own Google calendars with a single click. ________________________________________________________________________ ADDING EVENTS If you want to have entries added to those calendars, please write to events at python.org and include the following information: * Name of the event * Type of the event (conference, bar camp, user group, etc) * Focus on Python and approximate size * URL * Location and country * Date and time (if relevant) For recurring events, please also include a description of the recurrence in a way that's compatible and supported by Google calendars. ________________________________________________________________________ MORE INFORMATION More information on the calendars, the URLs, feed links, IDs, embedding, etc. is available on the wiki: https://wiki.python.org/moin/PythonEventsCalendar Enjoy, -- Marc-Andre Lemburg Director Python Software Foundation http://www.python.org/psf/ _______________________________________________ psf-members-announce mailing list psf-members-announce at python.org https://mail.python.org/mailman/listinfo/psf-members-announce -- Carl K -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Wed Jan 29 15:18:29 2014 From: shekay at pobox.com (sheila miguez) Date: Wed, 29 Jan 2014 08:18:29 -0600 Subject: [Chicago] help with fabric Message-ID: Hi all, We've got a fabfile that works for one person (the one who wrote most of it) but doesn't work completely for everyone else. It is such a pain that we think bash is easier. If anyone wants to help, hop in to #scipy-conf on freenode. I'm skay, and the other two people are aterrel and mrterry. We are spending more time on automating this than on doing this. It is frustrating. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From cam at camrudnick.com Wed Jan 29 12:53:13 2014 From: cam at camrudnick.com (Cameron Rudnick) Date: Wed, 29 Jan 2014 05:53:13 -0600 Subject: [Chicago] Fwd: [psf-members-ann] ANN: Python Events Calendar - Now with Twitter feed In-Reply-To: References: <52E8D5F1.7000105@python.org> Message-ID: <52E8EBA9.7030603@camrudnick.com> Hi, That was me that added the iCal feed. I just sent an email for the feed to be added to the Python events calendar. I'll look into adding a calendar widget to the site over the weekend :) - Cam On 01/29/2014 05:00 AM, Carl Karsten wrote: > Whoever did the iCal feed, or whoever wants to work on this > > Can you get it on our site http://www.chipy.org/ > which seems to happen magically if you just ask how to do it. So > someone should ask ;) > > Can you look at the ADDING EVENTS part below and see if it is any use > to them? > > > ---------- Forwarded message ---------- > From: *M.-A. Lemburg* > > Date: Wed, Jan 29, 2014 at 11:20 AM > Subject: [psf-members-ann] ANN: Python Events Calendar - Now with > Twitter feed > To: PSF Members Announcements > > > > [Please help spread the word by forwarding to other relevant mailing > lists, > user groups, etc. world-wide; thanks :-)] > > ________________________________________________________________________ > ANNOUNCING > > Python Events Calendars - Now with Twitter feed > > maintained by the Python Software Foundation (PSF) > and a group of volunteers > > ________________________________________________________________________ > INTRODUCTION > > As some of you may know, the PSF has put together a team of volunteers > who are maintaining a central Python events calendar. We currently have > two calendars in place: > > * Python Events Calendar - meant for conferences and larger gatherings > focusing on Python or a related technology (in whole or in part) > > * Python User Group Calendar - meant for user group events and other > smaller local events > > The calendars are displayed on http://pycon.org/ and in a smaller > version in the sidebar of the http://python.org/ website. > > You can subscribe to the calendars using iCal and RSS feeds and > also embed the calendar widgets on your sites. Please see our wiki > page for details: > > https://wiki.python.org/moin/PythonEventsCalendar > > The calendars are open to the world-wide Python community, so you > can have local user group events, as well as regional and international > conference events added to the calendars. > > ________________________________________________________________________ > NEWS > > We have now created a Twitter feed for the calendars, which you can > follow to get updates on all newly added events: > > https://twitter.com/pythonevents > > The tweets come with links to the event listings, which you can > add to your own Google calendars with a single click. > > ________________________________________________________________________ > ADDING EVENTS > > If you want to have entries added to those calendars, please write > to events at python.org and include the > following information: > > * Name of the event > * Type of the event (conference, bar camp, user group, etc) > * Focus on Python and approximate size > * URL > * Location and country > * Date and time (if relevant) > > For recurring events, please also include a description of the > recurrence in a way that's compatible and supported by Google > calendars. > > ________________________________________________________________________ > MORE INFORMATION > > More information on the calendars, the URLs, feed links, IDs, embedding, > etc. is available on the wiki: > > https://wiki.python.org/moin/PythonEventsCalendar > > Enjoy, > -- > Marc-Andre Lemburg > Director > Python Software Foundation > http://www.python.org/psf/ > _______________________________________________ > psf-members-announce mailing list > psf-members-announce at python.org > https://mail.python.org/mailman/listinfo/psf-members-announce > > > > -- > Carl K > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From cam at camrudnick.com Wed Jan 29 12:48:27 2014 From: cam at camrudnick.com (Cameron Rudnick) Date: Wed, 29 Jan 2014 05:48:27 -0600 Subject: [Chicago] Fwd: [psf-members-ann] ANN: Python Events Calendar - Now with Twitter feed In-Reply-To: References: <52E8D5F1.7000105@python.org> Message-ID: <52E8EA8B.3030805@camrudnick.com> Hi, That was me that added the iCal feed. I just sent an email for the feed to be added to the Python events calendar. I'll look into adding a calendar widget to the site over the weekend :) - Cam On 01/29/2014 05:00 AM, Carl Karsten wrote: > Whoever did the iCal feed, or whoever wants to work on this > > Can you get it on our site http://www.chipy.org/ > which seems to happen magically if you just ask how to do it. So > someone should ask ;) > > Can you look at the ADDING EVENTS part below and see if it is any use > to them? > > > ---------- Forwarded message ---------- > From: *M.-A. Lemburg* > > Date: Wed, Jan 29, 2014 at 11:20 AM > Subject: [psf-members-ann] ANN: Python Events Calendar - Now with > Twitter feed > To: PSF Members Announcements > > > > [Please help spread the word by forwarding to other relevant mailing > lists, > user groups, etc. world-wide; thanks :-)] > > ________________________________________________________________________ > ANNOUNCING > > Python Events Calendars - Now with Twitter feed > > maintained by the Python Software Foundation (PSF) > and a group of volunteers > > ________________________________________________________________________ > INTRODUCTION > > As some of you may know, the PSF has put together a team of volunteers > who are maintaining a central Python events calendar. We currently have > two calendars in place: > > * Python Events Calendar - meant for conferences and larger gatherings > focusing on Python or a related technology (in whole or in part) > > * Python User Group Calendar - meant for user group events and other > smaller local events > > The calendars are displayed on http://pycon.org/ and in a smaller > version in the sidebar of the http://python.org/ website. > > You can subscribe to the calendars using iCal and RSS feeds and > also embed the calendar widgets on your sites. Please see our wiki > page for details: > > https://wiki.python.org/moin/PythonEventsCalendar > > The calendars are open to the world-wide Python community, so you > can have local user group events, as well as regional and international > conference events added to the calendars. > > ________________________________________________________________________ > NEWS > > We have now created a Twitter feed for the calendars, which you can > follow to get updates on all newly added events: > > https://twitter.com/pythonevents > > The tweets come with links to the event listings, which you can > add to your own Google calendars with a single click. > > ________________________________________________________________________ > ADDING EVENTS > > If you want to have entries added to those calendars, please write > to events at python.org and include the > following information: > > * Name of the event > * Type of the event (conference, bar camp, user group, etc) > * Focus on Python and approximate size > * URL > * Location and country > * Date and time (if relevant) > > For recurring events, please also include a description of the > recurrence in a way that's compatible and supported by Google > calendars. > > ________________________________________________________________________ > MORE INFORMATION > > More information on the calendars, the URLs, feed links, IDs, embedding, > etc. is available on the wiki: > > https://wiki.python.org/moin/PythonEventsCalendar > > Enjoy, > -- > Marc-Andre Lemburg > Director > Python Software Foundation > http://www.python.org/psf/ > _______________________________________________ > psf-members-announce mailing list > psf-members-announce at python.org > https://mail.python.org/mailman/listinfo/psf-members-announce > > > > -- > Carl K > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.haugen at gmail.com Wed Jan 29 15:25:03 2014 From: bob.haugen at gmail.com (Bob Haugen) Date: Wed, 29 Jan 2014 08:25:03 -0600 Subject: [Chicago] help with fabric In-Reply-To: References: Message-ID: On Wed, Jan 29, 2014 at 8:18 AM, sheila miguez wrote: > We are spending more time on automating this than on doing this. It is > frustrating. Unfortunately, I have no help to offer, but of course there is an XKCD for this: https://xkcd.com/1319/ From shekay at pobox.com Wed Jan 29 15:30:31 2014 From: shekay at pobox.com (sheila miguez) Date: Wed, 29 Jan 2014 08:30:31 -0600 Subject: [Chicago] help with fabric In-Reply-To: References: Message-ID: On Wed, Jan 29, 2014 at 8:25 AM, Bob Haugen wrote: > On Wed, Jan 29, 2014 at 8:18 AM, sheila miguez wrote: > > We are spending more time on automating this than on doing this. It is > > frustrating. > > Unfortunately, I have no help to offer, but of course there is an XKCD for > this: > https://xkcd.com/1319/ > don't I know it. :) I had a bash script to bootstrap things and also did some stuff by hand. now we have https://github.com/scipy-conference/SciPy-2014/blob/master/fabfile.py I am also trying it out for my job and had some more luck, except with vagrant. Things start off okay with vagrant, then fab doesn't like empty passwords, and the vagrant user doesn't need a password for sudo. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Thu Jan 30 22:53:09 2014 From: brianhray at gmail.com (Brian Ray) Date: Thu, 30 Jan 2014 15:53:09 -0600 Subject: [Chicago] Can I see a +1 on this? Message-ID: - *Curiosity.com* (0:30:00 Minutes) By: Christopher Cot? I am Director of Engineering for Discovery Communications Emerging Business and Strategy team. We just relaunched Curiosity.com. We use Python all over the place along with MongoDB/Redis/ElasticSearch The site lives within AWS utilizing several of their services. Including EC2, ELB, Route53, Cloudwatch, S3 I would like to discuss our overall architecture and our use/love of Python. And answer any questions on architecture/scalability/process/code. +1 I also thought I saw a NLP talk proposal, whomever posted that please-repost here or to http://www.chipy.org/meetings/topics/propose -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From difley at gmail.com Thu Jan 30 23:12:45 2014 From: difley at gmail.com (Seth Difley) Date: Thu, 30 Jan 2014 16:12:45 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: +1 On Thu, Jan 30, 2014 at 3:53 PM, Brian Ray wrote: > Curiosity.com > (0:30:00 Minutes) > By: Christopher Cot? > I am Director of Engineering for Discovery Communications Emerging Business > and Strategy team. We just relaunched Curiosity.com. We use Python all over > the place along with MongoDB/Redis/ElasticSearch The site lives within AWS > utilizing several of their services. Including EC2, ELB, Route53, > Cloudwatch, S3 I would like to discuss our overall architecture and our > use/love of Python. And answer any questions on > architecture/scalability/process/code. > > +1 > > > I also thought I saw a NLP talk proposal, whomever posted that please-repost > here or to http://www.chipy.org/meetings/topics/propose > > > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > From matt at soulrobotic.com Thu Jan 30 23:20:07 2014 From: matt at soulrobotic.com (Matthew Erickson) Date: Thu, 30 Jan 2014 22:20:07 +0000 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: +1 -- Matt On 1/30/14, 3:53 PM, "Brian Ray" > wrote: * Curiosity.com (0:30:00 Minutes) By: Christopher Cot? I am Director of Engineering for Discovery Communications Emerging Business and Strategy team. We just relaunched Curiosity.com. We use Python all over the place along with MongoDB/Redis/ElasticSearch The site lives within AWS utilizing several of their services. Including EC2, ELB, Route53, Cloudwatch, S3 I would like to discuss our overall architecture and our use/love of Python. And answer any questions on architecture/scalability/process/code. +1 I also thought I saw a NLP talk proposal, whomever posted that please-repost here or to http://www.chipy.org/meetings/topics/propose -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From royazuniga at gmail.com Thu Jan 30 23:20:59 2014 From: royazuniga at gmail.com (Roy Zuniga) Date: Thu, 30 Jan 2014 16:20:59 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: +1 On Thu, Jan 30, 2014 at 4:20 PM, Matthew Erickson wrote: > +1 > > -- Matt > > On 1/30/14, 3:53 PM, "Brian Ray" wrote: > > > - *Curiosity.com* > (0:30:00 Minutes) > By: Christopher Cot? > I am Director of Engineering for Discovery Communications Emerging > Business and Strategy team. We just relaunched Curiosity.com. We use Python > all over the place along with MongoDB/Redis/ElasticSearch The site lives > within AWS utilizing several of their services. Including EC2, ELB, > Route53, Cloudwatch, S3 I would like to discuss our overall architecture > and our use/love of Python. And answer any questions on > architecture/scalability/process/code. > > +1 > > > I also thought I saw a NLP talk proposal, whomever posted that > please-repost here or to http://www.chipy.org/meetings/topics/propose > > > > > -- > Brian Ray > @brianray > (773) 669-7717 > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cam at camrudnick.com Thu Jan 30 23:17:52 2014 From: cam at camrudnick.com (Cameron Rudnick) Date: Thu, 30 Jan 2014 16:17:52 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: <52EACF90.6060103@camrudnick.com> +1 On 01/30/2014 04:12 PM, Seth Difley wrote: > +1 > > On Thu, Jan 30, 2014 at 3:53 PM, Brian Ray wrote: >> Curiosity.com >> (0:30:00 Minutes) >> By: Christopher Cot? >> I am Director of Engineering for Discovery Communications Emerging Business >> and Strategy team. We just relaunched Curiosity.com. We use Python all over >> the place along with MongoDB/Redis/ElasticSearch The site lives within AWS >> utilizing several of their services. Including EC2, ELB, Route53, >> Cloudwatch, S3 I would like to discuss our overall architecture and our >> use/love of Python. And answer any questions on >> architecture/scalability/process/code. >> >> +1 >> >> >> I also thought I saw a NLP talk proposal, whomever posted that please-repost >> here or to http://www.chipy.org/meetings/topics/propose >> >> >> >> >> -- >> Brian Ray >> @brianray >> (773) 669-7717 >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago From brian at python.org Fri Jan 31 00:26:18 2014 From: brian at python.org (Brian Curtin) Date: Thu, 30 Jan 2014 17:26:18 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: On Thu, Jan 30, 2014 at 3:53 PM, Brian Ray wrote: > > - *Curiosity.com* > (0:30:00 Minutes) > By: Christopher Cot? > I am Director of Engineering for Discovery Communications Emerging > Business and Strategy team. We just relaunched Curiosity.com. We use Python > all over the place along with MongoDB/Redis/ElasticSearch The site lives > within AWS utilizing several of their services. Including EC2, ELB, > Route53, Cloudwatch, S3 I would like to discuss our overall architecture > and our use/love of Python. And answer any questions on > architecture/scalability/process/code. > > +1 > > > I also thought I saw a NLP talk proposal, whomever posted that > please-repost here or to http://www.chipy.org/meetings/topics/propose > Can this be a part of the website or voted on in some other way? I really hope having people submitting empty "+1" emails over and over is not actually the plan for coming up with the schedule. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Jan 31 00:31:02 2014 From: shekay at pobox.com (sheila miguez) Date: Thu, 30 Jan 2014 17:31:02 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: On Thu, Jan 30, 2014 at 5:26 PM, Brian Curtin wrote: > > Can this be a part of the website or voted on in some other way? I really > hope having people submitting empty "+1" emails over and over is not > actually the plan for coming up with the schedule. > > I could set up a symposion instance for chipy. People would need to create accounts to vote. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at python.org Fri Jan 31 00:48:40 2014 From: brian at python.org (Brian Curtin) Date: Thu, 30 Jan 2014 17:48:40 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: On Thu, Jan 30, 2014 at 5:31 PM, sheila miguez wrote: > > > > On Thu, Jan 30, 2014 at 5:26 PM, Brian Curtin wrote: > >> >> Can this be a part of the website or voted on in some other way? I really >> hope having people submitting empty "+1" emails over and over is not >> actually the plan for coming up with the schedule. >> >> I could set up a symposion instance for chipy. People would need to > create accounts to vote. > It doesn't even need to be that - there's already a website. I doubt anyone is going to game the system to win votes for a ChiPy talk - could be as simple as just having a +1 button next to a proposal. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cam at camrudnick.com Fri Jan 31 00:54:21 2014 From: cam at camrudnick.com (Cameron Rudnick) Date: Thu, 30 Jan 2014 17:54:21 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: <52EAE62D.6010803@camrudnick.com> I just created an issue for this on github. I'll look into adding this over the weekend. https://github.com/chicagopython/chipy.org/issues/63 - Cam On 01/30/2014 05:48 PM, Brian Curtin wrote: > On Thu, Jan 30, 2014 at 5:31 PM, sheila miguez > wrote: > > > > > On Thu, Jan 30, 2014 at 5:26 PM, Brian Curtin > wrote: > > > Can this be a part of the website or voted on in some other > way? I really hope having people submitting empty "+1" emails > over and over is not actually the plan for coming up with the > schedule. > > I could set up a symposion instance for chipy. People would need > to create accounts to vote. > > > It doesn't even need to be that - there's already a website. I doubt > anyone is going to game the system to win votes for a ChiPy talk - > could be as simple as just having a +1 button next to a proposal. > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Fri Jan 31 01:02:29 2014 From: brianhray at gmail.com (Brian Ray) Date: Thu, 30 Jan 2014 18:02:29 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: There is a website for feature requests on the website: https://github.com/chicagopython/chipy.org/issues There are some problems with your proposal, Brian C; however, we can discuss that there :) On Thursday, January 30, 2014, Brian Curtin wrote: > On Thu, Jan 30, 2014 at 5:31 PM, sheila miguez > > wrote: > >> >> >> >> On Thu, Jan 30, 2014 at 5:26 PM, Brian Curtin >> > wrote: >> >>> >>> Can this be a part of the website or voted on in some other way? I >>> really hope having people submitting empty "+1" emails over and over is not >>> actually the plan for coming up with the schedule. >>> >>> I could set up a symposion instance for chipy. People would need to >> create accounts to vote. >> > > It doesn't even need to be that - there's already a website. I doubt > anyone is going to game the system to win votes for a ChiPy talk - could be > as simple as just having a +1 button next to a proposal. > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From yarkot1 at gmail.com Fri Jan 31 02:34:51 2014 From: yarkot1 at gmail.com (Yarko Tymciurak) Date: Thu, 30 Jan 2014 19:34:51 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: Gee, Brian C. --- I thought a pre-meeting meeting at a pub, and everyone lifts their glass to the talk they want to hear would be more face-time social than email; click-a-site seem in the other direction (efficient, disconnected at the human level, maybe not the data level) ;-) On Thu, Jan 30, 2014 at 6:02 PM, Brian Ray wrote: > There is a website for feature requests on the website: > https://github.com/chicagopython/chipy.org/issues > > There are some problems with your proposal, Brian C; however, we can > discuss that there :) > > > On Thursday, January 30, 2014, Brian Curtin wrote: > >> On Thu, Jan 30, 2014 at 5:31 PM, sheila miguez wrote: >> >>> >>> >>> >>> On Thu, Jan 30, 2014 at 5:26 PM, Brian Curtin wrote: >>> >>>> >>>> Can this be a part of the website or voted on in some other way? I >>>> really hope having people submitting empty "+1" emails over and over is not >>>> actually the plan for coming up with the schedule. >>>> >>>> I could set up a symposion instance for chipy. People would need to >>> create accounts to vote. >>> >> >> It doesn't even need to be that - there's already a website. I doubt >> anyone is going to game the system to win votes for a ChiPy talk - could be >> as simple as just having a +1 button next to a proposal. >> > > > -- > Brian Ray > @brianray > (773) 669-7717 > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jp at zavteq.com Fri Jan 31 03:27:17 2014 From: jp at zavteq.com (JP Bader) Date: Thu, 30 Jan 2014 20:27:17 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: What are the problems with Brian C's proposal? It is relatively quick and efficient, just propose ideas to the site, those that get voted on (generally at least 1 +1 would get a talk) and that's relatively straightforward. I mean, I guess there might be some people who might rig up a bot to auto-boost their ratings (like some have been known to do for karma), but our group is above that, right? On Thu, Jan 30, 2014 at 7:34 PM, Yarko Tymciurak wrote: > Gee, Brian C. --- I thought a pre-meeting meeting at a pub, and everyone > lifts their glass to the talk they want to hear would be more face-time > social than email; click-a-site seem in the other direction (efficient, > disconnected at the human level, maybe not the data level) ;-) > > > > On Thu, Jan 30, 2014 at 6:02 PM, Brian Ray wrote: > >> There is a website for feature requests on the website: >> https://github.com/chicagopython/chipy.org/issues >> >> There are some problems with your proposal, Brian C; however, we can >> discuss that there :) >> >> >> On Thursday, January 30, 2014, Brian Curtin wrote: >> >>> On Thu, Jan 30, 2014 at 5:31 PM, sheila miguez wrote: >>> >>>> >>>> >>>> >>>> On Thu, Jan 30, 2014 at 5:26 PM, Brian Curtin wrote: >>>> >>>>> >>>>> Can this be a part of the website or voted on in some other way? I >>>>> really hope having people submitting empty "+1" emails over and over is not >>>>> actually the plan for coming up with the schedule. >>>>> >>>>> I could set up a symposion instance for chipy. People would need to >>>> create accounts to vote. >>>> >>> >>> It doesn't even need to be that - there's already a website. I doubt >>> anyone is going to game the system to win votes for a ChiPy talk - could be >>> as simple as just having a +1 button next to a proposal. >>> >> >> >> -- >> Brian Ray >> @brianray >> (773) 669-7717 >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- JP Bader Principal Zavteq, Inc. @lordB8r | jp at zavteq.com 608.692.2468 -------------- next part -------------- An HTML attachment was scrubbed... URL: From emperorcezar at gmail.com Fri Jan 31 03:39:54 2014 From: emperorcezar at gmail.com (Cezar Jenkins) Date: Thu, 30 Jan 2014 20:39:54 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: While I like the feature, has there ever been a time when we have denied a talk? --? Cezar Jenkins @emperorcezar From:?JP Bader JP Bader Reply:?The Chicago Python Users Group chicago at python.org Date:?January 30, 2014 at 8:29:07 PM To:?The Chicago Python Users Group chicago at python.org Subject:? Re: [Chicago] Can I see a +1 on this? What are the problems with Brian C's proposal? It is relatively quick and efficient, just propose ideas to the site, those that get voted on (generally at least 1 +1 would get a talk) and that's relatively straightforward. I mean, I guess there might be some people who might rig up a bot to auto-boost their ratings (like some have been known to do for karma), but our group is above that, right? On Thu, Jan 30, 2014 at 7:34 PM, Yarko Tymciurak wrote: Gee, Brian C. --- I thought a pre-meeting meeting at a pub, and everyone lifts their glass to the talk they want to hear would be more face-time social than email; ?click-a-site seem in the other direction (efficient, disconnected at the human level, maybe not the data level) ;-) On Thu, Jan 30, 2014 at 6:02 PM, Brian Ray wrote: There is a website for feature requests on the website: ?https://github.com/chicagopython/chipy.org/issues There are some problems with your proposal, Brian C; however, we can discuss that there :) On Thursday, January 30, 2014, Brian Curtin wrote: On Thu, Jan 30, 2014 at 5:31 PM, sheila miguez wrote: On Thu, Jan 30, 2014 at 5:26 PM, Brian Curtin wrote: Can this be a part of the website or voted on in some other way? I really hope having people submitting empty "+1" emails over and over is not actually the plan for coming up with the schedule. I could set up a symposion instance for chipy. People would need to create accounts to vote.? It doesn't even need to be that - there's already a website. I doubt anyone is going to game the system to win votes for a ChiPy talk - could be as simple as just having a +1 button next to a proposal. -- Brian Ray? @brianray (773) 669-7717 _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -- JP Bader Principal Zavteq, Inc. @lordB8r | jp at zavteq.com 608.692.2468 _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From yarkot1 at gmail.com Fri Jan 31 08:09:22 2014 From: yarkot1 at gmail.com (Yarko Tymciurak) Date: Fri, 31 Jan 2014 01:09:22 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: On Thu, Jan 30, 2014 at 8:39 PM, Cezar Jenkins wrote: > While I like the feature, has there ever been a time when we have denied a > talk? > "Hey, I'd like to talk about the white squirrels of Olney, IL" - there! :-D > > -- > Cezar Jenkins > @emperorcezar > ------------------------------ > From: JP Bader JP Bader > Reply: The Chicago Python Users Group chicago at python.org > Date: January 30, 2014 at 8:29:07 PM > To: The Chicago Python Users Group chicago at python.org > Subject: Re: [Chicago] Can I see a +1 on this? > > What are the problems with Brian C's proposal? It is relatively quick and > efficient, just propose ideas to the site, those that get voted on > (generally at least 1 +1 would get a talk) and that's relatively > straightforward. I mean, I guess there might be some people who might rig > up a bot to auto-boost their ratings (like some have been known to do for > karma), but our group is above that, right? > > > On Thu, Jan 30, 2014 at 7:34 PM, Yarko Tymciurak wrote: > >> Gee, Brian C. --- I thought a pre-meeting meeting at a pub, and everyone >> lifts their glass to the talk they want to hear would be more face-time >> social than email; click-a-site seem in the other direction (efficient, >> disconnected at the human level, maybe not the data level) ;-) >> >> >> >> On Thu, Jan 30, 2014 at 6:02 PM, Brian Ray wrote: >> >>> There is a website for feature requests on the website: >>> https://github.com/chicagopython/chipy.org/issues >>> >>> There are some problems with your proposal, Brian C; however, we can >>> discuss that there :) >>> >>> >>> On Thursday, January 30, 2014, Brian Curtin wrote: >>> >>>> On Thu, Jan 30, 2014 at 5:31 PM, sheila miguez wrote: >>>> >>>>> >>>>> >>>>> >>>>> On Thu, Jan 30, 2014 at 5:26 PM, Brian Curtin wrote: >>>>> >>>>>> >>>>>> Can this be a part of the website or voted on in some other way? I >>>>>> really hope having people submitting empty "+1" emails over and over is not >>>>>> actually the plan for coming up with the schedule. >>>>>> >>>>>> I could set up a symposion instance for chipy. People would need to >>>>> create accounts to vote. >>>>> >>>> >>>> It doesn't even need to be that - there's already a website. I doubt >>>> anyone is going to game the system to win votes for a ChiPy talk - could be >>>> as simple as just having a +1 button next to a proposal. >>>> >>> >>> >>> -- >>> Brian Ray >>> @brianray >>> (773) 669-7717 >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > > -- > JP Bader > Principal > Zavteq, Inc. > @lordB8r | jp at zavteq.com > 608.692.2468 > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Jan 31 15:49:58 2014 From: shekay at pobox.com (sheila miguez) Date: Fri, 31 Jan 2014 08:49:58 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: On Fri, Jan 31, 2014 at 1:09 AM, Yarko Tymciurak wrote: > On Thu, Jan 30, 2014 at 8:39 PM, Cezar Jenkins wrote: > >> While I like the feature, has there ever been a time when we have denied >> a talk? >> > > "Hey, I'd like to talk about the white squirrels of Olney, IL" - there! > :-D > :) We've rejected a few talks. And have had some +-0's. -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Fri Jan 31 17:04:41 2014 From: brianhray at gmail.com (Brian Ray) Date: Fri, 31 Jan 2014 10:04:41 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: I *try* to listen to what people want and steer presentations accordingly based on on list feedback. Asking for +1 has proved to be an effective method and I probably will continue to do so. I also want to be sensitive to noise on this list; however, I am not convinced +1 is noise. I have no promises on if the +1 feature for the site is a go or not, perhaps we need to get +1 on that! All I can promise is that February meeting at BoA will be our best meeting ever... -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at python.org Fri Jan 31 17:30:46 2014 From: brian at python.org (Brian Curtin) Date: Fri, 31 Jan 2014 10:30:46 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: On Fri, Jan 31, 2014 at 10:04 AM, Brian Ray wrote: > I also want to be sensitive to noise on this list; however, I am not > convinced +1 is noise. > Numerous emails which only contain "+1" is the definition of email noise. -------------- next part -------------- An HTML attachment was scrubbed... URL: From japhy at pearachute.com Fri Jan 31 18:49:47 2014 From: japhy at pearachute.com (Japhy Bartlett) Date: Fri, 31 Jan 2014 11:49:47 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: Could we get a +1 on using +1 to vote for talks? On Fri, Jan 31, 2014 at 10:30 AM, Brian Curtin wrote: > On Fri, Jan 31, 2014 at 10:04 AM, Brian Ray wrote: > >> I also want to be sensitive to noise on this list; however, I am not >> convinced +1 is noise. >> > > Numerous emails which only contain "+1" is the definition of email noise. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Jan 31 19:04:01 2014 From: shekay at pobox.com (sheila miguez) Date: Fri, 31 Jan 2014 12:04:01 -0600 Subject: [Chicago] February python project night! safe the date and sign up to help Message-ID: Heads up all! Aeva and I have been talking with Asheesh and a few others about a python project night in February. If you recall, Asheesh mailed chipy proposing that we do this monthly. I've set up meetup with no schedule or location right now, but we have tentative plans to hold this on Feb. 27. When we lock this down, I'll edit the meetup and post to the list. Right now I am talking to graphite developers so that we have a project table for graphite, and other than that we are open for ideas. People aren't required to work on someone else's project. This is also a time where people can gather together to work on their own projects as well. I'd like to recruit some people * To post comments to the meetup letting everyone know what you are interested in working on and what you need help with. If we know in advance we can try to find some resources for you on the topics. * To be a greeter and help with the beginning python table. * To be a greeter and help with the beginning web developer table. * To prepare their open source project for participation in this project night and future ones -- this means I'd like you to take a look at http://opensource-events.com/ for best practices and you can ask for volunteers to help you prepare for future sprints and project nights. If you are already prepared, this is awesome! Show up and recruit new contributors. http://www.meetup.com/ChiPyFans/events/163257702/ Here's the current meetup description so that you don't need to click that link. Announcement: Come work on Python projects, get programming help, help others, and hang out. Bring your own project or work on one of the suggested projects below. Everyone is welcome, all skill levels are encouraged. Friendly people will be here to help beginning Python programmers with language basics and practice. Audience: Everyone! All Python experience levels are welcome, and everything is self-paced. When: 6:30pm - 9:30pm Where: ??? Food: Pizza will be provided by ??? Things to bring: a wireless-enabled laptop and power cord. Need some project ideas? How about: Learning Python * The official Python tutorial http://docs.python.org/2/tutorial/introduction.html * How to Think Like a Computer Scientist: Learning with Python http://openbookproject.net/thinkcs/python/english2e/ * An introduction to Python through writing games http://inventwithpython.com/chapters/ * Learn Python the Hard Way http://learnpythonthehardway.org/ Projects * If you contribute to an open source project that uses Python and want to help new contributors, let us know in a comment! * Want to learn a Python web framework? Check out the Django tutorial. https://docs.djangoproject.com/en/dev/intro/tutorial01/ Questions? If you are interested in working on a specific topic, please leave a comment to let us know. Maybe we can find someone in advance who knows the topic! -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Fri Jan 31 19:06:55 2014 From: wirth.jason at gmail.com (Jason Wirth) Date: Fri, 31 Jan 2014 12:06:55 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: Both Brians make good points. I agree an empty +1 email could be noisy. One point about the email feedback, I think in the case of new presenters the act of speaking can be intimidating because there are many possible things to talk about and the speaker doesn't know what the group wants. Thus there's a tendency to be very "open" and talk about anything. A shot in the dark if you will. Email responses from the group can help narrow the focus. But then again emails that do this are not empty "+1" emails. On Friday, January 31, 2014, Japhy Bartlett wrote: > Could we get a +1 on using +1 to vote for talks? > > > On Fri, Jan 31, 2014 at 10:30 AM, Brian Curtin > > wrote: > >> On Fri, Jan 31, 2014 at 10:04 AM, Brian Ray >> > wrote: >> >>> I also want to be sensitive to noise on this list; however, I am not >>> convinced +1 is noise. >>> >> >> Numerous emails which only contain "+1" is the definition of email noise. >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > -- -- Jason Wirth 213.675.5294 wirth.jason at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From yarkot1 at gmail.com Fri Jan 31 19:19:32 2014 From: yarkot1 at gmail.com (Yarko Tymciurak) Date: Fri, 31 Jan 2014 12:19:32 -0600 Subject: [Chicago] Can I see a +1 on this? In-Reply-To: References: Message-ID: (fully tongue in cheek here): so if "+1" constitute mail noise, do ":-)" also? :-D On Fri, Jan 31, 2014 at 12:06 PM, Jason Wirth wrote: > Both Brians make good points. > > I agree an empty +1 email could be noisy. > > One point about the email feedback, I think in the case of new presenters > the act of speaking can be intimidating because there are many possible > things to talk about and the speaker doesn't know what the group wants. > Thus there's a tendency to be very "open" and talk about anything. A shot > in the dark if you will. Email responses from the group can help narrow > the focus. But then again emails that do this are not empty "+1" emails. > > > > On Friday, January 31, 2014, Japhy Bartlett wrote: > >> Could we get a +1 on using +1 to vote for talks? >> >> >> On Fri, Jan 31, 2014 at 10:30 AM, Brian Curtin wrote: >> >>> On Fri, Jan 31, 2014 at 10:04 AM, Brian Ray wrote: >>> >>>> I also want to be sensitive to noise on this list; however, I am not >>>> convinced +1 is noise. >>>> >>> >>> Numerous emails which only contain "+1" is the definition of email noise. >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> > > -- > > -- > Jason Wirth > 213.675.5294 > wirth.jason at gmail.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Fri Jan 31 20:47:05 2014 From: brianhray at gmail.com (Brian Ray) Date: Fri, 31 Jan 2014 13:47:05 -0600 Subject: [Chicago] PyCon Hotelling Message-ID: I'm thinking of renting a house off Air B&B for PyCon. Here is my wish list: https://www.airbnb.com/wishlists/22927877 I will be adding more and choosing based on how many people want to go and how close to the event it will be. Likely, it will be a small commute. If your serious about sharing the cost, hit me up ***Off the List***. Please indicate if you care about sharing a room, how much $ you can spend, or any other ideas you might have to make it an enjoyable experience for all ;) Thanks, Brian -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From yarkot1 at gmail.com Fri Jan 31 22:41:21 2014 From: yarkot1 at gmail.com (Yarko Tymciurak) Date: Fri, 31 Jan 2014 15:41:21 -0600 Subject: [Chicago] PyCon Hotelling In-Reply-To: References: Message-ID: I have a hotel but this looks more relaxing. If I split a room is like 80/night. That's sort of my plan. I'm volunteer coordinator, so need to be close enough to be responsive. I want / need to be there Sun/Mon before to Mon/Tue after. Count me in if that works. Yarko 847-668-8985 On Jan 31, 2014 1:47 PM, "Brian Ray" wrote: > > I'm thinking of renting a house off Air B&B for PyCon. Here is my wish > list: https://www.airbnb.com/wishlists/22927877 I will be adding more and > choosing based on how many people want to go and how close to the event it > will be. Likely, it will be a small commute. > > If your serious about sharing the cost, hit me up ***Off the List***. > Please indicate if you care about sharing a room, how much $ you can > spend, or any other ideas you might have to make it an enjoyable experience > for all ;) > > > > Thanks, Brian > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.hayward at pobox.com Fri Jan 31 23:03:02 2014 From: jonathan.hayward at pobox.com (Jonathan Hayward) Date: Fri, 31 Jan 2014 16:03:02 -0600 Subject: [Chicago] How do I make django-ckeditor happy? Message-ID: I'm trying to make django-ckeditor happy on a fresh system. The documentation at https://github.com/shaunsephton/django-ckeditor says: 4. Run the collectstatic management command: $ /manage.py collectstatic. This'll copy static CKEditor require media resources into the directory given by the STATIC_ROOT setting. See Django's documentation on managing static files for more info. However, collectstatic crashes: $ python manage.py collectstatic /usr/lib/python2.7/dist-packages/django/conf/__init__.py:221: DeprecationWarning: You have no filters defined on the 'mail_admins' logging handler: adding implicit debug-false-only filter. See http://docs.djangoproject.com/en/dev/releases/1.4/#request-exceptions-are-now-always-logged DeprecationWarning) You have requested to collect static files at the destination location as specified in your settings. This will overwrite existing files! Are you sure you want to do this? Type 'yes' to continue, or 'no' to cancel: yes UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 12: ordinal not in range(128) How can I do a collectstatic that doesn't have trouble with encountering non-ASCII characters? -- [image: Christos Jonathan Seth Hayward] Jonathan Hayward, Web Developer and Unix/Linux Guru Amazon / Kindle * *Author * * Author Bio * *Email * * Facebook * Fan Page * Google Plus * LinkedIn * *Professional * * Twitter * *Web * * What's New? If you read just *one* of my books, you'll want *The Best of Jonathan's Corner * . -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at goggl.es Fri Jan 31 23:30:48 2014 From: nick at goggl.es (Nick Bennett) Date: Fri, 31 Jan 2014 16:30:48 -0600 Subject: [Chicago] February python project night! safe the date and sign up to help In-Reply-To: References: Message-ID: Sheila, thanks so much for getting this started! I've wanted something like this, a hacking time just for Python, but I haven't gotten the gumption to get out to Pumping Station One for the Python Office Hours you hold. I want to help, I'd be delighted to be a greeter and to be roaming assistance for anyone who's not sure how to get started. I could also use some help myself on a few projects but I'd be quite satisfied to spend several hours turning on lightbulbs in other people's heads in solving problems using Python. I would also be happy to stick around afterwards to clean up, or show up early to set up, and also to help with everything in between. I would like to be involved in organizing events so I can learn how to start them myself in the future. Yay! Nick Bennett nick at goggl.es On Fri, Jan 31, 2014 at 12:04 PM, sheila miguez wrote: > Heads up all! > > Aeva and I have been talking with Asheesh and a few others about a python > project night in February. If you recall, Asheesh mailed chipy proposing > that we do this monthly. > > I've set up meetup with no schedule or location right now, but we have > tentative plans to hold this on Feb. 27. When we lock this down, I'll edit > the meetup and post to the list. > > Right now I am talking to graphite developers so that we have a project > table for graphite, and other than that we are open for ideas. People > aren't required to work on someone else's project. This is also a time > where people can gather together to work on their own projects as well. > > I'd like to recruit some people > > * To post comments to the meetup letting everyone know what you are > interested in working on and what you need help with. If we know in advance > we can try to find some resources for you on the topics. > > * To be a greeter and help with the beginning python table. > > * To be a greeter and help with the beginning web developer table. > > * To prepare their open source project for participation in this project > night and future ones -- this means I'd like you to take a look at > http://opensource-events.com/ for best practices and you can ask for > volunteers to help you prepare for future sprints and project nights. If > you are already prepared, this is awesome! Show up and recruit new > contributors. > > > http://www.meetup.com/ChiPyFans/events/163257702/ > Here's the current meetup description so that you don't need to click that > link. > > > Announcement: > > Come work on Python projects, get programming help, help others, and hang > out. > > Bring your own project or work on one of the suggested projects below. > Everyone is welcome, all skill levels are encouraged. > > Friendly people will be here to help beginning Python programmers with > language basics and practice. > > Audience: Everyone! All Python experience levels are welcome, and > everything is self-paced. > > When: 6:30pm - 9:30pm > Where: ??? > Food: Pizza will be provided by ??? > > Things to bring: a wireless-enabled laptop and power cord. > > Need some project ideas? How about: > > Learning Python > > * The official Python tutorial > http://docs.python.org/2/tutorial/introduction.html > > * How to Think Like a Computer Scientist: Learning with Python > http://openbookproject.net/thinkcs/python/english2e/ > > * An introduction to Python through writing games > http://inventwithpython.com/chapters/ > > * Learn Python the Hard Way http://learnpythonthehardway.org/ > > Projects > > * If you contribute to an open source project that uses Python and want to > help new contributors, let us know in a comment! > > * Want to learn a Python web framework? Check out the Django tutorial. > https://docs.djangoproject.com/en/dev/intro/tutorial01/ > > Questions? > > If you are interested in working on a specific topic, please leave a > comment to let us know. Maybe we can find someone in advance who knows the > topic! > > > -- > sheila > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: