From dinaldo at gmail.com Fri Jul 3 21:06:15 2015 From: dinaldo at gmail.com (Don Sheu) Date: Fri, 3 Jul 2015 12:06:15 -0700 Subject: [Chicago] Brian Ray PSF Nomination Message-ID: So this has happened a lot in the past, where everybody figures a major contributor to the Python global community is already recognized as a PSF Fellow and nobody does anything to nominate a deserving individual. PSF is still working out how to recognize PSF Fellows going forward. In the interim board member M.-A. Lemburg instructed me to put my nominations on the PSF Wiki. Here's my nomination of Brian Ray. Any mistakes are mine alone. Any current members of the Board and PSF Fellows, please join me in supporting Brian Ray's recognition as a PSF Fellow. https://wiki.python.org/moin/PythonSoftwareFoundation/FellowNominations#preview -- Don Sheu (312) 880-9389 *Apply to join us at www.openforcetour.org * *CONFIDENTIALITY NOTICE*: *The information contained in this message may be protected trade secrets or protected by applicable intellectual property laws of the United States and International agreements. If you believe that it has been sent to you in error, do not read it. Please immediately reply to the sender that you have received the message in error. Then delete it. Thank you.* ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.mcmillan at gmail.com Sat Jul 4 18:47:12 2015 From: jeremy.mcmillan at gmail.com (Jeremy McMillan) Date: Sat, 4 Jul 2015 11:47:12 -0500 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: References: Message-ID: So, are they running out of candidates? On Fri, Jul 3, 2015 at 2:06 PM, Don Sheu wrote: > So this has happened a lot in the past, where everybody figures a major > contributor to the Python global community is already recognized as a PSF > Fellow and nobody does anything to nominate a deserving individual. > > PSF is still working out how to recognize PSF Fellows going forward. In > the interim board member M.-A. Lemburg instructed me to put my nominations > on the PSF Wiki. > > Here's my nomination of Brian Ray. Any mistakes are mine alone. Any > current members of the Board and PSF Fellows, please join me in supporting > Brian Ray's recognition as a PSF Fellow. > > > https://wiki.python.org/moin/PythonSoftwareFoundation/FellowNominations#preview > > -- > Don Sheu > (312) 880-9389 > > *Apply to join us at www.openforcetour.org > * > > *CONFIDENTIALITY NOTICE*: *The information contained in this message may > be protected trade secrets or protected by applicable intellectual property > laws of the United States and International agreements. If you believe that > it has been sent to you in error, do not read it. Please immediately reply > to the sender that you have received the message in error. Then delete it. > Thank you.* > ? > > _______________________________________________ > 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 Sat Jul 4 18:54:27 2015 From: shekay at pobox.com (sheila miguez) Date: Sat, 4 Jul 2015 11:54:27 -0500 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: References: Message-ID: I thought Brian was a founding member, not the founding member. I have been going to meetings on and off for 10 years and Chris was running them some years ago. I don't know who else founded the group. I remember Brian talking about one of the early meetings when John Hunter came to visit us. Maybe it was the first meeting? It would be interesting to hear about. On Fri, Jul 3, 2015 at 2:06 PM, Don Sheu wrote: > So this has happened a lot in the past, where everybody figures a major > contributor to the Python global community is already recognized as a PSF > Fellow and nobody does anything to nominate a deserving individual. > > PSF is still working out how to recognize PSF Fellows going forward. In > the interim board member M.-A. Lemburg instructed me to put my nominations > on the PSF Wiki. > > Here's my nomination of Brian Ray. Any mistakes are mine alone. Any > current members of the Board and PSF Fellows, please join me in supporting > Brian Ray's recognition as a PSF Fellow. > > > https://wiki.python.org/moin/PythonSoftwareFoundation/FellowNominations#preview > > -- > Don Sheu > (312) 880-9389 > > *Apply to join us at www.openforcetour.org > * > > *CONFIDENTIALITY NOTICE*: *The information contained in this message may > be protected trade secrets or protected by applicable intellectual property > laws of the United States and International agreements. If you believe that > it has been sent to you in error, do not read it. Please immediately reply > to the sender that you have received the message in error. Then delete it. > Thank you.* > ? > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinaldo at gmail.com Sat Jul 4 19:31:26 2015 From: dinaldo at gmail.com (Don Sheu) Date: Sat, 4 Jul 2015 10:31:26 -0700 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: References: Message-ID: Yup,not the support I was seeking. Maybe there should be a day like the movie *A Day Without Mexicans* where Python user group organizers just leave. I know with my own group, it's just a magical mystery that we've had a meetup every month for nearly a year. Maybe Chris could take over and make sure ChiPy meetings happen every month. I have missed meetings in the short history of PuPPy. I asked Brian about making ChiPy meetings, he's fashioned his work schedule so he makes it back for ChiPy meetings. I often thought the ChiPy community took his efforts for granted, thanks for illuminating that fact Sheila. :p ? On Sat, Jul 4, 2015 at 9:54 AM, sheila miguez wrote: > I thought Brian was a founding member, not the founding member. I have > been going to meetings on and off for 10 years and Chris was running them > some years ago. I don't know who else founded the group. I remember Brian > talking about one of the early meetings when John Hunter came to visit us. > Maybe it was the first meeting? It would be interesting to hear about. > > > On Fri, Jul 3, 2015 at 2:06 PM, Don Sheu wrote: > >> So this has happened a lot in the past, where everybody figures a major >> contributor to the Python global community is already recognized as a PSF >> Fellow and nobody does anything to nominate a deserving individual. >> >> PSF is still working out how to recognize PSF Fellows going forward. In >> the interim board member M.-A. Lemburg instructed me to put my nominations >> on the PSF Wiki. >> >> Here's my nomination of Brian Ray. Any mistakes are mine alone. Any >> current members of the Board and PSF Fellows, please join me in supporting >> Brian Ray's recognition as a PSF Fellow. >> >> >> https://wiki.python.org/moin/PythonSoftwareFoundation/FellowNominations#preview >> >> -- >> Don Sheu >> (312) 880-9389 >> >> *Apply to join us at www.openforcetour.org >> * >> >> *CONFIDENTIALITY NOTICE*: *The information contained in this message may >> be protected trade secrets or protected by applicable intellectual property >> laws of the United States and International agreements. If you believe that >> it has been sent to you in error, do not read it. Please immediately reply >> to the sender that you have received the message in error. Then delete it. >> Thank you.* >> ? >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > > -- > shekay at pobox.com > -- Don Sheu (312) 880-9389 *Apply to join us at www.openforcetour.org * *CONFIDENTIALITY NOTICE*: *The information contained in this message may be protected trade secrets or protected by applicable intellectual property laws of the United States and International agreements. If you believe that it has been sent to you in error, do not read it. Please immediately reply to the sender that you have received the message in error. Then delete it. Thank you.* -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Sat Jul 4 20:30:03 2015 From: shekay at pobox.com (sheila miguez) Date: Sat, 4 Jul 2015 13:30:03 -0500 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: References: Message-ID: I was not being sarcastic and did not intend to provoke you. I don't like when people (usually women and minorities, but not in this case) get erased from founding stories and I was unhappy to see you do this in your nomination. I know how much work it takes to make things happen. I know if the board of my hackerspace stepped down things that need to get done wouldn't until more people stepped up. And I know how hard it is to get people to run for boards. Brian's work is not invisible to me. I apologize for bringing this up in your thread. -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Sat Jul 4 21:32:08 2015 From: brianhray at gmail.com (Brian Ray) Date: Sat, 4 Jul 2015 15:32:08 -0400 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: References: Message-ID: I do in fact have a couple really good John Hunter stories. RIP. So, some may recall in early ChiPy years I hosted most of the first meetings at my office on Michigan Ave. We had no real projector in the very fancy (at the time) conference room overlooking the mag mile. Being amateurish organizer, I thought we could just hook up to the flat screen. John and I had met several times where he taught me a thing or two about how he used Python doing some charts. He loved opensource yet he was a scientist at the time. Michael Tobis and John Hunter worked together at U of C. All three of us, along with Aaron lav, Ian Bicking, (I think maybe Luke Opperman), Chris McAvoy (who actually arranged the meeting) all met at Goose Island and that is where ChiPy was officially born. They spoke of getting David Beazley to join, but I think he tough class that night. Ian Bicking also hosted some meetings at Imaginary Landscape. In reality, we would joke that each meeting was JIT compiled and were a very disorganized group. I assumed a more formal "organizer" roll once I realized out of the fear that the group would die without this, I was the finding locations for the group to meet. Truth is I did not use python for much more than generating Postscript to run big digital printers at the time. Nonetheless, John did take the time to spend some 1-1 time with me after a very unfortunate first presentation at ChiPy... I liked things like making PDF files with Python vs Web Pages. I just found myself surrounded by some really kinds, really open minded, very smart, Python developers. John Hunter really opened my eyes up to the power of converting an idea into action. Back to the meeting ...The AV went horribly wrong. Rob Kapteyn may recall. And it was one of the very first presentations that actually had something real to show on the screen. I was actually blown away with his presentation. We all crowded around his laptop in the team break room at my office. It was the first time I had seen matplotlib do anything more than the many examples John had on the website. I demonstrated on one his friends (Fernado's) pet project what eventually became the ipython shell. The graphs did not just display, they actually were animated as well. He explained how he has several different rendering backends on matplotlib. As more of an engineer (which I am still today), I was fascinated how well Python allowed the different back ends to be glued together. We all learned. That is what ChiPy is all about. We also learned a bit about eachother. I think John was actually a very private man in a lot of ways. He just sort of became famous in our community from doing really great work. I really only want to be famous for the same things. Others have noticed in last couple years there are some people who have a fundamental misunderstanding why ChiPy is the best user group ever** (I was warned by a fellow member that there were some people angry with the group's direction and where specifically trying to do what they can to kill the group. They would try things like start new groups Python related in Chicago. Forge relationships with our existing sponsors. Speak illy about the group in the name of lack of diversity. Try to introduce the concept of private vs free and paying vendors). It has nothing to do with acting like we are the cool, most diverse, most hipster, blah blah blah ... dev culture hub. We probably are not even cool. Instead, I just want to be a group of people like John Hunter who just did what they loved, shared with others passion, and did really great stuff. RIP John Hunter and I am sorry for not having a really great projector at what was, at the time, the best meeting ever. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Sat Jul 4 22:21:27 2015 From: brianhray at gmail.com (Brian Ray) Date: Sat, 4 Jul 2015 16:21:27 -0400 Subject: [Chicago] [ANN] ChiPy July Meeting: Mentorship Talks Message-ID: Happy Fourth Everyone. We found a great space for our July meeting. WeWork Chicago! July 9, 2015, 7 p.m. Please accept our pull requests! class JulyMeeting(Meetings): """ Best ever """ def get_info(self): return { "Food and Drink": Provided("beer", "pizza"), "Expect to meet great people": True, "Python experience required": None, "You will learn something": True, "You can teach others": True, "Cost of attending": 0.0, "Expected turn out": Great("best ever"), "Expected quality: 10.0/10.0, "OH": "This will be our best meeting ever"} WeWork 220 N Green Street, Chicago, IL RSVP here: http://www.meetup.com/_ChiPy_/events/223700984/ OR here: http://www.chipy.org/ ---- Collection of talks from the Mentorship program Mentees and Mentors on topics like: Raspberry Pi , Machine Learning, Django Study Group, Visualization... More details: Building a Temperature Control Program for Monitoring Aquaculture Tanks Using Raspberry Pi and Python (0:07:00 Minutes) By: Thao Nguyen Growth of the Mentee as a Pythonista I have turned from totally no experience with Python to gaining a good amount of knowledge in this language. I have learned from the very basic syntaxes to writing functions, then writing functions for different types of data (list, string, integer, decimal, float, epoch, threshold?) to serve various purposes; I know how to install redis, bokeh and flask for data acquisition, storage and performance; I also learned how to send an email alert from the Raspberry Pi with Python, thanks to the hackathon midterm meetup and my mentor. And because our project covers a wide range of activities, I have learned a lot of the fundamental elements of Python as well as programming in general. Above all, the best thing I have learned about Python through this Mentorship program is being confident and feeling more comfortable with it. Before this project, I wasn?t really sure about Python. Is it what I want or I might be better off with other languages? But after finished the project, I can say it was fun, and it serves well what I want to do. So I decided to move forward with it. And even though this is my very first programming language, but the dynamic from its strong supportive community, rich wonderful open sources and inspiring opportunities like this Mentorship program, all makes me feel that Python is a good choice. The Mentor's role When I asked my mentor for his advices on learning programming, he told me that to him, the best way to learn is doing projects, just like what we are doing. And that is so true. Sometimes I feel like the best way of learning how to swim is just jumping into the water, like doing a project; it can be scary, uncertain, and possibly failed, but it can also be very exciting and thrilling. Of course, one should only jump with a life preserver if she never knows how to swim before. And our mentors are life preservers. For a novice, it could be very confused at first of where to go, what direction to take, or how to get there; and easy be overwhelmed by too much information. The life saver may not be able to tell you what direction to take either, but at least, it will help you have some time to think and to practice before you decide your next moves. Obviously, a mentor is much better than a life saver, because no life saver can talk nor answer questions; and the best part is, they have a lot of experiences in their hands and are willing to share them with you. Thao Nguyen Machine Learning with Python (0:07:00 Minutes) By: Alexander Flyax I will briefly describe my journey into applied machine learning using Python packages like scikit-learn and statsmodels. Why learning process matters to student dev's By: Lane Campbell I took up learning Python and Web Development early this year. I started attending Django lessons held by folks in the community. After the lessons students had trouble finding help learning together. To help everyone organize I founded the Django Study Group. I've been learning for the last six months but I am still a student. I joined the Chipy mentorship program to learn from a local professional Python developer. While enrolled in that I took the opportunity to join a student team led by Brian Ray for more experience learning to code. It was working alongside Brian that I learned the importance of how you build software. Formula One Data Visualization and Interpretation: adventures in mentorship (0:07:00 Minutes) By: Seth Difley We participated in the Chipy mentorship program. Our plan for the mentorship was to use Python to visualize and interpret Formula One racing data. Join us to hear about the triumphs and obstacles we encountered along the way. -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinaldo at gmail.com Sun Jul 5 23:02:52 2015 From: dinaldo at gmail.com (Don Sheu) Date: Sun, 5 Jul 2015 14:02:52 -0700 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: References: Message-ID: I apologize for the tone of my email Sheila. As I state in my nomination that mistakes are mine alone. I wasn't present for the early days of ChiPy. You were. I interpreted your email incorrectly as a diminution of Brian's contributions. I do encourage you to put forth with the PSF nominations of others responsible for launching ChiPy. I think it's one of the most important user groups in the world not just for Python but for open source in general. My comments didn't add to the efforts of the group or to foster respectful and encouraging communication, and I apologize. Warmest wishes Sheila, Don ? On Sat, Jul 4, 2015 at 11:30 AM, sheila miguez wrote: > > > I was not being sarcastic and did not intend to provoke you. I don't like > when people (usually women and minorities, but not in this case) get erased > from founding stories and I was unhappy to see you do this in your > nomination. > > I know how much work it takes to make things happen. I know if the board > of my hackerspace stepped down things that need to get done wouldn't until > more people stepped up. And I know how hard it is to get people to run for > boards. > > Brian's work is not invisible to me. > > I apologize for bringing this up in your thread. > > -- > shekay at pobox.com > -- Don Sheu (312) 880-9389 *Apply to join us at www.openforcetour.org * *CONFIDENTIALITY NOTICE*: *The information contained in this message may be protected trade secrets or protected by applicable intellectual property laws of the United States and International agreements. If you believe that it has been sent to you in error, do not read it. Please immediately reply to the sender that you have received the message in error. Then delete it. Thank you.* -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Mon Jul 6 15:10:13 2015 From: shekay at pobox.com (sheila miguez) Date: Mon, 6 Jul 2015 08:10:13 -0500 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: References: Message-ID: Thanks, it is a good idea to foster respectful communication. I checked, and I cannot nominate people since I am not currently a Fellow. Carl is, but I've noticed that a lot of the people we work with on python things are already Fellows. On Sun, Jul 5, 2015 at 4:02 PM, Don Sheu wrote: > I apologize for the tone of my email Sheila. As I state in my nomination > that mistakes are mine alone. I wasn't present for the early days of ChiPy. > You were. > > I interpreted your email incorrectly as a diminution of Brian's > contributions. I do encourage you to put forth with the PSF nominations of > others responsible for launching ChiPy. I think it's one of the most > important user groups in the world not just for Python but for open source > in general. > > My comments didn't add to the efforts of the group or to foster respectful > and encouraging communication, and I apologize. Warmest wishes Sheila, Don > ? > > On Sat, Jul 4, 2015 at 11:30 AM, sheila miguez wrote: > >> >> >> I was not being sarcastic and did not intend to provoke you. I don't like >> when people (usually women and minorities, but not in this case) get erased >> from founding stories and I was unhappy to see you do this in your >> nomination. >> >> I know how much work it takes to make things happen. I know if the board >> of my hackerspace stepped down things that need to get done wouldn't until >> more people stepped up. And I know how hard it is to get people to run for >> boards. >> >> Brian's work is not invisible to me. >> >> I apologize for bringing this up in your thread. >> >> -- >> shekay at pobox.com >> > > > > -- > Don Sheu > (312) 880-9389 > > *Apply to join us at www.openforcetour.org > * > > *CONFIDENTIALITY NOTICE*: *The information contained in this message may > be protected trade secrets or protected by applicable intellectual property > laws of the United States and International agreements. If you believe that > it has been sent to you in error, do not read it. Please immediately reply > to the sender that you have received the message in error. Then delete it. > Thank you.* > -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Mon Jul 6 18:52:32 2015 From: brianhray at gmail.com (Brian Ray) Date: Mon, 6 Jul 2015 12:52:32 -0400 Subject: [Chicago] Online training Message-ID: A headhunter is asking for a list of resources for online Python training. Presumably, he will be referring these resources to candidates who didn't make the cut. Thanks, Brian -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Mon Jul 6 18:48:53 2015 From: brianhray at gmail.com (Brian Ray) Date: Mon, 6 Jul 2015 12:48:53 -0400 Subject: [Chicago] Python kids classes Message-ID: A friend's asking if there are any kids classes in Chicago. He lives in Northern burbs. Kids are 9-16yrs. Ideas, Brian -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Mon Jul 6 18:58:56 2015 From: shekay at pobox.com (sheila miguez) Date: Mon, 6 Jul 2015 11:58:56 -0500 Subject: [Chicago] Online training In-Reply-To: References: Message-ID: On Mon, Jul 6, 2015 at 11:52 AM, Brian Ray wrote: > A headhunter is asking for a list of resources for online Python training. > Presumably, he will be referring these resources to candidates who didn't > make the cut. I maintain a list here https://wiki.pumpingstationone.org/Python_Office_Hours If people have suggestions, let me know. -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinaldo at gmail.com Mon Jul 6 19:04:21 2015 From: dinaldo at gmail.com (Don Sheu) Date: Mon, 6 Jul 2015 10:04:21 -0700 Subject: [Chicago] Python kids classes In-Reply-To: References: Message-ID: Elliott, thought you may have some ideas? Coding education for kids 9-16 years old. ChiPy, Elliott's founder of Trinket.io, a company assisting in coding education. Trinket allows for writing, running, and sharing code in browser. ? On Mon, Jul 6, 2015 at 9:48 AM, Brian Ray wrote: > A friend's asking if there are any kids classes in Chicago. He lives in > Northern burbs. Kids are 9-16yrs. > > Ideas, Brian > > > > -- > Brian Ray > @brianray > (773) 669-7717 > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Don Sheu (312) 880-9389 *Apply to join us at www.openforcetour.org * *CONFIDENTIALITY NOTICE*: *The information contained in this message may be protected trade secrets or protected by applicable intellectual property laws of the United States and International agreements. If you believe that it has been sent to you in error, do not read it. Please immediately reply to the sender that you have received the message in error. Then delete it. Thank you.* -------------- next part -------------- An HTML attachment was scrubbed... URL: From bkellgren at gmail.com Mon Jul 6 19:08:58 2015 From: bkellgren at gmail.com (Brett Kellgren) Date: Mon, 6 Jul 2015 12:08:58 -0500 Subject: [Chicago] Python kids classes In-Reply-To: References: Message-ID: <7B74BB42-659D-420A-8140-A448BB1D17A9@gmail.com> I'll take the opportunity to plug CoderDojoChi (coderdojochi.org). We offer free coding classes to kids 7-17 at various locations in Chicago. We are on the verge of releasing our python based robotics course (sometime this summer) but we have some upcoming html and CSS classes they should look into. Feel free to let me know if you have any questions and we are always looking for mentors also! coderdojochi.org P.s. We are 100% donation and volunteer based so please forgive the plug. Thanks! Brett CoderDojoChi Board Member > On Jul 6, 2015, at 11:48 AM, Brian Ray wrote: > > A friend's asking if there are any kids classes in Chicago. He lives in Northern burbs. Kids are 9-16yrs. > > Ideas, Brian > > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago From jp at zavteq.com Mon Jul 6 19:10:00 2015 From: jp at zavteq.com (JP Bader) Date: Mon, 6 Jul 2015 12:10:00 -0500 Subject: [Chicago] Online training In-Reply-To: References: Message-ID: Sheila - Great list of resources. I might suggest for online course providers suggestion, Stanford offers some great programming resources as well: http://online.stanford.edu/search/node/programming http://online.stanford.edu/search/node/computer%20science JP On Mon, Jul 6, 2015 at 11:58 AM, sheila miguez wrote: > > On Mon, Jul 6, 2015 at 11:52 AM, Brian Ray wrote: > >> A headhunter is asking for a list of resources for online Python >> training. Presumably, he will be referring these resources to candidates >> who didn't make the cut. > > > I maintain a list here > https://wiki.pumpingstationone.org/Python_Office_Hours > > If people have suggestions, let me know. > > > -- > shekay at pobox.com > > _______________________________________________ > 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 dinaldo at gmail.com Mon Jul 6 19:10:34 2015 From: dinaldo at gmail.com (Don Sheu) Date: Mon, 6 Jul 2015 10:10:34 -0700 Subject: [Chicago] Online training In-Reply-To: References: Message-ID: I'm copying in David Kurkov my fellow PuPPy organizer. He's been running a Programming Night on Thursdays. Here's some courses he'd suggested our members try out: ? MITx class on edx.org called ?Introduction to Computer Science and Programming Using Python? started on 6/10 - https://www.edx.org/course/introduction-computer-science-mitx-6-00-1x-0 ? RealPython Course - an awesome course that takes you from a beginner in Python to having a great foundation as a full-stack python dev - https://realpython.com/ ; use promo code ?50OFF4FB? to get 50% off. ? Introduction to Python on Codecademy: http://www.codecademy.com/en/tracks/python ? Rice University's Introduction to Interactive Programming in Python https://www.coursera.org/course/interactivepython1 ? On Mon, Jul 6, 2015 at 9:58 AM, sheila miguez wrote: > > On Mon, Jul 6, 2015 at 11:52 AM, Brian Ray wrote: > >> A headhunter is asking for a list of resources for online Python >> training. Presumably, he will be referring these resources to candidates >> who didn't make the cut. > > > I maintain a list here > https://wiki.pumpingstationone.org/Python_Office_Hours > > If people have suggestions, let me know. > > > -- > shekay at pobox.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Don Sheu (312) 880-9389 *Apply to join us at www.openforcetour.org * *CONFIDENTIALITY NOTICE*: *The information contained in this message may be protected trade secrets or protected by applicable intellectual property laws of the United States and International agreements. If you believe that it has been sent to you in error, do not read it. Please immediately reply to the sender that you have received the message in error. Then delete it. Thank you.* -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Mon Jul 6 19:24:09 2015 From: brianhray at gmail.com (Brian Ray) Date: Mon, 6 Jul 2015 13:24:09 -0400 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: References: Message-ID: Hey, Don: Thank you. It's an honor. As always, the voice of the club comes first. Based on responses, please withdraw my nomination. Let's get back to talking about Python folks! Cheers, Brian > > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at graniteweb.com Mon Jul 6 19:37:48 2015 From: david at graniteweb.com (David Rock) Date: Mon, 6 Jul 2015 12:37:48 -0500 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: References: Message-ID: <20150706173748.GG7597@wdfs> * Brian Ray [2015-07-06 13:24]: > Hey, Don: > > Thank you. It's an honor. > > As always, the voice of the club comes first. Based on responses, please > withdraw my nomination. > > Let's get back to talking about Python folks! I didn't see anything bad in the nomination, Brian. I only saw mention in the discussion to clarify there were others involved in the founding (e.g., I was there, too). I think you are very deserving and the nomination should stand. Your *continued* efforts to keep things rolling are what really matter in this case. If it's possible to edit the nomination to show the creation of ChiPy was a group effort, I think that would be more than sufficient; but you should not lose credit for what you have done due to an oversight in wording. -- David Rock david at graniteweb.com From brianhray at gmail.com Mon Jul 6 19:52:21 2015 From: brianhray at gmail.com (Brian Ray) Date: Mon, 6 Jul 2015 13:52:21 -0400 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: <20150706173748.GG7597@wdfs> References: <20150706173748.GG7597@wdfs> Message-ID: > > Thank's David. But i made up my mind. Besides if I'm nominated, then we > should all be nominated and that would just be silly. To be honest, I've already benefitted from ChiPy enough: education, contacts, friends, free beer... I'm actually now more focused on spreading the peanut butter. Cheers, Brian PS On a side, I am really proud of Naomi Ceder's increased involvement with PSF as a board member. If we need a voice there, I nominate her to speak for ChiPy! -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Mon Jul 6 19:46:50 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Mon, 6 Jul 2015 12:46:50 -0500 Subject: [Chicago] Online training In-Reply-To: References: Message-ID: http://www.pythonlearn.com/book.php and https://www.coursera.org/course/pythonlearn On Mon, Jul 6, 2015 at 11:58 AM, sheila miguez wrote: > > On Mon, Jul 6, 2015 at 11:52 AM, Brian Ray wrote: > >> A headhunter is asking for a list of resources for online Python >> training. Presumably, he will be referring these resources to candidates >> who didn't make the cut. > > > I maintain a list here > https://wiki.pumpingstationone.org/Python_Office_Hours > > If people have suggestions, let me know. > > > -- > shekay at pobox.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 Mon Jul 6 20:34:21 2015 From: brianhray at gmail.com (Brian Ray) Date: Mon, 6 Jul 2015 14:34:21 -0400 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya Message-ID: Congrats Tanya Schlusser as the newest elected member who accepted a position on the ChiPy Organizing Team. The whole rooster listed here: http://www.chipy.org/pages/organizers/ Congrats! Brian -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Mon Jul 6 22:09:11 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Mon, 6 Jul 2015 15:09:11 -0500 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: +1 On Mon, Jul 6, 2015 at 1:34 PM, Brian Ray wrote: > Congrats Tanya Schlusser as the newest elected member who accepted a > position on the ChiPy Organizing Team. > > The whole rooster listed here: > > http://www.chipy.org/pages/organizers/ > > Congrats! 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 eviljoel at linux.com Mon Jul 6 22:25:25 2015 From: eviljoel at linux.com (eviljoel) Date: Mon, 6 Jul 2015 15:25:25 -0500 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: That page does not appear to be public. - eviljoel On Mon, Jul 6, 2015 at 1:34 PM, Brian Ray wrote: > Congrats Tanya Schlusser as the newest elected member who accepted a > position on the ChiPy Organizing Team. > > The whole rooster listed here: > > http://www.chipy.org/pages/organizers/ > > Congrats! Brian > > > -- > Brian Ray > @brianray > (773) 669-7717 > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > From shekay at pobox.com Mon Jul 6 22:44:11 2015 From: shekay at pobox.com (sheila miguez) Date: Mon, 6 Jul 2015 15:44:11 -0500 Subject: [Chicago] Python kids classes In-Reply-To: <7B74BB42-659D-420A-8140-A448BB1D17A9@gmail.com> References: <7B74BB42-659D-420A-8140-A448BB1D17A9@gmail.com> Message-ID: CoderDojoChi looks very nice. Could you let us know more about the Robotics class? We have a robotics interest group at Pumping Station: One. I'll tell the hackerspace about it. On Mon, Jul 6, 2015 at 12:08 PM, Brett Kellgren wrote: > I'll take the opportunity to plug CoderDojoChi (coderdojochi.org). We > offer free coding classes to kids 7-17 at various locations in Chicago. > > We are on the verge of releasing our python based robotics course > (sometime this summer) but we have some upcoming html and CSS classes they > should look into. > > Feel free to let me know if you have any questions and we are always > looking for mentors also! > > coderdojochi.org > > P.s. We are 100% donation and volunteer based so please forgive the plug. > > Thanks! > Brett > CoderDojoChi Board Member > > > On Jul 6, 2015, at 11:48 AM, Brian Ray wrote: > > > > A friend's asking if there are any kids classes in Chicago. He lives in > Northern burbs. Kids are 9-16yrs. > > > > Ideas, Brian > > > > > > > > -- > > 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 > -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Tue Jul 7 00:00:41 2015 From: brianhray at gmail.com (Brian Ray) Date: Mon, 6 Jul 2015 18:00:41 -0400 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: You have to be logged in. Anyone can log in... On Monday, July 6, 2015, eviljoel wrote: > That page does not appear to be public. > > - eviljoel > > On Mon, Jul 6, 2015 at 1:34 PM, Brian Ray > wrote: > > Congrats Tanya Schlusser as the newest elected member who accepted a > > position on the ChiPy Organizing Team. > > > > The whole rooster listed here: > > > > http://www.chipy.org/pages/organizers/ > > > > Congrats! Brian > > > > > > -- > > 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 naomi.ceder at gmail.com Tue Jul 7 00:00:48 2015 From: naomi.ceder at gmail.com (Naomi Ceder) Date: Mon, 6 Jul 2015 23:00:48 +0100 Subject: [Chicago] Brian Ray PSF Nomination In-Reply-To: References: <20150706173748.GG7597@wdfs> Message-ID: On 6 July 2015 at 18:52, Brian Ray wrote: > PS On a side, I am really proud of Naomi Ceder's increased involvement >> with PSF as a board member. If we need a voice there, I nominate her to >> speak for ChiPy! > > Thanks for the kind words, Brian. I'm looking forward to reconnecting with the community as I move back to Chicago full time starting next month. Certainly I'm committed to doing what I can to represent the community to the PSF, and vice versa. However, I might also add that you can also speak for yourselves - under the new membership model voting memberships in the PSF are now available to *all* who spend at least 5 hours a month working on Python community organization. I would think that means that several people reading this list qualify. To become a "managing" member (i.e. voting by virtue of community work), you need to: 1. be a "basic" member, which you do by signing up on the python.org site. 2. self-certify that you spend at least 5 hours a month by filling out the form here https://docs.google.com/forms/d/1DA6hs9WKA5L4LLNIqkmfMrq_LrK6z4zXhOYJLd6a8Oo/viewform (but be patient - infrastructure hasn't kept up and these registrations are processed manually.) The form explains the terms for qualifying. So I really encourage anyone who spends the time to join us as a voting member. Cheers, Naomi > -- > Brian Ray > @brianray > (773) 669-7717 > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Naomi Ceder https://plus.google.com/u/0/111396744045017339164/about -------------- next part -------------- An HTML attachment was scrubbed... URL: From tathagatadg at gmail.com Tue Jul 7 04:04:59 2015 From: tathagatadg at gmail.com (Tathagata Dasgupta) Date: Mon, 6 Jul 2015 21:04:59 -0500 Subject: [Chicago] OSCON - Discount Code from O'Reilly Message-ID: Hello ChiPy, O?Reilly OSCON, happening July 20-24 in Portland, gathers the software engineering and developer community to explore what?s new in open source languages, tools, and techniques. OSCON is the best place to sharpen your skills and discover important new trends, making you better at what you do and rekindling your love of all things digital. The agenda has a problem/solution approach, giving you a window into how your peers are solving problems and equipping you to apply them in the workplace. Check out the impressive agenda and speaker lineup. O'Reilly Media has given us a 20% on any pass. Use the discount code USRG. Additionally, they are also giving us free O'Reilly Python books to support our Mentorship program finals on Thursday. (Not sure if they'll be delivered by Thursday, so mentor/mentees will have to collect it from me next ChiPy) -- Cheers, T Sent from my iPhone -------------- next part -------------- An HTML attachment was scrubbed... URL: From emperorcezar at gmail.com Tue Jul 7 04:08:19 2015 From: emperorcezar at gmail.com (Adam "Cezar" Jenkins) Date: Mon, 6 Jul 2015 21:08:19 -0500 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: Is there a reason why people need to be logged in? If not I can remove that restriction. ---------------------------------------------------------------------------------- Father, dabbling at being a Python developer specializing in Django, Cyclist, and home brewer. On Mon, Jul 6, 2015 at 5:00 PM, Brian Ray wrote: > You have to be logged in. Anyone can log in... > > > On Monday, July 6, 2015, eviljoel wrote: > >> That page does not appear to be public. >> >> - eviljoel >> >> On Mon, Jul 6, 2015 at 1:34 PM, Brian Ray wrote: >> > Congrats Tanya Schlusser as the newest elected member who accepted a >> > position on the ChiPy Organizing Team. >> > >> > The whole rooster listed here: >> > >> > http://www.chipy.org/pages/organizers/ >> > >> > Congrats! Brian >> > >> > >> > -- >> > 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 > > > _______________________________________________ > 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 Jul 7 15:48:05 2015 From: brianhray at gmail.com (Brian Ray) Date: Tue, 7 Jul 2015 09:48:05 -0400 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: Keep the restriction and we will discuss. I think it might have had something to do with (not) being searchable, but I forget. Alternatively, we can use robots.txt.? -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Tue Jul 7 15:51:22 2015 From: shekay at pobox.com (sheila miguez) Date: Tue, 7 Jul 2015 08:51:22 -0500 Subject: [Chicago] Python kids classes In-Reply-To: <7B74BB42-659D-420A-8140-A448BB1D17A9@gmail.com> References: <7B74BB42-659D-420A-8140-A448BB1D17A9@gmail.com> Message-ID: On Mon, Jul 6, 2015 at 12:08 PM, Brett Kellgren wrote: > coderdojochi.org > > P.s. We are 100% donation and volunteer based so please forgive the plug. Consider applying to the PSF for your python workshops. Apply for a grant under Outreach & Education. I did that to cover food for the workshops I did. If you are interested in non-robotics python classes, there is curriculum already available for Young Coders. Katie Cunningham has done those at various pycons. She suggests starting with >= 12 and up due to keyboard speed being a problem with younger children. http://therealkatie.net/blog/2015/feb/17/young-coders-why-twelve-and/ http://radar.oreilly.com/2013/08/so-you-want-to-run-a-young-coders-class.html http://therealkatie.net/blog/2013/mar/19/pycon-2013-young-coders/ I don't have time to do more workshops, but back when I was, I thought it would be neat to apply for PSF O&E grant to do a Young Coders (and maybe ask for funds to cover the cost of Katie Cunningham or someone with experience already doing Young Coders to come out to Chicago to help run one. When doing a workshop for the first time, it's nice to have mentors helping in person. Jessica McKeller was going to fly out for the first Chicago Python Workshop I did, but something came up and she couldn't make it. Fortunately there are a lot of great people in Chicago who can help, and Naomi Ceder helped out. She has experience teaching a lot of age ranges (in my case, adults). also, Carl just helped out with Hak4kids, and they have a worksheet for lessons that are less than an hour. I think they'd be good for any of the mini-maker fairs we have around the city. This is one: http://makerfairechicagonorthside.com/ -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Tue Jul 7 15:53:50 2015 From: shekay at pobox.com (sheila miguez) Date: Tue, 7 Jul 2015 08:53:50 -0500 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: I am +1 for removing the restrictions. On Tue, Jul 7, 2015 at 8:48 AM, Brian Ray wrote: > Keep the restriction and we will discuss. I think it might have had > something to do with (not) being searchable, but I forget. Alternatively, > we can use robots.txt.? > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Tue Jul 7 16:15:47 2015 From: brianhray at gmail.com (Brian Ray) Date: Tue, 7 Jul 2015 10:15:47 -0400 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: Please note this is a thread to congrat Tanya. Please move any appropriate new conversation if you think necessary. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Tue Jul 7 16:27:07 2015 From: shekay at pobox.com (sheila miguez) Date: Tue, 7 Jul 2015 09:27:07 -0500 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: I'm pretty happy to see Tanya as an organizer! I've met her at ChiPy and ChicagoPythonistas and she is great. On Tue, Jul 7, 2015 at 9:15 AM, Brian Ray wrote: > Please note this is a thread to congrat Tanya. Please move any appropriate > new conversation if you think necessary. > Sorry about that, I was replying to you and Joel, et al. -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Tue Jul 7 19:25:22 2015 From: kirby.urner at gmail.com (kirby urner) Date: Tue, 7 Jul 2015 10:25:22 -0700 Subject: [Chicago] Python kids classes In-Reply-To: References: Message-ID: On Mon, Jul 6, 2015 at 9:48 AM, Brian Ray wrote: > A friend's asking if there are any kids classes in Chicago. He lives in > Northern burbs. Kids are 9-16yrs. > > Ideas, Brian > > The "in Chicago" part is where I fall off the map, but I'm offering curriculum ideas, field tested, so like encouragement to those more local to "Second City" (there was this fire...). Recycle these ideas, including some source code, is what I'm suggesting. Here's the website from which I actually presented course material, the theme being "Martian Math" (what's that?) using Python, Visual Python especially. http://www.4dsolutions.net/satacad/martianmath/toc.html ( VPython.org is s tremendous asset in my book). (geometry buffs will see I'm using a lot of the Bucky Fuller stuff) I'd say my students were in the 15-17. We met every day for a few hours, like a summer camp experience for them (they'd be doing more than one class). But the exact circumstances of my field testing are not that important. Given the college campus setting, my equipment was very high end, one kid to one computer. I've done similar courses, changing the mix. I collect a lot of my materials here: http://www.4dsolutions.net/ocn/cp4e.html Kirby @thekirbster > > -- > Brian Ray > @brianray > (773) 669-7717 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at lorenamesa.com Tue Jul 7 19:55:25 2015 From: me at lorenamesa.com (Lorena Mesa) Date: Tue, 7 Jul 2015 12:55:25 -0500 Subject: [Chicago] Help Message-ID: Hi ChiPy, We have an upcoming mentoring opportunity for the Chicago PyLadies + Write/Speak/Code Open Source Python workshop on Sat July 25th. If this sounds like something you may be interested in helping out with you can fill out an interest form here: http://goo.gl/forms/8na9pIJzvo. We also have an event page with some more information available - chicagopyladies.github.io. As a clarifying note, we are asking for mentors to be available from 12:00 - 4:00pm. The event is being hosted at Enova's office at - 175 W Jackson, 5th Floor, Chicago, IL. Thanks again for all you do! Lorena -- ___________________________________________________________________________________ Lorena Mesa *www.lorenamesa.com * "If you wish to make apple pie from scratch, you must first invent the universe," - Carl Sagan Please stop before printing this email unnecessarily, *think green*!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From labeledloser at gmail.com Tue Jul 7 20:21:46 2015 From: labeledloser at gmail.com (Hector Rios) Date: Tue, 7 Jul 2015 13:21:46 -0500 Subject: [Chicago] Help In-Reply-To: References: Message-ID: Does the mentor have to be a lady? On Jul 7, 2015 12:56 PM, "Lorena Mesa" wrote: > Hi ChiPy, > > We have an upcoming mentoring opportunity for the Chicago PyLadies + > Write/Speak/Code Open Source Python workshop on Sat July 25th. If this > sounds like something you may be interested in helping out with you can > fill out an interest form here: http://goo.gl/forms/8na9pIJzvo. We also > have an event page with some more information available - > chicagopyladies.github.io. > > As a clarifying note, we are asking for mentors to be available from 12:00 > - 4:00pm. The event is being hosted at Enova's office at - 175 W Jackson, > 5th Floor, Chicago, IL. > > Thanks again for all you do! > > Lorena > -- > > ___________________________________________________________________________________ > Lorena Mesa > *www.lorenamesa.com * > > "If you wish to make apple pie from scratch, you must first invent the > universe," - Carl Sagan > > Please stop > before printing this email unnecessarily, *think green*!!! > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From foresmac at gmail.com Tue Jul 7 21:40:58 2015 From: foresmac at gmail.com (Chris Foresman) Date: Tue, 7 Jul 2015 14:40:58 -0500 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: Chris Foresman chris at chrisforesman.com > On Jul 7, 2015, at 9:27 AM, sheila miguez wrote: > > I'm pretty happy to see Tanya as an organizer! I've met her at ChiPy and ChicagoPythonistas and she is great. > > > On Tue, Jul 7, 2015 at 9:15 AM, Brian Ray > wrote: > Please note this is a thread to congrat Tanya. Please move any appropriate new conversation if you think necessary. > > Sorry about that, I was replying to you and Joel, et al. > > > > -- > shekay at pobox.com _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: jvhcYvWMt0acw.gif Type: image/gif Size: 291475 bytes Desc: not available URL: From me at lorenamesa.com Tue Jul 7 21:55:13 2015 From: me at lorenamesa.com (Lorena Mesa) Date: Tue, 7 Jul 2015 14:55:13 -0500 Subject: [Chicago] Help Message-ID: Hector, No, mentors can be either gender! Thank you for adding the clarifying point, I should have mentioned that. Best, Lorena On Tue, Jul 7, 2015 at 2:52 PM, wrote: > Send Chicago mailing list submissions to > chicago at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/chicago > or, via email, send a message with subject or body 'help' to > chicago-request at python.org > > You can reach the person managing the list at > chicago-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Chicago digest..." > > > Today's Topics: > > 1. Re: Congrats new ChiPy Organizer: Tanya (Brian Ray) > 2. Re: Python kids classes (sheila miguez) > 3. Re: Congrats new ChiPy Organizer: Tanya (sheila miguez) > 4. Re: Congrats new ChiPy Organizer: Tanya (Brian Ray) > 5. Re: Congrats new ChiPy Organizer: Tanya (sheila miguez) > 6. Re: Python kids classes (kirby urner) > 7. Help (Lorena Mesa) > 8. Re: Help (Hector Rios) > 9. Re: Congrats new ChiPy Organizer: Tanya (Chris Foresman) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 7 Jul 2015 09:48:05 -0400 > From: Brian Ray > To: The Chicago Python Users Group > Subject: Re: [Chicago] Congrats new ChiPy Organizer: Tanya > Message-ID: > A at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Keep the restriction and we will discuss. I think it might have had > something to do with (not) being searchable, but I forget. Alternatively, > we can use robots.txt.? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/chicago/attachments/20150707/93acdcea/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Tue, 7 Jul 2015 08:51:22 -0500 > From: sheila miguez > To: The Chicago Python Users Group > Subject: Re: [Chicago] Python kids classes > Message-ID: > 01dkhA at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > On Mon, Jul 6, 2015 at 12:08 PM, Brett Kellgren > wrote: > > > coderdojochi.org > > > > P.s. We are 100% donation and volunteer based so please forgive the > plug. > > > Consider applying to the PSF for your python workshops. Apply for a grant > under Outreach & Education. I did that to cover food for the workshops I > did. > > If you are interested in non-robotics python classes, there is curriculum > already available for Young Coders. Katie Cunningham has done those at > various pycons. She suggests starting with >= 12 and up due to keyboard > speed being a problem with younger children. > > http://therealkatie.net/blog/2015/feb/17/young-coders-why-twelve-and/ > > http://radar.oreilly.com/2013/08/so-you-want-to-run-a-young-coders-class.html > http://therealkatie.net/blog/2013/mar/19/pycon-2013-young-coders/ > > I don't have time to do more workshops, but back when I was, I thought it > would be neat to apply for PSF O&E grant to do a Young Coders (and maybe > ask for funds to cover the cost of Katie Cunningham or someone with > experience already doing Young Coders to come out to Chicago to help run > one. When doing a workshop for the first time, it's nice to have mentors > helping in person. Jessica McKeller was going to fly out for the first > Chicago Python Workshop I did, but something came up and she couldn't make > it. Fortunately there are a lot of great people in Chicago who can help, > and Naomi Ceder helped out. She has experience teaching a lot of age ranges > (in my case, adults). > > also, Carl just helped out with Hak4kids, and they have a worksheet for > lessons that are less than an hour. I think they'd be good for any of the > mini-maker fairs we have around the city. This is one: > http://makerfairechicagonorthside.com/ > > > -- > shekay at pobox.com > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/chicago/attachments/20150707/c4c4387b/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Tue, 7 Jul 2015 08:53:50 -0500 > From: sheila miguez > To: The Chicago Python Users Group > Subject: Re: [Chicago] Congrats new ChiPy Organizer: Tanya > Message-ID: > 2xcht9cBg7mXtUACXvCkn14XB90ZbVAyH48A7zp-Q at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I am +1 for removing the restrictions. > > On Tue, Jul 7, 2015 at 8:48 AM, Brian Ray wrote: > > > Keep the restriction and we will discuss. I think it might have had > > something to do with (not) being searchable, but I forget. Alternatively, > > we can use robots.txt.? > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > > > > > -- > shekay at pobox.com > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/chicago/attachments/20150707/f122681d/attachment-0001.html > > > > ------------------------------ > > Message: 4 > Date: Tue, 7 Jul 2015 10:15:47 -0400 > From: Brian Ray > To: The Chicago Python Users Group > Subject: Re: [Chicago] Congrats new ChiPy Organizer: Tanya > Message-ID: > pJD_cN2w at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Please note this is a thread to congrat Tanya. Please move any appropriate > new conversation if you think necessary. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/chicago/attachments/20150707/e1558cd2/attachment-0001.html > > > > ------------------------------ > > Message: 5 > Date: Tue, 7 Jul 2015 09:27:07 -0500 > From: sheila miguez > To: The Chicago Python Users Group > Subject: Re: [Chicago] Congrats new ChiPy Organizer: Tanya > Message-ID: > uFUNV-w at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I'm pretty happy to see Tanya as an organizer! I've met her at ChiPy and > ChicagoPythonistas and she is great. > > > On Tue, Jul 7, 2015 at 9:15 AM, Brian Ray wrote: > > > Please note this is a thread to congrat Tanya. Please move any > appropriate > > new conversation if you think necessary. > > > > Sorry about that, I was replying to you and Joel, et al. > > > > -- > shekay at pobox.com > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/chicago/attachments/20150707/c77f9bd8/attachment-0001.html > > > > ------------------------------ > > Message: 6 > Date: Tue, 7 Jul 2015 10:25:22 -0700 > From: kirby urner > To: The Chicago Python Users Group > Subject: Re: [Chicago] Python kids classes > Message-ID: > gGGBNOX9KgdjizTxf+EFKmLPN07Dm31PeA at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > On Mon, Jul 6, 2015 at 9:48 AM, Brian Ray wrote: > > > A friend's asking if there are any kids classes in Chicago. He lives in > > Northern burbs. Kids are 9-16yrs. > > > > Ideas, Brian > > > > > > The "in Chicago" part is where I fall off the map, but I'm offering > curriculum ideas, field tested, so like encouragement to those more local > to "Second City" (there was this fire...). > > Recycle these ideas, including some source code, is what I'm suggesting. > > Here's the website from which I actually presented course material, the > theme being "Martian Math" (what's that?) using Python, Visual Python > especially. > > http://www.4dsolutions.net/satacad/martianmath/toc.html > > ( VPython.org is s tremendous asset in my book). > > (geometry buffs will see I'm using a lot of the Bucky Fuller stuff) > > I'd say my students were in the 15-17. We met every day for a few hours, > like a summer camp experience for them (they'd be doing more than one > class). > > But the exact circumstances of my field testing are not that important. > Given the college campus setting, my equipment was very high end, one kid > to one computer. > > I've done similar courses, changing the mix. I collect a lot of my > materials here: > > http://www.4dsolutions.net/ocn/cp4e.html > > Kirby > @thekirbster > > > > > > > -- > > Brian Ray > > @brianray > > (773) 669-7717 > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/chicago/attachments/20150707/5e599db0/attachment-0001.html > > > > ------------------------------ > > Message: 7 > Date: Tue, 7 Jul 2015 12:55:25 -0500 > From: Lorena Mesa > To: chicago-request at python.org, chicago at python.org > Subject: [Chicago] Help > Message-ID: > UF+Vf7b-5CvcKwkYvz1hNzs6q_vBAoDLtEGXqXKYQ at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi ChiPy, > > We have an upcoming mentoring opportunity for the Chicago PyLadies + > Write/Speak/Code Open Source Python workshop on Sat July 25th. If this > sounds like something you may be interested in helping out with you can > fill out an interest form here: http://goo.gl/forms/8na9pIJzvo. We also > have an event page with some more information available - > chicagopyladies.github.io. > > As a clarifying note, we are asking for mentors to be available from 12:00 > - 4:00pm. The event is being hosted at Enova's office at - 175 W Jackson, > 5th Floor, Chicago, IL. > > Thanks again for all you do! > > Lorena > -- > > ___________________________________________________________________________________ > Lorena Mesa > *www.lorenamesa.com * > > "If you wish to make apple pie from scratch, you must first invent the > universe," - Carl Sagan > > Please stop > before printing this email unnecessarily, *think green*!!! > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/chicago/attachments/20150707/2b38b9dc/attachment-0001.html > > > > ------------------------------ > > Message: 8 > Date: Tue, 7 Jul 2015 13:21:46 -0500 > From: Hector Rios > To: The Chicago Python Users Group > Subject: Re: [Chicago] Help > Message-ID: > ypJ-wmOmoTAXeoGSM_VvVGQpiWFmOA at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Does the mentor have to be a lady? > On Jul 7, 2015 12:56 PM, "Lorena Mesa" wrote: > > > Hi ChiPy, > > > > We have an upcoming mentoring opportunity for the Chicago PyLadies + > > Write/Speak/Code Open Source Python workshop on Sat July 25th. If this > > sounds like something you may be interested in helping out with you can > > fill out an interest form here: http://goo.gl/forms/8na9pIJzvo. We also > > have an event page with some more information available - > > chicagopyladies.github.io. > > > > As a clarifying note, we are asking for mentors to be available from > 12:00 > > - 4:00pm. The event is being hosted at Enova's office at - 175 W Jackson, > > 5th Floor, Chicago, IL. > > > > Thanks again for all you do! > > > > Lorena > > -- > > > > > ___________________________________________________________________________________ > > Lorena Mesa > > *www.lorenamesa.com * > > > > "If you wish to make apple pie from scratch, you must first invent the > > universe," - Carl Sagan > > > > Please stop > > before printing this email unnecessarily, *think green*!!! > > > > _______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/chicago/attachments/20150707/d4036b2f/attachment-0001.html > > > > ------------------------------ > > Message: 9 > Date: Tue, 7 Jul 2015 14:40:58 -0500 > From: Chris Foresman > To: The Chicago Python Users Group > Subject: Re: [Chicago] Congrats new ChiPy Organizer: Tanya > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > > > > Chris Foresman > chris at chrisforesman.com > > > > > On Jul 7, 2015, at 9:27 AM, sheila miguez wrote: > > > > I'm pretty happy to see Tanya as an organizer! I've met her at ChiPy and > ChicagoPythonistas and she is great. > > > > > > On Tue, Jul 7, 2015 at 9:15 AM, Brian Ray brianhray at gmail.com>> wrote: > > Please note this is a thread to congrat Tanya. Please move any > appropriate new conversation if you think necessary. > > > > Sorry about that, I was replying to you and Joel, et al. > > > > > > > > -- > > shekay at pobox.com >_______________________________________________ > > Chicago mailing list > > Chicago at python.org > > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/chicago/attachments/20150707/bc407b81/attachment.html > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: jvhcYvWMt0acw.gif > Type: image/gif > Size: 291475 bytes > Desc: not available > URL: < > http://mail.python.org/pipermail/chicago/attachments/20150707/bc407b81/attachment.gif > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > ------------------------------ > > End of Chicago Digest, Vol 119, Issue 6 > *************************************** > -- ___________________________________________________________________________________ Lorena Mesa *www.lorenamesa.com * "If you wish to make apple pie from scratch, you must first invent the universe," - Carl Sagan Please stop before printing this email unnecessarily, *think green*!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Wed Jul 8 19:12:32 2015 From: brianhray at gmail.com (Brian Ray) Date: Wed, 8 Jul 2015 13:12:32 -0400 Subject: [Chicago] Fwd: Predictive Analytics using Python class - July 11/12 In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: *Nusreth Baig* Date: Wednesday, July 8, 2015 Subject: Fwd: Predictive Analytics using Python class - July 11/12 To: Brian Ray This is the email I sent. Can you forward it to Chicago at Python.org on my behalf? ---------- Forwarded message ---------- From: Nusreth Baig > Date: Tue, Jul 7, 2015 at 6:05 PM Subject: Predictive Analytics using Python class - July 11/12 To: chicago at python.org Hi ChiPy Members, It was an absolute pleasure to host the last MeetUp, and thank you all for attending. The speaker, Adam McElhinney, sincerely appreciated the audience turnout and the discussion. As I shared in the MeetUp, on July 11 and 12 (this weekend), we are conducting the Predictive Analytics class using Python. It will be held at the same location, TechNexus (20 N. Upper Wacker Drive). The class is $750, and below this email you will find the curriculum. If you cannot make it this weekend, and you would prefer a different weekend, please let me know that as well. You can email me at Nusreth.Baig at gmail.com or Nusreth at BigShouldersDataCamp.com. Feel free to call me at 847-867-4349 with any questions you have. Please forward this info to anyone you think may be interested. Thank you, Nusreth Day 1StartEndTopicItemDuration (hrs)Total9:00 AM9:15 AMIntroWelcome, Intros and Agenda0.250.259:15 AM9:30 AMIntroWarm-up challenge/Review of Python0.25 0.59:30 AM9:45 AMIntroWhy Python for Predictive Analytics0.250.759:45 AM10:00 AMScikitIntro0.25110:00 AM10:15 AMScikitCleaning Data0.251.2510:15 AM10:30 AMScikitSummarizing Data0.251.510:30 AM10:45 AMBreakBreak0.251.7510:45 AM11:15 AMScikitExcercise 10.52.2511:15 AM11:45 AMScikitFitting Models -- Normal Regression0.52.7511:45 AM12:15 PMScikitFitting Models -- Penalized Regression0.53.2512:15 PM1:15 PMBreakLunch14.251:15 PM2:15 PMScikitExcercise 215.252:15 PM2:45 PMScikitVariable Reduction -- stepwise selection0.55.752:45 PM3:00 PMBreakBreak0.2563:00 PM3:30 PMScikitClassification -- kNeighbors0.5 6.53:30 PM4:00 PMScikitClassification -- Niave Bayes0.574:00 PM5:00 PM ScitkitExcercise 318Day 2StartEndTopicItemDuration (hrs)Total9:00 AM9:15 AM SpeedCython0.250.259:15 AM9:30 AMSpeedPyPy0.250.59:30 AM10:30 AMpySpark pySpark11.510:30 AM10:45 AMBreakBreak0.251.7510:45 AM11:15 AMOrangeIntro to Orange0.52.2511:15 AM12:00 PMExcercise 4Excercise 40.75312:00 PM1:00 PMBreak Lunch141:00 PM1:15 PMCompetition!Description of problem0.254.251:15 PM4:15 PMCompetition!Execution37.254:15 PM5:00 PMCompetition!Judging0.758 -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Wed Jul 8 20:55:20 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Wed, 8 Jul 2015 13:55:20 -0500 Subject: [Chicago] FreeGeek Python class for beginners Message-ID: July 12 3 pm http://freegeekchicago.org/news/2015/07/this-week-at-freegeek-chicago-0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinaldo at gmail.com Wed Jul 8 20:59:33 2015 From: dinaldo at gmail.com (Don Sheu) Date: Wed, 8 Jul 2015 11:59:33 -0700 Subject: [Chicago] FreeGeek Python class for beginners In-Reply-To: References: Message-ID: That's awesome Randy. ? On Wed, Jul 8, 2015 at 11:55 AM, Randy Baxley wrote: > July 12 3 pm > > http://freegeekchicago.org/news/2015/07/this-week-at-freegeek-chicago-0 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Don Sheu (312) 880-9389 *Apply to join us at www.openforcetour.org * *CONFIDENTIALITY NOTICE*: *The information contained in this message may be protected trade secrets or protected by applicable intellectual property laws of the United States and International agreements. If you believe that it has been sent to you in error, do not read it. Please immediately reply to the sender that you have received the message in error. Then delete it. Thank you.* -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Thu Jul 9 15:40:29 2015 From: brianhray at gmail.com (Brian Ray) Date: Thu, 9 Jul 2015 09:40:29 -0400 Subject: [Chicago] [ANN] ChiPy July Meeting: Mentorship Talks In-Reply-To: References: Message-ID: Thank you Braintree for buying pizza for tonight. Thank you WeWork for the keg. O'Reilly for prizes. So glad this is coming together last minute. On Sat, Jul 4, 2015 at 4:21 PM, Brian Ray wrote: > Happy Fourth Everyone. > > We found a great space for our July meeting. WeWork Chicago! > > July 9, 2015, 7 p.m. > > Please accept our pull requests! > > class JulyMeeting(Meetings): > """ Best ever """ > def get_info(self): > return { > "Food and Drink": Provided("beer", "pizza"), > "Expect to meet great people": True, > "Python experience required": None, > "You will learn something": True, > "You can teach others": True, > "Cost of attending": 0.0, > "Expected turn out": Great("best ever"), > "Expected quality: 10.0/10.0, > "OH": "This will be our best meeting ever"} > > > > WeWork > > > 220 N Green Street, Chicago, IL > RSVP here: http://www.meetup.com/_ChiPy_/events/223700984/ > > OR here: http://www.chipy.org/ > > > > ---- > > > Collection of talks from the Mentorship program Mentees and Mentors on > topics like: Raspberry Pi , Machine Learning, Django Study Group, > Visualization... > > More details: > > Building a Temperature Control Program for Monitoring Aquaculture Tanks > Using Raspberry Pi and Python > (0:07:00 Minutes) > By: Thao Nguyen > Growth of the Mentee as a Pythonista I have turned from totally no > experience with Python to gaining a good amount of knowledge in this > language. I have learned from the very basic syntaxes to writing functions, > then writing functions for different types of data (list, string, integer, > decimal, float, epoch, threshold?) to serve various purposes; I know how to > install redis, bokeh and flask for data acquisition, storage and > performance; I also learned how to send an email alert from the Raspberry > Pi with Python, thanks to the hackathon midterm meetup and my mentor. And > because our project covers a wide range of activities, I have learned a lot > of the fundamental elements of Python as well as programming in general. > Above all, the best thing I have learned about Python through this > Mentorship program is being confident and feeling more comfortable with it. > Before this project, I wasn?t really sure about Python. Is it what I want > or I might be better off with other languages? But after finished the > project, I can say it was fun, and it serves well what I want to do. So I > decided to move forward with it. And even though this is my very first > programming language, but the dynamic from its strong supportive community, > rich wonderful open sources and inspiring opportunities like this > Mentorship program, all makes me feel that Python is a good choice. The > Mentor's role When I asked my mentor for his advices on learning > programming, he told me that to him, the best way to learn is doing > projects, just like what we are doing. And that is so true. Sometimes I > feel like the best way of learning how to swim is just jumping into the > water, like doing a project; it can be scary, uncertain, and possibly > failed, but it can also be very exciting and thrilling. Of course, one > should only jump with a life preserver if she never knows how to swim > before. And our mentors are life preservers. For a novice, it could be very > confused at first of where to go, what direction to take, or how to get > there; and easy be overwhelmed by too much information. The life saver may > not be able to tell you what direction to take either, but at least, it > will help you have some time to think and to practice before you decide > your next moves. Obviously, a mentor is much better than a life saver, > because no life saver can talk nor answer questions; and the best part is, > they have a lot of experiences in their hands and are willing to share them > with you. Thao Nguyen > > Machine Learning with Python > (0:07:00 Minutes) > By: Alexander Flyax > I will briefly describe my journey into applied machine learning using > Python packages like scikit-learn and statsmodels. > > Why learning process matters to student dev's > By: Lane Campbell > I took up learning Python and Web Development early this year. I started > attending Django lessons held by folks in the community. After the lessons > students had trouble finding help learning together. To help everyone > organize I founded the Django Study Group. I've been learning for the last > six months but I am still a student. I joined the Chipy mentorship program > to learn from a local professional Python developer. While enrolled in that > I took the opportunity to join a student team led by Brian Ray for more > experience learning to code. It was working alongside Brian that I learned > the importance of how you build software. > > Formula One Data Visualization and Interpretation: adventures in > mentorship > (0:07:00 Minutes) > By: Seth Difley > We participated in the Chipy mentorship program. Our plan for the > mentorship was to use Python to visualize and interpret Formula One racing > data. Join us to hear about the triumphs and obstacles we encountered along > the way. > > > > > > -- > Brian Ray > @brianray > (773) 669-7717 > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Thu Jul 9 15:40:44 2015 From: brianhray at gmail.com (Brian Ray) Date: Thu, 9 Jul 2015 09:40:44 -0400 Subject: [Chicago] [ANN] ChiPy July Meeting: Mentorship Talks In-Reply-To: References: Message-ID: folks are also free to BYOB On Thu, Jul 9, 2015 at 9:40 AM, Brian Ray wrote: > Thank you Braintree for buying pizza for tonight. Thank you WeWork for the > keg. O'Reilly for prizes. So glad this is coming together last minute. > > On Sat, Jul 4, 2015 at 4:21 PM, Brian Ray wrote: > >> Happy Fourth Everyone. >> >> We found a great space for our July meeting. WeWork Chicago! >> >> July 9, 2015, 7 p.m. >> >> Please accept our pull requests! >> >> class JulyMeeting(Meetings): >> """ Best ever """ >> def get_info(self): >> return { >> "Food and Drink": Provided("beer", "pizza"), >> "Expect to meet great people": True, >> "Python experience required": None, >> "You will learn something": True, >> "You can teach others": True, >> "Cost of attending": 0.0, >> "Expected turn out": Great("best ever"), >> "Expected quality: 10.0/10.0, >> "OH": "This will be our best meeting ever"} >> >> >> >> WeWork >> >> >> 220 N Green Street, Chicago, IL >> RSVP here: http://www.meetup.com/_ChiPy_/events/223700984/ >> >> OR here: http://www.chipy.org/ >> >> >> >> ---- >> >> >> Collection of talks from the Mentorship program Mentees and Mentors on >> topics like: Raspberry Pi , Machine Learning, Django Study Group, >> Visualization... >> >> More details: >> >> Building a Temperature Control Program for Monitoring Aquaculture Tanks >> Using Raspberry Pi and Python >> (0:07:00 Minutes) >> By: Thao Nguyen >> Growth of the Mentee as a Pythonista I have turned from totally no >> experience with Python to gaining a good amount of knowledge in this >> language. I have learned from the very basic syntaxes to writing functions, >> then writing functions for different types of data (list, string, integer, >> decimal, float, epoch, threshold?) to serve various purposes; I know how to >> install redis, bokeh and flask for data acquisition, storage and >> performance; I also learned how to send an email alert from the Raspberry >> Pi with Python, thanks to the hackathon midterm meetup and my mentor. And >> because our project covers a wide range of activities, I have learned a lot >> of the fundamental elements of Python as well as programming in general. >> Above all, the best thing I have learned about Python through this >> Mentorship program is being confident and feeling more comfortable with it. >> Before this project, I wasn?t really sure about Python. Is it what I want >> or I might be better off with other languages? But after finished the >> project, I can say it was fun, and it serves well what I want to do. So I >> decided to move forward with it. And even though this is my very first >> programming language, but the dynamic from its strong supportive community, >> rich wonderful open sources and inspiring opportunities like this >> Mentorship program, all makes me feel that Python is a good choice. The >> Mentor's role When I asked my mentor for his advices on learning >> programming, he told me that to him, the best way to learn is doing >> projects, just like what we are doing. And that is so true. Sometimes I >> feel like the best way of learning how to swim is just jumping into the >> water, like doing a project; it can be scary, uncertain, and possibly >> failed, but it can also be very exciting and thrilling. Of course, one >> should only jump with a life preserver if she never knows how to swim >> before. And our mentors are life preservers. For a novice, it could be very >> confused at first of where to go, what direction to take, or how to get >> there; and easy be overwhelmed by too much information. The life saver may >> not be able to tell you what direction to take either, but at least, it >> will help you have some time to think and to practice before you decide >> your next moves. Obviously, a mentor is much better than a life saver, >> because no life saver can talk nor answer questions; and the best part is, >> they have a lot of experiences in their hands and are willing to share them >> with you. Thao Nguyen >> >> Machine Learning with Python >> (0:07:00 Minutes) >> By: Alexander Flyax >> I will briefly describe my journey into applied machine learning using >> Python packages like scikit-learn and statsmodels. >> >> Why learning process matters to student dev's >> By: Lane Campbell >> I took up learning Python and Web Development early this year. I started >> attending Django lessons held by folks in the community. After the lessons >> students had trouble finding help learning together. To help everyone >> organize I founded the Django Study Group. I've been learning for the last >> six months but I am still a student. I joined the Chipy mentorship program >> to learn from a local professional Python developer. While enrolled in that >> I took the opportunity to join a student team led by Brian Ray for more >> experience learning to code. It was working alongside Brian that I learned >> the importance of how you build software. >> >> Formula One Data Visualization and Interpretation: adventures in >> mentorship >> (0:07:00 Minutes) >> By: Seth Difley >> We participated in the Chipy mentorship program. Our plan for the >> mentorship was to use Python to visualize and interpret Formula One racing >> data. Join us to hear about the triumphs and obstacles we encountered along >> the way. >> >> >> >> >> >> -- >> Brian Ray >> @brianray >> (773) 669-7717 >> > > > > -- > Brian Ray > @brianray > (773) 669-7717 > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From namusoke at hotmail.com Thu Jul 9 15:53:05 2015 From: namusoke at hotmail.com (Valentina Kibuyaga) Date: Thu, 9 Jul 2015 08:53:05 -0500 Subject: [Chicago] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: Current ChiPy Organizers: Brian Ray: Chair Adam Bain: Treasurer Adam Forsyth: Director of Sponsorship / Fund Raising Cezar Jenkins: Mailing list / Website Jason Wirth: Director of Outreach Jerry Dumblauskas: Director of Professional Development Jimmy Calahorrano: Historian / Video Joe Jasinski: Talk Coordinator Tathagata Dasgupta: Director of Mentorship Program Tanya Schlusser (What is her role id?) Tanya, congratulations on this outstanding achievement. Your addition to the team is an exceptional decision, because you are a smart and knowledgeable individual who keeps abreast of upcoming technologies. Additionally, you are a trailblazer spearheading change on this outstanding team. Kudos to the Chippy team for adding Tanya. And, thank you! If we want technology to serve society rather than enslave it, we have to build systems accessible to all people - be they male or female, young, old, disabled, computer wizards or technophobes. Anita Borg Valentina Date: Mon, 6 Jul 2015 14:34:21 -0400 From: brianhray at gmail.com To: chicago-organizers at python.org; chicago at python.org Subject: [Chicago] Congrats new ChiPy Organizer: Tanya CC: tanya at tickel.net Congrats Tanya Schlusser as the newest elected member who accepted a position on the ChiPy Organizing Team. The whole rooster listed here: http://www.chipy.org/pages/organizers/ Congrats! 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 brianhray at gmail.com Thu Jul 9 16:02:30 2015 From: brianhray at gmail.com (Brian Ray) Date: Thu, 9 Jul 2015 10:02:30 -0400 Subject: [Chicago] [Chicago-organizers] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: Message-ID: On her role, she can find her own groove and move around as sees fit. I can think of 1,000,000 ways Tanya can contribute. As a team, we are actually getting a lot done and having a ton of fun. I hope we continue to grow and even do more amazing things. See you all tonight! On Thu, Jul 9, 2015 at 9:53 AM, Valentina Kibuyaga wrote: > Current ChiPy Organizers: > > - Brian Ray: Chair > - Adam Bain: Treasurer > - Adam Forsyth: Director of Sponsorship / Fund Raising > - Cezar Jenkins: Mailing list / Website > - Jason Wirth: Director of Outreach > - Jerry Dumblauskas: Director of Professional Development > - Jimmy Calahorrano: Historian / Video > - Joe Jasinski: Talk Coordinator > - Tathagata Dasgupta: Director of Mentorship Program > - Tanya Schlusser (What is her role id?) > > > > Tanya, congratulations on this outstanding achievement. > > > Your addition to the team is an exceptional decision, because you are a > smart and knowledgeable individual who keeps abreast of upcoming > technologies. Additionally, you are a trailblazer spearheading change on > this outstanding team. > > > Kudos to the Chippy team for adding Tanya. And, thank you! > > > > > If we want technology to serve society rather than enslave it, we have to > build systems accessible to all people - be they male or female, young, > old, disabled, computer wizards or technophobes. > > Anita Borg > > > Valentina > > > > ------------------------------ > Date: Mon, 6 Jul 2015 14:34:21 -0400 > From: brianhray at gmail.com > To: chicago-organizers at python.org; chicago at python.org > Subject: [Chicago] Congrats new ChiPy Organizer: Tanya > CC: tanya at tickel.net > > > Congrats Tanya Schlusser as the newest elected member who accepted a > position on the ChiPy Organizing Team. > > The whole rooster listed here: > > http://www.chipy.org/pages/organizers/ > > Congrats! Brian > > > -- > Brian Ray > @brianray > (773) 669-7717 > > > _______________________________________________ Chicago mailing list > Chicago at python.org https://mail.python.org/mailman/listinfo/chicago > > _______________________________________________ > Chicago-organizers mailing list > Chicago-organizers at python.org > https://mail.python.org/mailman/listinfo/chicago-organizers > > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From namusoke at hotmail.com Thu Jul 9 16:07:49 2015 From: namusoke at hotmail.com (Valentina Kibuyaga) Date: Thu, 9 Jul 2015 09:07:49 -0500 Subject: [Chicago] [Chicago-organizers] Congrats new ChiPy Organizer: Tanya In-Reply-To: References: , , Message-ID: Phenomenal answer, Brian Ray. She is an OPEN SOURCE! Valentina Date: Thu, 9 Jul 2015 10:02:30 -0400 Subject: Re: [Chicago-organizers] [Chicago] Congrats new ChiPy Organizer: Tanya From: brianhray at gmail.com To: namusoke at hotmail.com CC: chicago at python.org; chicago-organizers at python.org On her role, she can find her own groove and move around as sees fit. I can think of 1,000,000 ways Tanya can contribute. As a team, we are actually getting a lot done and having a ton of fun. I hope we continue to grow and even do more amazing things. See you all tonight! On Thu, Jul 9, 2015 at 9:53 AM, Valentina Kibuyaga wrote: Current ChiPy Organizers: Brian Ray: Chair Adam Bain: Treasurer Adam Forsyth: Director of Sponsorship / Fund Raising Cezar Jenkins: Mailing list / Website Jason Wirth: Director of Outreach Jerry Dumblauskas: Director of Professional Development Jimmy Calahorrano: Historian / Video Joe Jasinski: Talk Coordinator Tathagata Dasgupta: Director of Mentorship Program Tanya Schlusser (What is her role id?) Tanya, congratulations on this outstanding achievement. Your addition to the team is an exceptional decision, because you are a smart and knowledgeable individual who keeps abreast of upcoming technologies. Additionally, you are a trailblazer spearheading change on this outstanding team. Kudos to the Chippy team for adding Tanya. And, thank you! If we want technology to serve society rather than enslave it, we have to build systems accessible to all people - be they male or female, young, old, disabled, computer wizards or technophobes. Anita Borg Valentina Date: Mon, 6 Jul 2015 14:34:21 -0400 From: brianhray at gmail.com To: chicago-organizers at python.org; chicago at python.org Subject: [Chicago] Congrats new ChiPy Organizer: Tanya CC: tanya at tickel.net Congrats Tanya Schlusser as the newest elected member who accepted a position on the ChiPy Organizing Team. The whole rooster listed here: http://www.chipy.org/pages/organizers/ Congrats! Brian -- Brian Ray @brianray(773) 669-7717 _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago-organizers mailing list Chicago-organizers at python.org https://mail.python.org/mailman/listinfo/chicago-organizers -- Brian Ray @brianray(773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Mon Jul 13 01:36:47 2015 From: brianhray at gmail.com (Brian Ray) Date: Sun, 12 Jul 2015 19:36:47 -0400 Subject: [Chicago] Fwd: Message from contact form: job posting for ChiPy... In-Reply-To: <20150712173637.9.9846@db259a62-29ea-4cbe-a16b-55c60c489cad.prvt.dyno.rt.heroku.com> References: <20150712173637.9.9846@db259a62-29ea-4cbe-a16b-55c60c489cad.prvt.dyno.rt.heroku.com> Message-ID: ---------- Forwarded message ---------- From: Date: Sunday, July 12, 2015 Subject: Message from contact form: job posting for ChiPy... To: emperorcezar at gmail.com, brianhray at gmail.com Message from the contact form [image: robot picture] job posting for ChiPy... Science Education Start-up Seeks Python Dev / Sysadmin Our team is building Planetary Laboratory, a platform to help museums, zoos, environmental groups, and NSF-funded research labs connect with classrooms everyday. We provide youth with fun interactive science projects and learning media. (See tinyurl.com/PlanetLabInfo for more information). We are completing MVP in August for beta-testing in Chicago schools this Fall. We are seeking a part-time / contractual Python developer with experience building RESTful API?s for responsive web applications. We are looking for someone who has an interest in joining our founding team--the ideal person should be dedicated to citizen science, school improvement, + engaging youth and teachers. The framework for the MVP (minimum viable product) back-end has already been laid out. Our web stack is Python, Flask and PostgreSQL. Our code is hosted on GitHub, deployed to Heroku and tested with Travis CI. We store static assets (user-uploaded or otherwise) in Amazon S3 and distribute them via Amazon CloudFront. GITHUB LINK https://github.com/freedomgames/Planet-Lab If you are interested, please write to: eve.louise.tulbert at gmail.com and radha.ramachdran at gmail.com Qualifications: ? 2+ years of experience with Python and Flask or similar web frameworks ? Experience building RESTful APIs ? Strong SQL and database knowledge, preferably with SQLAlchemy and PostgreSQL ? Experience with Heroku and Amazon Web Services, particularly S3 and CloudFront ? Experience using version control, preferably Git ? Understanding of code best practices and standards ? we love unit testing and Pylint Sender: eve.louise.tulbert (Eve Tulbert) eve.louise.tulbert at gmail.com message sent with envelope - a contact form app for Django -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lane at strapr.com Mon Jul 13 19:11:25 2015 From: lane at strapr.com (Lane Campbell) Date: Mon, 13 Jul 2015 12:11:25 -0500 Subject: [Chicago] Django Study Group Message-ID: Hello All, It was great seeing some old and new faces at yesterday's Django Study Group. As mentioned it runs weekly. Be sure to RSVP to join us next week: http://www.meetup.com/_ChiPy_/events/rwpjhlytkbzb/ Regards, Lane Campbell (312) 775-2632 -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Thu Jul 16 00:15:23 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Wed, 15 Jul 2015 17:15:23 -0500 Subject: [Chicago] Printing out the Cartesian product. Message-ID: Hi everyone, I need some advice on how to do something. Let's say that I want to print out the Cartesian product of the integers 1 to 4. It would look something like this: 1, 1, 1, 1 1, 1, 1, 2 1, 1, 1, 3 1, 1, 1, 4 1, 1, 2, 1 1, 1, 2, 2 1, 1, 2, 3 1, 1, 2, 4 1, 1, 3, 1 1, 1, 3, 2 1, 1, 3, 3, etc, etc until finally we have .............. 4, 4, 4, 3 4, 4, 4, 4 This is NOT a permutation because repetition is allowed. Nor is it a combination because for example 1, 1, 1, 2 is distinct from 2, 1, 1, 1. I believe this is technically called a Cartesian product. I know of two ways to do this: Method #1: *for a in range(1, 5):* * for b in range(1, 5):* * for c in range(1, 5):* * for d in range(1, 5):* * print( a, end = ", " )* * print( b, end = ", " )* * print( c, end = ", " )* * print( d, end = "\n" )* The above works just fine! But there's a problem. What if let's say I want the Cartesian product of all the integers from 1 to 10? That means working with 10 nested for-loops! That's insane! It's tedious to write and probably even worse for the person who is reading it. So this method is limited to smaller examples. Method #2: Cheat by using Python's itertools package! (Or is it a library? What's the difference between a package and a library?) import itertools carProduct = itertools.product([1, 2, 3, 4], repeat = 4) *try:* * while True:* * print( next(carProduct) )* *except StopIteration:* * pass* This method is short and sweet! It works great! But it's really cheating in the sense that the programmer is taking advantage of code that has already been written. (I have nothing against doing that! But in a CS class if I write down that answer on an exam do you think the professor is going to give me any credit? Probably not!!! LOL! ) Is there some other way? I'm guessing that I would need a for-loop that contains a recursive function. Or.... maybe a recursive function that contains a for-loop? I really don't know. I've been struggling with this for a couple days now and I can't think of a solution. Can someone please enlighten me? Gratefully, Douglas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zitterbewegung at gmail.com Thu Jul 16 01:45:07 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Wed, 15 Jul 2015 18:45:07 -0500 Subject: [Chicago] Printing out the Cartesian product. In-Reply-To: References: Message-ID: What is your definition of the cartesian product because it is defined on sets not on lists? A list is most like a bag in set theory. A list is not a set. http://stackoverflow.com/questions/533905/get-the-cartesian-product-of-a-series-of-lists-in-python On Wed, Jul 15, 2015 at 5:15 PM, Lewit, Douglas wrote: > Hi everyone, > > I need some advice on how to do something. Let's say that I want to print > out the Cartesian product of the integers 1 to 4. It would look something > like this: > > 1, 1, 1, 1 > 1, 1, 1, 2 > 1, 1, 1, 3 > 1, 1, 1, 4 > 1, 1, 2, 1 > 1, 1, 2, 2 > 1, 1, 2, 3 > 1, 1, 2, 4 > 1, 1, 3, 1 > 1, 1, 3, 2 > 1, 1, 3, 3, etc, etc until finally we have > .............. > 4, 4, 4, 3 > 4, 4, 4, 4 > > This is NOT a permutation because repetition is allowed. Nor is it a > combination because for example 1, 1, 1, 2 is distinct from 2, 1, 1, 1. I > believe this is technically called a Cartesian product. > > I know of two ways to do this: > > Method #1: > > *for a in range(1, 5):* > * for b in range(1, 5):* > * for c in range(1, 5):* > * for d in range(1, 5):* > * print( a, end = ", " )* > * print( b, end = ", " )* > * print( c, end = ", " )* > * print( d, end = "\n" )* > > > The above works just fine! But there's a problem. What if let's say I > want the Cartesian product of all the integers from 1 to 10? That means > working with 10 nested for-loops! That's insane! It's tedious to write > and probably even worse for the person who is reading it. So this method > is limited to smaller examples. > > Method #2: > > Cheat by using Python's itertools package! (Or is it a library? What's > the difference between a package and a library?) > > import itertools > > carProduct = itertools.product([1, 2, 3, 4], repeat = 4) > > *try:* > * while True:* > * print( next(carProduct) )* > *except StopIteration:* > * pass* > > This method is short and sweet! It works great! But it's really cheating > in the sense that the programmer is taking advantage of code that has > already been written. (I have nothing against doing that! But in a CS > class if I write down that answer on an exam do you think the professor is > going to give me any credit? Probably not!!! LOL! ) > > Is there some other way? I'm guessing that I would need a for-loop that > contains a recursive function. Or.... maybe a recursive function that > contains a for-loop? I really don't know. I've been struggling with this > for a couple days now and I can't think of a solution. Can someone please > enlighten me? > > Gratefully, > > Douglas. > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Thu Jul 16 02:33:29 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Wed, 15 Jul 2015 19:33:29 -0500 Subject: [Chicago] Printing out the Cartesian product. In-Reply-To: References: Message-ID: Hi Joshua, Well I'm not sure that's really true because in a Cartesian product you can have repetition. Last semester I took a computational biology course at NEIU and we did Cartesian products on ("A", "T", "C", "G"), the four nucleotide bases of DNA. ("A", "A", "A", "A") is part of that product, but if you're dealing with a true set then ("A", "A", "A", "A") is not allowed because in a set you can't have repeated elements. On Wed, Jul 15, 2015 at 6:45 PM, Joshua Herman wrote: > What is your definition of the cartesian product because it is defined on > sets not on lists? > A list is most like a bag in set theory. A list is not a set. > > > http://stackoverflow.com/questions/533905/get-the-cartesian-product-of-a-series-of-lists-in-python > > On Wed, Jul 15, 2015 at 5:15 PM, Lewit, Douglas wrote: > >> Hi everyone, >> >> I need some advice on how to do something. Let's say that I want to >> print out the Cartesian product of the integers 1 to 4. It would look >> something like this: >> >> 1, 1, 1, 1 >> 1, 1, 1, 2 >> 1, 1, 1, 3 >> 1, 1, 1, 4 >> 1, 1, 2, 1 >> 1, 1, 2, 2 >> 1, 1, 2, 3 >> 1, 1, 2, 4 >> 1, 1, 3, 1 >> 1, 1, 3, 2 >> 1, 1, 3, 3, etc, etc until finally we have >> .............. >> 4, 4, 4, 3 >> 4, 4, 4, 4 >> >> This is NOT a permutation because repetition is allowed. Nor is it a >> combination because for example 1, 1, 1, 2 is distinct from 2, 1, 1, 1. I >> believe this is technically called a Cartesian product. >> >> I know of two ways to do this: >> >> Method #1: >> >> *for a in range(1, 5):* >> * for b in range(1, 5):* >> * for c in range(1, 5):* >> * for d in range(1, 5):* >> * print( a, end = ", " )* >> * print( b, end = ", " )* >> * print( c, end = ", " )* >> * print( d, end = "\n" )* >> >> >> The above works just fine! But there's a problem. What if let's say I >> want the Cartesian product of all the integers from 1 to 10? That means >> working with 10 nested for-loops! That's insane! It's tedious to write >> and probably even worse for the person who is reading it. So this method >> is limited to smaller examples. >> >> Method #2: >> >> Cheat by using Python's itertools package! (Or is it a library? What's >> the difference between a package and a library?) >> >> import itertools >> >> carProduct = itertools.product([1, 2, 3, 4], repeat = 4) >> >> *try:* >> * while True:* >> * print( next(carProduct) )* >> *except StopIteration:* >> * pass* >> >> This method is short and sweet! It works great! But it's really >> cheating in the sense that the programmer is taking advantage of code that >> has already been written. (I have nothing against doing that! But in a CS >> class if I write down that answer on an exam do you think the professor is >> going to give me any credit? Probably not!!! LOL! ) >> >> Is there some other way? I'm guessing that I would need a for-loop that >> contains a recursive function. Or.... maybe a recursive function that >> contains a for-loop? I really don't know. I've been struggling with this >> for a couple days now and I can't think of a solution. Can someone please >> enlighten me? >> >> Gratefully, >> >> Douglas. >> >> >> _______________________________________________ >> 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 Thu Jul 16 04:48:48 2015 From: carl at personnelware.com (Carl Karsten) Date: Wed, 15 Jul 2015 21:48:48 -0500 Subject: [Chicago] Printing out the Cartesian product. In-Reply-To: References: Message-ID: Your example looks to me similar to counting to 4^4 in base 4, only shift the digits by 1. in base 10, we use the following 10 symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 in base 4, we use the following 4 symbols: 0, 1, 2, 3 base 2 0,1 going back to base 4, but shifted... 1, 2, 3, 4 def lcBaseX( val, alphabet ): size = len( alphabet ) ret = '' for i in range(size): dig = val % size val = int( val/size ) dig = alphabet[dig] ret = dig + ret return ret # hard coded for 3 so it is a little more obvious for i in range(3**3): print i, lcBaseX(i,["0", "1", "2"]), lcBaseX(i, ["1", "2", "3"]) x=4 for i in range(x**x): print i, print lcBaseX(i,[str(a) for a in range(x)]), print lcBaseX(i,[str(a) for a in range(1,x+1)]) x can be anything. over 10 and you will want to add some spaces between the digits. ret = dig + " " + ret On Wed, Jul 15, 2015 at 5:15 PM, Lewit, Douglas wrote: > Hi everyone, > > I need some advice on how to do something. Let's say that I want to print > out the Cartesian product of the integers 1 to 4. It would look something > like this: > > 1, 1, 1, 1 > 1, 1, 1, 2 > 1, 1, 1, 3 > 1, 1, 1, 4 > 1, 1, 2, 1 > 1, 1, 2, 2 > 1, 1, 2, 3 > 1, 1, 2, 4 > 1, 1, 3, 1 > 1, 1, 3, 2 > 1, 1, 3, 3, etc, etc until finally we have > .............. > 4, 4, 4, 3 > 4, 4, 4, 4 > > This is NOT a permutation because repetition is allowed. Nor is it a > combination because for example 1, 1, 1, 2 is distinct from 2, 1, 1, 1. I > believe this is technically called a Cartesian product. > > I know of two ways to do this: > > Method #1: > > *for a in range(1, 5):* > * for b in range(1, 5):* > * for c in range(1, 5):* > * for d in range(1, 5):* > * print( a, end = ", " )* > * print( b, end = ", " )* > * print( c, end = ", " )* > * print( d, end = "\n" )* > > > The above works just fine! But there's a problem. What if let's say I > want the Cartesian product of all the integers from 1 to 10? That means > working with 10 nested for-loops! That's insane! It's tedious to write > and probably even worse for the person who is reading it. So this method > is limited to smaller examples. > > Method #2: > > Cheat by using Python's itertools package! (Or is it a library? What's > the difference between a package and a library?) > > import itertools > > carProduct = itertools.product([1, 2, 3, 4], repeat = 4) > > *try:* > * while True:* > * print( next(carProduct) )* > *except StopIteration:* > * pass* > > This method is short and sweet! It works great! But it's really cheating > in the sense that the programmer is taking advantage of code that has > already been written. (I have nothing against doing that! But in a CS > class if I write down that answer on an exam do you think the professor is > going to give me any credit? Probably not!!! LOL! ) > > Is there some other way? I'm guessing that I would need a for-loop that > contains a recursive function. Or.... maybe a recursive function that > contains a for-loop? I really don't know. I've been struggling with this > for a couple days now and I can't think of a solution. Can someone please > enlighten me? > > Gratefully, > > Douglas. > > > _______________________________________________ > 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 shekay at pobox.com Thu Jul 16 16:07:10 2015 From: shekay at pobox.com (sheila miguez) Date: Thu, 16 Jul 2015 09:07:10 -0500 Subject: [Chicago] Fwd: [numfocus] ANN: "Effective Computation in Physics" Released, 50% Off until Friday July 17th In-Reply-To: References: Message-ID: Oops, I'm catching up on email and the end date is tomorrow. Anyway, I know Anthony and Katy and they are awesome. If you are interested in the topic, buy their book. ---------- Forwarded message ---------- From: Anthony Scopatz Date: Tue, Jul 14, 2015 at 8:59 PM Subject: [numfocus] ANN: "Effective Computation in Physics" Released, 50% Off until Friday July 17th To: "authors at physics.codes" Hello All! We are ecstatic to announce the release of the first edition of *Effective Computation in Physics - Field Guide to Research with Python* , published by O'Reilly Media. *You (or your students and colleagues) can even get a 50% discount if you grab it before July 17th using the code: WKPYDP *. This book was heavily inspired by Software Carpentry. Though it draws on many examples from the physical sciences, many of the topics and chapters are broadly applicable to all of scientific computing. We hope that you'll find it useful even if your domain is biological, chemical, or mathematical in nature! For more information, please check out: - The website: http://physics.codes/ - The summary post at Software Carpentry: http://software-carpentry.org/blog/2015/07/effective-physics-book.html - The lightning talk announcement at SciPy 2015: https://youtu.be/yCStple1-28?t=29m20s Don't hesitate to contact us via email at authors at physics.codes or on twitter @physics_codes with any questions or concerns that you have. Accompanying Jupyter Notebooks for all of the code in the book can be found on GitHub at https://github.com/physics-codes/examples released under the CC0 license. Please remember to review the book and give feedback online once you have finished reading it. We truly appreciate it, no matter what you say. Sorry if you received this announcement multiple times. We promise this will be the only time we ever send out such an announcement. We couldn't have done it without you! Katy Huff & Anthony Scopatz -- You received this message because you are subscribed to the Google Groups "NumFOCUS" group. To unsubscribe from this group and stop receiving emails from it, send an email to numfocus+unsubscribe at googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.mcmillan at gmail.com Thu Jul 16 19:55:46 2015 From: jeremy.mcmillan at gmail.com (Jeremy McMillan) Date: Thu, 16 Jul 2015 12:55:46 -0500 Subject: [Chicago] Printing out the Cartesian product. In-Reply-To: References: Message-ID: Doug: http://mathworld.wolfram.com/CartesianProduct.html <-- sets! The cartesian product of ("A","T","C","G") doesn't make sense. What you meant was the cartesian product of [{"A","T","C","G"}, {"A","T","C","G"}, {"A","T","C","G"}, {"A","T","C","G"}] which is exactly what the repeat=4 argument to itertools.product() means. Each of the four nucleotides' sets is distinct in each position of the list of sets. Since each set is identical, we are explicitly saying each of the nucleotides can be in any position of the lists in our product. What itertools.product() sees is more like this appears to human eyes: [{"A1","T1","C1","G1"}, {"A2","T2","C2","G2"}, {"A3","T3","C3","G3"}, {"A4","T4","C4","G4"}] I haven't looked (encapsulation!), but I would expect to see something very much like Carl wrote, implemented as a generator, in the source for itertools.product(). On Wed, Jul 15, 2015 at 9:48 PM, Carl Karsten wrote: > Your example looks to me similar to counting to 4^4 in base 4, only shift > the digits by 1. > > in base 10, we use the following 10 symbols: > 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 > > in base 4, we use the following 4 symbols: > 0, 1, 2, 3 > > base 2 > 0,1 > > going back to base 4, but shifted... > 1, 2, 3, 4 > > def lcBaseX( val, alphabet ): > size = len( alphabet ) > ret = '' > for i in range(size): > dig = val % size > val = int( val/size ) > dig = alphabet[dig] > ret = dig + ret > return ret > > # hard coded for 3 so it is a little more obvious > for i in range(3**3): > print i, lcBaseX(i,["0", "1", "2"]), lcBaseX(i, ["1", "2", "3"]) > > x=4 > for i in range(x**x): > print i, > print lcBaseX(i,[str(a) for a in range(x)]), > print lcBaseX(i,[str(a) for a in range(1,x+1)]) > > x can be anything. over 10 and you will want to add some spaces between > the digits. > ret = dig + " " + ret > > > > On Wed, Jul 15, 2015 at 5:15 PM, Lewit, Douglas wrote: > >> Hi everyone, >> >> I need some advice on how to do something. Let's say that I want to >> print out the Cartesian product of the integers 1 to 4. It would look >> something like this: >> >> 1, 1, 1, 1 >> 1, 1, 1, 2 >> 1, 1, 1, 3 >> 1, 1, 1, 4 >> 1, 1, 2, 1 >> 1, 1, 2, 2 >> 1, 1, 2, 3 >> 1, 1, 2, 4 >> 1, 1, 3, 1 >> 1, 1, 3, 2 >> 1, 1, 3, 3, etc, etc until finally we have >> .............. >> 4, 4, 4, 3 >> 4, 4, 4, 4 >> >> This is NOT a permutation because repetition is allowed. Nor is it a >> combination because for example 1, 1, 1, 2 is distinct from 2, 1, 1, 1. I >> believe this is technically called a Cartesian product. >> >> I know of two ways to do this: >> >> Method #1: >> >> *for a in range(1, 5):* >> * for b in range(1, 5):* >> * for c in range(1, 5):* >> * for d in range(1, 5):* >> * print( a, end = ", " )* >> * print( b, end = ", " )* >> * print( c, end = ", " )* >> * print( d, end = "\n" )* >> >> >> The above works just fine! But there's a problem. What if let's say I >> want the Cartesian product of all the integers from 1 to 10? That means >> working with 10 nested for-loops! That's insane! It's tedious to write >> and probably even worse for the person who is reading it. So this method >> is limited to smaller examples. >> >> Method #2: >> >> Cheat by using Python's itertools package! (Or is it a library? What's >> the difference between a package and a library?) >> >> import itertools >> >> carProduct = itertools.product([1, 2, 3, 4], repeat = 4) >> >> *try:* >> * while True:* >> * print( next(carProduct) )* >> *except StopIteration:* >> * pass* >> >> This method is short and sweet! It works great! But it's really >> cheating in the sense that the programmer is taking advantage of code that >> has already been written. (I have nothing against doing that! But in a CS >> class if I write down that answer on an exam do you think the professor is >> going to give me any credit? Probably not!!! LOL! ) >> >> Is there some other way? I'm guessing that I would need a for-loop that >> contains a recursive function. Or.... maybe a recursive function that >> contains a for-loop? I really don't know. I've been struggling with this >> for a couple days now and I can't think of a solution. Can someone please >> enlighten me? >> >> Gratefully, >> >> Douglas. >> >> >> _______________________________________________ >> 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 len_wanger at hotmail.com Thu Jul 16 18:17:13 2015 From: len_wanger at hotmail.com (Len Wanger) Date: Thu, 16 Jul 2015 11:17:13 -0500 Subject: [Chicago] Printing out the Cartesian product. In-Reply-To: References: Message-ID: Douglas, There are a lot of ways to do this, but since it's your homework I'll give you hints but not the code. One easy way to look at this is like implementing addition (with carrying digits) or an odometer. Create a vector/list of N digits, then loop over that list adding 1 each iteration by adding 1 to the least significant digit. If the digit set exceeds the high range for the digit (exceeds 4 in your example), then setting it to the low digit (in your example 1) and carry it the next least significant digit (i.e. add 1 to the next digit to the left). When you get to the maximum value (i.e. in your example 4 in each digit) stop. A couple of notes: 1) I would avoid recursion here. This is an example of simple tail recursion, and can easily be unrolled into a loop. In a language with a good optimizer you could right this recursively and let the compiler take care of it, but in Python it is very inefficient. 2) This is a great place to use a generator. The list can get very large (e.g. 4 choices per digit and 10 digits is a list with 4**10 entries, which is > 1 million). A yield statement in the right place in the loop will make it a generator which would be much more efficient. 3) The previous posting that this is like a conversion to a different number base is not quite right. If you had 0 for a digit value that would be a nice way to look at it (then you could loop to base**num_digits and do a conversion to that base for each value). Since your example used digits "1" to "4" that's not quite right. Good luck, Len > Date: Wed, 15 Jul 2015 17:15:23 -0500 > From: "Lewit, Douglas" > To: The Chicago Python Users Group > Subject: [Chicago] Printing out the Cartesian product. > > Hi everyone, > > I need some advice on how to do something. Let's say that I want to print > out the Cartesian product of the integers 1 to 4. It would look something > like this: > > 1, 1, 1, 1 > 1, 1, 1, 2 > 1, 1, 1, 3 > 1, 1, 1, 4 > 1, 1, 2, 1 > 1, 1, 2, 2 > 1, 1, 2, 3 > 1, 1, 2, 4 > 1, 1, 3, 1 > 1, 1, 3, 2 > 1, 1, 3, 3, etc, etc until finally we have > .............. > 4, 4, 4, 3 > 4, 4, 4, 4 > > This is NOT a permutation because repetition is allowed. Nor is it a > combination because for example 1, 1, 1, 2 is distinct from 2, 1, 1, 1. I > believe this is technically called a Cartesian product. > > I know of two ways to do this: > > Method #1: > > *for a in range(1, 5):* > * for b in range(1, 5):* > * for c in range(1, 5):* > * for d in range(1, 5):* > * print( a, end = ", " )* > * print( b, end = ", " )* > * print( c, end = ", " )* > * print( d, end = "\n" )* > > > The above works just fine! But there's a problem. What if let's say I > want the Cartesian product of all the integers from 1 to 10? That means > working with 10 nested for-loops! That's insane! It's tedious to write > and probably even worse for the person who is reading it. So this method > is limited to smaller examples. > > Method #2: > > Cheat by using Python's itertools package! (Or is it a library? What's > the difference between a package and a library?) > > import itertools > > carProduct = itertools.product([1, 2, 3, 4], repeat = 4) > > *try:* > * while True:* > * print( next(carProduct) )* > *except StopIteration:* > * pass* > > This method is short and sweet! It works great! But it's really cheating > in the sense that the programmer is taking advantage of code that has > already been written. (I have nothing against doing that! But in a CS > class if I write down that answer on an exam do you think the professor is > going to give me any credit? Probably not!!! LOL! ) > > Is there some other way? I'm guessing that I would need a for-loop that > contains a recursive function. Or.... maybe a recursive function that > contains a for-loop? I really don't know. I've been struggling with this > for a couple days now and I can't think of a solution. Can someone please > enlighten me? > > Gratefully, > > Douglas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Fri Jul 17 05:35:49 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Thu, 16 Jul 2015 22:35:49 -0500 Subject: [Chicago] Printing out the Cartesian product. In-Reply-To: References: Message-ID: Hey thanks for the great feedback guys. It has been a really crazy busy day and I haven't had a chance to carefully go over all the replies. Len, your comparison to the BigInt algorithm is interesting. I wrote that program last semester in Data Structures. You know, you've got two arrays that represent giant int values greater than 2**31 - 1, and then you use a carry variable whose initial value is 0 and then can take on values of 0 or 1 depending on the two integers being added. I can see the resemblance to what I'm trying to do here, although the problem is a tad bit different. I'll think about it! On a totally different subject, I've been messing around with Ocaml lately. Found some great YouTube tutorial videos about Ocaml and bought a couple books on it. Very interesting. Is there any connection between Python and Ocaml? Just wondering. Thanks guys! Your feedback is a huge help to me in my studies. Not sure if I'll ever be a big league developer/programmer, but I've learned a lot from your posts and replies. Thank you so much. Have a great weekend even if it's like monsoon season here in Chicago. Yuck, I hate all this rain! Doug. On Thu, Jul 16, 2015 at 11:17 AM, Len Wanger wrote: > Douglas, > > There are a lot of ways to do this, but since it's your homework I'll give > you hints but not the code. One easy way to look at this is like > implementing addition (with carrying digits) or an odometer. Create a > vector/list of N digits, then loop over that list adding 1 each iteration > by adding 1 to the least significant digit. If the digit set exceeds the > high range for the digit (exceeds 4 in your example), then setting it to > the low digit (in your example 1) and carry it the next least significant > digit (i.e. add 1 to the next digit to the left). When you get to the > maximum value (i.e. in your example 4 in each digit) stop. > > A couple of notes: > > 1) I would avoid recursion here. This is an example of simple tail > recursion, and can easily be unrolled into a loop. In a language with a > good optimizer you could right this recursively and let the compiler take > care of it, but in Python it is very inefficient. > > 2) This is a great place to use a generator. The list can get very large > (e.g. 4 choices per digit and 10 digits is a list with 4**10 entries, which > is > 1 million). A yield statement in the right place in the loop will make > it a generator which would be much more efficient. > > 3) The previous posting that this is like a conversion to a different > number base is not quite right. If you had 0 for a digit value that would > be a nice way to look at it (then you could loop to base**num_digits and do > a conversion to that base for each value). Since your example used digits > "1" to "4" that's not quite right. > > Good luck, > > Len > > > Date: Wed, 15 Jul 2015 17:15:23 -0500 > > From: "Lewit, Douglas" > > To: The Chicago Python Users Group > > Subject: [Chicago] Printing out the Cartesian product. > > > > Hi everyone, > > > > I need some advice on how to do something. Let's say that I want to print > > out the Cartesian product of the integers 1 to 4. It would look something > > like this: > > > > 1, 1, 1, 1 > > 1, 1, 1, 2 > > 1, 1, 1, 3 > > 1, 1, 1, 4 > > 1, 1, 2, 1 > > 1, 1, 2, 2 > > 1, 1, 2, 3 > > 1, 1, 2, 4 > > 1, 1, 3, 1 > > 1, 1, 3, 2 > > 1, 1, 3, 3, etc, etc until finally we have > > .............. > > 4, 4, 4, 3 > > 4, 4, 4, 4 > > > > This is NOT a permutation because repetition is allowed. Nor is it a > > combination because for example 1, 1, 1, 2 is distinct from 2, 1, 1, 1. I > > believe this is technically called a Cartesian product. > > > > I know of two ways to do this: > > > > Method #1: > > > > *for a in range(1, 5):* > > * for b in range(1, 5):* > > * for c in range(1, 5):* > > * for d in range(1, 5):* > > * print( a, end = ", " )* > > * print( b, end = ", " )* > > * print( c, end = ", " )* > > * print( d, end = "\n" )* > > > > > > The above works just fine! But there's a problem. What if let's say I > > want the Cartesian product of all the integers from 1 to 10? That means > > working with 10 nested for-loops! That's insane! It's tedious to write > > and probably even worse for the person who is reading it. So this method > > is limited to smaller examples. > > > > Method #2: > > > > Cheat by using Python's itertools package! (Or is it a library? What's > > the difference between a package and a library?) > > > > import itertools > > > > carProduct = itertools.product([1, 2, 3, 4], repeat = 4) > > > > *try:* > > * while True:* > > * print( next(carProduct) )* > > *except StopIteration:* > > * pass* > > > > This method is short and sweet! It works great! But it's really cheating > > in the sense that the programmer is taking advantage of code that has > > already been written. (I have nothing against doing that! But in a CS > > class if I write down that answer on an exam do you think the professor > is > > going to give me any credit? Probably not!!! LOL! ) > > > > Is there some other way? I'm guessing that I would need a for-loop that > > contains a recursive function. Or.... maybe a recursive function that > > contains a for-loop? I really don't know. I've been struggling with this > > for a couple days now and I can't think of a solution. Can someone please > > enlighten me? > > > > Gratefully, > > > > Douglas. > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Fri Jul 17 07:30:08 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Fri, 17 Jul 2015 00:30:08 -0500 Subject: [Chicago] Cartesian 1111 to 4444.....to nnnn (general case) Message-ID: I think this works! Yay!!! Although I would like to make it more general for any integer n besides 4. Do I really need int1, int2, int3, int4? I think all I need is the initial vector = [1, 1, 1, 1, ......, 0]. Gotta go! Oh yeah, code here is in Python 3. Not sure how well it will run in Python 2. I don't know when Python 4 is coming out, but if it's not backward compatible with Python 3 I have a feeling A LOT of folks in the Python community are going to be very, very upset! Best, Doug. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Cartesian4.py Type: text/x-python-script Size: 1002 bytes Desc: not available URL: From carl at personnelware.com Fri Jul 17 14:37:59 2015 From: carl at personnelware.com (Carl Karsten) Date: Fri, 17 Jul 2015 07:37:59 -0500 Subject: [Chicago] Cartesian 1111 to 4444.....to nnnn (general case) In-Reply-To: References: Message-ID: def __init__(self, int1 = 1, int2 = 1, int3 = 1, int4 = 0): self.int1 = int1 self.int2 = int2 self.int3 = int3 self.int4 = int4 1,2,3,4 hard coded is generally a red flag that you should be using a list. I didn't look at what the code is doing, but you should be able to replace all the int1 with i[1] (don't use int[1], int is a reserved word) Step 2: Once you have that working, you should be able to replace all the 1,2,3,4's with for n in range(1,5): i[n] On Fri, Jul 17, 2015 at 12:30 AM, Lewit, Douglas wrote: > I think this works! Yay!!! Although I would like to make it more general > for any integer n besides 4. Do I really need int1, int2, int3, int4? I > think all I need is the initial vector = [1, 1, 1, 1, ......, 0]. > > Gotta go! Oh yeah, code here is in Python 3. Not sure how well it will > run in Python 2. I don't know when Python 4 is coming out, but if it's not > backward compatible with Python 3 I have a feeling A LOT of folks in the > Python community are going to be very, very upset! > > Best, > > Doug. > > _______________________________________________ > 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 tottinge at gmail.com Fri Jul 17 20:49:57 2015 From: tottinge at gmail.com (Tim Ottinger) Date: Fri, 17 Jul 2015 18:49:57 +0000 Subject: [Chicago] Cartesian 1111 to 4444.....to nnnn (general case) In-Reply-To: References: Message-ID: did you use this: number_of_lists = 4 numbers = range(10) print list( itertools.product(*[numbers]*number_of_lists)) Yields a list from 1,1,1,1 to 9,9,9,9 given that all lists are identical in content. number of lists and length of list are variable. Inner ranges could be iterators too, to avoid having memory chewed up by Note, the above example lets memory be consumed by list() and range(). On Fri, Jul 17, 2015 at 7:38 AM Carl Karsten wrote: > def __init__(self, int1 = 1, int2 = 1, int3 = 1, int4 = 0): > self.int1 = int1 > self.int2 = int2 > self.int3 = int3 > self.int4 = int4 > > 1,2,3,4 hard coded is generally a red flag that you should be using a list. > > I didn't look at what the code is doing, but you should be able to replace > all the int1 with i[1] > (don't use int[1], int is a reserved word) > > Step 2: Once you have that working, you should be able to replace all the > 1,2,3,4's with for n in range(1,5): i[n] > > > > On Fri, Jul 17, 2015 at 12:30 AM, Lewit, Douglas wrote: > >> I think this works! Yay!!! Although I would like to make it more >> general for any integer n besides 4. Do I really need int1, int2, int3, >> int4? I think all I need is the initial vector = [1, 1, 1, 1, ......, 0]. >> >> Gotta go! Oh yeah, code here is in Python 3. Not sure how well it will >> run in Python 2. I don't know when Python 4 is coming out, but if it's not >> backward compatible with Python 3 I have a feeling A LOT of folks in the >> Python community are going to be very, very upset! >> >> Best, >> >> Doug. >> >> _______________________________________________ >> 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 d-lewit at neiu.edu Fri Jul 17 21:54:27 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Fri, 17 Jul 2015 14:54:27 -0500 Subject: [Chicago] Cartesian 1111 to 4444.....to nnnn (general case) In-Reply-To: References: Message-ID: Hey Tim, I like your solution! But I'm trying to handle as much of the code myself without relying on builtin tools. The builtin tools are awesome, but I know how my professor thinks. If there's a harder way to solve a problem, that's the way he wants me to do it. I modified my original code and this is what I have. Although my program will accept any positive integer between 1 and 10 inclusive, unless you have a lot of free time on your hands I would not recommend entering an integer greater than 7 or 8. Best, Doug. P.S. The itertools package is the best! I used it a lot last semester when I took Computational Biology and we had to generate gigantic lists of various combinations, permutations and products of the nucleotide bases (A, T, C, G for DNA and A, U, C, G for RNA.) Curiously enough, if you visit Amazon.com and search for books on BioInformatics you will end up with a very long list of books that use Perl rather than Python. Why is that? On Fri, Jul 17, 2015 at 1:49 PM, Tim Ottinger wrote: > did you use this: > > number_of_lists = 4 > numbers = range(10) > print list( itertools.product(*[numbers]*number_of_lists)) > > > Yields a list from 1,1,1,1 to 9,9,9,9 given that all lists are identical > in content. > number of lists and length of list are variable. > Inner ranges could be iterators too, to avoid having memory chewed up by > Note, the above example lets memory be consumed by list() and range(). > > > > On Fri, Jul 17, 2015 at 7:38 AM Carl Karsten > wrote: > >> def __init__(self, int1 = 1, int2 = 1, int3 = 1, int4 = 0): >> self.int1 = int1 >> self.int2 = int2 >> self.int3 = int3 >> self.int4 = int4 >> >> 1,2,3,4 hard coded is generally a red flag that you should be using a >> list. >> >> I didn't look at what the code is doing, but you should be able to >> replace all the int1 with i[1] >> (don't use int[1], int is a reserved word) >> >> Step 2: Once you have that working, you should be able to replace all the >> 1,2,3,4's with for n in range(1,5): i[n] >> >> >> >> On Fri, Jul 17, 2015 at 12:30 AM, Lewit, Douglas >> wrote: >> >>> I think this works! Yay!!! Although I would like to make it more >>> general for any integer n besides 4. Do I really need int1, int2, int3, >>> int4? I think all I need is the initial vector = [1, 1, 1, 1, ......, 0]. >>> >>> Gotta go! Oh yeah, code here is in Python 3. Not sure how well it will >>> run in Python 2. I don't know when Python 4 is coming out, but if it's not >>> backward compatible with Python 3 I have a feeling A LOT of folks in the >>> Python community are going to be very, very upset! >>> >>> Best, >>> >>> Doug. >>> >>> _______________________________________________ >>> 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 >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: CartesianN.py Type: text/x-python-script Size: 1299 bytes Desc: not available URL: From tottinge at gmail.com Fri Jul 17 23:09:01 2015 From: tottinge at gmail.com (Tim Ottinger) Date: Fri, 17 Jul 2015 21:09:01 +0000 Subject: [Chicago] Cartesian 1111 to 4444.....to nnnn (general case) In-Reply-To: References: Message-ID: Sorry, I skimmed the thread and didn't realize it was a school assignment. On Fri, Jul 17, 2015 at 2:55 PM Lewit, Douglas wrote: > Hey Tim, > > I like your solution! But I'm trying to handle as much of the code myself > without relying on builtin tools. The builtin tools are awesome, but I > know how my professor thinks. If there's a harder way to solve a problem, > that's the way he wants me to do it. > > I modified my original code and this is what I have. Although my program > will accept any positive integer between 1 and 10 inclusive, unless you > have a lot of free time on your hands I would not recommend entering an > integer greater than 7 or 8. > > Best, > > Doug. > > P.S. The itertools package is the best! I used it a lot last semester > when I took Computational Biology and we had to generate gigantic lists of > various combinations, permutations and products of the nucleotide bases (A, > T, C, G for DNA and A, U, C, G for RNA.) Curiously enough, if you visit > Amazon.com and search for books on BioInformatics you will end up with a > very long list of books that use Perl rather than Python. Why is that? > > > > On Fri, Jul 17, 2015 at 1:49 PM, Tim Ottinger wrote: > >> did you use this: >> >> number_of_lists = 4 >> numbers = range(10) >> print list( itertools.product(*[numbers]*number_of_lists)) >> >> >> Yields a list from 1,1,1,1 to 9,9,9,9 given that all lists are identical >> in content. >> number of lists and length of list are variable. >> Inner ranges could be iterators too, to avoid having memory chewed up by >> Note, the above example lets memory be consumed by list() and range(). >> >> >> >> On Fri, Jul 17, 2015 at 7:38 AM Carl Karsten >> wrote: >> >>> def __init__(self, int1 = 1, int2 = 1, int3 = 1, int4 = 0): >>> self.int1 = int1 >>> self.int2 = int2 >>> self.int3 = int3 >>> self.int4 = int4 >>> >>> 1,2,3,4 hard coded is generally a red flag that you should be using a >>> list. >>> >>> I didn't look at what the code is doing, but you should be able to >>> replace all the int1 with i[1] >>> (don't use int[1], int is a reserved word) >>> >>> Step 2: Once you have that working, you should be able to replace all >>> the 1,2,3,4's with for n in range(1,5): i[n] >>> >>> >>> >>> On Fri, Jul 17, 2015 at 12:30 AM, Lewit, Douglas >>> wrote: >>> >>>> I think this works! Yay!!! Although I would like to make it more >>>> general for any integer n besides 4. Do I really need int1, int2, int3, >>>> int4? I think all I need is the initial vector = [1, 1, 1, 1, ......, 0]. >>>> >>>> Gotta go! Oh yeah, code here is in Python 3. Not sure how well it >>>> will run in Python 2. I don't know when Python 4 is coming out, but if >>>> it's not backward compatible with Python 3 I have a feeling A LOT of folks >>>> in the Python community are going to be very, very upset! >>>> >>>> Best, >>>> >>>> Doug. >>>> >>>> _______________________________________________ >>>> 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 >>> >> >> _______________________________________________ >> 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 proba at allstate.com Fri Jul 17 23:59:54 2015 From: proba at allstate.com (Robare, Phillip (Randstant)) Date: Fri, 17 Jul 2015 21:59:54 +0000 Subject: [Chicago] Cartesian 1111 to 4444.....to nnnn (general case) Message-ID: <50869A74BA4F07468AD797C9BFF1FE3E07EAEF67@A0185-XPO1026-C.ad.allstate.com> >> If there's a harder way to solve a problem, that's the way he wants me to do it. In that case, revise your code again. What you have is getting better but can be still more general and easy to modify. Each of columns of your output can represented as elements of a new class. Let's call the class a Column since it will end up being written out as a column in the output. This class has the list of values being iterated over, a current value, and an instance of the Column class that is to the right (None on the rightmost column). This class has a generator that increments the current value, checks to see if it has gone off the end, and if not yields. If it has gone past the end it sets the current value to the first position and calls the next() method of the generator in the class to the right (if the reference is not None). There are some other nuances to the generator but I want you to discover them instead of having them laid out for you. Now your vector in the class CartesianProductN becomes a vector of four of these classes (or N of them) and addOne() just calls the next() method of the lowest order Column generator. print() becomes querying the current value of each column class in the vector. Now you can generalize not just the number of columns in the vector but also the number and type of elements that are being iterated over. Also, if you are going to write in Python, start writing unit tests. Look at the unittest module in the python documentation. Thinking about how to write code so that it is testable is a good way to guide yourself to writing code that is well structured as well. I would also encourage you to pursue learning OCaml. It will help your thinking about programming to learn a language that is so strict about types that it can compile to very fast code. (It will also make you appreciate Python.) Here is a good blog post about how to go about learning it: http://blog.nullspace.io/beginners-guide-to-ocaml-beginners-guides.html One of the learning resources for OCaml is the 99 problems page http://ocaml.org/learn/tutorials/99problems.html. I would encourage you to also try these problems in Python also to get a feel for how you can express the same algorithm in different languages. Phil Robare -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe.jasinski at gmail.com Sun Jul 19 19:44:22 2015 From: joe.jasinski at gmail.com (Joe Jasinski) Date: Sun, 19 Jul 2015 12:44:22 -0500 Subject: [Chicago] ChiPy Call for August 13th Meeting Speakers Message-ID: Hi all, ChiPy is looking for speakers for the Thursday, August 13th meeting. If you have something Python-related that you'd like to speak about, we'd be happy to hear from you. You can reply to this email or email me at directly joe.jasinski at gmail.com. At some point, we'll also need to you to fill out the talk proposal from below, so we can post the meeting information on our website. http://www.chipy.org/meetings/topics/propose Hope to hear from you soon! Joe -- Joe J. Jasinski ChiPy Co-Organizer -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Sun Jul 19 23:16:14 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sun, 19 Jul 2015 16:16:14 -0500 Subject: [Chicago] In case anyone is interested..... Message-ID: Hi fellow Python enthusiasts, Last time I asked for some help with Cartesian products in Python. I also did the same thing in Java. But with my Java program I went one step further. I included a hasRepeats( ) boolean function to help extract the permutations from my list of Cartesian products. "Speaking" more than one computer language has actually helped me tremendously. I really learn stuff when I translate Java code to Python code, or translate Python code to Java code. I know that some strict theoretical people in this field believe that algorithms should be language independent, but I'm not really convinced of that. I personally believe based upon my own experiences in programming that the language you use the most often is going to influence how you think about all these various algorithms. I have dabbled in Fortran, C++, Ocaml, Matlab, have used Maple and Mathematica very extensively, and have also done a lot of programming work in Java and Python. I definitely do not believe that all languages are the same. (It's like universalists who believe that all religions are the same. Uh.... NOT TRUE!!!) Best, Douglas. P.S. Extracting the permutations from the products was easy, but now I want to extract the combinations from the permutations. I think in Python that would be pretty easy because of the keyword *in *to test for membership in a list. In Java that could be more of a challenge. I'll worry about it after my summer final exams are over! :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: CartesianProductN.java Type: application/octet-stream Size: 1291 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: CartesianProductNTester.java Type: application/octet-stream Size: 1992 bytes Desc: not available URL: From jjhelmus at gmail.com Mon Jul 20 21:18:39 2015 From: jjhelmus at gmail.com (Jonathan Helmus) Date: Mon, 20 Jul 2015 14:18:39 -0500 Subject: [Chicago] ChiPy Call for August 13th Meeting Speakers In-Reply-To: References: Message-ID: <55AD498F.8010807@gmail.com> On 07/19/2015 12:44 PM, Joe Jasinski wrote: > Hi all, > > ChiPy is looking for speakers for the Thursday, August 13th meeting. > If you have something Python-related that you'd like to speak about, > we'd be happy to hear from you. You can reply to this email or email > me at directly joe.jasinski at gmail.com . > > At some point, we'll also need to you to fill out the talk proposal > from below, so we can post the meeting information on our website. > > http://www.chipy.org/meetings/topics/propose > > Hope to hear from you soon! > Joe > > > -- > Joe J. Jasinski > ChiPy Co-Organizer > Has there been a talk on conda (http://conda.pydata.org/docs/), an open source package management system, at ChiPy? If not is there interested in such a talk? I'd be happy to give one at the August meeting if there is interest. Cheers, - Jonathan Helmus -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Mon Jul 20 21:34:25 2015 From: wirth.jason at gmail.com (Jason Wirth) Date: Mon, 20 Jul 2015 19:34:25 +0000 Subject: [Chicago] ChiPy Call for August 13th Meeting Speakers In-Reply-To: <55AD498F.8010807@gmail.com> References: <55AD498F.8010807@gmail.com> Message-ID: +1 Keep calm and Conda Install! Submit at http://www.chipy.org/meetings/topics/propose On Mon, Jul 20, 2015 at 2:26 PM Jonathan Helmus wrote: > On 07/19/2015 12:44 PM, Joe Jasinski wrote: > > Hi all, > > ChiPy is looking for speakers for the Thursday, August 13th meeting. If > you have something Python-related that you'd like to speak about, we'd be > happy to hear from you. You can reply to this email or email me at > directly joe.jasinski at gmail.com. > > At some point, we'll also need to you to fill out the talk proposal from > below, so we can post the meeting information on our website. > > http://www.chipy.org/meetings/topics/propose > > Hope to hear from you soon! > Joe > > > -- > Joe J. Jasinski > ChiPy Co-Organizer > > Has there been a talk on conda (http://conda.pydata.org/docs/), an open > source package management system, at ChiPy? If not is there interested in > such a talk? I'd be happy to give one at the August meeting if there is > interest. > > Cheers, > > - Jonathan Helmus > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe.jasinski at gmail.com Mon Jul 20 22:31:18 2015 From: joe.jasinski at gmail.com (Joe Jasinski) Date: Mon, 20 Jul 2015 15:31:18 -0500 Subject: [Chicago] ChiPy Call for August 13th Meeting Speakers In-Reply-To: <55AD498F.8010807@gmail.com> References: <55AD498F.8010807@gmail.com> Message-ID: Sounds like a great topic! On Mon, Jul 20, 2015 at 2:18 PM, Jonathan Helmus wrote: > On 07/19/2015 12:44 PM, Joe Jasinski wrote: > > Hi all, > > ChiPy is looking for speakers for the Thursday, August 13th meeting. If > you have something Python-related that you'd like to speak about, we'd be > happy to hear from you. You can reply to this email or email me at > directly joe.jasinski at gmail.com. > > At some point, we'll also need to you to fill out the talk proposal from > below, so we can post the meeting information on our website. > > http://www.chipy.org/meetings/topics/propose > > Hope to hear from you soon! > Joe > > > -- > Joe J. Jasinski > ChiPy Co-Organizer > > Has there been a talk on conda (http://conda.pydata.org/docs/), an open > source package management system, at ChiPy? If not is there interested in > such a talk? I'd be happy to give one at the August meeting if there is > interest. > > Cheers, > > - Jonathan Helmus > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Joe J. Jasinski www.joejasinski.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From osiddique at gmail.com Tue Jul 28 07:14:32 2015 From: osiddique at gmail.com (Osman Siddique) Date: Tue, 28 Jul 2015 00:14:32 -0500 Subject: [Chicago] gevent question Message-ID: hi best users group ever, any help would be greatly appreciated. i'm trying to write something that sends out a bunch of messages at once. i have one solution that works, but i feel like it's slow b/c it takes ~4 seconds to send 3000 http post requests on my 2012 my macbook air. admittedly, i'm new to the exciting world of http so maybe this is normal. here's the solution that doesn't work. import requests, json, multiprocessing, gevent from gevent import monkey monkey.patch_socket() def send(s, data): s.post("http://127.0.0.1:8080", data) print data def worker(id): s = requests.session() for i in range(1, 1000): data = json.dumps({'a':True,'b':123.0,'c':i,'d':id}) gevent.spawn(send, s, data) data = json.dumps({'a':True,'b':123.0,'d':id}) send(s, data) if __name__ == '__main__': p = multiprocessing.Pool(5) p.map(worker, [1, 2, 3]) my server running on the other side only seems to see a few of the first requests from the for loop. after that, the next thing it sees are the requests outside of the loop. basically wondering why i don't see that 'print data' command in the send func being executed. thanks, osman -------------- next part -------------- An HTML attachment was scrubbed... URL: From dgriff1 at gmail.com Tue Jul 28 16:00:42 2015 From: dgriff1 at gmail.com (Daniel Griffin) Date: Tue, 28 Jul 2015 08:00:42 -0600 Subject: [Chicago] gevent question In-Reply-To: References: Message-ID: First thing you should do is take out the multiprocessing and see what your single threaded performance looks like. On Mon, Jul 27, 2015 at 11:14 PM, Osman Siddique wrote: > hi best users group ever, > > any help would be greatly appreciated. i'm trying to write something that > sends out a bunch of messages at once. i have one solution that works, but > i feel like it's slow b/c it takes ~4 seconds to send 3000 http post > requests on my 2012 my macbook air. admittedly, i'm new to the exciting > world of http so maybe this is normal. > > here's the solution that doesn't work. > > import requests, json, multiprocessing, gevent > from gevent import monkey > > monkey.patch_socket() > > def send(s, data): > s.post("http://127.0.0.1:8080", data) > print data > > def worker(id): > s = requests.session() > for i in range(1, 1000): > data = json.dumps({'a':True,'b':123.0,'c':i,'d':id}) > gevent.spawn(send, s, data) > data = json.dumps({'a':True,'b':123.0,'d':id}) > send(s, data) > > if __name__ == '__main__': > p = multiprocessing.Pool(5) > p.map(worker, [1, 2, 3]) > > my server running on the other side only seems to see a few of the first > requests from the for loop. after that, the next thing it sees are the > requests outside of the loop. basically wondering why i don't see that > 'print data' command in the send func being executed. > > thanks, > osman > > _______________________________________________ > 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 gmail.com Tue Jul 28 18:22:47 2015 From: shekay at gmail.com (sheila miguez) Date: Tue, 28 Jul 2015 11:22:47 -0500 Subject: [Chicago] Trip Report: Django Birthday Message-ID: At work we share trip reports when we go to conferences. I went to Django Birthday and my trip report is appended below after the -----. There were more talks than I described. I only picked a few to share descriptions about. People can see them all on pyvideo. Someone replied to my trip report and said that the DjangoGirls organizers, Ola and Ola, are working on a python book, . I brought up the celebration-style aspect of a DjangoGirls event in my trip report because I didn't realize how significant this can be. I may try that in the future if I have more classes. In the past I had afternoon snacks but nothing so celebratory. Contextualizing Django in the problem domain (journalism) and town history (there was an abolitionist press that was destroyed during the sacking of Lawrence) was interesting, so I mentioned that talk in my trip report even though it wasn't about python or the framework directly. The changlog greatest hits talk was interesting -- since I didn't start using django until >1.4 I don't have all the experience most people there had and I didn't go through all the growing pains. The accessibility talk was informative, and it is something I want everyone to think about when picking venues for user group meetings and events. Accessibility is a huge factor in why I host project nights at Braintree. I'm really happy that they host us. This talk mentions nursing rooms and quiet spaces, and I hadn't thought of that before -- so I will ask to see if there are quiet rooms available for project night. I think there are, but I haven't checked nor made arrangements to guide people to them. ---------- Forwarded message ---------- Django is 10 years old and the creators had a Django Birthday conference. The conference emphasis was on community building. Videos of the talks can be found here. http://pyvideo.org/category/71/django-birthday A few of the talks Django: The Conspiracy Andrew Godwin This talk was hilarious. I got a small spoiler for this because my spouse was handling the av and recording and they told him they needed a smoke machine. Development Milestones: 1.0 Onwards Marc Tamlyn Or, Changelogs: Greatest Hits. Marc went through the history of Django in hindsight, pointing out things that were good ideas versus bad ideas. This talk was a little boring at times due to being very list like, but I liked how he pointed out some things in hindsight that were mistakes or could have gone better. We got to consider django as it matured and you can also see the order in which they added things over the years (it tracks with the history of the web, no?). Some of The Bad: TEMPLATE_STRING_IF_INVALID, URL namespaces, New form wizard, hasty transactions implementation (or that comment may have been about CSRF) Some of The Good 1.4: Timezone support support, prefetch_related, project layout, wsgi.py 1.5: update_fields, Streaming http response, Python 3, little things: slugify, LOGIN_URL accepts patterns 1.6: "rewrote transaction management so that it actually made sense", persistent db connections, negative diff for the first time 1.7 migrations! 1.8 first version to be released on time, contrib.postgres 1.9 Permission Mixins (pulled in from django braces), more contrib.postgres He admitted he didn't have good hindsights on poor decisions for django >1.5. They have releases every 9 months (they've had ones > 9 months, earlier on). Maybe it takes a year or so for hindsight to build up when developing a framework. Documentation as Empathy Eric Holscher Tangent: Eric is the maintainer of readthedocs.org and runs Write The Docs every year. When I found out about that conference I told my spouse it was an awesome idea and that he must absolutely record it, hence < http://videos.writethedocs.org/> ever since. One of the reasons Eric fell in love with django was due to the extensive documentation. Documentation reduces friction. Projects with good documentation show that the people who work on it care about users and contributors. Good projects are ones with a documentation culture, and he encouraged us to prefer projects that have a documentation culture versus ones that do not. I agree! I have some criticisms of Django's documentation. It mixes up usage and tutorial information with API documentation. I find this style of documentation tricky for when I need to look something up quickly versus when I need to find examples or read a tutorial. Also, class based views, omg. Someone made this browser for a reference guide, because of how hard it sometimes get to dig through the documentation when you need a quick reference. Examples interleaved with reference docs seem like a good idea in theory, and the right ratio is not obvious to me. Another aside: I would like to have a frictionless way to deploy a readthedocs site, so if someone writes a mojo spec for it I will send you AWESOME CHOCOLATE TREATS. (be sure to either visit me or ask for them in winter). Snakes, Ponies and Balloons: Stories of Teaching Django to Thousands of Women Ola Sitarska I have heard how great the Django Girls tutorials are for teaching people django. Pydanny and audry have picked those materials as the best in show right now. In addition to having a good curriculum, the cute and party-ish aspects of an event help people feel happy and excited. She showed pictures of events with balloons, cupcakes, etc. Not only do attendees learn django, they also work in a relaxed and fun environment. Someone isn't going to learn everything in a day, but an event like this starts them off in a fun way. If you are going to plan an event, maybe read a blog post or watch some talks from Django Girls organizers, as well as look at practices people have follow when running OpenHatch events, . Shauna Gorden-Mckeon maintains an event handbook, < http://opensource-events.com/>, and is giving a keynote at SeaGL in October. . A More Accessible Django Girls Lacey Williams Henschel This talk discussed accessibility logistics for event planning. I added a link to slides, transcript, and an article by her to the video page < http://www.pyvideo.org/video/3662/a-more-accessible-django-girls> If you are going to run an event, this will give you guidelines on picking a good location and making it easy for everyone to get to and use. Picking a venue. * easy to get to via public transit * elevators * wide doors * restrooms for all genders on every floor * quiet rooms * service animals allowed Setup * good signs. informative, easy to read * wayfinding clues (could be signs, could be painters tape) * consider lighting and noise levels * have guidelines on use of scent Signup * Have questions so that people can specify food preferences, and indicate if they have any accessibility requests. I've searched around a lot to get advice like this, and Software Carpentry has a good checklist for their events: < http://software-carpentry.org/workshops/checklists/accessibility.html> As a reminder, sometimes a meeting has a sound system being used for the people present as well as for recording. If you are giving a presentation do not refuse to talk in to a mic or get wired up. Even if you can project your voice to the room to the room, use mics for the benefit of users who will hear a recording later and for the benefit of people in the audience who have trouble hearing. Likewise, don't forget to repeat questions during Q&A. If you can't tell, I get very irked when people aren't considerate about speaking in to microphones. Born in (the) #LFK David Ryan Django was developed by people working for the Lawrence Journal-World in Lawrence, Kansas, and this talk was about the history of Lawrence including the destruction of The Herald of Freedom presses during the sacking of Lawrence, I wasn't expecting a talk like this at a technical conference, but I enjoyed learning about the town where Django started. It was a nice place to visit as well. We stayed in a hotel that near three bookstores and had some nice food and coffee in walking distance. There should be more conferences in smaller towns. (one drawback -- 1 hour drive from airport and we had to rent a car). -- sheila -------------- next part -------------- An HTML attachment was scrubbed... URL: From szybalski at gmail.com Fri Jul 31 05:53:28 2015 From: szybalski at gmail.com (Lukasz Szybalski) Date: Thu, 30 Jul 2015 22:53:28 -0500 Subject: [Chicago] libapache2-mod-wsgi-py3 vs libapache2-mod-wsgi Message-ID: Hello, Just for a confirmation. Is it possible to have both libapache2-mod-wsgi-py3 and libapache2-mod-wsgi I have projects like trac,and few others on python2, I'm installing newly converted pyramid on python3. I wanted to to add to my apache setup, but it seems like I need libapache2-mod-wsgi-py3? If I proceed does it mean all other projects stop working? Thanks Lucas aptitude install libapache2-mod-wsgi-py3 The following NEW packages will be installed: libapache2-mod-wsgi-py3{b} 0 packages upgraded, 1 newly installed, 0 to remove and 30 not upgraded. Need to get 83.6 kB of archives. After unpacking 292 kB will be used. The following packages have unmet dependencies: libapache2-mod-wsgi-py3 : Conflicts: libapache2-mod-wsgi but 4.3.0-1 is installed. The following actions will resolve these dependencies: Remove the following packages: 1) libapache2-mod-wsgi -------------- next part -------------- An HTML attachment was scrubbed... URL: From zitterbewegung at gmail.com Fri Jul 31 05:54:44 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Thu, 30 Jul 2015 22:54:44 -0500 Subject: [Chicago] libapache2-mod-wsgi-py3 vs libapache2-mod-wsgi In-Reply-To: References: Message-ID: <1963E57C-A158-4E3A-BB82-A1F74354AA32@gmail.com> If you want to do this you should probably use virtualenv correct? > On Jul 30, 2015, at 10:53 PM, Lukasz Szybalski wrote: > > Hello, > Just for a confirmation. Is it possible to have both > libapache2-mod-wsgi-py3 > and > libapache2-mod-wsgi > > I have projects like trac,and few others on python2, > I'm installing newly converted pyramid on python3. > I wanted to to add to my apache setup, but it seems like I need libapache2-mod-wsgi-py3? If I proceed does it mean all other projects stop working? > > Thanks > Lucas > > > aptitude install libapache2-mod-wsgi-py3 > The following NEW packages will be installed: > libapache2-mod-wsgi-py3{b} > 0 packages upgraded, 1 newly installed, 0 to remove and 30 not upgraded. > Need to get 83.6 kB of archives. After unpacking 292 kB will be used. > The following packages have unmet dependencies: > libapache2-mod-wsgi-py3 : Conflicts: libapache2-mod-wsgi but 4.3.0-1 is installed. > The following actions will resolve these dependencies: > > Remove the following packages: > 1) libapache2-mod-wsgi > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago From szybalski at gmail.com Fri Jul 31 06:03:20 2015 From: szybalski at gmail.com (Lukasz Szybalski) Date: Thu, 30 Jul 2015 23:03:20 -0500 Subject: [Chicago] libapache2-mod-wsgi-py3 vs libapache2-mod-wsgi In-Reply-To: <1963E57C-A158-4E3A-BB82-A1F74354AA32@gmail.com> References: <1963E57C-A158-4E3A-BB82-A1F74354AA32@gmail.com> Message-ID: On Thu, Jul 30, 2015 at 10:54 PM, Joshua Herman wrote: > If you want to do this you should probably use virtualenv correct? > Correct, I am using virtualenv to store my packages. which is one of the directive for setting up the WSGIprocess.. that you pass python-path When running the project I get error in apache error log that: from urllib.parse import urlparse [Thu Jul 30 22:33:23.928511 2015] [wsgi:error] [pid 55740] [remote xxxxxx:512] ImportError: No module named parse after googleing some info...it seems as somehow modwsgi loads python2... this lead me to conclusion that you need modwsgi py3 installed on debian machine... the questions is: can you have both mod-wsgi and mod-wsgi-py3? Thanks Lucas > On Jul 30, 2015, at 10:53 PM, Lukasz Szybalski > wrote: > > > > Hello, > > Just for a confirmation. Is it possible to have both > > libapache2-mod-wsgi-py3 > > and > > libapache2-mod-wsgi > > > > I have projects like trac,and few others on python2, > > I'm installing newly converted pyramid on python3. > > I wanted to to add to my apache setup, but it seems like I need > libapache2-mod-wsgi-py3? If I proceed does it mean all other projects stop > working? > > > > Thanks > > Lucas > > > > > > aptitude install libapache2-mod-wsgi-py3 > > The following NEW packages will be installed: > > libapache2-mod-wsgi-py3{b} > > 0 packages upgraded, 1 newly installed, 0 to remove and 30 not upgraded. > > Need to get 83.6 kB of archives. After unpacking 292 kB will be used. > > The following packages have unmet dependencies: > > libapache2-mod-wsgi-py3 : Conflicts: libapache2-mod-wsgi but 4.3.0-1 is > installed. > > The following actions will resolve these dependencies: > > > > Remove the following packages: > > 1) libapache2-mod-wsgi > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zitterbewegung at gmail.com Fri Jul 31 06:10:05 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Thu, 30 Jul 2015 23:10:05 -0500 Subject: [Chicago] libapache2-mod-wsgi-py3 vs libapache2-mod-wsgi In-Reply-To: References: <1963E57C-A158-4E3A-BB82-A1F74354AA32@gmail.com> Message-ID: Dear Lucas, I think this manual may help. IRRC when I taught virtualenv to people at the PyLadies meetup modwsgi is a dependency of virtualenv so thats why what you are doing is tricky. I think virtualenv installs pip so i think you may have to manually specify the site packages. https://code.google.com/p/modwsgi/wiki/VirtualEnvironments Sincerely, Joshua Herman On Thu, Jul 30, 2015 at 11:03 PM, Lukasz Szybalski wrote: > > > On Thu, Jul 30, 2015 at 10:54 PM, Joshua Herman > wrote: > >> If you want to do this you should probably use virtualenv correct? >> > > Correct, I am using virtualenv to store my packages. which is one of the > directive for setting up the WSGIprocess.. that you pass python-path > > When running the project I get error in apache error log that: > > from urllib.parse import urlparse > [Thu Jul 30 22:33:23.928511 2015] [wsgi:error] [pid 55740] [remote > xxxxxx:512] ImportError: No module named parse > > after googleing some info...it seems as somehow modwsgi loads python2... > this lead me to conclusion that you need modwsgi py3 installed on debian > machine... > > the questions is: can you have both mod-wsgi and mod-wsgi-py3? > > Thanks > Lucas > > > On Jul 30, 2015, at 10:53 PM, Lukasz Szybalski >> wrote: >> > >> > Hello, >> > Just for a confirmation. Is it possible to have both >> > libapache2-mod-wsgi-py3 >> > and >> > libapache2-mod-wsgi >> > >> > I have projects like trac,and few others on python2, >> > I'm installing newly converted pyramid on python3. >> > I wanted to to add to my apache setup, but it seems like I need >> libapache2-mod-wsgi-py3? If I proceed does it mean all other projects stop >> working? >> > >> > Thanks >> > Lucas >> > >> > >> > aptitude install libapache2-mod-wsgi-py3 >> > The following NEW packages will be installed: >> > libapache2-mod-wsgi-py3{b} >> > 0 packages upgraded, 1 newly installed, 0 to remove and 30 not upgraded. >> > Need to get 83.6 kB of archives. After unpacking 292 kB will be used. >> > The following packages have unmet dependencies: >> > libapache2-mod-wsgi-py3 : Conflicts: libapache2-mod-wsgi but 4.3.0-1 >> is installed. >> > The following actions will resolve these dependencies: >> > >> > Remove the following packages: >> > 1) libapache2-mod-wsgi >> > >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zitterbewegung at gmail.com Fri Jul 31 05:54:44 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Thu, 30 Jul 2015 22:54:44 -0500 Subject: [Chicago] libapache2-mod-wsgi-py3 vs libapache2-mod-wsgi In-Reply-To: References: Message-ID: <1963E57C-A158-4E3A-BB82-A1F74354AA32@gmail.com> If you want to do this you should probably use virtualenv correct? > On Jul 30, 2015, at 10:53 PM, Lukasz Szybalski wrote: > > Hello, > Just for a confirmation. Is it possible to have both > libapache2-mod-wsgi-py3 > and > libapache2-mod-wsgi > > I have projects like trac,and few others on python2, > I'm installing newly converted pyramid on python3. > I wanted to to add to my apache setup, but it seems like I need libapache2-mod-wsgi-py3? If I proceed does it mean all other projects stop working? > > Thanks > Lucas > > > aptitude install libapache2-mod-wsgi-py3 > The following NEW packages will be installed: > libapache2-mod-wsgi-py3{b} > 0 packages upgraded, 1 newly installed, 0 to remove and 30 not upgraded. > Need to get 83.6 kB of archives. After unpacking 292 kB will be used. > The following packages have unmet dependencies: > libapache2-mod-wsgi-py3 : Conflicts: libapache2-mod-wsgi but 4.3.0-1 is installed. > The following actions will resolve these dependencies: > > Remove the following packages: > 1) libapache2-mod-wsgi > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago