From brian at imagescape.com Tue Sep 1 17:50:24 2015 From: brian at imagescape.com (Brian Moloney) Date: Tue, 1 Sep 2015 10:50:24 -0500 Subject: [Chicago] Chicago Djangonauts Meetup Thursday 6:30pm at Braintree Message-ID: Braintree has graciously offered to host this week's Djangonauts meetup at their Merchandise Mart location. In addition, they will be providing food and drink - which is awfully nice! Besides the typical energetic discussion of Django and related technologies, there are the following talks: ++++++++++++++++ 1. All the Gain with Little of the Pain: Why Most New Projects Should Implement a Custom User Model - Marlon Castillo Substituting a custom User model for Django's default User model can seem intimidating. I'll show you a simple 3 step method of implementing a custom User model for a new project that's actually quite easy to do and can provide tremendous benefits in flexibility and customization. 2. Mongoengine Basics - Joe Jasinski A walk through of MondoDB pymongo and mongoengine and how they can be used in a production environment. 3. Django-based Autocompl... - Jonathan Bisson ++++++++++++++++ Please RSVP. It is required to get into the door! Two options, Facebook or NotFacebook: Facebook https://www.facebook.com/events/833061880141879/ NotFacebook http://www.chicagodjango.com (RSVP using the Contact Form in the footer) Hope to see you there. Brian Moloney From wirth.jason at gmail.com Wed Sep 2 05:01:33 2015 From: wirth.jason at gmail.com (Jason Wirth) Date: Tue, 1 Sep 2015 22:01:33 -0500 Subject: [Chicago] Open spots for python devs on my team Message-ID: Hey Chipy, I work at Bank of America as a Quartz developer, the bank's platform for managing trades, risk etc. developed in Python. We currently have a couple spots open on my team for developers and we are actively searching to fill those roles soon so I thought I'd reach out to see if anyone in the community is interested. Why this is fun... It's hard to give an accurate view of Quartz in a couple lines but the platform is pretty unique. First, we work in the enterprise, so it's Python at scale and problems of scale. There's about 3,000 python developers spread across the world working on an open-source inspired code base with ~20MM lines of code -- viewable, searchable, editable to any developer on the platform. Second, as a large investment bank, we have access to all aspects of development from front-end, back-end, cloud computing, and distributed no-SQL object oriented database (think storing serialized Python, not serialized JSON/BSON), etc. You can Google around for some info on Quartz for more information (JPM has a similar system called Athena, and Goldman Sachs, too, called SECDB/SLANG). This is also a good video to watch. https://www.youtube.com/watch?v=lTOP_shhVBQ We are looking to hire VERY soon, so please reach out and send a resume to me or my manager, Tara, or ask any questions. wirth.jason at gmail.com -or- jason.wirth at baml.com tara.jalal at baml.com On to the official description... Quartz FXCashDB Technology Python Developer (Chicago/New York) Do you have a passion for programming? Are you a tinkerer? Have you had any experience facing front office users on a regular basis and providing tactical as well as strategic solutions in a high pressure environment? Do you have experience or expertise in Foreign Exchange (FX) markets? If you answered yes to any of these questions you should consider a job with Bank of America Merrill Lynch?s Fixed Income, Commodities and Currencies technology team. The internal market data technology team is a little slice of Agile in a great big organization. We are a talented, experienced, and passionate group of technologists/strategists that prides itself on quality of delivery, continuous improvement, and a relaxed atmosphere. We are seeking a developer (5+ years of experience) to join our team, grow with us, and teach us a few things along the way. As a successful candidate and team member you must: ? Be able to *demonstrate proficiency* with excel and *python* and a reasonable subset of the following: Java, C++, SQL, UNIX, Messaging (MQ, RV) and Perl. ? Have a proven ability to *solve problems* with technology - Can you describe a problem you?ve solved, the details of the solution, and why you chose the technology you used? Have you had demonstrated success developing large-scale sustainable applications? ? Be* passionate* about quality, programming, and software development in general - Do you ?sharpen the saw? and continually explore opportunities to improve? Are you a technology evangelist? Will you introduce the group to new technologies and approaches? ? Be *flexible *with day-to-day responsibilities ? Do you have an interest in polyglot programming? Are you comfortable with working across multiple systems and potentially using multiple programming languages and technologies? ? Be* organized* - Are you able to remain productive even when you have multiple deliverables? ? Demonstrate *good* *judgment* - Can you be trusted to make good decisions independently? More about us: ? Bank of America Merrill Lynch is a global financial powerhouse that markets, trades, and manages risk for various derivative products ? Together with team members in Chicago, New York, London, Singapore, India and elsewhere, the team builds and maintains systems that are key contributors to the bank?s position in this high revenue business ? Our developers pride themselves on their interest in technology and knowledge sharing is encouraged via informal brown-bag lunches, company-sponsored training, and annual internal developer conferences About the role: ? You will be working with a team of developers and business analysts within FXCashDB team ? You will participate in most phases of the software development life cycle including story writing and estimation, design, development, test planning, test automation, and deployment -- Jason Wirth wirth.jason at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcalahor at yahoo.com Wed Sep 2 05:19:32 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Wed, 2 Sep 2015 03:19:32 +0000 (UTC) Subject: [Chicago] Open spots for python devs on my team In-Reply-To: References: Message-ID: <1948696284.159236.1441163972525.JavaMail.yahoo@mail.yahoo.com> I strongly recommend BAML is a great place to apply your python skills. I enjoyed working there.? As weird coincidence just today i was checking exactly the same video, one of the comments ?of that video points to the MDF data flow toolkit does anybody have experience with it?? BAML has something similar that is proprietary as the video explains, I have personally used, ?is a very impressive module. From: Jason Wirth To: The Chicago Python Users Group Sent: Tuesday, September 1, 2015 10:01 PM Subject: [Chicago] Open spots for python devs on my team Hey Chipy, I work at Bank of America as a Quartz developer, the bank's platform for managing trades, risk etc. developed in Python. We currently have a couple spots open on my team for developers and we are actively searching to fill those roles soon so I thought I'd reach out to see if anyone in the community is interested.? Why this is fun... It's hard to give an accurate view of Quartz in a couple lines but the platform is pretty unique. First, we work in the enterprise, so it's Python at scale and problems of scale. There's about 3,000 python developers spread across the world working on an open-source inspired code base with ~20MM lines of code -- viewable, searchable, editable to any developer on the platform.? Second, as a large investment bank, we have access to all aspects of development from front-end, back-end, cloud computing, and distributed no-SQL object oriented database (think storing serialized Python, not serialized JSON/BSON), etc.? You can Google around for some info on Quartz for more information (JPM has a similar system called Athena, and Goldman Sachs, too, called SECDB/SLANG).? This is also a good video to watch.https://www.youtube.com/watch?v=lTOP_shhVBQ We are looking to hire VERY soon, so please reach out and send a resume to me or my manager, Tara, or ask any questions.? wirth.jason at gmail.com -or- jason.wirth at baml.comtara.jalal@baml.com? On to the official description... Quartz FXCashDB? Technology???Python?Developer (Chicago/New York)Do you have a passion for programming? Are you a tinkerer? Have you had any experience facing front office users on a regular basis and providing tactical as well as strategic solutions in a high pressure environment?? Do you have experience or expertise in Foreign Exchange (FX) markets? If you answered yes to any of these questions you should consider a job with Bank of America Merrill Lynch?s Fixed Income, Commodities and Currencies technology team.The internal market data technology team is a little slice of Agile in a great big organization. We are a talented, experienced, and passionate group of technologists/strategists that prides itself on quality of delivery, continuous improvement, and a relaxed atmosphere.We are seeking a developer (5+ years of experience) to join our team, grow with us, and teach us a few things along the way.As a successful candidate and team member you must:??????????Be able to?demonstrate proficiency?with excel and?python?and a reasonable subset of the following:Java, C++, SQL, UNIX, Messaging (MQ, RV) and Perl.??????????Have a proven ability to?solve problems?with technology - Can you describe a problem you?ve solved, the details of the solution, and why you chose the technology you used? Have you had demonstrated success developing large-scale sustainable applications???????????Be?passionate?about quality, programming, and software development in general - Do you ?sharpen the saw? and continually explore opportunities to improve? Are you a technology evangelist? Will you introduce the group to new technologies and approaches???????????Be?flexible?with day-to-day responsibilities ? Do you have an interest in polyglot programming? Are you comfortable with working across multiple systems and potentially using multiple programming languages and technologies???????????Be?organized?- Are you able to remain productive even when you have multiple deliverables???????????Demonstrate?good?judgment?- Can you be trusted to make good decisions independently?More about us:??????????Bank of America Merrill Lynch is a global financial powerhouse that markets, trades, and manages risk for various? derivative products??????????Together with team members in Chicago, New York, London, Singapore, India and elsewhere, the team builds and maintains systems that are key contributors to the bank?s position in this high revenue business??????????Our developers pride themselves on their interest in technology and knowledge sharing is encouraged via informal brown-bag lunches, company-sponsored training, and annual internal developer conferences?About the role:??????????You will be working with a team of developers and business analysts within FXCashDB team??????????You will participate in most phases of the software development life cycle including story writing and estimation, design, development, test planning, test automation, and deployment -- ? ? Jason Wirth ? ??wirth.jason at gmail.com _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From szybalski at gmail.com Fri Sep 4 05:00:15 2015 From: szybalski at gmail.com (Lukasz Szybalski) Date: Thu, 3 Sep 2015 22:00:15 -0500 Subject: [Chicago] Data export ? Message-ID: Hello, I'm looking for a library or some online tool similar to how bootstrap is transforming html..to do the following with data: 1. Being able to connect to some database source using sqlalchemy or directly. 2. Being able to display to column fields and ask the user to rearrange them, select unselect them , possibly concatenate two fields,maybe transform date to other format, save layout. 3. Then allow export to csv or xls 4. Bonus feature: being able to schedule that export 5. Bonus feature: being able to queue exports Anybody knows of some software that is able to do that in some form? Thanks Lucas -------------- next part -------------- An HTML attachment was scrubbed... URL: From tanya at tickel.net Fri Sep 4 13:27:54 2015 From: tanya at tickel.net (Tanya Schlusser) Date: Fri, 4 Sep 2015 06:27:54 -0500 Subject: [Chicago] Data export ? Message-ID: > > I'm looking for a library or some online tool similar to how bootstrap is > transforming html..to do the following with data: [list of tasks...] > Try Pandas (PANel Data Analysis Suite). Here's the full API . It provides Series, Data Frame, and Panel objects for containing and transforming data, and does all of the things you ask except for queueing and cron jobs, which can be done using `sched` or celery, respectively. The caveat is it relies on NumPy so if you're on windows you need a Visual C++ (nonfree version) for 100% compatibility or the Gnu C compiler (for like 99% compatibiity) or the Anaconda distribution . (Anaconda bought us food last month. They rock.) For the other platforms binary wheels exist on PyPi and so `pip install pandas` will just work. The below just link to the diffrent relevant sections in the API according to your questions 1. SQL connection options 2. Column fields, etc.. . columnwise string functions 3. Export to csv / xls And for the scheduling / queueing: 4. Scheduling is in the standard library already 5. Here's an awesome task queues for python tutorial Cheers, Tanya -------------- next part -------------- An HTML attachment was scrubbed... URL: From dnfehrenbach at gmail.com Fri Sep 4 16:52:54 2015 From: dnfehrenbach at gmail.com (Daniel Fehrenbach) Date: Fri, 4 Sep 2015 09:52:54 -0500 Subject: [Chicago] Data export ? In-Reply-To: References: Message-ID: A couple other options that I have tried in various projects - https://tablib.readthedocs.org/en/latest/ https://dataset.readthedocs.org/en/latest/ I don't think that either one will get you all of the requirements that you've listed but they could make manipulating and exporting tabular data easier and (for me) don't have as steep a learning curve or as opinionated of a work style as pandas. On Fri, Sep 4, 2015 at 6:27 AM, Tanya Schlusser wrote: > I'm looking for a library or some online tool similar to how bootstrap is >> transforming html..to do the following with data: [list of tasks...] >> > > Try Pandas (PANel Data Analysis Suite). Here's the full API > . It provides > Series, Data Frame, and Panel objects for containing and transforming data, > and does all of the things you ask except for queueing and cron jobs, which > can be done using `sched` or celery, respectively. > > The caveat is it relies on NumPy so if you're on windows you need a Visual > C++ (nonfree version) for 100% compatibility or the Gnu C compiler (for > like 99% compatibiity) or the Anaconda distribution > . (Anaconda bought us food last month. > They rock.) > > For the other platforms binary wheels exist on PyPi and so `pip install > pandas` will just work. > > > The below just link to the diffrent relevant sections in the API according > to your questions > > 1. SQL connection options > > 2. Column fields, etc.. > . > columnwise string functions > > 3. Export to csv / xls > > > And for the scheduling / queueing: > > 4. Scheduling is in the standard library already > > 5. Here's an awesome task queues for python tutorial > > Cheers, > Tanya > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Fri Sep 4 17:16:22 2015 From: shekay at pobox.com (sheila miguez) Date: Fri, 4 Sep 2015 10:16:22 -0500 Subject: [Chicago] Data export ? In-Reply-To: References: Message-ID: Are you thinking of providing a web site for this? I will consider the case where you might want to use django. On Thu, Sep 3, 2015 at 10:00 PM, Lukasz Szybalski wrote: > > 1. Being able to connect to some database source using sqlalchemy or > directly. > If this is not a flexible requirement it might be a deal breaker depending on your goal. If you use django, maybe try django-rest-pandas. https://github.com/wq/django-rest-pandas 2. Being able to display to column fields and ask the user to rearrange > them, select unselect them , possibly concatenate two fields,maybe > transform date to other format, save layout. > I don't know d3js or other front-end stuff to know how easy it would be to do this. Presumably you could write something to do the above and then call your restful api to submit a patch or post a new thing? > 3. Then allow export to csv or xls > built in to django-rest-pandas. > 4. Bonus feature: being able to schedule that export > 5. Bonus feature: being able to queue exports > Doable with a cron job or something more sophisticated depending on your needs. For a cron job, you could set up a script to call your service api. For something more sophisticated you could use celery to create tasks in your django project. -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Fri Sep 4 17:22:32 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Fri, 4 Sep 2015 10:22:32 -0500 Subject: [Chicago] Data export ? In-Reply-To: References: Message-ID: Great thought Sheila. Sort of an extention on a web page of Tabula. The thought is building steam elsewhere though I do not know who or how open if at all import.io might be. On Fri, Sep 4, 2015 at 10:16 AM, sheila miguez wrote: > Are you thinking of providing a web site for this? I will consider the > case where you might want to use django. > > On Thu, Sep 3, 2015 at 10:00 PM, Lukasz Szybalski > wrote: > >> >> 1. Being able to connect to some database source using sqlalchemy or >> directly. >> > > If this is not a flexible requirement it might be a deal breaker depending > on your goal. > > If you use django, maybe try django-rest-pandas. > > https://github.com/wq/django-rest-pandas > > 2. Being able to display to column fields and ask the user to rearrange >> them, select unselect them , possibly concatenate two fields,maybe >> transform date to other format, save layout. >> > > I don't know d3js or other front-end stuff to know how easy it would be to > do this. Presumably you could write something to do the above and then call > your restful api to submit a patch or post a new thing? > > >> 3. Then allow export to csv or xls >> > > built in to django-rest-pandas. > > >> 4. Bonus feature: being able to schedule that export >> 5. Bonus feature: being able to queue exports >> > > Doable with a cron job or something more sophisticated depending on your > needs. For a cron job, you could set up a script to call your service api. > For something more sophisticated you could use celery to create tasks in > your django project. > > > > > -- > 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 proba at allstate.com Fri Sep 4 16:36:46 2015 From: proba at allstate.com (Robare, Phillip (TEKSystems)) Date: Fri, 4 Sep 2015 14:36:46 +0000 Subject: [Chicago] Data export ? In-Reply-To: References: Message-ID: <50869A74BA4F07468AD797C9BFF1FE3E0D96AF34@A0185-XPO1026-C.ad.allstate.com> I was going to respond by pointing you to Pandas but it looks like Tanya beat me to it, so I will just second her suggestion. Here is an article (http://pbpython.com/excel-pandas-comp.html) on doing common excel tasks using Pandas to get you started with manipulating data within Pandas. If you are familiar with Relational Calculus and the internals of SQL you can see that all the data manipulations that are theoretically needed for transforming data are present in the Pandas APIs. Phil Robare From: Chicago [mailto:chicago-bounces+proba=allstate.com at python.org] On Behalf Of Tanya Schlusser Sent: Friday, September 04, 2015 6:28 AM To: chicago at python.org Subject: Re: [Chicago] Data export ? I'm looking for a library or some online tool similar to how bootstrap is transforming html..to do the following with data: [list of tasks...] Try Pandas (PANel Data Analysis Suite). Here's the full API. It provides Series, Data Frame, and Panel objects for containing and transforming data, and does all of the things you ask except for queueing and cron jobs, which can be done using `sched` or celery, respectively. The caveat is it relies on NumPy so if you're on windows you need a Visual C++ (nonfree version) for 100% compatibility or the Gnu C compiler (for like 99% compatibiity) or the Anaconda distribution. (Anaconda bought us food last month. They rock.) For the other platforms binary wheels exist on PyPi and so `pip install pandas` will just work. The below just link to the diffrent relevant sections in the API according to your questions 1. SQL connection options 2. Column fields, etc... columnwise string functions 3. Export to csv / xls And for the scheduling / queueing: 4. Scheduling is in the standard library already 5. Here's an awesome task queues for python tutorial Cheers, Tanya -------------- next part -------------- An HTML attachment was scrubbed... URL: From szybalski at gmail.com Fri Sep 4 20:11:38 2015 From: szybalski at gmail.com (Lukasz Szybalski) Date: Fri, 4 Sep 2015 13:11:38 -0500 Subject: [Chicago] Data export ? In-Reply-To: References: Message-ID: On Fri, Sep 4, 2015 at 10:16 AM, sheila miguez wrote: > Are you thinking of providing a web site for this? I will consider the > case where you might want to use django. > > On Thu, Sep 3, 2015 at 10:00 PM, Lukasz Szybalski > wrote: > >> >> 1. Being able to connect to some database source using sqlalchemy or >> directly. >> > > If this is not a flexible requirement it might be a deal breaker depending > on your goal. > > If you use django, maybe try django-rest-pandas. > > https://github.com/wq/django-rest-pandas > > 2. Being able to display to column fields and ask the user to rearrange >> them, select unselect them , possibly concatenate two fields,maybe >> transform date to other format, save layout. >> > > I don't know d3js or other front-end stuff to know how easy it would be to > do this. Presumably you could write something to do the above and then call > your restful api to submit a patch or post a new thing? > > >> 3. Then allow export to csv or xls >> > > built in to django-rest-pandas. > > >> 4. Bonus feature: being able to schedule that export >> 5. Bonus feature: being able to queue exports >> > > Doable with a cron job or something more sophisticated depending on your > needs. For a cron job, you could set up a script to call your service api. > For something more sophisticated you could use celery to create tasks in > your django project. > > I'm kind of looking for a finished production that would look like this: http://ngiriraj.com/pages/htmltable_export/demo.php The generation of the export table or export csv and manipulating fields is the core what I need. While the reference to django rest pandas almost does it; its missing the part where I change the order of fields on the fly or in web style fashion (or plug into it via some ajax way). Good reference on the djanog rest pandas do; https://wq.io/0.8/docs/pandas-js 1. Generate a CSV file via DataFrame.to_csv() (Django REST Pandas does this automatically) 2. Load the file over the internet with wq/pandas.js 3. Visualize the resulting data, perhaps with d3.js and/or wq/chart.js . *UNLESS:* I load some html UI interface. like http://www.skulpt.org/ .where you can code python(pandas) in a browser...and press save on the final version. Then elsewhere user presses RUN: Phil Robare suggested: http://pbpython.com/excel-pandas-comp.html This would give user full control over data export that would then be sent to . http://ngiriraj.com/pages/htmltable_export/demo.php Thanks Lucas -------------- next part -------------- An HTML attachment was scrubbed... URL: From tanya at tickel.net Sat Sep 5 04:25:19 2015 From: tanya at tickel.net (Tanya Schlusser) Date: Fri, 4 Sep 2015 21:25:19 -0500 Subject: [Chicago] Python 101 notebook on try.jupyter.org Message-ID: > > It's pretty cool. I projected it at python office hours. It's written > following from discussions in a paper on lessons learned from teaching > python to geophysics students I think? I may be mis-remembering that part. > You're rememering right -- this is the paper and the tl;dr is that these geology professors literally guinea pigged their students for 5 years trying out different teaching styles (lecture + lab | lecture in lab | self-taught via MOOC | etc...) and mesured student satisfaction, instructor effort, and actual learning. The self-taught sucked, with 50% comprehension and students reviewing the course badly. All other forms had about 70% comprehension with varying levels of teacher effort and student satisfaction. The IPython notebook execution in-class + lecture got the highest student ratings and were the least instructor effort -- a major win. The try.jupyter.org project is open source , so you too can host your own notebook server (launched using Docker images) or you can make your own community. This is the repo for adding community notebooks . Also -- O'Reilly may be embracing them. Here is a lecture Support Vector Machines given @ Pycon 2015 made in collaboration with Jake Vanderplas and O'Reilly: https://beta.oreilly.com/learning/intro-to-svm This is the future of education (and possibly dashboarding?) woo-hoo! Another alternative is skulpt ...a pure javascript implementation of (a large chunk of) Python 2...here's the link to an online Python textbook with executable code using Skulpt: http://interactivepython.org/runestone/static/thinkcspy/index.html - -- from Josh --- > Actually now that i remember it is in a notebook. Google hosts one on > github. > https://github.com/google/deepdream > I think we should do like a pyladies event about this if we can get it > working. > That would be awesome!!! looking into it... -------------- next part -------------- An HTML attachment was scrubbed... URL: From zitterbewegung at gmail.com Sat Sep 5 19:57:31 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Sat, 05 Sep 2015 17:57:31 +0000 Subject: [Chicago] Python 101 notebook on try.jupyter.org In-Reply-To: References: Message-ID: Dear Tanya, I'm currently teaching myself machine learning. At first I am using mathematica. Now I am learning more about python and setting up scikit learn. I could probably give a 15-30 minute presentation on how to set this up on a laptop and run the basic tests so that you can use Jupiter with this. I haven't gotten as far as setting up theano but I think that would be better for another workshop / presentation. Sincerely, Joshua Herman On Fri, Sep 4, 2015 at 9:25 PM Tanya Schlusser wrote: > It's pretty cool. I projected it at python office hours. It's written >> following from discussions in a paper on lessons learned from teaching >> python to geophysics students I think? I may be mis-remembering that part. >> > > You're rememering right -- this is the paper > and the tl;dr is that these geology > professors literally guinea pigged their students for 5 years trying out > different teaching styles (lecture + lab | lecture in lab | self-taught via > MOOC | etc...) and mesured student satisfaction, instructor effort, and > actual learning. > > The self-taught sucked, with 50% comprehension and students reviewing the > course badly. All other forms had about 70% comprehension with varying > levels of teacher effort and student satisfaction. The IPython notebook > execution in-class + lecture got the highest student ratings and were the > least instructor effort -- a major win. > > The try.jupyter.org project is open source > , so you too can host your > own notebook server (launched using Docker images) or you can make your own > community. This is the repo for adding community notebooks > . > > > Also -- O'Reilly may be embracing them. Here is a lecture Support Vector > Machines given @ Pycon 2015 made in collaboration with Jake Vanderplas and > O'Reilly: > https://beta.oreilly.com/learning/intro-to-svm > > > This is the future of education (and possibly dashboarding?) woo-hoo! > > Another alternative is skulpt ...a pure > javascript implementation of (a large chunk of) Python 2...here's the link > to an online Python textbook with executable code using Skulpt: > http://interactivepython.org/runestone/static/thinkcspy/index.html > > > > > - -- > from Josh --- > >> Actually now that i remember it is in a notebook. Google hosts one on >> github. >> https://github.com/google/deepdream >> I think we should do like a pyladies event about this if we can get it >> working. >> > > > That would be awesome!!! looking into it... > _______________________________________________ > 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 Sep 7 01:31:55 2015 From: joe.jasinski at gmail.com (Joe Jasinski) Date: Sun, 6 Sep 2015 18:31:55 -0500 Subject: [Chicago] ChiPy Call for September 10th Meeting Speakers In-Reply-To: References: Message-ID: Hey all, We are still looking for speakers for the upcoming meeting. If you have something Python-related that you'd like to talk about, we'd be glad to hear from you. This could even be a 15 min talk for a 5 min lightning talk. If you'd like to submit a proposal, please enter one here and we'll get you on the schedule. http://www.chipy.org/meetings/topics/propose Joe On Thu, Aug 27, 2015 at 10:04 PM, Joe Jasinski wrote: > Hi all, > > ChiPy is gearing up for its September 10th meeting and we are looking for > people interested in presenting. We are eager to hear you speak at ChiPy > about your favorite Python-related topics. It's a great opportunity to > share what you know and give back to the Python community. > > If you'd like to submit a topic, you can reply to this email or email me > at directly joe.jasinski at gmail.com. At some point, we'll need you to > fill out the talk proposal form so we can get your talk on the schedule. > http://www.chipy.org/meetings/topics/propose > > Let me know if you have any questions, and hope to hear from you soon! > > If you'd like to attend the next meeting, you can rsvp at chipy.org or > via our Meetup group. > > Joe > > -- > Joe J. Jasinski > www.joejasinski.com > -- Joe J. Jasinski www.joejasinski.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lane at strapr.com Mon Sep 7 03:35:01 2015 From: lane at strapr.com (Lane Campbell) Date: Sun, 6 Sep 2015 20:35:01 -0500 Subject: [Chicago] ChiPy Call for September 10th Meeting Speakers In-Reply-To: References: Message-ID: <-5004820869898336617@unknownmsgid> Can I talk about learning django? Sent from my iPhone On Sep 6, 2015, at 6:32 PM, Joe Jasinski wrote: Hey all, We are still looking for speakers for the upcoming meeting. If you have something Python-related that you'd like to talk about, we'd be glad to hear from you. This could even be a 15 min talk for a 5 min lightning talk. If you'd like to submit a proposal, please enter one here and we'll get you on the schedule. http://www.chipy.org/meetings/topics/propose Joe On Thu, Aug 27, 2015 at 10:04 PM, Joe Jasinski wrote: > Hi all, > > ChiPy is gearing up for its September 10th meeting and we are looking for > people interested in presenting. We are eager to hear you speak at ChiPy > about your favorite Python-related topics. It's a great opportunity to > share what you know and give back to the Python community. > > If you'd like to submit a topic, you can reply to this email or email me > at directly joe.jasinski at gmail.com. At some point, we'll need you to > fill out the talk proposal form so we can get your talk on the schedule. > http://www.chipy.org/meetings/topics/propose > > Let me know if you have any questions, and hope to hear from you soon! > > If you'd like to attend the next meeting, you can rsvp at chipy.org or > via our Meetup group. > > Joe > > -- > Joe J. Jasinski > www.joejasinski.com > -- Joe J. Jasinski www.joejasinski.com _______________________________________________ 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 Mon Sep 7 04:19:43 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Mon, 07 Sep 2015 02:19:43 +0000 Subject: [Chicago] ChiPy Call for September 10th Meeting Speakers In-Reply-To: <-5004820869898336617@unknownmsgid> References: <-5004820869898336617@unknownmsgid> Message-ID: Is anyone interested in using anaconda to do machine learning? On Sun, Sep 6, 2015 at 8:42 PM Lane Campbell wrote: > Can I talk about learning django? > > Sent from my iPhone > > On Sep 6, 2015, at 6:32 PM, Joe Jasinski wrote: > > Hey all, > > We are still looking for speakers for the upcoming meeting. If you have > something Python-related that you'd like to talk about, we'd be glad to > hear from you. This could even be a 15 min talk for a 5 min lightning > talk. If you'd like to submit a proposal, please enter one here and we'll > get you on the schedule. > > http://www.chipy.org/meetings/topics/propose > > Joe > > On Thu, Aug 27, 2015 at 10:04 PM, Joe Jasinski > wrote: > >> Hi all, >> >> ChiPy is gearing up for its September 10th meeting and we are looking for >> people interested in presenting. We are eager to hear you speak at ChiPy >> about your favorite Python-related topics. It's a great opportunity to >> share what you know and give back to the Python community. >> >> If you'd like to submit a topic, you can reply to this email or email me >> at directly joe.jasinski at gmail.com. At some point, we'll need you to >> fill out the talk proposal form so we can get your talk on the schedule. >> http://www.chipy.org/meetings/topics/propose >> >> Let me know if you have any questions, and hope to hear from you soon! >> >> If you'd like to attend the next meeting, you can rsvp at chipy.org or >> via our Meetup group. >> >> Joe >> >> -- >> Joe J. Jasinski >> www.joejasinski.com >> > > > > -- > Joe J. Jasinski > www.joejasinski.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Mon Sep 7 06:31:41 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sun, 6 Sep 2015 23:31:41 -0500 Subject: [Chicago] ChiPy Call for September 10th Meeting Speakers In-Reply-To: References: <-5004820869898336617@unknownmsgid> Message-ID: Yes! I would really like to attend a presentation like that. I normally have class on Thursday evenings, but this week the professor canceled class for Thursday evening, so I would love to attend the ChiPy meeting this Thursday. On Sun, Sep 6, 2015 at 9:19 PM, Joshua Herman wrote: > Is anyone interested in using anaconda to do machine learning? > > On Sun, Sep 6, 2015 at 8:42 PM Lane Campbell wrote: > >> Can I talk about learning django? >> >> Sent from my iPhone >> >> On Sep 6, 2015, at 6:32 PM, Joe Jasinski wrote: >> >> Hey all, >> >> We are still looking for speakers for the upcoming meeting. If you have >> something Python-related that you'd like to talk about, we'd be glad to >> hear from you. This could even be a 15 min talk for a 5 min lightning >> talk. If you'd like to submit a proposal, please enter one here and we'll >> get you on the schedule. >> >> http://www.chipy.org/meetings/topics/propose >> >> Joe >> >> On Thu, Aug 27, 2015 at 10:04 PM, Joe Jasinski >> wrote: >> >>> Hi all, >>> >>> ChiPy is gearing up for its September 10th meeting and we are looking >>> for people interested in presenting. We are eager to hear you speak at >>> ChiPy about your favorite Python-related topics. It's a great opportunity >>> to share what you know and give back to the Python community. >>> >>> If you'd like to submit a topic, you can reply to this email or email >>> me at directly joe.jasinski at gmail.com. At some point, we'll need you >>> to fill out the talk proposal form so we can get your talk on the schedule. >>> >>> http://www.chipy.org/meetings/topics/propose >>> >>> Let me know if you have any questions, and hope to hear from you soon! >>> >>> If you'd like to attend the next meeting, you can rsvp at chipy.org or >>> via our Meetup group. >>> >>> Joe >>> >>> -- >>> Joe J. Jasinski >>> www.joejasinski.com >>> >> >> >> >> -- >> Joe J. Jasinski >> www.joejasinski.com >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tanya at tickel.net Mon Sep 7 12:39:50 2015 From: tanya at tickel.net (Tanya Schlusser) Date: Mon, 7 Sep 2015 05:39:50 -0500 Subject: [Chicago] ChiPy Call for September 10th Meeting Speaker Message-ID: > > Is anyone interested in using anaconda to do machine learning? > Haha, yes Joshua, __everyone__ is interested in machine learning! Usually we get 100+ attendees if one of the topics is big data / machine learning. If your 'setup scipy + Jupyter' talk is ready for this Thursday, then awesome! If not we'd still love to hear it next month... ... Repost of the location to submit talks ... > > If you'd like to submit a topic, you can reply to this email or email me > > at directly joe.jasinski at gmail.com. At some point, we'll need you to > > fill out the talk proposal form so we can get your talk on the schedule. > > http://www.chipy.org/meetings/topics/propose > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdanielp at gmail.com Mon Sep 7 07:53:50 2015 From: jdanielp at gmail.com (Jonathan Pietkiewicz) Date: Mon, 7 Sep 2015 00:53:50 -0500 Subject: [Chicago] ChiPy Call for September 10th Meeting Speakers In-Reply-To: <-5004820869898336617@unknownmsgid> References: <-5004820869898336617@unknownmsgid> Message-ID: I would love to hear about learning Django. On Sep 6, 2015 8:42 PM, "Lane Campbell" wrote: > Can I talk about learning django? > > Sent from my iPhone > > On Sep 6, 2015, at 6:32 PM, Joe Jasinski wrote: > > Hey all, > > We are still looking for speakers for the upcoming meeting. If you have > something Python-related that you'd like to talk about, we'd be glad to > hear from you. This could even be a 15 min talk for a 5 min lightning > talk. If you'd like to submit a proposal, please enter one here and we'll > get you on the schedule. > > http://www.chipy.org/meetings/topics/propose > > Joe > > On Thu, Aug 27, 2015 at 10:04 PM, Joe Jasinski > wrote: > >> Hi all, >> >> ChiPy is gearing up for its September 10th meeting and we are looking for >> people interested in presenting. We are eager to hear you speak at ChiPy >> about your favorite Python-related topics. It's a great opportunity to >> share what you know and give back to the Python community. >> >> If you'd like to submit a topic, you can reply to this email or email me >> at directly joe.jasinski at gmail.com. At some point, we'll need you to >> fill out the talk proposal form so we can get your talk on the schedule. >> http://www.chipy.org/meetings/topics/propose >> >> Let me know if you have any questions, and hope to hear from you soon! >> >> If you'd like to attend the next meeting, you can rsvp at chipy.org or >> via our Meetup group. >> >> Joe >> >> -- >> Joe J. Jasinski >> www.joejasinski.com >> > > > > -- > Joe J. Jasinski > www.joejasinski.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Mon Sep 7 19:04:46 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Mon, 7 Sep 2015 12:04:46 -0500 Subject: [Chicago] ChiPy Call for September 10th Meeting Speaker In-Reply-To: References: Message-ID: Hi Tanya, Where is the ChiPy meeting this Thursday evening? I checked the website, but the location of the meeting had not yet been decided. When I think of "big data analysis" I think of something like, "Okay, read all these data from an Excel spreadsheet into a huge Python array or matrix, and then construct various Q-Q plots to see if the data are normally distributed, exponentially distributed or something else, and then determine the parameters of the distribution". In other words, when I hear "big data" I'm really thinking of a mixture of statistics and computer programming. Is that correct or is my "definition" a little too narrow? Thanks! Best, Douglas. On Mon, Sep 7, 2015 at 5:39 AM, Tanya Schlusser wrote: > Is anyone interested in using anaconda to do machine learning? >> > > Haha, yes Joshua, __everyone__ is interested in machine learning! Usually > we get 100+ attendees if one of the topics is big data / machine learning. > > If your 'setup scipy + Jupyter' talk is ready for this Thursday, then > awesome! If not we'd still love to hear it next month... > > ... Repost of the location to submit talks ... > >> > If you'd like to submit a topic, you can reply to this email or email me >> > at directly joe.jasinski at gmail.com. At some point, we'll need you to >> > fill out the talk proposal form so we can get your talk on the schedule. >> > http://www.chipy.org/meetings/topics/propose >> > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Mon Sep 7 22:32:36 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Mon, 7 Sep 2015 15:32:36 -0500 Subject: [Chicago] ChiPy Call for September 10th Meeting Speaker In-Reply-To: References: Message-ID: We're going to make a final decision on location tonight, stay tuned! On Mon, Sep 7, 2015 at 12:04 PM, Lewit, Douglas wrote: > Hi Tanya, > > Where is the ChiPy meeting this Thursday evening? I checked the website, > but the location of the meeting had not yet been decided. > > When I think of "big data analysis" I think of something like, "Okay, read > all these data from an Excel spreadsheet into a huge Python array or > matrix, and then construct various Q-Q plots to see if the data are > normally distributed, exponentially distributed or something else, and then > determine the parameters of the distribution". In other words, when I hear > "big data" I'm really thinking of a mixture of statistics and computer > programming. Is that correct or is my "definition" a little too narrow? > > Thanks! > > Best, > > Douglas. > > > On Mon, Sep 7, 2015 at 5:39 AM, Tanya Schlusser wrote: > >> Is anyone interested in using anaconda to do machine learning? >>> >> >> Haha, yes Joshua, __everyone__ is interested in machine learning! Usually >> we get 100+ attendees if one of the topics is big data / machine learning. >> >> If your 'setup scipy + Jupyter' talk is ready for this Thursday, then >> awesome! If not we'd still love to hear it next month... >> >> ... Repost of the location to submit talks ... >> >>> > If you'd like to submit a topic, you can reply to this email or email >>> me >>> > at directly joe.jasinski at gmail.com. At some point, we'll need you to >>> > fill out the talk proposal form so we can get your talk on the >>> schedule. >>> > http://www.chipy.org/meetings/topics/propose >>> >> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Tue Sep 8 01:00:45 2015 From: brianhray at gmail.com (Brian Ray) Date: Mon, 7 Sep 2015 19:00:45 -0400 Subject: [Chicago] Remembering Ken Message-ID: I remember Ken from Imaginary Landscape days. He spoke openly about his earlier days working on X11 and GCC at Bell Labs--one of our true old school hackers. He hosted our group more recently at Groupon offices. WE BID THEE FAREWELL 5/18/1961 - 7/21/2015 *Location:* Lisle, Illinois Kenneth Stox, 54 died on 21 July 2015 of natural causes. There will be a Memorial Party for Ken on 9/20/2015 from 2pm-5pm. Irish Times, 8869 Burlington Ave, Brookfield, IL http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From zitterbewegung at gmail.com Tue Sep 8 01:13:49 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Mon, 07 Sep 2015 23:13:49 +0000 Subject: [Chicago] ChiPy Call for September 10th Meeting Speaker In-Reply-To: References: Message-ID: All , I have something special for this chipy meeting! This is going to be the best meeting ever! Hint it's a dvd! Sincerely Joshua Herman On Mon, Sep 7, 2015 at 3:33 PM Adam Forsyth wrote: > We're going to make a final decision on location tonight, stay tuned! > > On Mon, Sep 7, 2015 at 12:04 PM, Lewit, Douglas wrote: > >> Hi Tanya, >> >> Where is the ChiPy meeting this Thursday evening? I checked the website, >> but the location of the meeting had not yet been decided. >> >> When I think of "big data analysis" I think of something like, "Okay, >> read all these data from an Excel spreadsheet into a huge Python array or >> matrix, and then construct various Q-Q plots to see if the data are >> normally distributed, exponentially distributed or something else, and then >> determine the parameters of the distribution". In other words, when I hear >> "big data" I'm really thinking of a mixture of statistics and computer >> programming. Is that correct or is my "definition" a little too narrow? >> >> Thanks! >> >> Best, >> >> Douglas. >> >> >> On Mon, Sep 7, 2015 at 5:39 AM, Tanya Schlusser wrote: >> >>> Is anyone interested in using anaconda to do machine learning? >>>> >>> >>> Haha, yes Joshua, __everyone__ is interested in machine learning! >>> Usually we get 100+ attendees if one of the topics is big data / machine >>> learning. >>> >>> If your 'setup scipy + Jupyter' talk is ready for this Thursday, then >>> awesome! If not we'd still love to hear it next month... >>> >>> ... Repost of the location to submit talks ... >>> >>>> > If you'd like to submit a topic, you can reply to this email or email >>>> me >>>> > at directly joe.jasinski at gmail.com. At some point, we'll need you >>>> to >>>> > fill out the talk proposal form so we can get your talk on the >>>> schedule. >>>> > http://www.chipy.org/meetings/topics/propose >>>> >>> >>> >>> >>> _______________________________________________ >>> 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 d-lewit at neiu.edu Tue Sep 8 08:17:47 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 8 Sep 2015 01:17:47 -0500 Subject: [Chicago] Remembering Ken In-Reply-To: References: Message-ID: Oh my gosh!!! 54 isn't really that old! :-( "Natural causes" is a little vague. What was really the problem? I think computer people (developers, hackers, programmers, et al) need to make sure to devote at least 30 minutes every day to exercise. (Could be walking, climbing stairs, Yoga, swimming, or whatever you like.) Excessive sitting at a computer is not without its price to pay. I've noticed that when I'm at my laptop for too many hours, my lower back feels really stiff and if I'm working on some really complicated stuff I actually start to feel kind of dizzy and hyper. That's when I take a break and walk a few blocks or do some Yoga. ( I love to stand on my head. Gets the blood and lymph flowing again in the head and body. ) Dying at 54 is such a tragedy. I hope the guy had a good life. On Mon, Sep 7, 2015 at 6:00 PM, Brian Ray wrote: > I remember Ken from Imaginary Landscape days. He spoke openly about his > earlier days working on X11 and GCC at Bell Labs--one of our true old > school hackers. > > He hosted our group more recently at Groupon offices. > WE BID THEE FAREWELL > 5/18/1961 - 7/21/2015 > > *Location:* Lisle, Illinois > > Kenneth Stox, 54 died on 21 July 2015 of natural causes. > > There will be a Memorial Party for Ken on 9/20/2015 from 2pm-5pm. > > Irish Times, 8869 Burlington Ave, Brookfield, IL > > > http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d > > > > > > > > -- > 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 d-lewit at neiu.edu Tue Sep 8 08:18:23 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 8 Sep 2015 01:18:23 -0500 Subject: [Chicago] ChiPy Call for September 10th Meeting Speaker In-Reply-To: References: Message-ID: It's got Kali Linux on it, right?! :-) On Mon, Sep 7, 2015 at 6:13 PM, Joshua Herman wrote: > All , > I have something special for this chipy meeting! This is going to be the > best meeting ever! > Hint it's a dvd! > Sincerely > Joshua Herman > > On Mon, Sep 7, 2015 at 3:33 PM Adam Forsyth wrote: > >> We're going to make a final decision on location tonight, stay tuned! >> >> On Mon, Sep 7, 2015 at 12:04 PM, Lewit, Douglas wrote: >> >>> Hi Tanya, >>> >>> Where is the ChiPy meeting this Thursday evening? I checked the >>> website, but the location of the meeting had not yet been decided. >>> >>> When I think of "big data analysis" I think of something like, "Okay, >>> read all these data from an Excel spreadsheet into a huge Python array or >>> matrix, and then construct various Q-Q plots to see if the data are >>> normally distributed, exponentially distributed or something else, and then >>> determine the parameters of the distribution". In other words, when I hear >>> "big data" I'm really thinking of a mixture of statistics and computer >>> programming. Is that correct or is my "definition" a little too narrow? >>> >>> Thanks! >>> >>> Best, >>> >>> Douglas. >>> >>> >>> On Mon, Sep 7, 2015 at 5:39 AM, Tanya Schlusser >>> wrote: >>> >>>> Is anyone interested in using anaconda to do machine learning? >>>>> >>>> >>>> Haha, yes Joshua, __everyone__ is interested in machine learning! >>>> Usually we get 100+ attendees if one of the topics is big data / machine >>>> learning. >>>> >>>> If your 'setup scipy + Jupyter' talk is ready for this Thursday, then >>>> awesome! If not we'd still love to hear it next month... >>>> >>>> ... Repost of the location to submit talks ... >>>> >>>>> > If you'd like to submit a topic, you can reply to this email or >>>>> email me >>>>> > at directly joe.jasinski at gmail.com. At some point, we'll need you >>>>> to >>>>> > fill out the talk proposal form so we can get your talk on the >>>>> schedule. >>>>> > http://www.chipy.org/meetings/topics/propose >>>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tanya at tickel.net Tue Sep 8 15:28:03 2015 From: tanya at tickel.net (Tanya Schlusser) Date: Tue, 8 Sep 2015 08:28:03 -0500 Subject: [Chicago] Chicago Digest, Vol 121, Issue 6 In-Reply-To: References: Message-ID: > Where is the ChiPy meeting this Thursday evening? I checked the website, > but the location of the meeting had not yet been decided. > It's at Braintree again (8th floor, Merchandise Mart) -- sorry for taking so long to get it up! > When I think of "big data analysis" I think of something like, "Okay, read > all these data from an Excel spreadsheet into a huge Python array or > matrix, and then construct various Q-Q plots to see if the data are > normally distributed, exponentially distributed or something else, and then > determine the parameters of the distribution". In other words, when I hear > "big data" I'm really thinking of a mixture of statistics and computer > programming. Is that correct or is my "definition" a little too narrow? > It's pretty correct. The 'analysis' part is correct -- it's still statistics / machine learning. The 'big data' part really was a catchall phrase for "anything that can't be done right now in a standard database". So 'big data' can mean a handful of things: - Workarounds to key generation because inserts are happening faster than a standard database can deal with them. This was the 'Velocity' part of the big data marketers' advertising campaigns. Twitter's Snowflake is a good example of working around this. - NOSQL (Not Only SQL) -- storing and doing computation over images, MRIs, genetic data, PDFs, entire Log Files, et cetera... This is the 'Variety' in the big data marketing. Hadoop's Distributed File System and MongoDB are good examples of databases that can store these sorts of files. - - Parallel computation on a(n inexpensive) cluster because it would take too long or the data would not fit on one computer. This means the algorithms had to be rewritten for parallel execution. This was the 'Volume' part of big data marketing. - Apache Mahout (in java) was I think one of the first open-source implementation of parallelized machine learning algorithms. - The hottest things for this now are the Spark Machine Learning library ( -- Pycon 2015 presentation of spark+python ) . There is also a Chicago Spark Meetup . - And the newcomer Apache Flink, also in Java, bypasses Java's garbage collection for speed, optimizes SQL queries (unlike Hive), and claims to provide a truly streaming analytics option without some of the hangups of Storm. It also has Python bindings . There is a Chicago Flink meetup -- I think it's the 3rd Flink user group in North America. hope it was useful...see you @ Braintree Thursday! -------------- next part -------------- An HTML attachment was scrubbed... URL: From misterbonnie at gmail.com Tue Sep 8 20:54:24 2015 From: misterbonnie at gmail.com (Bonnie King) Date: Tue, 8 Sep 2015 13:54:24 -0500 Subject: [Chicago] Remembering Ken In-Reply-To: References: Message-ID: One can do all the right things and still die young, even of natural causes. RIP Ken Stox. On Tue, Sep 8, 2015 at 1:17 AM, Lewit, Douglas wrote: > Oh my gosh!!! 54 isn't really that old! :-( "Natural causes" is a > little vague. What was really the problem? I think computer people > (developers, hackers, programmers, et al) need to make sure to devote at > least 30 minutes every day to exercise. (Could be walking, climbing > stairs, Yoga, swimming, or whatever you like.) Excessive sitting at a > computer is not without its price to pay. I've noticed that when I'm at my > laptop for too many hours, my lower back feels really stiff and if I'm > working on some really complicated stuff I actually start to feel kind of > dizzy and hyper. That's when I take a break and walk a few blocks or do > some Yoga. ( I love to stand on my head. Gets the blood and lymph flowing > again in the head and body. ) > > Dying at 54 is such a tragedy. I hope the guy had a good life. > > > On Mon, Sep 7, 2015 at 6:00 PM, Brian Ray wrote: > >> I remember Ken from Imaginary Landscape days. He spoke openly about his >> earlier days working on X11 and GCC at Bell Labs--one of our true old >> school hackers. >> >> He hosted our group more recently at Groupon offices. >> WE BID THEE FAREWELL >> 5/18/1961 - 7/21/2015 >> >> *Location:* Lisle, Illinois >> >> Kenneth Stox, 54 died on 21 July 2015 of natural causes. >> >> There will be a Memorial Party for Ken on 9/20/2015 from 2pm-5pm. >> >> Irish Times, 8869 Burlington Ave, Brookfield, IL >> >> >> http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d >> >> >> >> >> >> >> >> -- >> 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 > > -- Bonnie King 773-799-4608 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lane at strapr.com Tue Sep 8 21:52:49 2015 From: lane at strapr.com (Lane Campbell) Date: Tue, 8 Sep 2015 14:52:49 -0500 Subject: [Chicago] Remembering Ken In-Reply-To: References: Message-ID: so sad to hear that anyone in the community passed, much less someone so young! I didn't know him but I am happy to help those who did get to this if they need a ride. I am able to take up to three people in my car if anyone else wants to go. Regards, Lane Campbell (312) 775-2632 On Tue, Sep 8, 2015 at 1:54 PM, Bonnie King wrote: > One can do all the right things and still die young, even of natural > causes. > > RIP Ken Stox. > > > On Tue, Sep 8, 2015 at 1:17 AM, Lewit, Douglas wrote: > >> Oh my gosh!!! 54 isn't really that old! :-( "Natural causes" is a >> little vague. What was really the problem? I think computer people >> (developers, hackers, programmers, et al) need to make sure to devote at >> least 30 minutes every day to exercise. (Could be walking, climbing >> stairs, Yoga, swimming, or whatever you like.) Excessive sitting at a >> computer is not without its price to pay. I've noticed that when I'm at my >> laptop for too many hours, my lower back feels really stiff and if I'm >> working on some really complicated stuff I actually start to feel kind of >> dizzy and hyper. That's when I take a break and walk a few blocks or do >> some Yoga. ( I love to stand on my head. Gets the blood and lymph flowing >> again in the head and body. ) >> >> Dying at 54 is such a tragedy. I hope the guy had a good life. >> >> >> On Mon, Sep 7, 2015 at 6:00 PM, Brian Ray wrote: >> >>> I remember Ken from Imaginary Landscape days. He spoke openly about his >>> earlier days working on X11 and GCC at Bell Labs--one of our true old >>> school hackers. >>> >>> He hosted our group more recently at Groupon offices. >>> WE BID THEE FAREWELL >>> 5/18/1961 - 7/21/2015 >>> >>> *Location:* Lisle, Illinois >>> >>> Kenneth Stox, 54 died on 21 July 2015 of natural causes. >>> >>> There will be a Memorial Party for Ken on 9/20/2015 from 2pm-5pm. >>> >>> Irish Times, 8869 Burlington Ave, Brookfield, IL >>> >>> >>> http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d >>> >>> >>> >>> >>> >>> >>> >>> -- >>> 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 >> >> > > > -- > Bonnie King > 773-799-4608 > > _______________________________________________ > 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 Tue Sep 8 21:54:53 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 8 Sep 2015 14:54:53 -0500 Subject: [Chicago] Chicago Digest, Vol 121, Issue 6 In-Reply-To: References: Message-ID: Thanks Tanya! Yes, someone at Northeastern told me the three keys to success in big data are 1) Python, 2) R and finally 3) Hadoop, which he said is really an extension of SQL. I'm sure that next week the three keys to success will be something else! Technology is great, but it's changing faster than I can keep pace with it. I wonder how many people feel that way??? What time does the presentation officially begin on Thursday evening? 6 pm? What time does it end? Is it structures like a classroom or is it more open-ended? Just one group? Or does it get split up into many different sub-groups? I don't know a lot about "parallel computing" other than this is what Java programmers call "Threads". I think (not too sure really) that when you "thread" an algorithm, you allocate one core for one part of the algorithm and then another core for another part of the algorithm, and so on and so forth, and then at the end it all has to get magically pieced back together. ( Sounds like a merge sort problem to me! ) What about Python? Does Python support this multicore approach or "threading"? I really don't know. Jon Haroop, the author of "Ocaml For Scientists" told me that the Ocaml programming language became much less popular in the early 2000's because its main developer underestimated the impact of multicore technology on modern programming. On Tue, Sep 8, 2015 at 8:28 AM, Tanya Schlusser wrote: > > >> Where is the ChiPy meeting this Thursday evening? I checked the website, >> but the location of the meeting had not yet been decided. >> > > It's at Braintree again (8th floor, Merchandise Mart) -- sorry for taking > so long to get it up! > > > >> When I think of "big data analysis" I think of something like, "Okay, read >> all these data from an Excel spreadsheet into a huge Python array or >> matrix, and then construct various Q-Q plots to see if the data are >> normally distributed, exponentially distributed or something else, and >> then >> determine the parameters of the distribution". In other words, when I >> hear >> "big data" I'm really thinking of a mixture of statistics and computer >> programming. Is that correct or is my "definition" a little too narrow? >> > > > It's pretty correct. The 'analysis' part is correct -- it's still > statistics / machine learning. The 'big data' part really was a catchall > phrase for "anything that can't be done right now in a standard database". > So 'big data' can mean a handful of things: > > - Workarounds to key generation because inserts are happening faster > than a standard database can deal with them. This was the 'Velocity' part > of the big data marketers' advertising campaigns. Twitter's Snowflake > is a good example > of working around this. > > - NOSQL (Not Only SQL) -- storing and doing computation over images, > MRIs, genetic data, PDFs, entire Log Files, et cetera... This is the > 'Variety' in the big data marketing. Hadoop's Distributed File System and > MongoDB are good examples of databases that can store these sorts of files. > > - > - Parallel computation on a(n inexpensive) cluster because it would > take too long or the data would not fit on one computer. This means the > algorithms had to be rewritten for parallel execution. This was the > 'Volume' part of big data marketing. > - Apache Mahout > (in java) > was I think one of the first open-source implementation of parallelized > machine learning algorithms. > - The hottest things for this now are the Spark Machine Learning > library ( -- Pycon > 2015 presentation of spark+python > ) > . There is also a Chicago Spark Meetup > . > - And the newcomer Apache Flink, also in Java, bypasses Java's > garbage collection for speed, optimizes SQL queries (unlike Hive), and > claims to provide a truly streaming analytics option without some of the > hangups of Storm. It also has Python bindings > . > There is a Chicago Flink meetup > -- I think > it's the 3rd Flink user group in North America. > > > hope it was useful...see you @ Braintree Thursday! > > _______________________________________________ > 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 Tue Sep 8 21:57:45 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Tue, 08 Sep 2015 19:57:45 +0000 Subject: [Chicago] Chicago Digest, Vol 121, Issue 6 In-Reply-To: References: Message-ID: Dear Luellen Parallel computing , big data and a talk about ocaml are beyond the scope of the talk. I know about functional programming and ocaml in general can you email me personally about these topics ? I would like to help you understand these but it would be best to do this off of the list Sincerely Joshua herman On Tue, Sep 8, 2015 at 2:55 PM Lewit, Douglas wrote: > Thanks Tanya! Yes, someone at Northeastern told me the three keys to > success in big data are 1) Python, 2) R and finally 3) Hadoop, which he > said is really an extension of SQL. I'm sure that next week the three keys > to success will be something else! Technology is great, but it's changing > faster than I can keep pace with it. I wonder how many people feel that > way??? > > What time does the presentation officially begin on Thursday evening? 6 > pm? What time does it end? Is it structures like a classroom or is it > more open-ended? Just one group? Or does it get split up into many > different sub-groups? > > I don't know a lot about "parallel computing" other than this is what Java > programmers call "Threads". I think (not too sure really) that when you > "thread" an algorithm, you allocate one core for one part of the algorithm > and then another core for another part of the algorithm, and so on and so > forth, and then at the end it all has to get magically pieced back > together. ( Sounds like a merge sort problem to me! ) What about Python? > Does Python support this multicore approach or "threading"? I really don't > know. Jon Haroop, the author of "Ocaml For Scientists" told me that the > Ocaml programming language became much less popular in the early 2000's > because its main developer underestimated the impact of multicore > technology on modern programming. > > > On Tue, Sep 8, 2015 at 8:28 AM, Tanya Schlusser wrote: > >> >> >>> Where is the ChiPy meeting this Thursday evening? I checked the website, >>> but the location of the meeting had not yet been decided. >>> >> >> It's at Braintree again (8th floor, Merchandise Mart) -- sorry for taking >> so long to get it up! >> >> >> >>> When I think of "big data analysis" I think of something like, "Okay, >>> read >>> all these data from an Excel spreadsheet into a huge Python array or >>> matrix, and then construct various Q-Q plots to see if the data are >>> normally distributed, exponentially distributed or something else, and >>> then >>> determine the parameters of the distribution". In other words, when I >>> hear >>> "big data" I'm really thinking of a mixture of statistics and computer >>> programming. Is that correct or is my "definition" a little too narrow? >>> >> >> >> It's pretty correct. The 'analysis' part is correct -- it's still >> statistics / machine learning. The 'big data' part really was a catchall >> phrase for "anything that can't be done right now in a standard database". >> So 'big data' can mean a handful of things: >> >> - Workarounds to key generation because inserts are happening faster >> than a standard database can deal with them. This was the 'Velocity' part >> of the big data marketers' advertising campaigns. Twitter's Snowflake >> is a good >> example of working around this. >> >> - NOSQL (Not Only SQL) -- storing and doing computation over images, >> MRIs, genetic data, PDFs, entire Log Files, et cetera... This is the >> 'Variety' in the big data marketing. Hadoop's Distributed File System and >> MongoDB are good examples of databases that can store these sorts of files. >> >> - >> - Parallel computation on a(n inexpensive) cluster because it would >> take too long or the data would not fit on one computer. This means the >> algorithms had to be rewritten for parallel execution. This was the >> 'Volume' part of big data marketing. >> - Apache Mahout >> (in java) >> was I think one of the first open-source implementation of parallelized >> machine learning algorithms. >> - The hottest things for this now are the Spark Machine Learning >> library ( >> -- Pycon 2015 presentation of spark+python >> ) >> . There is also a Chicago Spark Meetup >> . >> - And the newcomer Apache Flink, also in Java, bypasses Java's >> garbage collection for speed, optimizes SQL queries (unlike Hive), and >> claims to provide a truly streaming analytics option without some of the >> hangups of Storm. It also has Python bindings >> . >> There is a Chicago Flink meetup >> -- I think >> it's the 3rd Flink user group in North America. >> >> >> hope it was useful...see you @ Braintree Thursday! >> >> _______________________________________________ >> 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 d-lewit at neiu.edu Tue Sep 8 21:58:46 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 8 Sep 2015 14:58:46 -0500 Subject: [Chicago] Remembering Ken In-Reply-To: References: Message-ID: Lane, Thanks for the offer. I'm always eager to carpool with people. What's a good time to meet? Where? Aren't you in charge of some Django meetup group or something like that? When and where does that usually meet? Thanks! Best, Douglas. On Tue, Sep 8, 2015 at 2:52 PM, Lane Campbell wrote: > so sad to hear that anyone in the community passed, much less someone so > young! > > I didn't know him but I am happy to help those who did get to this if they > need a ride. I am able to take up to three people in my car if anyone else > wants to go. > > > Regards, > Lane Campbell > (312) 775-2632 > > On Tue, Sep 8, 2015 at 1:54 PM, Bonnie King > wrote: > >> One can do all the right things and still die young, even of natural >> causes. >> >> RIP Ken Stox. >> >> >> On Tue, Sep 8, 2015 at 1:17 AM, Lewit, Douglas wrote: >> >>> Oh my gosh!!! 54 isn't really that old! :-( "Natural causes" is a >>> little vague. What was really the problem? I think computer people >>> (developers, hackers, programmers, et al) need to make sure to devote at >>> least 30 minutes every day to exercise. (Could be walking, climbing >>> stairs, Yoga, swimming, or whatever you like.) Excessive sitting at a >>> computer is not without its price to pay. I've noticed that when I'm at my >>> laptop for too many hours, my lower back feels really stiff and if I'm >>> working on some really complicated stuff I actually start to feel kind of >>> dizzy and hyper. That's when I take a break and walk a few blocks or do >>> some Yoga. ( I love to stand on my head. Gets the blood and lymph flowing >>> again in the head and body. ) >>> >>> Dying at 54 is such a tragedy. I hope the guy had a good life. >>> >>> >>> On Mon, Sep 7, 2015 at 6:00 PM, Brian Ray wrote: >>> >>>> I remember Ken from Imaginary Landscape days. He spoke openly about his >>>> earlier days working on X11 and GCC at Bell Labs--one of our true old >>>> school hackers. >>>> >>>> He hosted our group more recently at Groupon offices. >>>> WE BID THEE FAREWELL >>>> 5/18/1961 - 7/21/2015 >>>> >>>> *Location:* Lisle, Illinois >>>> >>>> Kenneth Stox, 54 died on 21 July 2015 of natural causes. >>>> >>>> There will be a Memorial Party for Ken on 9/20/2015 from 2pm-5pm. >>>> >>>> Irish Times, 8869 Burlington Ave, Brookfield, IL >>>> >>>> >>>> http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> 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 >>> >>> >> >> >> -- >> Bonnie King >> 773-799-4608 >> >> _______________________________________________ >> 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 d-lewit at neiu.edu Tue Sep 8 22:04:26 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 8 Sep 2015 15:04:26 -0500 Subject: [Chicago] Chicago Digest, Vol 121, Issue 6 In-Reply-To: References: Message-ID: Luellen??? Not even close. First name is Douglas. Last name is Lewit. I think Luellen is the lady who owns the nail salon down the street! :-) On Tue, Sep 8, 2015 at 2:57 PM, Joshua Herman wrote: > Dear Luellen > Parallel computing , big data and a talk about ocaml are beyond the scope > of the talk. > I know about functional programming and ocaml in general can you email me > personally about these topics ? I would like to help you understand these > but it would be best to do this off of the list > Sincerely > Joshua herman > On Tue, Sep 8, 2015 at 2:55 PM Lewit, Douglas wrote: > >> Thanks Tanya! Yes, someone at Northeastern told me the three keys to >> success in big data are 1) Python, 2) R and finally 3) Hadoop, which he >> said is really an extension of SQL. I'm sure that next week the three keys >> to success will be something else! Technology is great, but it's changing >> faster than I can keep pace with it. I wonder how many people feel that >> way??? >> >> What time does the presentation officially begin on Thursday evening? 6 >> pm? What time does it end? Is it structures like a classroom or is it >> more open-ended? Just one group? Or does it get split up into many >> different sub-groups? >> >> I don't know a lot about "parallel computing" other than this is what >> Java programmers call "Threads". I think (not too sure really) that when >> you "thread" an algorithm, you allocate one core for one part of the >> algorithm and then another core for another part of the algorithm, and so >> on and so forth, and then at the end it all has to get magically pieced >> back together. ( Sounds like a merge sort problem to me! ) What about >> Python? Does Python support this multicore approach or "threading"? I >> really don't know. Jon Haroop, the author of "Ocaml For Scientists" told >> me that the Ocaml programming language became much less popular in the >> early 2000's because its main developer underestimated the impact of >> multicore technology on modern programming. >> >> >> On Tue, Sep 8, 2015 at 8:28 AM, Tanya Schlusser wrote: >> >>> >>> >>>> Where is the ChiPy meeting this Thursday evening? I checked the >>>> website, >>>> but the location of the meeting had not yet been decided. >>>> >>> >>> It's at Braintree again (8th floor, Merchandise Mart) -- sorry for >>> taking so long to get it up! >>> >>> >>> >>>> When I think of "big data analysis" I think of something like, "Okay, >>>> read >>>> all these data from an Excel spreadsheet into a huge Python array or >>>> matrix, and then construct various Q-Q plots to see if the data are >>>> normally distributed, exponentially distributed or something else, and >>>> then >>>> determine the parameters of the distribution". In other words, when I >>>> hear >>>> "big data" I'm really thinking of a mixture of statistics and computer >>>> programming. Is that correct or is my "definition" a little too narrow? >>>> >>> >>> >>> It's pretty correct. The 'analysis' part is correct -- it's still >>> statistics / machine learning. The 'big data' part really was a catchall >>> phrase for "anything that can't be done right now in a standard database". >>> So 'big data' can mean a handful of things: >>> >>> - Workarounds to key generation because inserts are happening faster >>> than a standard database can deal with them. This was the 'Velocity' part >>> of the big data marketers' advertising campaigns. Twitter's Snowflake >>> is a good >>> example of working around this. >>> >>> - NOSQL (Not Only SQL) -- storing and doing computation over images, >>> MRIs, genetic data, PDFs, entire Log Files, et cetera... This is the >>> 'Variety' in the big data marketing. Hadoop's Distributed File System and >>> MongoDB are good examples of databases that can store these sorts of files. >>> >>> - >>> - Parallel computation on a(n inexpensive) cluster because it would >>> take too long or the data would not fit on one computer. This means the >>> algorithms had to be rewritten for parallel execution. This was the >>> 'Volume' part of big data marketing. >>> - Apache Mahout >>> (in >>> java) was I think one of the first open-source implementation of >>> parallelized machine learning algorithms. >>> - The hottest things for this now are the Spark Machine Learning >>> library ( >>> -- Pycon 2015 presentation of spark+python >>> ) >>> . There is also a Chicago Spark Meetup >>> . >>> - And the newcomer Apache Flink, also in Java, bypasses Java's >>> garbage collection for speed, optimizes SQL queries (unlike Hive), and >>> claims to provide a truly streaming analytics option without some of the >>> hangups of Storm. It also has Python bindings >>> . >>> There is a Chicago Flink meetup >>> -- I think >>> it's the 3rd Flink user group in North America. >>> >>> >>> hope it was useful...see you @ Braintree Thursday! >>> >>> _______________________________________________ >>> 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 tanya at tickel.net Tue Sep 8 22:39:09 2015 From: tanya at tickel.net (Tanya Schlusser) Date: Tue, 8 Sep 2015 15:39:09 -0500 Subject: [Chicago] The big data / parallelism thread Message-ID: > > What time does the presentation officially begin on Thursday evening? 6 > pm? What time does it end? Is it structures like a classroom or is it > more open-ended? Just one group? Or does it get split up into many > different sub-groups? > It starts at 7pm. The main ChiPy meetups are actually always on the 2nd Thursday of the month at 7pm somewhere in downtown Chicago. Here's the meetup page . > Does Python support this multicore approach or "threading"? I really don't > know. > Yes. - here are the concurrency tools in Python - and here are the docs for asyncio -- for event handling -- new in Python 3.4 *** It is provisional and may be removed so don't get married to it *** -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Tue Sep 8 23:09:01 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Tue, 8 Sep 2015 16:09:01 -0500 Subject: [Chicago] The big data / parallelism thread In-Reply-To: References: Message-ID: HouPy two months ago was partially about the concurrency stuff. As an old guy I am remembering how we used to allocate a bank of disk drives and multiplex the data so we could feed the pipes on the Cray IIS. On Tue, Sep 8, 2015 at 3:39 PM, Tanya Schlusser wrote: > What time does the presentation officially begin on Thursday evening? 6 >> pm? What time does it end? Is it structures like a classroom or is it >> more open-ended? Just one group? Or does it get split up into many >> different sub-groups? >> > > It starts at 7pm. The main ChiPy meetups are actually always on the 2nd > Thursday of the month at 7pm somewhere in downtown Chicago. > Here's the meetup page . > > > >> Does Python support this multicore approach or "threading"? I really >> don't >> know. >> > > Yes. > > - here are the concurrency tools in Python > > - and here are the docs for asyncio > -- for > event handling -- new in Python 3.4 *** It is provisional and may be > removed so don't get married to it *** > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lane at strapr.com Tue Sep 8 23:30:11 2015 From: lane at strapr.com (Lane Campbell) Date: Tue, 8 Sep 2015 16:30:11 -0500 Subject: [Chicago] Remembering Ken In-Reply-To: References: Message-ID: Lewit, I live over in Lincoln Park, right by North and Halsted. There is a red line stop right by me if you take public transit. Indeed I run the Django Study Group every Sunday from 12p.m. till 4p.m. in Lincoln Park. I'm also the co-founder of June (http://www.joinjune.com) the world's first platform that has recruiters pay tech people to pitch them jobs. Regards, Lane Campbell (312) 775-2632 On Tue, Sep 8, 2015 at 2:58 PM, Lewit, Douglas wrote: > Lane, > > Thanks for the offer. I'm always eager to carpool with people. What's a > good time to meet? Where? > > Aren't you in charge of some Django meetup group or something like that? > When and where does that usually meet? > > Thanks! > > Best, > > Douglas. > > > On Tue, Sep 8, 2015 at 2:52 PM, Lane Campbell wrote: > >> so sad to hear that anyone in the community passed, much less someone so >> young! >> >> I didn't know him but I am happy to help those who did get to this if >> they need a ride. I am able to take up to three people in my car if anyone >> else wants to go. >> >> >> Regards, >> Lane Campbell >> (312) 775-2632 >> >> On Tue, Sep 8, 2015 at 1:54 PM, Bonnie King >> wrote: >> >>> One can do all the right things and still die young, even of natural >>> causes. >>> >>> RIP Ken Stox. >>> >>> >>> On Tue, Sep 8, 2015 at 1:17 AM, Lewit, Douglas wrote: >>> >>>> Oh my gosh!!! 54 isn't really that old! :-( "Natural causes" is a >>>> little vague. What was really the problem? I think computer people >>>> (developers, hackers, programmers, et al) need to make sure to devote at >>>> least 30 minutes every day to exercise. (Could be walking, climbing >>>> stairs, Yoga, swimming, or whatever you like.) Excessive sitting at a >>>> computer is not without its price to pay. I've noticed that when I'm at my >>>> laptop for too many hours, my lower back feels really stiff and if I'm >>>> working on some really complicated stuff I actually start to feel kind of >>>> dizzy and hyper. That's when I take a break and walk a few blocks or do >>>> some Yoga. ( I love to stand on my head. Gets the blood and lymph flowing >>>> again in the head and body. ) >>>> >>>> Dying at 54 is such a tragedy. I hope the guy had a good life. >>>> >>>> >>>> On Mon, Sep 7, 2015 at 6:00 PM, Brian Ray wrote: >>>> >>>>> I remember Ken from Imaginary Landscape days. He spoke openly about >>>>> his earlier days working on X11 and GCC at Bell Labs--one of our true >>>>> old school hackers. >>>>> >>>>> He hosted our group more recently at Groupon offices. >>>>> WE BID THEE FAREWELL >>>>> 5/18/1961 - 7/21/2015 >>>>> >>>>> *Location:* Lisle, Illinois >>>>> >>>>> Kenneth Stox, 54 died on 21 July 2015 of natural causes. >>>>> >>>>> There will be a Memorial Party for Ken on 9/20/2015 from 2pm-5pm. >>>>> >>>>> Irish Times, 8869 Burlington Ave, Brookfield, IL >>>>> >>>>> >>>>> http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> 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 >>>> >>>> >>> >>> >>> -- >>> Bonnie King >>> 773-799-4608 >>> >>> _______________________________________________ >>> 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 d-lewit at neiu.edu Wed Sep 9 01:03:25 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 8 Sep 2015 18:03:25 -0500 Subject: [Chicago] Remembering Ken In-Reply-To: References: Message-ID: So you live right by the Container Store and also the Apple Store, right? (Sounds like a retail sellers' paradise over there! LOL ) Do you want to meet at the Apple Store at North & Halsted? ( I'm a Mac addict, okay I finally confessed to it! ) What time? My cell # is 773-567-8999 if that helps. Is there a charge for the Django group? Not sure if I have the time to attend every group, but I would like to attend at least a couple. I know some Python, but I know ZERO about Django, except that it's Python's version of JavaScript or the Python equivalent of Ruby's Rails. On Tue, Sep 8, 2015 at 4:30 PM, Lane Campbell wrote: > Lewit, > > I live over in Lincoln Park, right by North and Halsted. There is a red > line stop right by me if you take public transit. > > Indeed I run the Django Study Group every Sunday from 12p.m. till 4p.m. in > Lincoln Park. I'm also the co-founder of June (http://www.joinjune.com) > the world's first platform that has recruiters pay tech people to pitch > them jobs. > > > Regards, > Lane Campbell > (312) 775-2632 > > On Tue, Sep 8, 2015 at 2:58 PM, Lewit, Douglas wrote: > >> Lane, >> >> Thanks for the offer. I'm always eager to carpool with people. What's a >> good time to meet? Where? >> >> Aren't you in charge of some Django meetup group or something like that? >> When and where does that usually meet? >> >> Thanks! >> >> Best, >> >> Douglas. >> >> >> On Tue, Sep 8, 2015 at 2:52 PM, Lane Campbell wrote: >> >>> so sad to hear that anyone in the community passed, much less someone so >>> young! >>> >>> I didn't know him but I am happy to help those who did get to this if >>> they need a ride. I am able to take up to three people in my car if anyone >>> else wants to go. >>> >>> >>> Regards, >>> Lane Campbell >>> (312) 775-2632 >>> >>> On Tue, Sep 8, 2015 at 1:54 PM, Bonnie King >>> wrote: >>> >>>> One can do all the right things and still die young, even of natural >>>> causes. >>>> >>>> RIP Ken Stox. >>>> >>>> >>>> On Tue, Sep 8, 2015 at 1:17 AM, Lewit, Douglas >>>> wrote: >>>> >>>>> Oh my gosh!!! 54 isn't really that old! :-( "Natural causes" is a >>>>> little vague. What was really the problem? I think computer people >>>>> (developers, hackers, programmers, et al) need to make sure to devote at >>>>> least 30 minutes every day to exercise. (Could be walking, climbing >>>>> stairs, Yoga, swimming, or whatever you like.) Excessive sitting at a >>>>> computer is not without its price to pay. I've noticed that when I'm at my >>>>> laptop for too many hours, my lower back feels really stiff and if I'm >>>>> working on some really complicated stuff I actually start to feel kind of >>>>> dizzy and hyper. That's when I take a break and walk a few blocks or do >>>>> some Yoga. ( I love to stand on my head. Gets the blood and lymph flowing >>>>> again in the head and body. ) >>>>> >>>>> Dying at 54 is such a tragedy. I hope the guy had a good life. >>>>> >>>>> >>>>> On Mon, Sep 7, 2015 at 6:00 PM, Brian Ray wrote: >>>>> >>>>>> I remember Ken from Imaginary Landscape days. He spoke openly about >>>>>> his earlier days working on X11 and GCC at Bell Labs--one of our >>>>>> true old school hackers. >>>>>> >>>>>> He hosted our group more recently at Groupon offices. >>>>>> WE BID THEE FAREWELL >>>>>> 5/18/1961 - 7/21/2015 >>>>>> >>>>>> *Location:* Lisle, Illinois >>>>>> >>>>>> Kenneth Stox, 54 died on 21 July 2015 of natural causes. >>>>>> >>>>>> There will be a Memorial Party for Ken on 9/20/2015 from 2pm-5pm. >>>>>> >>>>>> Irish Times, 8869 Burlington Ave, Brookfield, IL >>>>>> >>>>>> >>>>>> http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> 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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Bonnie King >>>> 773-799-4608 >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.mcavoy at gmail.com Wed Sep 9 16:23:54 2015 From: chris.mcavoy at gmail.com (Chris McAvoy) Date: Wed, 09 Sep 2015 14:23:54 +0000 Subject: [Chicago] Remembering Ken In-Reply-To: References: Message-ID: Ken was really helpful in the early days of this group, offering lots of advice and encouragement. Sad to hear this news. Chris On Tue, Sep 8, 2015 at 5:03 PM Lewit, Douglas wrote: > So you live right by the Container Store and also the Apple Store, right? > (Sounds like a retail sellers' paradise over there! LOL ) Do you want to > meet at the Apple Store at North & Halsted? ( I'm a Mac addict, okay I > finally confessed to it! ) What time? My cell # is 773-567-8999 if that > helps. > > Is there a charge for the Django group? Not sure if I have the time to > attend every group, but I would like to attend at least a couple. I know > some Python, but I know ZERO about Django, except that it's Python's > version of JavaScript or the Python equivalent of Ruby's Rails. > > On Tue, Sep 8, 2015 at 4:30 PM, Lane Campbell wrote: > >> Lewit, >> >> I live over in Lincoln Park, right by North and Halsted. There is a red >> line stop right by me if you take public transit. >> >> Indeed I run the Django Study Group every Sunday from 12p.m. till 4p.m. >> in Lincoln Park. I'm also the co-founder of June ( >> http://www.joinjune.com) the world's first platform that has recruiters >> pay tech people to pitch them jobs. >> >> >> Regards, >> Lane Campbell >> (312) 775-2632 >> >> On Tue, Sep 8, 2015 at 2:58 PM, Lewit, Douglas wrote: >> >>> Lane, >>> >>> Thanks for the offer. I'm always eager to carpool with people. What's >>> a good time to meet? Where? >>> >>> Aren't you in charge of some Django meetup group or something like >>> that? When and where does that usually meet? >>> >>> Thanks! >>> >>> Best, >>> >>> Douglas. >>> >>> >>> On Tue, Sep 8, 2015 at 2:52 PM, Lane Campbell wrote: >>> >>>> so sad to hear that anyone in the community passed, much less someone >>>> so young! >>>> >>>> I didn't know him but I am happy to help those who did get to this if >>>> they need a ride. I am able to take up to three people in my car if anyone >>>> else wants to go. >>>> >>>> >>>> Regards, >>>> Lane Campbell >>>> (312) 775-2632 >>>> >>>> On Tue, Sep 8, 2015 at 1:54 PM, Bonnie King >>>> wrote: >>>> >>>>> One can do all the right things and still die young, even of natural >>>>> causes. >>>>> >>>>> RIP Ken Stox. >>>>> >>>>> >>>>> On Tue, Sep 8, 2015 at 1:17 AM, Lewit, Douglas >>>>> wrote: >>>>> >>>>>> Oh my gosh!!! 54 isn't really that old! :-( "Natural causes" is a >>>>>> little vague. What was really the problem? I think computer people >>>>>> (developers, hackers, programmers, et al) need to make sure to devote at >>>>>> least 30 minutes every day to exercise. (Could be walking, climbing >>>>>> stairs, Yoga, swimming, or whatever you like.) Excessive sitting at a >>>>>> computer is not without its price to pay. I've noticed that when I'm at my >>>>>> laptop for too many hours, my lower back feels really stiff and if I'm >>>>>> working on some really complicated stuff I actually start to feel kind of >>>>>> dizzy and hyper. That's when I take a break and walk a few blocks or do >>>>>> some Yoga. ( I love to stand on my head. Gets the blood and lymph flowing >>>>>> again in the head and body. ) >>>>>> >>>>>> Dying at 54 is such a tragedy. I hope the guy had a good life. >>>>>> >>>>>> >>>>>> On Mon, Sep 7, 2015 at 6:00 PM, Brian Ray >>>>>> wrote: >>>>>> >>>>>>> I remember Ken from Imaginary Landscape days. He spoke openly about >>>>>>> his earlier days working on X11 and GCC at Bell Labs--one of our >>>>>>> true old school hackers. >>>>>>> >>>>>>> He hosted our group more recently at Groupon offices. >>>>>>> WE BID THEE FAREWELL >>>>>>> 5/18/1961 - 7/21/2015 >>>>>>> >>>>>>> *Location:* Lisle, Illinois >>>>>>> >>>>>>> Kenneth Stox, 54 died on 21 July 2015 of natural causes. >>>>>>> >>>>>>> There will be a Memorial Party for Ken on 9/20/2015 from 2pm-5pm. >>>>>>> >>>>>>> Irish Times, 8869 Burlington Ave, Brookfield, IL >>>>>>> >>>>>>> >>>>>>> http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Bonnie King >>>>> 773-799-4608 >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From osiddique at gmail.com Wed Sep 9 16:46:33 2015 From: osiddique at gmail.com (Osman Siddique) Date: Wed, 9 Sep 2015 09:46:33 -0500 Subject: [Chicago] Chicago Digest, Vol 121, Issue 6 In-Reply-To: References: Message-ID: 'Inside Luellen Douglas' was a great movie. On Tue, Sep 8, 2015 at 3:04 PM, Lewit, Douglas wrote: > Luellen??? Not even close. First name is Douglas. Last name is Lewit. > I think Luellen is the lady who owns the nail salon down the street! :-) > > On Tue, Sep 8, 2015 at 2:57 PM, Joshua Herman > wrote: > >> Dear Luellen >> Parallel computing , big data and a talk about ocaml are beyond the scope >> of the talk. >> I know about functional programming and ocaml in general can you email me >> personally about these topics ? I would like to help you understand these >> but it would be best to do this off of the list >> Sincerely >> Joshua herman >> On Tue, Sep 8, 2015 at 2:55 PM Lewit, Douglas wrote: >> >>> Thanks Tanya! Yes, someone at Northeastern told me the three keys to >>> success in big data are 1) Python, 2) R and finally 3) Hadoop, which he >>> said is really an extension of SQL. I'm sure that next week the three keys >>> to success will be something else! Technology is great, but it's changing >>> faster than I can keep pace with it. I wonder how many people feel that >>> way??? >>> >>> What time does the presentation officially begin on Thursday evening? 6 >>> pm? What time does it end? Is it structures like a classroom or is it >>> more open-ended? Just one group? Or does it get split up into many >>> different sub-groups? >>> >>> I don't know a lot about "parallel computing" other than this is what >>> Java programmers call "Threads". I think (not too sure really) that when >>> you "thread" an algorithm, you allocate one core for one part of the >>> algorithm and then another core for another part of the algorithm, and so >>> on and so forth, and then at the end it all has to get magically pieced >>> back together. ( Sounds like a merge sort problem to me! ) What about >>> Python? Does Python support this multicore approach or "threading"? I >>> really don't know. Jon Haroop, the author of "Ocaml For Scientists" told >>> me that the Ocaml programming language became much less popular in the >>> early 2000's because its main developer underestimated the impact of >>> multicore technology on modern programming. >>> >>> >>> On Tue, Sep 8, 2015 at 8:28 AM, Tanya Schlusser >>> wrote: >>> >>>> >>>> >>>>> Where is the ChiPy meeting this Thursday evening? I checked the >>>>> website, >>>>> but the location of the meeting had not yet been decided. >>>>> >>>> >>>> It's at Braintree again (8th floor, Merchandise Mart) -- sorry for >>>> taking so long to get it up! >>>> >>>> >>>> >>>>> When I think of "big data analysis" I think of something like, "Okay, >>>>> read >>>>> all these data from an Excel spreadsheet into a huge Python array or >>>>> matrix, and then construct various Q-Q plots to see if the data are >>>>> normally distributed, exponentially distributed or something else, and >>>>> then >>>>> determine the parameters of the distribution". In other words, when I >>>>> hear >>>>> "big data" I'm really thinking of a mixture of statistics and computer >>>>> programming. Is that correct or is my "definition" a little too >>>>> narrow? >>>>> >>>> >>>> >>>> It's pretty correct. The 'analysis' part is correct -- it's still >>>> statistics / machine learning. The 'big data' part really was a catchall >>>> phrase for "anything that can't be done right now in a standard database". >>>> So 'big data' can mean a handful of things: >>>> >>>> - Workarounds to key generation because inserts are happening >>>> faster than a standard database can deal with them. This was the 'Velocity' >>>> part of the big data marketers' advertising campaigns. Twitter's >>>> Snowflake is a >>>> good example of working around this. >>>> >>>> - NOSQL (Not Only SQL) -- storing and doing computation over >>>> images, MRIs, genetic data, PDFs, entire Log Files, et cetera... This is >>>> the 'Variety' in the big data marketing. Hadoop's Distributed File System >>>> and MongoDB are good examples of databases that can store these sorts of >>>> files. >>>> >>>> - >>>> - Parallel computation on a(n inexpensive) cluster because it would >>>> take too long or the data would not fit on one computer. This means the >>>> algorithms had to be rewritten for parallel execution. This was the >>>> 'Volume' part of big data marketing. >>>> - Apache Mahout >>>> (in >>>> java) was I think one of the first open-source implementation of >>>> parallelized machine learning algorithms. >>>> - The hottest things for this now are the Spark Machine Learning >>>> library ( >>>> -- Pycon 2015 presentation of spark+python >>>> ) >>>> . There is also a Chicago Spark Meetup >>>> . >>>> - And the newcomer Apache Flink, also in Java, bypasses Java's >>>> garbage collection for speed, optimizes SQL queries (unlike Hive), and >>>> claims to provide a truly streaming analytics option without some of the >>>> hangups of Storm. It also has Python bindings >>>> . >>>> There is a Chicago Flink meetup >>>> -- I think >>>> it's the 3rd Flink user group in North America. >>>> >>>> >>>> hope it was useful...see you @ Braintree Thursday! >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at paulmayassociates.com Wed Sep 9 16:33:10 2015 From: paul at paulmayassociates.com (Paul May) Date: Wed, 09 Sep 2015 14:33:10 -0000 Subject: [Chicago] Remembering Ken Message-ID: <212364188265552@198.154.215.62:26> I knew Ken for years. Great guy. Always willing to put a hand or thought out to help out. Also, probably one of the most talented developers / admins I knew. He really knew his stuff. He'll be missed. Paul v 708-479-1111 c 312-925-1294 Paul May & Associates, Inc. (PMA) paul at paulmayassociates.com link up http://www.linkedin.com/in/paulmayassociates like us on http://www.facebook.com/paulmayassociates Search over 100 real jobs www.paulmayassociates.com Note:- If you do not wish to receive emails from Paul May & Associates, please send an email to remove at paulmayassociates.com and put REMOVE in the Subject line. ----- Original Message ----- To: The Chicago Python Users Group From: Chris McAvoy Sent: 9/9/2015 9:24:59 AM Subject: Re: [Chicago] Remembering Ken Ken was really helpful in the early days of this group, offering lots of advice and encouragement. Sad to hear this news. Chris On Tue, Sep 8, 2015 at 5:03 PM Lewit, Douglas wrote: So you live right by the Container Store and also the Apple Store, right? (Sounds like a retail sellers' paradise over there! LOL ) Do you want to meet at the Apple Store at North & Halsted? ( I'm a Mac addict, okay I finally confessed to it! ) What time? My cell # is 773-567-8999 if that helps. Is there a charge for the Django group? Not sure if I have the time to attend every group, but I would like to attend at least a couple. I know some Python, but I know ZERO about Django, except that it's Python's version of JavaScript or the Python equivalent of Ruby's Rails. On Tue, Sep 8, 2015 at 4:30 PM, Lane Campbell wrote: Lewit, I live over in Lincoln Park, right by North and Halsted. There is a red line stop right by me if you take public transit. Indeed I run the Django Study Group every Sunday from 12p.m. till 4p.m. in Lincoln Park. I'm also the co-founder of June (http://www.joinjune.com) the world's first platform that has recruiters pay tech people to pitch them jobs. Regards, Lane Campbell (312) 775-2632 On Tue, Sep 8, 2015 at 2:58 PM, Lewit, Douglas wrote: Lane, Thanks for the offer. I'm always eager to carpool with people. What's a good time to meet? Where? Aren't you in charge of some Django meetup group or something like that? When and where does that usually meet? Thanks! Best, Douglas. On Tue, Sep 8, 2015 at 2:52 PM, Lane Campbell wrote: so sad to hear that anyone in the community passed, much less someone so young! I didn't know him but I am happy to help those who did get to this if they need a ride. I am able to take up to three people in my car if anyone else wants to go. Regards, Lane Campbell (312) 775-2632 On Tue, Sep 8, 2015 at 1:54 PM, Bonnie King wrote: One can do all the right things and still die young, even of natural causes. RIP Ken Stox. On Tue, Sep 8, 2015 at 1:17 AM, Lewit, Douglas wrote: Oh my gosh!!! 54 isn't really that old! :-( "Natural causes" is a little vague. What was really the problem? I think computer people (developers, hackers, programmers, et al) need to make sure to devote at least 30 minutes every day to exercise. (Could be walking, climbing stairs, Yoga, swimming, or whatever you like.) Excessive sitting at a computer is not without its price to pay. I've noticed that when I'm at my laptop for too many hours, my lower back feels really stiff and if I'm working on some really complicated stuff I actually start to feel kind of dizzy and hyper. That's when I take a break and walk a few blocks or do some Yoga. ( I love to stand on my head. Gets the blood and lymph flowing again in the head and body. ) Dying at 54 is such a tragedy. I hope the guy had a good life. On Mon, Sep 7, 2015 at 6:00 PM, Brian Ray wrote: I remember Ken from Imaginary Landscape days. He spoke openly about his earlier days working on X11 and GCC at Bell Labs--one of our true old school hackers. He hosted our group more recently at Groupon offices. WE BID THEE FAREWELL 5/18/1961 - 7/21/2015 Location: Lisle, Illinois Kenneth Stox, 54 died on 21 July 2015 of natural causes. There will be a Memorial Party for Ken on 9/20/2015 from 2pm-5pm. Irish Times, 8869 Burlington Ave, Brookfield, IL http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d -- 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 -- Bonnie King 773-799-4608 _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago (The following links were included with this email:) mailto:paul at paulmayassociates.com http://www.linkedin.com/in/paulmayassociates http://www.facebook.com/paulmayassociates http://www.paulmayassociates.com/ mailto:d-lewit at neiu.edu mailto:lane at strapr.com http://www.joinjune.com mailto:d-lewit at neiu.edu mailto:lane at strapr.com mailto:misterbonnie at gmail.com mailto:d-lewit at neiu.edu mailto:brianhray at gmail.com http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago (The following links were included with this email:) mailto:paul at paulmayassociates.com http://www.linkedin.com/in/paulmayassociates http://www.facebook.com/paulmayassociates http://www.paulmayassociates.com/ mailto:d-lewit at neiu.edu mailto:lane at strapr.com http://www.joinjune.com mailto:d-lewit at neiu.edu mailto:lane at strapr.com mailto:misterbonnie at gmail.com mailto:d-lewit at neiu.edu mailto:brianhray at gmail.com http://www.never-gone.com/Memorials/default.aspx?m=6h/SrD9At3YFWEiCR02stg%3d%3d mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago mailto:Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From bainada.iit at gmail.com Thu Sep 10 20:59:10 2015 From: bainada.iit at gmail.com (Adam Bain) Date: Thu, 10 Sep 2015 13:59:10 -0500 Subject: [Chicago] [ANN] September ChiPy Tonight Message-ID: *When:* Sept. 10, 2015, 7 p.m. *Where:* Braintree *new* HQ Merchandise Mart 222 W Merchandise Mart Plaza 8th Floor Chicago, IL 60654 - *ChiPy Mentorship Oct-Dec 2015* (0:07:00 Minutes) By: Tathagata The wait is over! ChiPy's Mentorship program returns for the third time. We learned a lot from the previous two mentorship program and will do things a bit differently this time. This will be a quick overview how we are going to conduct the ChiPy's Python mentorship program. - *Setting Up Machine learning with anaconda* (0:20:00 Minutes) By: Joshua Herman 5 min What is anaconda and how do i use it 5 min What is ipython 10 min Why machine learning is fun and how to do easy classification tasks - *Exploring uWSGI* By: Chris Sinchok uWSGI is a very popular software package, but most Python programmers just connect it to nginx, and leave it at that. I'll be exploring some of the more advanced features of uWSGI, and how they can make your life easier. - *Why You Can't Sit With Us - Understanding Network Analysis in Python With Mean Girls* (0:40:00 Minutes) By: Richard Harris Network analysis is a handy tool used to understand group dynamics, provide product recommendations, and prevent homicides (and other things). This talk will introduce the theory behind network analysis and showcase the flexibility of Python's NetworkX library. No knowledge of network analysis (or Mean Girls) is needed, but basic knowledge of Python and the iPython Notebook, will be helpful. I gave this talk last month in Columbus OH at PyOhio 2015. RSVP: http://www.chipy.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at sinchok.com Fri Sep 11 04:32:48 2015 From: chris at sinchok.com (Chris Sinchok) Date: Thu, 10 Sep 2015 21:32:48 -0500 Subject: [Chicago] uWSGI Slides Message-ID: Hey everyone, Thanks for having me at tonight's meeting. If anyone's interested, my slides are here: https://docs.google.com/presentation/d/1w1rd89cuAgFRx0PhN0Z35kQzJN5AwT2LzAP1Szwmwbk/edit?usp=sharing And I've put together some runnable samples in a github repo here: https://github.com/csinchok/exploring-uwsgi If anyone has any questions, please feel free to shoot me an email! - Chris Sinchok chris at sinchok.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Fri Sep 11 05:50:30 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Thu, 10 Sep 2015 22:50:30 -0500 Subject: [Chicago] uWSGI Slides In-Reply-To: References: Message-ID: Thanks Chris. Great talk! On Sep 10, 2015 9:32 PM, "Chris Sinchok" wrote: > Hey everyone, > > Thanks for having me at tonight's meeting. If anyone's interested, my > slides are here: > > > https://docs.google.com/presentation/d/1w1rd89cuAgFRx0PhN0Z35kQzJN5AwT2LzAP1Szwmwbk/edit?usp=sharing > > And I've put together some runnable samples in a github repo here: > https://github.com/csinchok/exploring-uwsgi > > If anyone has any questions, please feel free to shoot me an email! > > - Chris Sinchok > chris at sinchok.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tathagatadg at gmail.com Fri Sep 11 07:43:32 2015 From: tathagatadg at gmail.com (Tathagata Dasgupta) Date: Fri, 11 Sep 2015 00:43:32 -0500 Subject: [Chicago] ChiPy Mentorship Application Message-ID: Thanks everyone for coming out to ChiPy tonight! In case you are interested about the timeline and the tracks of the mentorship program, go here for the slides For those of you who are wondering if you want to be a mentor, here are 5 reasons: - "While we teach, we learn" - *Sceneca* - Connect with other Mentors - Warm fuzzy feeling of helping some one *- *Give back to ChiPy - A Surprise gift (Hint in the signup link) Apply Today ! -- Cheers, T -------------- next part -------------- An HTML attachment was scrubbed... URL: From lane at strapr.com Fri Sep 11 08:20:17 2015 From: lane at strapr.com (Lane Campbell) Date: Fri, 11 Sep 2015 01:20:17 -0500 Subject: [Chicago] ChiPy Mentorship Application In-Reply-To: References: Message-ID: Awesome! This is such a great program! Regards, Lane Campbell (312) 775-2632 On Fri, Sep 11, 2015 at 12:43 AM, Tathagata Dasgupta wrote: > Thanks everyone for coming out to ChiPy tonight! > In case you are interested about the timeline and the tracks of the > mentorship program, go here for the slides > > > > For those of you who are wondering if you want to be a mentor, here are 5 > reasons: > - "While we teach, we learn" - *Sceneca* > - Connect with other Mentors > - Warm fuzzy feeling of helping some one > *- *Give back to ChiPy > - A Surprise gift (Hint in the signup link) > > Apply Today > > ! > > -- > Cheers, > T > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Fri Sep 11 16:58:51 2015 From: brianhray at gmail.com (Brian Ray) Date: Fri, 11 Sep 2015 10:58:51 -0400 Subject: [Chicago] It was nice seeing you last night Message-ID: Thanks for last night. I really enjoyed this meeting and it may have been one of our best ever. A couple notes: - I just got a job openings for Senior Django developer. You can be based in Chicago but must be able to travel. Please email resume to Me Brian Ray and/or Jerry Dumblauskas < jdumblauskas at gmail.com> - Please contact Joe Jasinski if you want to submit a design for our T-shirt - Also you can give a talk at ChiPy by proposing here ?? http://www.chipy.org/meetings/topics/propose? ? # or talking to Joe - See "T" Mentorship program (details below) - Please contact Tathagata Dasgupta if you want to be part of the *leadership* for the Scientific Computing SIG - Please contact Jason Wirth if you want to learn more about the Financial SIG - If you want to Sponsor ($) ChiPy and our efforts please contact Adam Forsyth - If you want to contribute to the chipy.org site or have issues with our mailing lists, please see Cezar Jenkins - If you have any concerns on conduct or ethics of our members or leadership please contact Tanya Schlusser . Also a good person to talk about increasing our groups diversity. - If you have any financial related questions of our group, please contact Adam Bain - You can always contact all of us at "chicago-organizers at python.org" < chicago-organizers at python.org> - You should certainly subscribe to our mailing list at https://mail.python.org/mailman/listinfo/chicago - Lastly, if you have something nice to say about our meeting last night, please say so here: http://www.meetup.com/_ChiPy_/events/survey/?eventId=225119338 Also, please note "T"'s Mentorship Program Tathagata Dasgupta Thanks everyone for coming out to ChiPy tonight! In case you are interested about the timeline and the tracks of the mentorship program, go here for the slides:https://goo.gl/zmOuJR For those of you who are wondering if you want to be a mentor, here are 5 reasons: - "While we teach, we learn" - Sceneca - Connect with other Mentors - Warm fuzzy feeling of helping some one - Give back to ChiPy - A Surprise gift (Hint in the signup link) Apply Today!: https://goo.gl/GjJvy6 -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe.jasinski at gmail.com Mon Sep 14 06:06:21 2015 From: joe.jasinski at gmail.com (Joe Jasinski) Date: Sun, 13 Sep 2015 23:06:21 -0500 Subject: [Chicago] ChiPy Design T-Shirt Contest Message-ID: Hi All, ChiPy is planning on creating an official ChiPy T-shirt, and we are looking for your help! We'd like to open up the T-shirt design process to the ChiPy community (and friends) and make a contest of T-shirt design submissions. Once we have enough artwork submissions, we as a ChiPy community will vote on the design that we'd like to print. The winner of the vote will win 2 free T-shirts with the design! The winning design will be printed on the front of a white T-shirt. Here are the requirements for the artwork. The artwork... - should relate to the Python and ChiPy community (with the ChiPy name or logo) - can use any number of colors - should be in PDF or PNG file format at 300DPI. (EPS or AI file format would also work) - should fit within a 12x12 inch print region Please email me your artwork submission and I look forward to seeing some creative ChiPy T-shirt designs! Joe -- Joe J. Jasinski www.joejasinski.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tathagatadg at gmail.com Fri Sep 18 12:58:32 2015 From: tathagatadg at gmail.com (Tathagata Dasgupta) Date: Fri, 18 Sep 2015 05:58:32 -0500 Subject: [Chicago] ChiPy Mentorship Application In-Reply-To: References: Message-ID: Hey ChiPy, Do you have a question about the Mentorship program? Or know some one who would be interested in becoming a mentor/mentee? Now we have a FAQ-s page for the Mentorship program - http://www.chipy.org/pages/mentorship/2015/octdec/ We are looking forward to an exciting 3 month of learning, sharing of great ideas and building something cool together! Join us ... On Fri, Sep 11, 2015 at 12:43 AM, Tathagata Dasgupta wrote: > Thanks everyone for coming out to ChiPy tonight! > In case you are interested about the timeline and the tracks of the > mentorship program, go here for the slides > > > > For those of you who are wondering if you want to be a mentor, here are 5 > reasons: > - "While we teach, we learn" - *Sceneca* > - Connect with other Mentors > - Warm fuzzy feeling of helping some one > *- *Give back to ChiPy > - A Surprise gift (Hint in the signup link) > > Apply Today > > ! > > -- > Cheers, > T > > -- Cheers, T Sent from my iPhone -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Sat Sep 19 05:55:48 2015 From: wirth.jason at gmail.com (Jason Wirth) Date: Fri, 18 Sep 2015 22:55:48 -0500 Subject: [Chicago] The first Chipy finance meeting this Monday! Message-ID: The first Chipy finance meeting will be this Monday. We'll cover the basics of developing a trading strategy in Quantopian and then get our hands dirty in the code and experiment. I created the event on our Meetup site, go there for more details and to RSVP. http://www.meetup.com/_ChiPy_/events/225460301/ Please contact me if you have any questions. Best, Jason -- Jason Wirth wirth.jason at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From zitterbewegung at gmail.com Sat Sep 19 13:19:32 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Sat, 19 Sep 2015 11:19:32 +0000 Subject: [Chicago] The first Chipy finance meeting this Monday! In-Reply-To: References: Message-ID: This is going to be fun! See you all there! On Fri, Sep 18, 2015 at 10:56 PM Jason Wirth wrote: > The first Chipy finance meeting will be this Monday. We'll cover the > basics of developing a trading strategy in Quantopian and then get our > hands dirty in the code and experiment. > > I created the event on our Meetup site, go there for more details and to > RSVP. > > http://www.meetup.com/_ChiPy_/events/225460301/ > > Please contact me if you have any questions. > > Best, > Jason > > > -- > Jason Wirth > wirth.jason at gmail.com > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Sat Sep 19 14:43:35 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sat, 19 Sep 2015 07:43:35 -0500 Subject: [Chicago] Question about accessing dictionary's elements. Message-ID: Hi guys, I have a problem and not sure how to address it. Let's say I have a simple dictionary such as. A = { (1, 2) : 10, (1, 3) : 15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 } I would like to access any and all tuples whose first value is 1 or let's say 2. How would I do that? So what I'm trying to go for is: A[(1, placeholder for any int value)] thus giving me all the values that correspond to (1, #). Not really sure how to go about this. Unless.... I suppose I could do something like this: for key in A: if list(key)[0] == 1: print(A[key]) #### Or whatever I want to do with the number. Hmmm.... maybe that would work, but is there a more "elegant" way to do this? Is there any "pattern matching" in Python so that I could do this: A[(1, #placeholder for any int )] Hey, thanks for your help. By the way, has anyone seen the book LEARNING PYTHON by Mark Lutz? Wow! Full of great information, but the book is HUGE!!! I'll have serious back problems if I carry that thing around in my backpack! There's something about small, lightweight books that I really prefer. (And then there's eBooks, but that's a horse of a different color in my opinion.) Have a great weekend and I'm looking forward to some ideas on the above problem. Thanks in advance. Best, Douglas L. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcalahor at yahoo.com Sat Sep 19 15:09:53 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Sat, 19 Sep 2015 06:09:53 -0700 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: Message-ID: <1442668193.28325.YahooMailBasic@web181706.mail.ne1.yahoo.com> is more elegant but not sure if is the best option: [A[key] for key in A.keys() if key[0] == 1] -------------------------------------------- On Sat, 9/19/15, Lewit, Douglas wrote: Subject: [Chicago] Question about accessing dictionary's elements. To: "The Chicago Python Users Group" Date: Saturday, September 19, 2015, 7:43 AM Hi guys, I have a problem and not sure how to address it.? Let's say I have a simple dictionary such as. A = { (1, 2) : 10, (1, 3) : 15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 } I would like to access any and all tuples whose first value is 1 or let's say 2.? How would I do that? So what I'm trying to go for is: A[(1, placeholder for any int value)] thus giving me all the values that correspond to (1, #).? Not really sure how to go about this.? Unless.... I suppose I could do something like this: for key in A:? ? ?if list(key)[0] == 1:? ? ? ? ? ? print(A[key]) ?#### Or whatever I want to do with the number. Hmmm.... maybe that would work, but is there a more "elegant" way to do this?? Is there any "pattern matching" in Python so that I could do this: A[(1, #placeholder for any int )] Hey, thanks for your help. By the way, has anyone seen the book LEARNING PYTHON by Mark Lutz?? Wow!? Full of great information, but the book is HUGE!!!? I'll have serious back problems if I carry that thing around in my backpack!? There's something about small, lightweight books that I really prefer. ?(And then there's eBooks, but that's a horse of a different color in my opinion.) Have a great weekend and I'm looking forward to some ideas on the above problem.? Thanks in advance. Best, Douglas L. -----Inline Attachment Follows----- _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago From d-lewit at neiu.edu Sat Sep 19 17:02:47 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sat, 19 Sep 2015 10:02:47 -0500 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: <1442668193.28325.YahooMailBasic@web181706.mail.ne1.yahoo.com> References: <1442668193.28325.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: I love it! Thanks Jim. On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago < chicago at python.org> wrote: > is more elegant but not sure if is the best option: > > > [A[key] for key in A.keys() if key[0] == 1] > > > > -------------------------------------------- > On Sat, 9/19/15, Lewit, Douglas wrote: > > Subject: [Chicago] Question about accessing dictionary's elements. > To: "The Chicago Python Users Group" > Date: Saturday, September 19, 2015, 7:43 AM > > Hi > guys, > I have a problem and not > sure how to address it. Let's say I have a simple > dictionary such as. > A = { (1, 2) : 10, (1, 3) : > 15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 > } > I would like to access any > and all tuples whose first value is 1 or let's say 2. > How would I do that? > So what I'm trying to > go for is: > A[(1, placeholder for any > int value)] thus giving me all the values that correspond to > (1, #). Not really sure how to go about this. Unless.... > I suppose I could do something like > this: > for key in > A: if list(key)[0] > == 1: > print(A[key]) #### Or whatever I want to do with the > number. > Hmmm.... maybe that would > work, but is there a more "elegant" way to do > this? Is there any "pattern matching" in Python > so that I could do this: > A[(1, #placeholder for any > int )] > Hey, thanks for your > help. > By the way, has anyone seen > the book LEARNING PYTHON by Mark Lutz? Wow! Full of > great information, but the book is HUGE!!! I'll have > serious back problems if I carry that thing around in my > backpack! There's something about small, lightweight > books that I really prefer. (And then there's eBooks, > but that's a horse of a different color in my > opinion.) > Have a great weekend and > I'm looking forward to some ideas on the above > problem. Thanks in advance. > Best, > Douglas > L. > > -----Inline Attachment Follows----- > > _______________________________________________ > 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 wesclemens at gmail.com Sat Sep 19 17:45:15 2015 From: wesclemens at gmail.com (William E. S. Clemens) Date: Sat, 19 Sep 2015 10:45:15 -0500 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: References: <1442668193.28325.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: I would agree that Jimmy's solution is the correct one for doing this. But I would avoid setting up your data structure in this manner. A dict is a hash table and it is be extremely fast a looking up a value by key. You are building an array of the keys to linearly search. This operation is going to be slow and will not scale well. If you described what this data is and what your trying todo with it. I maybe able to suggest a better data structure for storing and accessing it. -- William Clemens Phone: 847.485.9455 E-mail: wesclemens at gmail.com On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas wrote: > I love it! Thanks Jim. > > On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago < > chicago at python.org> wrote: > >> is more elegant but not sure if is the best option: >> >> >> [A[key] for key in A.keys() if key[0] == 1] >> >> >> >> -------------------------------------------- >> On Sat, 9/19/15, Lewit, Douglas wrote: >> >> Subject: [Chicago] Question about accessing dictionary's elements. >> To: "The Chicago Python Users Group" >> Date: Saturday, September 19, 2015, 7:43 AM >> >> Hi >> guys, >> I have a problem and not >> sure how to address it. Let's say I have a simple >> dictionary such as. >> A = { (1, 2) : 10, (1, 3) : >> 15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 >> } >> I would like to access any >> and all tuples whose first value is 1 or let's say 2. >> How would I do that? >> So what I'm trying to >> go for is: >> A[(1, placeholder for any >> int value)] thus giving me all the values that correspond to >> (1, #). Not really sure how to go about this. Unless.... >> I suppose I could do something like >> this: >> for key in >> A: if list(key)[0] >> == 1: >> print(A[key]) #### Or whatever I want to do with the >> number. >> Hmmm.... maybe that would >> work, but is there a more "elegant" way to do >> this? Is there any "pattern matching" in Python >> so that I could do this: >> A[(1, #placeholder for any >> int )] >> Hey, thanks for your >> help. >> By the way, has anyone seen >> the book LEARNING PYTHON by Mark Lutz? Wow! Full of >> great information, but the book is HUGE!!! I'll have >> serious back problems if I carry that thing around in my >> backpack! There's something about small, lightweight >> books that I really prefer. (And then there's eBooks, >> but that's a horse of a different color in my >> opinion.) >> Have a great weekend and >> I'm looking forward to some ideas on the above >> problem. Thanks in advance. >> Best, >> Douglas >> L. >> >> -----Inline Attachment Follows----- >> >> _______________________________________________ >> 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 jcalahor at yahoo.com Sat Sep 19 18:21:07 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Sat, 19 Sep 2015 09:21:07 -0700 Subject: [Chicago] Question about accessing dictionary's elements. Message-ID: <1442679667.37113.YahooMailAndroidMobile@web181704.mail.ne1.yahoo.com> agreed that logic defeats the usage of dicts, maybe a binary tree search is what he is looking for. Enviado desde Yahoo Mail en Android De:"William E. S. Clemens" Fecha:s?b, sep 19, AM a 10:46 AM Asunto:Re: [Chicago] Question about accessing dictionary's elements. I would agree that Jimmy's solution is the correct one for doing this. But I would avoid setting up your data structure in this manner. A dict is a hash table and it is be extremely fast a looking up a value by key. You are building an array of the keys to linearly search. This operation is going to be slow and will not scale well. If you described what this data is and what your trying todo with it. I maybe able to suggest a better data structure for storing and accessing it.? -- William Clemens Phone: 847.485.9455 E-mail: wesclemens at gmail.com On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas wrote: I love it!? Thanks Jim. On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago wrote: is more elegant but not sure if is the best option: [A[key] for key in A.keys() if key[0] == 1] -------------------------------------------- On Sat, 9/19/15, Lewit, Douglas wrote: ?Subject: [Chicago] Question about accessing dictionary's elements. ?To: "The Chicago Python Users Group" ?Date: Saturday, September 19, 2015, 7:43 AM ?Hi ?guys, ?I have a problem and not ?sure how to address it.? Let's say I have a simple ?dictionary such as. ?A = { (1, 2) : 10, (1, 3) : ?15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 ?} ?I would like to access any ?and all tuples whose first value is 1 or let's say 2.? ?How would I do that? ?So what I'm trying to ?go for is: ?A[(1, placeholder for any ?int value)] thus giving me all the values that correspond to ?(1, #).? Not really sure how to go about this.? Unless.... ?I suppose I could do something like ?this: ?for key in ?A:? ? ?if list(key)[0] ?== 1:? ? ? ? ? ? ?print(A[key]) ?#### Or whatever I want to do with the ?number. ?Hmmm.... maybe that would ?work, but is there a more "elegant" way to do ?this?? Is there any "pattern matching" in Python ?so that I could do this: ?A[(1, #placeholder for any ?int )] ?Hey, thanks for your ?help. ?By the way, has anyone seen ?the book LEARNING PYTHON by Mark Lutz?? Wow!? Full of ?great information, but the book is HUGE!!!? I'll have ?serious back problems if I carry that thing around in my ?backpack!? There's something about small, lightweight ?books that I really prefer. ?(And then there's eBooks, ?but that's a horse of a different color in my ?opinion.) ?Have a great weekend and ?I'm looking forward to some ideas on the above ?problem.? Thanks in advance. ?Best, ?Douglas ?L. ?-----Inline Attachment Follows----- ?_______________________________________________ ?Chicago mailing list ?Chicago at python.org ?https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcalahor at yahoo.com Sat Sep 19 18:21:07 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Sat, 19 Sep 2015 09:21:07 -0700 Subject: [Chicago] Question about accessing dictionary's elements. Message-ID: <1442679667.37113.YahooMailAndroidMobile@web181704.mail.ne1.yahoo.com> agreed that logic defeats the usage of dicts, maybe a binary tree search is what he is looking for. Enviado desde Yahoo Mail en Android De:"William E. S. Clemens" Fecha:s?b, sep 19, AM a 10:46 AM Asunto:Re: [Chicago] Question about accessing dictionary's elements. I would agree that Jimmy's solution is the correct one for doing this. But I would avoid setting up your data structure in this manner. A dict is a hash table and it is be extremely fast a looking up a value by key. You are building an array of the keys to linearly search. This operation is going to be slow and will not scale well. If you described what this data is and what your trying todo with it. I maybe able to suggest a better data structure for storing and accessing it.? -- William Clemens Phone: 847.485.9455 E-mail: wesclemens at gmail.com On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas wrote: I love it!? Thanks Jim. On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago wrote: is more elegant but not sure if is the best option: [A[key] for key in A.keys() if key[0] == 1] -------------------------------------------- On Sat, 9/19/15, Lewit, Douglas wrote: ?Subject: [Chicago] Question about accessing dictionary's elements. ?To: "The Chicago Python Users Group" ?Date: Saturday, September 19, 2015, 7:43 AM ?Hi ?guys, ?I have a problem and not ?sure how to address it.? Let's say I have a simple ?dictionary such as. ?A = { (1, 2) : 10, (1, 3) : ?15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 ?} ?I would like to access any ?and all tuples whose first value is 1 or let's say 2.? ?How would I do that? ?So what I'm trying to ?go for is: ?A[(1, placeholder for any ?int value)] thus giving me all the values that correspond to ?(1, #).? Not really sure how to go about this.? Unless.... ?I suppose I could do something like ?this: ?for key in ?A:? ? ?if list(key)[0] ?== 1:? ? ? ? ? ? ?print(A[key]) ?#### Or whatever I want to do with the ?number. ?Hmmm.... maybe that would ?work, but is there a more "elegant" way to do ?this?? Is there any "pattern matching" in Python ?so that I could do this: ?A[(1, #placeholder for any ?int )] ?Hey, thanks for your ?help. ?By the way, has anyone seen ?the book LEARNING PYTHON by Mark Lutz?? Wow!? Full of ?great information, but the book is HUGE!!!? I'll have ?serious back problems if I carry that thing around in my ?backpack!? There's something about small, lightweight ?books that I really prefer. ?(And then there's eBooks, ?but that's a horse of a different color in my ?opinion.) ?Have a great weekend and ?I'm looking forward to some ideas on the above ?problem.? Thanks in advance. ?Best, ?Douglas ?L. ?-----Inline Attachment Follows----- ?_______________________________________________ ?Chicago mailing list ?Chicago at python.org ?https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcalahor at yahoo.com Sat Sep 19 18:22:14 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Sat, 19 Sep 2015 09:22:14 -0700 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: <1442679667.37113.YahooMailAndroidMobile@web181704.mail.ne1.yahoo.com> Message-ID: <1442679734.55758.YahooMailAndroidMobile@web181701.mail.ne1.yahoo.com> oops i mean, missleads not defeats :)? Enviado desde Yahoo Mail en Android De:"Jimmy Calahorrano" Fecha:s?b, sep 19, AM a 11:20 AM Asunto:Re: [Chicago] Question about accessing dictionary's elements. agreed that logic defeats the usage of dicts, maybe a binary tree search is what he is looking for. Enviado desde Yahoo Mail en Android De:"William E. S. Clemens" Fecha:s?b, sep 19, AM a 10:46 AM Asunto:Re: [Chicago] Question about accessing dictionary's elements. I would agree that Jimmy's solution is the correct one for doing this. But I would avoid setting up your data structure in this manner. A dict is a hash table and it is be extremely fast a looking up a value by key. You are building an array of the keys to linearly search. This operation is going to be slow and will not scale well. If you described what this data is and what your trying todo with it. I maybe able to suggest a better data structure for storing and accessing it.? -- William Clemens Phone: 847.485.9455 E-mail: wesclemens at gmail.com On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas wrote: I love it!? Thanks Jim. On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago wrote: is more elegant but not sure if is the best option: [A[key] for key in A.keys() if key[0] == 1] -------------------------------------------- On Sat, 9/19/15, Lewit, Douglas wrote: ?Subject: [Chicago] Question about accessing dictionary's elements. ?To: "The Chicago Python Users Group" ?Date: Saturday, September 19, 2015, 7:43 AM ?Hi ?guys, ?I have a problem and not ?sure how to address it.? Let's say I have a simple ?dictionary such as. ?A = { (1, 2) : 10, (1, 3) : ?15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 ?} ?I would like to access any ?and all tuples whose first value is 1 or let's say 2.? ?How would I do that? ?So what I'm trying to ?go for is: ?A[(1, placeholder for any ?int value)] thus giving me all the values that correspond to ?(1, #).? Not really sure how to go about this.? Unless.... ?I suppose I could do something like ?this: ?for key in ?A:? ? ?if list(key)[0] ?== 1:? ? ? ? ? ? ?print(A[key]) ?#### Or whatever I want to do with the ?number. ?Hmmm.... maybe that would ?work, but is there a more "elegant" way to do ?this?? Is there any "pattern matching" in Python ?so that I could do this: ?A[(1, #placeholder for any ?int )] ?Hey, thanks for your ?help. ?By the way, has anyone seen ?the book LEARNING PYTHON by Mark Lutz?? Wow!? Full of ?great information, but the book is HUGE!!!? I'll have ?serious back problems if I carry that thing around in my ?backpack!? There's something about small, lightweight ?books that I really prefer. ?(And then there's eBooks, ?but that's a horse of a different color in my ?opinion.) ?Have a great weekend and ?I'm looking forward to some ideas on the above ?problem.? Thanks in advance. ?Best, ?Douglas ?L. ?-----Inline Attachment Follows----- ?_______________________________________________ ?Chicago mailing list ?Chicago at python.org ?https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcalahor at yahoo.com Sat Sep 19 18:22:14 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Sat, 19 Sep 2015 09:22:14 -0700 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: <1442679667.37113.YahooMailAndroidMobile@web181704.mail.ne1.yahoo.com> Message-ID: <1442679734.55758.YahooMailAndroidMobile@web181701.mail.ne1.yahoo.com> oops i mean, missleads not defeats :)? Enviado desde Yahoo Mail en Android De:"Jimmy Calahorrano" Fecha:s?b, sep 19, AM a 11:20 AM Asunto:Re: [Chicago] Question about accessing dictionary's elements. agreed that logic defeats the usage of dicts, maybe a binary tree search is what he is looking for. Enviado desde Yahoo Mail en Android De:"William E. S. Clemens" Fecha:s?b, sep 19, AM a 10:46 AM Asunto:Re: [Chicago] Question about accessing dictionary's elements. I would agree that Jimmy's solution is the correct one for doing this. But I would avoid setting up your data structure in this manner. A dict is a hash table and it is be extremely fast a looking up a value by key. You are building an array of the keys to linearly search. This operation is going to be slow and will not scale well. If you described what this data is and what your trying todo with it. I maybe able to suggest a better data structure for storing and accessing it.? -- William Clemens Phone: 847.485.9455 E-mail: wesclemens at gmail.com On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas wrote: I love it!? Thanks Jim. On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago wrote: is more elegant but not sure if is the best option: [A[key] for key in A.keys() if key[0] == 1] -------------------------------------------- On Sat, 9/19/15, Lewit, Douglas wrote: ?Subject: [Chicago] Question about accessing dictionary's elements. ?To: "The Chicago Python Users Group" ?Date: Saturday, September 19, 2015, 7:43 AM ?Hi ?guys, ?I have a problem and not ?sure how to address it.? Let's say I have a simple ?dictionary such as. ?A = { (1, 2) : 10, (1, 3) : ?15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 ?} ?I would like to access any ?and all tuples whose first value is 1 or let's say 2.? ?How would I do that? ?So what I'm trying to ?go for is: ?A[(1, placeholder for any ?int value)] thus giving me all the values that correspond to ?(1, #).? Not really sure how to go about this.? Unless.... ?I suppose I could do something like ?this: ?for key in ?A:? ? ?if list(key)[0] ?== 1:? ? ? ? ? ? ?print(A[key]) ?#### Or whatever I want to do with the ?number. ?Hmmm.... maybe that would ?work, but is there a more "elegant" way to do ?this?? Is there any "pattern matching" in Python ?so that I could do this: ?A[(1, #placeholder for any ?int )] ?Hey, thanks for your ?help. ?By the way, has anyone seen ?the book LEARNING PYTHON by Mark Lutz?? Wow!? Full of ?great information, but the book is HUGE!!!? I'll have ?serious back problems if I carry that thing around in my ?backpack!? There's something about small, lightweight ?books that I really prefer. ?(And then there's eBooks, ?but that's a horse of a different color in my ?opinion.) ?Have a great weekend and ?I'm looking forward to some ideas on the above ?problem.? Thanks in advance. ?Best, ?Douglas ?L. ?-----Inline Attachment Follows----- ?_______________________________________________ ?Chicago mailing list ?Chicago at python.org ?https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Sat Sep 19 19:55:40 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sat, 19 Sep 2015 12:55:40 -0500 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: References: <1442668193.28325.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: Hi William, I'm doing a KNN program (K-Nearest-Neighbors). I'm attaching what I've done so far. It's not complete! But I've made good progress I think. (The program won't work unless you also download the .txt file that the program uses to read in the data.) For this problem the data has to get split into two sets: a training set (kind of like a control group in an experiment) and the test set (the experimental group or its equivalent). I have to use the K smallest normalized distances to make a guess about which class the records in the Training Set belong to. (There are six classes: {1, 2, 3, 5, 6, 7}. There's no class #4.) This problem has given me a massive headache, but I think I'm almost done with it. All that's left really is to use one of the algorithms to make a decision about which class each Test record should be assigned to. Thanks for the feedback! Best, Douglas. On Sat, Sep 19, 2015 at 10:45 AM, William E. S. Clemens < wesclemens at gmail.com> wrote: > I would agree that Jimmy's solution is the correct one for doing this. But > I would avoid setting up your data structure in this manner. A dict is a > hash table and it is be extremely fast a looking up a value by key. > > You are building an array of the keys to linearly search. This operation > is going to be slow and will not scale well. If you described what this > data is and what your trying todo with it. I maybe able to suggest a better > data structure for storing and accessing it. > > > > > -- > William Clemens > Phone: 847.485.9455 > E-mail: wesclemens at gmail.com > > On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas wrote: > >> I love it! Thanks Jim. >> >> On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago < >> chicago at python.org> wrote: >> >>> is more elegant but not sure if is the best option: >>> >>> >>> [A[key] for key in A.keys() if key[0] == 1] >>> >>> >>> >>> -------------------------------------------- >>> On Sat, 9/19/15, Lewit, Douglas wrote: >>> >>> Subject: [Chicago] Question about accessing dictionary's elements. >>> To: "The Chicago Python Users Group" >>> Date: Saturday, September 19, 2015, 7:43 AM >>> >>> Hi >>> guys, >>> I have a problem and not >>> sure how to address it. Let's say I have a simple >>> dictionary such as. >>> A = { (1, 2) : 10, (1, 3) : >>> 15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 >>> } >>> I would like to access any >>> and all tuples whose first value is 1 or let's say 2. >>> How would I do that? >>> So what I'm trying to >>> go for is: >>> A[(1, placeholder for any >>> int value)] thus giving me all the values that correspond to >>> (1, #). Not really sure how to go about this. Unless.... >>> I suppose I could do something like >>> this: >>> for key in >>> A: if list(key)[0] >>> == 1: >>> print(A[key]) #### Or whatever I want to do with the >>> number. >>> Hmmm.... maybe that would >>> work, but is there a more "elegant" way to do >>> this? Is there any "pattern matching" in Python >>> so that I could do this: >>> A[(1, #placeholder for any >>> int )] >>> Hey, thanks for your >>> help. >>> By the way, has anyone seen >>> the book LEARNING PYTHON by Mark Lutz? Wow! Full of >>> great information, but the book is HUGE!!! I'll have >>> serious back problems if I carry that thing around in my >>> backpack! There's something about small, lightweight >>> books that I really prefer. (And then there's eBooks, >>> but that's a horse of a different color in my >>> opinion.) >>> Have a great weekend and >>> I'm looking forward to some ideas on the above >>> problem. Thanks in advance. >>> Best, >>> Douglas >>> L. >>> >>> -----Inline Attachment Follows----- >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- 1,1.52101,13.64,4.49,1.10,71.78,0.06,8.75,0.00,0.00,1 2,1.51761,13.89,3.60,1.36,72.73,0.48,7.83,0.00,0.00,1 3,1.51618,13.53,3.55,1.54,72.99,0.39,7.78,0.00,0.00,1 4,1.51766,13.21,3.69,1.29,72.61,0.57,8.22,0.00,0.00,1 5,1.51742,13.27,3.62,1.24,73.08,0.55,8.07,0.00,0.00,1 6,1.51596,12.79,3.61,1.62,72.97,0.64,8.07,0.00,0.26,1 7,1.51743,13.30,3.60,1.14,73.09,0.58,8.17,0.00,0.00,1 8,1.51756,13.15,3.61,1.05,73.24,0.57,8.24,0.00,0.00,1 9,1.51918,14.04,3.58,1.37,72.08,0.56,8.30,0.00,0.00,1 10,1.51755,13.00,3.60,1.36,72.99,0.57,8.40,0.00,0.11,1 11,1.51571,12.72,3.46,1.56,73.20,0.67,8.09,0.00,0.24,1 12,1.51763,12.80,3.66,1.27,73.01,0.60,8.56,0.00,0.00,1 13,1.51589,12.88,3.43,1.40,73.28,0.69,8.05,0.00,0.24,1 14,1.51748,12.86,3.56,1.27,73.21,0.54,8.38,0.00,0.17,1 15,1.51763,12.61,3.59,1.31,73.29,0.58,8.50,0.00,0.00,1 16,1.51761,12.81,3.54,1.23,73.24,0.58,8.39,0.00,0.00,1 17,1.51784,12.68,3.67,1.16,73.11,0.61,8.70,0.00,0.00,1 18,1.52196,14.36,3.85,0.89,71.36,0.15,9.15,0.00,0.00,1 19,1.51911,13.90,3.73,1.18,72.12,0.06,8.89,0.00,0.00,1 20,1.51735,13.02,3.54,1.69,72.73,0.54,8.44,0.00,0.07,1 21,1.51750,12.82,3.55,1.49,72.75,0.54,8.52,0.00,0.19,1 22,1.51966,14.77,3.75,0.29,72.02,0.03,9.00,0.00,0.00,1 23,1.51736,12.78,3.62,1.29,72.79,0.59,8.70,0.00,0.00,1 24,1.51751,12.81,3.57,1.35,73.02,0.62,8.59,0.00,0.00,1 25,1.51720,13.38,3.50,1.15,72.85,0.50,8.43,0.00,0.00,1 26,1.51764,12.98,3.54,1.21,73.00,0.65,8.53,0.00,0.00,1 27,1.51793,13.21,3.48,1.41,72.64,0.59,8.43,0.00,0.00,1 28,1.51721,12.87,3.48,1.33,73.04,0.56,8.43,0.00,0.00,1 29,1.51768,12.56,3.52,1.43,73.15,0.57,8.54,0.00,0.00,1 30,1.51784,13.08,3.49,1.28,72.86,0.60,8.49,0.00,0.00,1 31,1.51768,12.65,3.56,1.30,73.08,0.61,8.69,0.00,0.14,1 32,1.51747,12.84,3.50,1.14,73.27,0.56,8.55,0.00,0.00,1 33,1.51775,12.85,3.48,1.23,72.97,0.61,8.56,0.09,0.22,1 34,1.51753,12.57,3.47,1.38,73.39,0.60,8.55,0.00,0.06,1 35,1.51783,12.69,3.54,1.34,72.95,0.57,8.75,0.00,0.00,1 36,1.51567,13.29,3.45,1.21,72.74,0.56,8.57,0.00,0.00,1 37,1.51909,13.89,3.53,1.32,71.81,0.51,8.78,0.11,0.00,1 38,1.51797,12.74,3.48,1.35,72.96,0.64,8.68,0.00,0.00,1 39,1.52213,14.21,3.82,0.47,71.77,0.11,9.57,0.00,0.00,1 40,1.52213,14.21,3.82,0.47,71.77,0.11,9.57,0.00,0.00,1 41,1.51793,12.79,3.50,1.12,73.03,0.64,8.77,0.00,0.00,1 42,1.51755,12.71,3.42,1.20,73.20,0.59,8.64,0.00,0.00,1 43,1.51779,13.21,3.39,1.33,72.76,0.59,8.59,0.00,0.00,1 44,1.52210,13.73,3.84,0.72,71.76,0.17,9.74,0.00,0.00,1 45,1.51786,12.73,3.43,1.19,72.95,0.62,8.76,0.00,0.30,1 46,1.51900,13.49,3.48,1.35,71.95,0.55,9.00,0.00,0.00,1 47,1.51869,13.19,3.37,1.18,72.72,0.57,8.83,0.00,0.16,1 48,1.52667,13.99,3.70,0.71,71.57,0.02,9.82,0.00,0.10,1 49,1.52223,13.21,3.77,0.79,71.99,0.13,10.02,0.00,0.00,1 50,1.51898,13.58,3.35,1.23,72.08,0.59,8.91,0.00,0.00,1 51,1.52320,13.72,3.72,0.51,71.75,0.09,10.06,0.00,0.16,1 52,1.51926,13.20,3.33,1.28,72.36,0.60,9.14,0.00,0.11,1 53,1.51808,13.43,2.87,1.19,72.84,0.55,9.03,0.00,0.00,1 54,1.51837,13.14,2.84,1.28,72.85,0.55,9.07,0.00,0.00,1 55,1.51778,13.21,2.81,1.29,72.98,0.51,9.02,0.00,0.09,1 56,1.51769,12.45,2.71,1.29,73.70,0.56,9.06,0.00,0.24,1 57,1.51215,12.99,3.47,1.12,72.98,0.62,8.35,0.00,0.31,1 58,1.51824,12.87,3.48,1.29,72.95,0.60,8.43,0.00,0.00,1 59,1.51754,13.48,3.74,1.17,72.99,0.59,8.03,0.00,0.00,1 60,1.51754,13.39,3.66,1.19,72.79,0.57,8.27,0.00,0.11,1 61,1.51905,13.60,3.62,1.11,72.64,0.14,8.76,0.00,0.00,1 62,1.51977,13.81,3.58,1.32,71.72,0.12,8.67,0.69,0.00,1 63,1.52172,13.51,3.86,0.88,71.79,0.23,9.54,0.00,0.11,1 64,1.52227,14.17,3.81,0.78,71.35,0.00,9.69,0.00,0.00,1 65,1.52172,13.48,3.74,0.90,72.01,0.18,9.61,0.00,0.07,1 66,1.52099,13.69,3.59,1.12,71.96,0.09,9.40,0.00,0.00,1 67,1.52152,13.05,3.65,0.87,72.22,0.19,9.85,0.00,0.17,1 68,1.52152,13.05,3.65,0.87,72.32,0.19,9.85,0.00,0.17,1 69,1.52152,13.12,3.58,0.90,72.20,0.23,9.82,0.00,0.16,1 70,1.52300,13.31,3.58,0.82,71.99,0.12,10.17,0.00,0.03,1 71,1.51574,14.86,3.67,1.74,71.87,0.16,7.36,0.00,0.12,2 72,1.51848,13.64,3.87,1.27,71.96,0.54,8.32,0.00,0.32,2 73,1.51593,13.09,3.59,1.52,73.10,0.67,7.83,0.00,0.00,2 74,1.51631,13.34,3.57,1.57,72.87,0.61,7.89,0.00,0.00,2 75,1.51596,13.02,3.56,1.54,73.11,0.72,7.90,0.00,0.00,2 76,1.51590,13.02,3.58,1.51,73.12,0.69,7.96,0.00,0.00,2 77,1.51645,13.44,3.61,1.54,72.39,0.66,8.03,0.00,0.00,2 78,1.51627,13.00,3.58,1.54,72.83,0.61,8.04,0.00,0.00,2 79,1.51613,13.92,3.52,1.25,72.88,0.37,7.94,0.00,0.14,2 80,1.51590,12.82,3.52,1.90,72.86,0.69,7.97,0.00,0.00,2 81,1.51592,12.86,3.52,2.12,72.66,0.69,7.97,0.00,0.00,2 82,1.51593,13.25,3.45,1.43,73.17,0.61,7.86,0.00,0.00,2 83,1.51646,13.41,3.55,1.25,72.81,0.68,8.10,0.00,0.00,2 84,1.51594,13.09,3.52,1.55,72.87,0.68,8.05,0.00,0.09,2 85,1.51409,14.25,3.09,2.08,72.28,1.10,7.08,0.00,0.00,2 86,1.51625,13.36,3.58,1.49,72.72,0.45,8.21,0.00,0.00,2 87,1.51569,13.24,3.49,1.47,73.25,0.38,8.03,0.00,0.00,2 88,1.51645,13.40,3.49,1.52,72.65,0.67,8.08,0.00,0.10,2 89,1.51618,13.01,3.50,1.48,72.89,0.60,8.12,0.00,0.00,2 90,1.51640,12.55,3.48,1.87,73.23,0.63,8.08,0.00,0.09,2 91,1.51841,12.93,3.74,1.11,72.28,0.64,8.96,0.00,0.22,2 92,1.51605,12.90,3.44,1.45,73.06,0.44,8.27,0.00,0.00,2 93,1.51588,13.12,3.41,1.58,73.26,0.07,8.39,0.00,0.19,2 94,1.51590,13.24,3.34,1.47,73.10,0.39,8.22,0.00,0.00,2 95,1.51629,12.71,3.33,1.49,73.28,0.67,8.24,0.00,0.00,2 96,1.51860,13.36,3.43,1.43,72.26,0.51,8.60,0.00,0.00,2 97,1.51841,13.02,3.62,1.06,72.34,0.64,9.13,0.00,0.15,2 98,1.51743,12.20,3.25,1.16,73.55,0.62,8.90,0.00,0.24,2 99,1.51689,12.67,2.88,1.71,73.21,0.73,8.54,0.00,0.00,2 100,1.51811,12.96,2.96,1.43,72.92,0.60,8.79,0.14,0.00,2 101,1.51655,12.75,2.85,1.44,73.27,0.57,8.79,0.11,0.22,2 102,1.51730,12.35,2.72,1.63,72.87,0.70,9.23,0.00,0.00,2 103,1.51820,12.62,2.76,0.83,73.81,0.35,9.42,0.00,0.20,2 104,1.52725,13.80,3.15,0.66,70.57,0.08,11.64,0.00,0.00,2 105,1.52410,13.83,2.90,1.17,71.15,0.08,10.79,0.00,0.00,2 106,1.52475,11.45,0.00,1.88,72.19,0.81,13.24,0.00,0.34,2 107,1.53125,10.73,0.00,2.10,69.81,0.58,13.30,3.15,0.28,2 108,1.53393,12.30,0.00,1.00,70.16,0.12,16.19,0.00,0.24,2 109,1.52222,14.43,0.00,1.00,72.67,0.10,11.52,0.00,0.08,2 110,1.51818,13.72,0.00,0.56,74.45,0.00,10.99,0.00,0.00,2 111,1.52664,11.23,0.00,0.77,73.21,0.00,14.68,0.00,0.00,2 112,1.52739,11.02,0.00,0.75,73.08,0.00,14.96,0.00,0.00,2 113,1.52777,12.64,0.00,0.67,72.02,0.06,14.40,0.00,0.00,2 114,1.51892,13.46,3.83,1.26,72.55,0.57,8.21,0.00,0.14,2 115,1.51847,13.10,3.97,1.19,72.44,0.60,8.43,0.00,0.00,2 116,1.51846,13.41,3.89,1.33,72.38,0.51,8.28,0.00,0.00,2 117,1.51829,13.24,3.90,1.41,72.33,0.55,8.31,0.00,0.10,2 118,1.51708,13.72,3.68,1.81,72.06,0.64,7.88,0.00,0.00,2 119,1.51673,13.30,3.64,1.53,72.53,0.65,8.03,0.00,0.29,2 120,1.51652,13.56,3.57,1.47,72.45,0.64,7.96,0.00,0.00,2 121,1.51844,13.25,3.76,1.32,72.40,0.58,8.42,0.00,0.00,2 122,1.51663,12.93,3.54,1.62,72.96,0.64,8.03,0.00,0.21,2 123,1.51687,13.23,3.54,1.48,72.84,0.56,8.10,0.00,0.00,2 124,1.51707,13.48,3.48,1.71,72.52,0.62,7.99,0.00,0.00,2 125,1.52177,13.20,3.68,1.15,72.75,0.54,8.52,0.00,0.00,2 126,1.51872,12.93,3.66,1.56,72.51,0.58,8.55,0.00,0.12,2 127,1.51667,12.94,3.61,1.26,72.75,0.56,8.60,0.00,0.00,2 128,1.52081,13.78,2.28,1.43,71.99,0.49,9.85,0.00,0.17,2 129,1.52068,13.55,2.09,1.67,72.18,0.53,9.57,0.27,0.17,2 130,1.52020,13.98,1.35,1.63,71.76,0.39,10.56,0.00,0.18,2 131,1.52177,13.75,1.01,1.36,72.19,0.33,11.14,0.00,0.00,2 132,1.52614,13.70,0.00,1.36,71.24,0.19,13.44,0.00,0.10,2 133,1.51813,13.43,3.98,1.18,72.49,0.58,8.15,0.00,0.00,2 134,1.51800,13.71,3.93,1.54,71.81,0.54,8.21,0.00,0.15,2 135,1.51811,13.33,3.85,1.25,72.78,0.52,8.12,0.00,0.00,2 136,1.51789,13.19,3.90,1.30,72.33,0.55,8.44,0.00,0.28,2 137,1.51806,13.00,3.80,1.08,73.07,0.56,8.38,0.00,0.12,2 138,1.51711,12.89,3.62,1.57,72.96,0.61,8.11,0.00,0.00,2 139,1.51674,12.79,3.52,1.54,73.36,0.66,7.90,0.00,0.00,2 140,1.51674,12.87,3.56,1.64,73.14,0.65,7.99,0.00,0.00,2 141,1.51690,13.33,3.54,1.61,72.54,0.68,8.11,0.00,0.00,2 142,1.51851,13.20,3.63,1.07,72.83,0.57,8.41,0.09,0.17,2 143,1.51662,12.85,3.51,1.44,73.01,0.68,8.23,0.06,0.25,2 144,1.51709,13.00,3.47,1.79,72.72,0.66,8.18,0.00,0.00,2 145,1.51660,12.99,3.18,1.23,72.97,0.58,8.81,0.00,0.24,2 146,1.51839,12.85,3.67,1.24,72.57,0.62,8.68,0.00,0.35,2 147,1.51769,13.65,3.66,1.11,72.77,0.11,8.60,0.00,0.00,3 148,1.51610,13.33,3.53,1.34,72.67,0.56,8.33,0.00,0.00,3 149,1.51670,13.24,3.57,1.38,72.70,0.56,8.44,0.00,0.10,3 150,1.51643,12.16,3.52,1.35,72.89,0.57,8.53,0.00,0.00,3 151,1.51665,13.14,3.45,1.76,72.48,0.60,8.38,0.00,0.17,3 152,1.52127,14.32,3.90,0.83,71.50,0.00,9.49,0.00,0.00,3 153,1.51779,13.64,3.65,0.65,73.00,0.06,8.93,0.00,0.00,3 154,1.51610,13.42,3.40,1.22,72.69,0.59,8.32,0.00,0.00,3 155,1.51694,12.86,3.58,1.31,72.61,0.61,8.79,0.00,0.00,3 156,1.51646,13.04,3.40,1.26,73.01,0.52,8.58,0.00,0.00,3 157,1.51655,13.41,3.39,1.28,72.64,0.52,8.65,0.00,0.00,3 158,1.52121,14.03,3.76,0.58,71.79,0.11,9.65,0.00,0.00,3 159,1.51776,13.53,3.41,1.52,72.04,0.58,8.79,0.00,0.00,3 160,1.51796,13.50,3.36,1.63,71.94,0.57,8.81,0.00,0.09,3 161,1.51832,13.33,3.34,1.54,72.14,0.56,8.99,0.00,0.00,3 162,1.51934,13.64,3.54,0.75,72.65,0.16,8.89,0.15,0.24,3 163,1.52211,14.19,3.78,0.91,71.36,0.23,9.14,0.00,0.37,3 164,1.51514,14.01,2.68,3.50,69.89,1.68,5.87,2.20,0.00,5 165,1.51915,12.73,1.85,1.86,72.69,0.60,10.09,0.00,0.00,5 166,1.52171,11.56,1.88,1.56,72.86,0.47,11.41,0.00,0.00,5 167,1.52151,11.03,1.71,1.56,73.44,0.58,11.62,0.00,0.00,5 168,1.51969,12.64,0.00,1.65,73.75,0.38,11.53,0.00,0.00,5 169,1.51666,12.86,0.00,1.83,73.88,0.97,10.17,0.00,0.00,5 170,1.51994,13.27,0.00,1.76,73.03,0.47,11.32,0.00,0.00,5 171,1.52369,13.44,0.00,1.58,72.22,0.32,12.24,0.00,0.00,5 172,1.51316,13.02,0.00,3.04,70.48,6.21,6.96,0.00,0.00,5 173,1.51321,13.00,0.00,3.02,70.70,6.21,6.93,0.00,0.00,5 174,1.52043,13.38,0.00,1.40,72.25,0.33,12.50,0.00,0.00,5 175,1.52058,12.85,1.61,2.17,72.18,0.76,9.70,0.24,0.51,5 176,1.52119,12.97,0.33,1.51,73.39,0.13,11.27,0.00,0.28,5 177,1.51905,14.00,2.39,1.56,72.37,0.00,9.57,0.00,0.00,6 178,1.51937,13.79,2.41,1.19,72.76,0.00,9.77,0.00,0.00,6 179,1.51829,14.46,2.24,1.62,72.38,0.00,9.26,0.00,0.00,6 180,1.51852,14.09,2.19,1.66,72.67,0.00,9.32,0.00,0.00,6 181,1.51299,14.40,1.74,1.54,74.55,0.00,7.59,0.00,0.00,6 182,1.51888,14.99,0.78,1.74,72.50,0.00,9.95,0.00,0.00,6 183,1.51916,14.15,0.00,2.09,72.74,0.00,10.88,0.00,0.00,6 184,1.51969,14.56,0.00,0.56,73.48,0.00,11.22,0.00,0.00,6 185,1.51115,17.38,0.00,0.34,75.41,0.00,6.65,0.00,0.00,6 186,1.51131,13.69,3.20,1.81,72.81,1.76,5.43,1.19,0.00,7 187,1.51838,14.32,3.26,2.22,71.25,1.46,5.79,1.63,0.00,7 188,1.52315,13.44,3.34,1.23,72.38,0.60,8.83,0.00,0.00,7 189,1.52247,14.86,2.20,2.06,70.26,0.76,9.76,0.00,0.00,7 190,1.52365,15.79,1.83,1.31,70.43,0.31,8.61,1.68,0.00,7 191,1.51613,13.88,1.78,1.79,73.10,0.00,8.67,0.76,0.00,7 192,1.51602,14.85,0.00,2.38,73.28,0.00,8.76,0.64,0.09,7 193,1.51623,14.20,0.00,2.79,73.46,0.04,9.04,0.40,0.09,7 194,1.51719,14.75,0.00,2.00,73.02,0.00,8.53,1.59,0.08,7 195,1.51683,14.56,0.00,1.98,73.29,0.00,8.52,1.57,0.07,7 196,1.51545,14.14,0.00,2.68,73.39,0.08,9.07,0.61,0.05,7 197,1.51556,13.87,0.00,2.54,73.23,0.14,9.41,0.81,0.01,7 198,1.51727,14.70,0.00,2.34,73.28,0.00,8.95,0.66,0.00,7 199,1.51531,14.38,0.00,2.66,73.10,0.04,9.08,0.64,0.00,7 200,1.51609,15.01,0.00,2.51,73.05,0.05,8.83,0.53,0.00,7 201,1.51508,15.15,0.00,2.25,73.50,0.00,8.34,0.63,0.00,7 202,1.51653,11.95,0.00,1.19,75.18,2.70,8.93,0.00,0.00,7 203,1.51514,14.85,0.00,2.42,73.72,0.00,8.39,0.56,0.00,7 204,1.51658,14.80,0.00,1.99,73.11,0.00,8.28,1.71,0.00,7 205,1.51617,14.95,0.00,2.27,73.30,0.00,8.71,0.67,0.00,7 206,1.51732,14.95,0.00,1.80,72.99,0.00,8.61,1.55,0.00,7 207,1.51645,14.94,0.00,1.87,73.11,0.00,8.67,1.38,0.00,7 208,1.51831,14.39,0.00,1.82,72.86,1.41,6.47,2.88,0.00,7 209,1.51640,14.37,0.00,2.74,72.85,0.00,9.45,0.54,0.00,7 210,1.51623,14.14,0.00,2.88,72.61,0.08,9.18,1.06,0.00,7 211,1.51685,14.92,0.00,1.99,73.06,0.00,8.40,1.59,0.00,7 212,1.52065,14.36,0.00,2.02,73.42,0.00,8.44,1.64,0.00,7 213,1.51651,14.38,0.00,1.94,73.61,0.00,8.48,1.57,0.00,7 214,1.51711,14.23,0.00,2.08,73.36,0.00,8.62,1.67,0.00,7 -------------- next part -------------- A non-text attachment was scrubbed... Name: KNN_Python_Lewit4.py Type: text/x-python-script Size: 4290 bytes Desc: not available URL: From zitterbewegung at gmail.com Sat Sep 19 20:30:25 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Sat, 19 Sep 2015 18:30:25 +0000 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: References: <1442668193.28325.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: Hey I'm doing machine learning too why don't you come to one of the python meet ups in Chicago On Sat, Sep 19, 2015 at 12:56 PM Lewit, Douglas wrote: > Hi William, > > I'm doing a KNN program (K-Nearest-Neighbors). I'm attaching what I've > done so far. It's not complete! But I've made good progress I think. > (The program won't work unless you also download the .txt file that the > program uses to read in the data.) > > For this problem the data has to get split into two sets: a training set > (kind of like a control group in an experiment) and the test set (the > experimental group or its equivalent). I have to use the K smallest > normalized distances to make a guess about which class the records in the > Training Set belong to. (There are six classes: {1, 2, 3, 5, 6, 7}. > There's no class #4.) > > This problem has given me a massive headache, but I think I'm almost done > with it. All that's left really is to use one of the algorithms to make a > decision about which class each Test record should be assigned to. > > Thanks for the feedback! > > Best, > > Douglas. > > > On Sat, Sep 19, 2015 at 10:45 AM, William E. S. Clemens < > wesclemens at gmail.com> wrote: > >> I would agree that Jimmy's solution is the correct one for doing this. >> But I would avoid setting up your data structure in this manner. A dict is >> a hash table and it is be extremely fast a looking up a value by key. >> >> You are building an array of the keys to linearly search. This operation >> is going to be slow and will not scale well. If you described what this >> data is and what your trying todo with it. I maybe able to suggest a better >> data structure for storing and accessing it. >> >> >> >> >> -- >> William Clemens >> Phone: 847.485.9455 >> E-mail: wesclemens at gmail.com >> >> On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas >> wrote: >> >>> I love it! Thanks Jim. >>> >>> On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago < >>> chicago at python.org> wrote: >>> >>>> is more elegant but not sure if is the best option: >>>> >>>> >>>> [A[key] for key in A.keys() if key[0] == 1] >>>> >>>> >>>> >>>> -------------------------------------------- >>>> On Sat, 9/19/15, Lewit, Douglas wrote: >>>> >>>> Subject: [Chicago] Question about accessing dictionary's elements. >>>> To: "The Chicago Python Users Group" >>>> Date: Saturday, September 19, 2015, 7:43 AM >>>> >>>> Hi >>>> guys, >>>> I have a problem and not >>>> sure how to address it. Let's say I have a simple >>>> dictionary such as. >>>> A = { (1, 2) : 10, (1, 3) : >>>> 15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 >>>> } >>>> I would like to access any >>>> and all tuples whose first value is 1 or let's say 2. >>>> How would I do that? >>>> So what I'm trying to >>>> go for is: >>>> A[(1, placeholder for any >>>> int value)] thus giving me all the values that correspond to >>>> (1, #). Not really sure how to go about this. Unless.... >>>> I suppose I could do something like >>>> this: >>>> for key in >>>> A: if list(key)[0] >>>> == 1: >>>> print(A[key]) #### Or whatever I want to do with the >>>> number. >>>> Hmmm.... maybe that would >>>> work, but is there a more "elegant" way to do >>>> this? Is there any "pattern matching" in Python >>>> so that I could do this: >>>> A[(1, #placeholder for any >>>> int )] >>>> Hey, thanks for your >>>> help. >>>> By the way, has anyone seen >>>> the book LEARNING PYTHON by Mark Lutz? Wow! Full of >>>> great information, but the book is HUGE!!! I'll have >>>> serious back problems if I carry that thing around in my >>>> backpack! There's something about small, lightweight >>>> books that I really prefer. (And then there's eBooks, >>>> but that's a horse of a different color in my >>>> opinion.) >>>> Have a great weekend and >>>> I'm looking forward to some ideas on the above >>>> problem. Thanks in advance. >>>> Best, >>>> Douglas >>>> L. >>>> >>>> -----Inline Attachment Follows----- >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Sat Sep 19 20:46:32 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sat, 19 Sep 2015 13:46:32 -0500 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: References: <1442668193.28325.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: Hey Joshua! I would LOVE to, but I have classes on Wednesday and Thursday evenings. So.... ??? On Sat, Sep 19, 2015 at 1:30 PM, Joshua Herman wrote: > Hey I'm doing machine learning too why don't you come to one of the python > meet ups in Chicago > > On Sat, Sep 19, 2015 at 12:56 PM Lewit, Douglas wrote: > >> Hi William, >> >> I'm doing a KNN program (K-Nearest-Neighbors). I'm attaching what I've >> done so far. It's not complete! But I've made good progress I think. >> (The program won't work unless you also download the .txt file that the >> program uses to read in the data.) >> >> For this problem the data has to get split into two sets: a training set >> (kind of like a control group in an experiment) and the test set (the >> experimental group or its equivalent). I have to use the K smallest >> normalized distances to make a guess about which class the records in the >> Training Set belong to. (There are six classes: {1, 2, 3, 5, 6, 7}. >> There's no class #4.) >> >> This problem has given me a massive headache, but I think I'm almost done >> with it. All that's left really is to use one of the algorithms to make a >> decision about which class each Test record should be assigned to. >> >> Thanks for the feedback! >> >> Best, >> >> Douglas. >> >> >> On Sat, Sep 19, 2015 at 10:45 AM, William E. S. Clemens < >> wesclemens at gmail.com> wrote: >> >>> I would agree that Jimmy's solution is the correct one for doing this. >>> But I would avoid setting up your data structure in this manner. A dict is >>> a hash table and it is be extremely fast a looking up a value by key. >>> >>> You are building an array of the keys to linearly search. This operation >>> is going to be slow and will not scale well. If you described what this >>> data is and what your trying todo with it. I maybe able to suggest a better >>> data structure for storing and accessing it. >>> >>> >>> >>> >>> -- >>> William Clemens >>> Phone: 847.485.9455 >>> E-mail: wesclemens at gmail.com >>> >>> On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas >>> wrote: >>> >>>> I love it! Thanks Jim. >>>> >>>> On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago < >>>> chicago at python.org> wrote: >>>> >>>>> is more elegant but not sure if is the best option: >>>>> >>>>> >>>>> [A[key] for key in A.keys() if key[0] == 1] >>>>> >>>>> >>>>> >>>>> -------------------------------------------- >>>>> On Sat, 9/19/15, Lewit, Douglas wrote: >>>>> >>>>> Subject: [Chicago] Question about accessing dictionary's elements. >>>>> To: "The Chicago Python Users Group" >>>>> Date: Saturday, September 19, 2015, 7:43 AM >>>>> >>>>> Hi >>>>> guys, >>>>> I have a problem and not >>>>> sure how to address it. Let's say I have a simple >>>>> dictionary such as. >>>>> A = { (1, 2) : 10, (1, 3) : >>>>> 15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 >>>>> } >>>>> I would like to access any >>>>> and all tuples whose first value is 1 or let's say 2. >>>>> How would I do that? >>>>> So what I'm trying to >>>>> go for is: >>>>> A[(1, placeholder for any >>>>> int value)] thus giving me all the values that correspond to >>>>> (1, #). Not really sure how to go about this. Unless.... >>>>> I suppose I could do something like >>>>> this: >>>>> for key in >>>>> A: if list(key)[0] >>>>> == 1: >>>>> print(A[key]) #### Or whatever I want to do with the >>>>> number. >>>>> Hmmm.... maybe that would >>>>> work, but is there a more "elegant" way to do >>>>> this? Is there any "pattern matching" in Python >>>>> so that I could do this: >>>>> A[(1, #placeholder for any >>>>> int )] >>>>> Hey, thanks for your >>>>> help. >>>>> By the way, has anyone seen >>>>> the book LEARNING PYTHON by Mark Lutz? Wow! Full of >>>>> great information, but the book is HUGE!!! I'll have >>>>> serious back problems if I carry that thing around in my >>>>> backpack! There's something about small, lightweight >>>>> books that I really prefer. (And then there's eBooks, >>>>> but that's a horse of a different color in my >>>>> opinion.) >>>>> Have a great weekend and >>>>> I'm looking forward to some ideas on the above >>>>> problem. Thanks in advance. >>>>> Best, >>>>> Douglas >>>>> L. >>>>> >>>>> -----Inline Attachment Follows----- >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > _______________________________________________ > 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 Sat Sep 19 20:52:11 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sat, 19 Sep 2015 13:52:11 -0500 Subject: [Chicago] A little better than before. Message-ID: This time I've identified the classes of the appropriate training records. My professor is using the "majority vote" algorithm, so for example: Test record 1 is close to Training record 2: Class of Training record 2 = X. Test record 1 is close to Training record 5: Class of Training record 5 = X. Test record 1 is close to Training record 8: Class of Training record 8 = Y. X gets the majority vote, so then we can assume that Test record 1 should get put into Class X. (Although this is just an educated guess, and this classification algorithm doesn't always succeed.) My program isn't really complete, but.... it's getting there! And I'm totally exhausted! Time for a swim! I hope everyone is having a fun weekend. Best, Douglas. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- 1,1.52101,13.64,4.49,1.10,71.78,0.06,8.75,0.00,0.00,1 2,1.51761,13.89,3.60,1.36,72.73,0.48,7.83,0.00,0.00,1 3,1.51618,13.53,3.55,1.54,72.99,0.39,7.78,0.00,0.00,1 4,1.51766,13.21,3.69,1.29,72.61,0.57,8.22,0.00,0.00,1 5,1.51742,13.27,3.62,1.24,73.08,0.55,8.07,0.00,0.00,1 6,1.51596,12.79,3.61,1.62,72.97,0.64,8.07,0.00,0.26,1 7,1.51743,13.30,3.60,1.14,73.09,0.58,8.17,0.00,0.00,1 8,1.51756,13.15,3.61,1.05,73.24,0.57,8.24,0.00,0.00,1 9,1.51918,14.04,3.58,1.37,72.08,0.56,8.30,0.00,0.00,1 10,1.51755,13.00,3.60,1.36,72.99,0.57,8.40,0.00,0.11,1 11,1.51571,12.72,3.46,1.56,73.20,0.67,8.09,0.00,0.24,1 12,1.51763,12.80,3.66,1.27,73.01,0.60,8.56,0.00,0.00,1 13,1.51589,12.88,3.43,1.40,73.28,0.69,8.05,0.00,0.24,1 14,1.51748,12.86,3.56,1.27,73.21,0.54,8.38,0.00,0.17,1 15,1.51763,12.61,3.59,1.31,73.29,0.58,8.50,0.00,0.00,1 16,1.51761,12.81,3.54,1.23,73.24,0.58,8.39,0.00,0.00,1 17,1.51784,12.68,3.67,1.16,73.11,0.61,8.70,0.00,0.00,1 18,1.52196,14.36,3.85,0.89,71.36,0.15,9.15,0.00,0.00,1 19,1.51911,13.90,3.73,1.18,72.12,0.06,8.89,0.00,0.00,1 20,1.51735,13.02,3.54,1.69,72.73,0.54,8.44,0.00,0.07,1 21,1.51750,12.82,3.55,1.49,72.75,0.54,8.52,0.00,0.19,1 22,1.51966,14.77,3.75,0.29,72.02,0.03,9.00,0.00,0.00,1 23,1.51736,12.78,3.62,1.29,72.79,0.59,8.70,0.00,0.00,1 24,1.51751,12.81,3.57,1.35,73.02,0.62,8.59,0.00,0.00,1 25,1.51720,13.38,3.50,1.15,72.85,0.50,8.43,0.00,0.00,1 26,1.51764,12.98,3.54,1.21,73.00,0.65,8.53,0.00,0.00,1 27,1.51793,13.21,3.48,1.41,72.64,0.59,8.43,0.00,0.00,1 28,1.51721,12.87,3.48,1.33,73.04,0.56,8.43,0.00,0.00,1 29,1.51768,12.56,3.52,1.43,73.15,0.57,8.54,0.00,0.00,1 30,1.51784,13.08,3.49,1.28,72.86,0.60,8.49,0.00,0.00,1 31,1.51768,12.65,3.56,1.30,73.08,0.61,8.69,0.00,0.14,1 32,1.51747,12.84,3.50,1.14,73.27,0.56,8.55,0.00,0.00,1 33,1.51775,12.85,3.48,1.23,72.97,0.61,8.56,0.09,0.22,1 34,1.51753,12.57,3.47,1.38,73.39,0.60,8.55,0.00,0.06,1 35,1.51783,12.69,3.54,1.34,72.95,0.57,8.75,0.00,0.00,1 36,1.51567,13.29,3.45,1.21,72.74,0.56,8.57,0.00,0.00,1 37,1.51909,13.89,3.53,1.32,71.81,0.51,8.78,0.11,0.00,1 38,1.51797,12.74,3.48,1.35,72.96,0.64,8.68,0.00,0.00,1 39,1.52213,14.21,3.82,0.47,71.77,0.11,9.57,0.00,0.00,1 40,1.52213,14.21,3.82,0.47,71.77,0.11,9.57,0.00,0.00,1 41,1.51793,12.79,3.50,1.12,73.03,0.64,8.77,0.00,0.00,1 42,1.51755,12.71,3.42,1.20,73.20,0.59,8.64,0.00,0.00,1 43,1.51779,13.21,3.39,1.33,72.76,0.59,8.59,0.00,0.00,1 44,1.52210,13.73,3.84,0.72,71.76,0.17,9.74,0.00,0.00,1 45,1.51786,12.73,3.43,1.19,72.95,0.62,8.76,0.00,0.30,1 46,1.51900,13.49,3.48,1.35,71.95,0.55,9.00,0.00,0.00,1 47,1.51869,13.19,3.37,1.18,72.72,0.57,8.83,0.00,0.16,1 48,1.52667,13.99,3.70,0.71,71.57,0.02,9.82,0.00,0.10,1 49,1.52223,13.21,3.77,0.79,71.99,0.13,10.02,0.00,0.00,1 50,1.51898,13.58,3.35,1.23,72.08,0.59,8.91,0.00,0.00,1 51,1.52320,13.72,3.72,0.51,71.75,0.09,10.06,0.00,0.16,1 52,1.51926,13.20,3.33,1.28,72.36,0.60,9.14,0.00,0.11,1 53,1.51808,13.43,2.87,1.19,72.84,0.55,9.03,0.00,0.00,1 54,1.51837,13.14,2.84,1.28,72.85,0.55,9.07,0.00,0.00,1 55,1.51778,13.21,2.81,1.29,72.98,0.51,9.02,0.00,0.09,1 56,1.51769,12.45,2.71,1.29,73.70,0.56,9.06,0.00,0.24,1 57,1.51215,12.99,3.47,1.12,72.98,0.62,8.35,0.00,0.31,1 58,1.51824,12.87,3.48,1.29,72.95,0.60,8.43,0.00,0.00,1 59,1.51754,13.48,3.74,1.17,72.99,0.59,8.03,0.00,0.00,1 60,1.51754,13.39,3.66,1.19,72.79,0.57,8.27,0.00,0.11,1 61,1.51905,13.60,3.62,1.11,72.64,0.14,8.76,0.00,0.00,1 62,1.51977,13.81,3.58,1.32,71.72,0.12,8.67,0.69,0.00,1 63,1.52172,13.51,3.86,0.88,71.79,0.23,9.54,0.00,0.11,1 64,1.52227,14.17,3.81,0.78,71.35,0.00,9.69,0.00,0.00,1 65,1.52172,13.48,3.74,0.90,72.01,0.18,9.61,0.00,0.07,1 66,1.52099,13.69,3.59,1.12,71.96,0.09,9.40,0.00,0.00,1 67,1.52152,13.05,3.65,0.87,72.22,0.19,9.85,0.00,0.17,1 68,1.52152,13.05,3.65,0.87,72.32,0.19,9.85,0.00,0.17,1 69,1.52152,13.12,3.58,0.90,72.20,0.23,9.82,0.00,0.16,1 70,1.52300,13.31,3.58,0.82,71.99,0.12,10.17,0.00,0.03,1 71,1.51574,14.86,3.67,1.74,71.87,0.16,7.36,0.00,0.12,2 72,1.51848,13.64,3.87,1.27,71.96,0.54,8.32,0.00,0.32,2 73,1.51593,13.09,3.59,1.52,73.10,0.67,7.83,0.00,0.00,2 74,1.51631,13.34,3.57,1.57,72.87,0.61,7.89,0.00,0.00,2 75,1.51596,13.02,3.56,1.54,73.11,0.72,7.90,0.00,0.00,2 76,1.51590,13.02,3.58,1.51,73.12,0.69,7.96,0.00,0.00,2 77,1.51645,13.44,3.61,1.54,72.39,0.66,8.03,0.00,0.00,2 78,1.51627,13.00,3.58,1.54,72.83,0.61,8.04,0.00,0.00,2 79,1.51613,13.92,3.52,1.25,72.88,0.37,7.94,0.00,0.14,2 80,1.51590,12.82,3.52,1.90,72.86,0.69,7.97,0.00,0.00,2 81,1.51592,12.86,3.52,2.12,72.66,0.69,7.97,0.00,0.00,2 82,1.51593,13.25,3.45,1.43,73.17,0.61,7.86,0.00,0.00,2 83,1.51646,13.41,3.55,1.25,72.81,0.68,8.10,0.00,0.00,2 84,1.51594,13.09,3.52,1.55,72.87,0.68,8.05,0.00,0.09,2 85,1.51409,14.25,3.09,2.08,72.28,1.10,7.08,0.00,0.00,2 86,1.51625,13.36,3.58,1.49,72.72,0.45,8.21,0.00,0.00,2 87,1.51569,13.24,3.49,1.47,73.25,0.38,8.03,0.00,0.00,2 88,1.51645,13.40,3.49,1.52,72.65,0.67,8.08,0.00,0.10,2 89,1.51618,13.01,3.50,1.48,72.89,0.60,8.12,0.00,0.00,2 90,1.51640,12.55,3.48,1.87,73.23,0.63,8.08,0.00,0.09,2 91,1.51841,12.93,3.74,1.11,72.28,0.64,8.96,0.00,0.22,2 92,1.51605,12.90,3.44,1.45,73.06,0.44,8.27,0.00,0.00,2 93,1.51588,13.12,3.41,1.58,73.26,0.07,8.39,0.00,0.19,2 94,1.51590,13.24,3.34,1.47,73.10,0.39,8.22,0.00,0.00,2 95,1.51629,12.71,3.33,1.49,73.28,0.67,8.24,0.00,0.00,2 96,1.51860,13.36,3.43,1.43,72.26,0.51,8.60,0.00,0.00,2 97,1.51841,13.02,3.62,1.06,72.34,0.64,9.13,0.00,0.15,2 98,1.51743,12.20,3.25,1.16,73.55,0.62,8.90,0.00,0.24,2 99,1.51689,12.67,2.88,1.71,73.21,0.73,8.54,0.00,0.00,2 100,1.51811,12.96,2.96,1.43,72.92,0.60,8.79,0.14,0.00,2 101,1.51655,12.75,2.85,1.44,73.27,0.57,8.79,0.11,0.22,2 102,1.51730,12.35,2.72,1.63,72.87,0.70,9.23,0.00,0.00,2 103,1.51820,12.62,2.76,0.83,73.81,0.35,9.42,0.00,0.20,2 104,1.52725,13.80,3.15,0.66,70.57,0.08,11.64,0.00,0.00,2 105,1.52410,13.83,2.90,1.17,71.15,0.08,10.79,0.00,0.00,2 106,1.52475,11.45,0.00,1.88,72.19,0.81,13.24,0.00,0.34,2 107,1.53125,10.73,0.00,2.10,69.81,0.58,13.30,3.15,0.28,2 108,1.53393,12.30,0.00,1.00,70.16,0.12,16.19,0.00,0.24,2 109,1.52222,14.43,0.00,1.00,72.67,0.10,11.52,0.00,0.08,2 110,1.51818,13.72,0.00,0.56,74.45,0.00,10.99,0.00,0.00,2 111,1.52664,11.23,0.00,0.77,73.21,0.00,14.68,0.00,0.00,2 112,1.52739,11.02,0.00,0.75,73.08,0.00,14.96,0.00,0.00,2 113,1.52777,12.64,0.00,0.67,72.02,0.06,14.40,0.00,0.00,2 114,1.51892,13.46,3.83,1.26,72.55,0.57,8.21,0.00,0.14,2 115,1.51847,13.10,3.97,1.19,72.44,0.60,8.43,0.00,0.00,2 116,1.51846,13.41,3.89,1.33,72.38,0.51,8.28,0.00,0.00,2 117,1.51829,13.24,3.90,1.41,72.33,0.55,8.31,0.00,0.10,2 118,1.51708,13.72,3.68,1.81,72.06,0.64,7.88,0.00,0.00,2 119,1.51673,13.30,3.64,1.53,72.53,0.65,8.03,0.00,0.29,2 120,1.51652,13.56,3.57,1.47,72.45,0.64,7.96,0.00,0.00,2 121,1.51844,13.25,3.76,1.32,72.40,0.58,8.42,0.00,0.00,2 122,1.51663,12.93,3.54,1.62,72.96,0.64,8.03,0.00,0.21,2 123,1.51687,13.23,3.54,1.48,72.84,0.56,8.10,0.00,0.00,2 124,1.51707,13.48,3.48,1.71,72.52,0.62,7.99,0.00,0.00,2 125,1.52177,13.20,3.68,1.15,72.75,0.54,8.52,0.00,0.00,2 126,1.51872,12.93,3.66,1.56,72.51,0.58,8.55,0.00,0.12,2 127,1.51667,12.94,3.61,1.26,72.75,0.56,8.60,0.00,0.00,2 128,1.52081,13.78,2.28,1.43,71.99,0.49,9.85,0.00,0.17,2 129,1.52068,13.55,2.09,1.67,72.18,0.53,9.57,0.27,0.17,2 130,1.52020,13.98,1.35,1.63,71.76,0.39,10.56,0.00,0.18,2 131,1.52177,13.75,1.01,1.36,72.19,0.33,11.14,0.00,0.00,2 132,1.52614,13.70,0.00,1.36,71.24,0.19,13.44,0.00,0.10,2 133,1.51813,13.43,3.98,1.18,72.49,0.58,8.15,0.00,0.00,2 134,1.51800,13.71,3.93,1.54,71.81,0.54,8.21,0.00,0.15,2 135,1.51811,13.33,3.85,1.25,72.78,0.52,8.12,0.00,0.00,2 136,1.51789,13.19,3.90,1.30,72.33,0.55,8.44,0.00,0.28,2 137,1.51806,13.00,3.80,1.08,73.07,0.56,8.38,0.00,0.12,2 138,1.51711,12.89,3.62,1.57,72.96,0.61,8.11,0.00,0.00,2 139,1.51674,12.79,3.52,1.54,73.36,0.66,7.90,0.00,0.00,2 140,1.51674,12.87,3.56,1.64,73.14,0.65,7.99,0.00,0.00,2 141,1.51690,13.33,3.54,1.61,72.54,0.68,8.11,0.00,0.00,2 142,1.51851,13.20,3.63,1.07,72.83,0.57,8.41,0.09,0.17,2 143,1.51662,12.85,3.51,1.44,73.01,0.68,8.23,0.06,0.25,2 144,1.51709,13.00,3.47,1.79,72.72,0.66,8.18,0.00,0.00,2 145,1.51660,12.99,3.18,1.23,72.97,0.58,8.81,0.00,0.24,2 146,1.51839,12.85,3.67,1.24,72.57,0.62,8.68,0.00,0.35,2 147,1.51769,13.65,3.66,1.11,72.77,0.11,8.60,0.00,0.00,3 148,1.51610,13.33,3.53,1.34,72.67,0.56,8.33,0.00,0.00,3 149,1.51670,13.24,3.57,1.38,72.70,0.56,8.44,0.00,0.10,3 150,1.51643,12.16,3.52,1.35,72.89,0.57,8.53,0.00,0.00,3 151,1.51665,13.14,3.45,1.76,72.48,0.60,8.38,0.00,0.17,3 152,1.52127,14.32,3.90,0.83,71.50,0.00,9.49,0.00,0.00,3 153,1.51779,13.64,3.65,0.65,73.00,0.06,8.93,0.00,0.00,3 154,1.51610,13.42,3.40,1.22,72.69,0.59,8.32,0.00,0.00,3 155,1.51694,12.86,3.58,1.31,72.61,0.61,8.79,0.00,0.00,3 156,1.51646,13.04,3.40,1.26,73.01,0.52,8.58,0.00,0.00,3 157,1.51655,13.41,3.39,1.28,72.64,0.52,8.65,0.00,0.00,3 158,1.52121,14.03,3.76,0.58,71.79,0.11,9.65,0.00,0.00,3 159,1.51776,13.53,3.41,1.52,72.04,0.58,8.79,0.00,0.00,3 160,1.51796,13.50,3.36,1.63,71.94,0.57,8.81,0.00,0.09,3 161,1.51832,13.33,3.34,1.54,72.14,0.56,8.99,0.00,0.00,3 162,1.51934,13.64,3.54,0.75,72.65,0.16,8.89,0.15,0.24,3 163,1.52211,14.19,3.78,0.91,71.36,0.23,9.14,0.00,0.37,3 164,1.51514,14.01,2.68,3.50,69.89,1.68,5.87,2.20,0.00,5 165,1.51915,12.73,1.85,1.86,72.69,0.60,10.09,0.00,0.00,5 166,1.52171,11.56,1.88,1.56,72.86,0.47,11.41,0.00,0.00,5 167,1.52151,11.03,1.71,1.56,73.44,0.58,11.62,0.00,0.00,5 168,1.51969,12.64,0.00,1.65,73.75,0.38,11.53,0.00,0.00,5 169,1.51666,12.86,0.00,1.83,73.88,0.97,10.17,0.00,0.00,5 170,1.51994,13.27,0.00,1.76,73.03,0.47,11.32,0.00,0.00,5 171,1.52369,13.44,0.00,1.58,72.22,0.32,12.24,0.00,0.00,5 172,1.51316,13.02,0.00,3.04,70.48,6.21,6.96,0.00,0.00,5 173,1.51321,13.00,0.00,3.02,70.70,6.21,6.93,0.00,0.00,5 174,1.52043,13.38,0.00,1.40,72.25,0.33,12.50,0.00,0.00,5 175,1.52058,12.85,1.61,2.17,72.18,0.76,9.70,0.24,0.51,5 176,1.52119,12.97,0.33,1.51,73.39,0.13,11.27,0.00,0.28,5 177,1.51905,14.00,2.39,1.56,72.37,0.00,9.57,0.00,0.00,6 178,1.51937,13.79,2.41,1.19,72.76,0.00,9.77,0.00,0.00,6 179,1.51829,14.46,2.24,1.62,72.38,0.00,9.26,0.00,0.00,6 180,1.51852,14.09,2.19,1.66,72.67,0.00,9.32,0.00,0.00,6 181,1.51299,14.40,1.74,1.54,74.55,0.00,7.59,0.00,0.00,6 182,1.51888,14.99,0.78,1.74,72.50,0.00,9.95,0.00,0.00,6 183,1.51916,14.15,0.00,2.09,72.74,0.00,10.88,0.00,0.00,6 184,1.51969,14.56,0.00,0.56,73.48,0.00,11.22,0.00,0.00,6 185,1.51115,17.38,0.00,0.34,75.41,0.00,6.65,0.00,0.00,6 186,1.51131,13.69,3.20,1.81,72.81,1.76,5.43,1.19,0.00,7 187,1.51838,14.32,3.26,2.22,71.25,1.46,5.79,1.63,0.00,7 188,1.52315,13.44,3.34,1.23,72.38,0.60,8.83,0.00,0.00,7 189,1.52247,14.86,2.20,2.06,70.26,0.76,9.76,0.00,0.00,7 190,1.52365,15.79,1.83,1.31,70.43,0.31,8.61,1.68,0.00,7 191,1.51613,13.88,1.78,1.79,73.10,0.00,8.67,0.76,0.00,7 192,1.51602,14.85,0.00,2.38,73.28,0.00,8.76,0.64,0.09,7 193,1.51623,14.20,0.00,2.79,73.46,0.04,9.04,0.40,0.09,7 194,1.51719,14.75,0.00,2.00,73.02,0.00,8.53,1.59,0.08,7 195,1.51683,14.56,0.00,1.98,73.29,0.00,8.52,1.57,0.07,7 196,1.51545,14.14,0.00,2.68,73.39,0.08,9.07,0.61,0.05,7 197,1.51556,13.87,0.00,2.54,73.23,0.14,9.41,0.81,0.01,7 198,1.51727,14.70,0.00,2.34,73.28,0.00,8.95,0.66,0.00,7 199,1.51531,14.38,0.00,2.66,73.10,0.04,9.08,0.64,0.00,7 200,1.51609,15.01,0.00,2.51,73.05,0.05,8.83,0.53,0.00,7 201,1.51508,15.15,0.00,2.25,73.50,0.00,8.34,0.63,0.00,7 202,1.51653,11.95,0.00,1.19,75.18,2.70,8.93,0.00,0.00,7 203,1.51514,14.85,0.00,2.42,73.72,0.00,8.39,0.56,0.00,7 204,1.51658,14.80,0.00,1.99,73.11,0.00,8.28,1.71,0.00,7 205,1.51617,14.95,0.00,2.27,73.30,0.00,8.71,0.67,0.00,7 206,1.51732,14.95,0.00,1.80,72.99,0.00,8.61,1.55,0.00,7 207,1.51645,14.94,0.00,1.87,73.11,0.00,8.67,1.38,0.00,7 208,1.51831,14.39,0.00,1.82,72.86,1.41,6.47,2.88,0.00,7 209,1.51640,14.37,0.00,2.74,72.85,0.00,9.45,0.54,0.00,7 210,1.51623,14.14,0.00,2.88,72.61,0.08,9.18,1.06,0.00,7 211,1.51685,14.92,0.00,1.99,73.06,0.00,8.40,1.59,0.00,7 212,1.52065,14.36,0.00,2.02,73.42,0.00,8.44,1.64,0.00,7 213,1.51651,14.38,0.00,1.94,73.61,0.00,8.48,1.57,0.00,7 214,1.51711,14.23,0.00,2.08,73.36,0.00,8.62,1.67,0.00,7 -------------- next part -------------- A non-text attachment was scrubbed... Name: KNN_Python_Lewit5.py Type: text/x-python-script Size: 4460 bytes Desc: not available URL: From zitterbewegung at gmail.com Sat Sep 19 20:54:24 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Sat, 19 Sep 2015 18:54:24 +0000 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: References: <1442668193.28325.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: umm i can do skype On Sat, Sep 19, 2015 at 1:46 PM Lewit, Douglas wrote: > Hey Joshua! I would LOVE to, but I have classes on Wednesday and Thursday > evenings. So.... ??? > > On Sat, Sep 19, 2015 at 1:30 PM, Joshua Herman > wrote: > >> Hey I'm doing machine learning too why don't you come to one of the >> python meet ups in Chicago >> >> On Sat, Sep 19, 2015 at 12:56 PM Lewit, Douglas wrote: >> >>> Hi William, >>> >>> I'm doing a KNN program (K-Nearest-Neighbors). I'm attaching what I've >>> done so far. It's not complete! But I've made good progress I think. >>> (The program won't work unless you also download the .txt file that the >>> program uses to read in the data.) >>> >>> For this problem the data has to get split into two sets: a training set >>> (kind of like a control group in an experiment) and the test set (the >>> experimental group or its equivalent). I have to use the K smallest >>> normalized distances to make a guess about which class the records in the >>> Training Set belong to. (There are six classes: {1, 2, 3, 5, 6, 7}. >>> There's no class #4.) >>> >>> This problem has given me a massive headache, but I think I'm almost >>> done with it. All that's left really is to use one of the algorithms to >>> make a decision about which class each Test record should be assigned to. >>> >>> Thanks for the feedback! >>> >>> Best, >>> >>> Douglas. >>> >>> >>> On Sat, Sep 19, 2015 at 10:45 AM, William E. S. Clemens < >>> wesclemens at gmail.com> wrote: >>> >>>> I would agree that Jimmy's solution is the correct one for doing this. >>>> But I would avoid setting up your data structure in this manner. A dict is >>>> a hash table and it is be extremely fast a looking up a value by key. >>>> >>>> You are building an array of the keys to linearly search. This >>>> operation is going to be slow and will not scale well. If you described >>>> what this data is and what your trying todo with it. I maybe able to >>>> suggest a better data structure for storing and accessing it. >>>> >>>> >>>> >>>> >>>> -- >>>> William Clemens >>>> Phone: 847.485.9455 >>>> E-mail: wesclemens at gmail.com >>>> >>>> On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas >>>> wrote: >>>> >>>>> I love it! Thanks Jim. >>>>> >>>>> On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago < >>>>> chicago at python.org> wrote: >>>>> >>>>>> is more elegant but not sure if is the best option: >>>>>> >>>>>> >>>>>> [A[key] for key in A.keys() if key[0] == 1] >>>>>> >>>>>> >>>>>> >>>>>> -------------------------------------------- >>>>>> On Sat, 9/19/15, Lewit, Douglas wrote: >>>>>> >>>>>> Subject: [Chicago] Question about accessing dictionary's elements. >>>>>> To: "The Chicago Python Users Group" >>>>>> Date: Saturday, September 19, 2015, 7:43 AM >>>>>> >>>>>> Hi >>>>>> guys, >>>>>> I have a problem and not >>>>>> sure how to address it. Let's say I have a simple >>>>>> dictionary such as. >>>>>> A = { (1, 2) : 10, (1, 3) : >>>>>> 15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 >>>>>> } >>>>>> I would like to access any >>>>>> and all tuples whose first value is 1 or let's say 2. >>>>>> How would I do that? >>>>>> So what I'm trying to >>>>>> go for is: >>>>>> A[(1, placeholder for any >>>>>> int value)] thus giving me all the values that correspond to >>>>>> (1, #). Not really sure how to go about this. Unless.... >>>>>> I suppose I could do something like >>>>>> this: >>>>>> for key in >>>>>> A: if list(key)[0] >>>>>> == 1: >>>>>> print(A[key]) #### Or whatever I want to do with the >>>>>> number. >>>>>> Hmmm.... maybe that would >>>>>> work, but is there a more "elegant" way to do >>>>>> this? Is there any "pattern matching" in Python >>>>>> so that I could do this: >>>>>> A[(1, #placeholder for any >>>>>> int )] >>>>>> Hey, thanks for your >>>>>> help. >>>>>> By the way, has anyone seen >>>>>> the book LEARNING PYTHON by Mark Lutz? Wow! Full of >>>>>> great information, but the book is HUGE!!! I'll have >>>>>> serious back problems if I carry that thing around in my >>>>>> backpack! There's something about small, lightweight >>>>>> books that I really prefer. (And then there's eBooks, >>>>>> but that's a horse of a different color in my >>>>>> opinion.) >>>>>> Have a great weekend and >>>>>> I'm looking forward to some ideas on the above >>>>>> problem. Thanks in advance. >>>>>> Best, >>>>>> Douglas >>>>>> L. >>>>>> >>>>>> -----Inline Attachment Follows----- >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >> >> _______________________________________________ >> 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 d-lewit at neiu.edu Sat Sep 19 20:56:10 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sat, 19 Sep 2015 13:56:10 -0500 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: References: <1442668193.28325.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: You have any time on Monday? I really gotta get going. If I sit in front of this laptop any longer, I'm going to go completely crazy! I spent all morning working on the code for the KNN algorithm, and I'm still not really done with it! (But pretty close I think.... I hope! ) On Sat, Sep 19, 2015 at 1:54 PM, Joshua Herman wrote: > umm i can do skype > > > On Sat, Sep 19, 2015 at 1:46 PM Lewit, Douglas wrote: > >> Hey Joshua! I would LOVE to, but I have classes on Wednesday and >> Thursday evenings. So.... ??? >> >> On Sat, Sep 19, 2015 at 1:30 PM, Joshua Herman >> wrote: >> >>> Hey I'm doing machine learning too why don't you come to one of the >>> python meet ups in Chicago >>> >>> On Sat, Sep 19, 2015 at 12:56 PM Lewit, Douglas >>> wrote: >>> >>>> Hi William, >>>> >>>> I'm doing a KNN program (K-Nearest-Neighbors). I'm attaching what I've >>>> done so far. It's not complete! But I've made good progress I think. >>>> (The program won't work unless you also download the .txt file that the >>>> program uses to read in the data.) >>>> >>>> For this problem the data has to get split into two sets: a training >>>> set (kind of like a control group in an experiment) and the test set (the >>>> experimental group or its equivalent). I have to use the K smallest >>>> normalized distances to make a guess about which class the records in the >>>> Training Set belong to. (There are six classes: {1, 2, 3, 5, 6, 7}. >>>> There's no class #4.) >>>> >>>> This problem has given me a massive headache, but I think I'm almost >>>> done with it. All that's left really is to use one of the algorithms to >>>> make a decision about which class each Test record should be assigned to. >>>> >>>> Thanks for the feedback! >>>> >>>> Best, >>>> >>>> Douglas. >>>> >>>> >>>> On Sat, Sep 19, 2015 at 10:45 AM, William E. S. Clemens < >>>> wesclemens at gmail.com> wrote: >>>> >>>>> I would agree that Jimmy's solution is the correct one for doing this. >>>>> But I would avoid setting up your data structure in this manner. A dict is >>>>> a hash table and it is be extremely fast a looking up a value by key. >>>>> >>>>> You are building an array of the keys to linearly search. This >>>>> operation is going to be slow and will not scale well. If you described >>>>> what this data is and what your trying todo with it. I maybe able to >>>>> suggest a better data structure for storing and accessing it. >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> William Clemens >>>>> Phone: 847.485.9455 >>>>> E-mail: wesclemens at gmail.com >>>>> >>>>> On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas >>>>> wrote: >>>>> >>>>>> I love it! Thanks Jim. >>>>>> >>>>>> On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago < >>>>>> chicago at python.org> wrote: >>>>>> >>>>>>> is more elegant but not sure if is the best option: >>>>>>> >>>>>>> >>>>>>> [A[key] for key in A.keys() if key[0] == 1] >>>>>>> >>>>>>> >>>>>>> >>>>>>> -------------------------------------------- >>>>>>> On Sat, 9/19/15, Lewit, Douglas wrote: >>>>>>> >>>>>>> Subject: [Chicago] Question about accessing dictionary's elements. >>>>>>> To: "The Chicago Python Users Group" >>>>>>> Date: Saturday, September 19, 2015, 7:43 AM >>>>>>> >>>>>>> Hi >>>>>>> guys, >>>>>>> I have a problem and not >>>>>>> sure how to address it. Let's say I have a simple >>>>>>> dictionary such as. >>>>>>> A = { (1, 2) : 10, (1, 3) : >>>>>>> 15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 >>>>>>> } >>>>>>> I would like to access any >>>>>>> and all tuples whose first value is 1 or let's say 2. >>>>>>> How would I do that? >>>>>>> So what I'm trying to >>>>>>> go for is: >>>>>>> A[(1, placeholder for any >>>>>>> int value)] thus giving me all the values that correspond to >>>>>>> (1, #). Not really sure how to go about this. Unless.... >>>>>>> I suppose I could do something like >>>>>>> this: >>>>>>> for key in >>>>>>> A: if list(key)[0] >>>>>>> == 1: >>>>>>> print(A[key]) #### Or whatever I want to do with the >>>>>>> number. >>>>>>> Hmmm.... maybe that would >>>>>>> work, but is there a more "elegant" way to do >>>>>>> this? Is there any "pattern matching" in Python >>>>>>> so that I could do this: >>>>>>> A[(1, #placeholder for any >>>>>>> int )] >>>>>>> Hey, thanks for your >>>>>>> help. >>>>>>> By the way, has anyone seen >>>>>>> the book LEARNING PYTHON by Mark Lutz? Wow! Full of >>>>>>> great information, but the book is HUGE!!! I'll have >>>>>>> serious back problems if I carry that thing around in my >>>>>>> backpack! There's something about small, lightweight >>>>>>> books that I really prefer. (And then there's eBooks, >>>>>>> but that's a horse of a different color in my >>>>>>> opinion.) >>>>>>> Have a great weekend and >>>>>>> I'm looking forward to some ideas on the above >>>>>>> problem. Thanks in advance. >>>>>>> Best, >>>>>>> Douglas >>>>>>> L. >>>>>>> >>>>>>> -----Inline Attachment Follows----- >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Chicago mailing list >>>>>>> Chicago at python.org >>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Chicago mailing list >>>>>>> Chicago at python.org >>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>> >>> _______________________________________________ >>> 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 zitterbewegung at gmail.com Sat Sep 19 20:58:08 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Sat, 19 Sep 2015 18:58:08 +0000 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: References: <1442668193.28325.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: Yea what time on monday is good for you. can you email me off list? zitterbewegung at gmail.com On Sat, Sep 19, 2015 at 1:56 PM Lewit, Douglas wrote: > You have any time on Monday? I really gotta get going. If I sit in front > of this laptop any longer, I'm going to go completely crazy! I spent all > morning working on the code for the KNN algorithm, and I'm still not really > done with it! (But pretty close I think.... I hope! ) > > On Sat, Sep 19, 2015 at 1:54 PM, Joshua Herman > wrote: > >> umm i can do skype >> >> >> On Sat, Sep 19, 2015 at 1:46 PM Lewit, Douglas wrote: >> >>> Hey Joshua! I would LOVE to, but I have classes on Wednesday and >>> Thursday evenings. So.... ??? >>> >>> On Sat, Sep 19, 2015 at 1:30 PM, Joshua Herman >> > wrote: >>> >>>> Hey I'm doing machine learning too why don't you come to one of the >>>> python meet ups in Chicago >>>> >>>> On Sat, Sep 19, 2015 at 12:56 PM Lewit, Douglas >>>> wrote: >>>> >>>>> Hi William, >>>>> >>>>> I'm doing a KNN program (K-Nearest-Neighbors). I'm attaching what >>>>> I've done so far. It's not complete! But I've made good progress I think. >>>>> (The program won't work unless you also download the .txt file that the >>>>> program uses to read in the data.) >>>>> >>>>> For this problem the data has to get split into two sets: a training >>>>> set (kind of like a control group in an experiment) and the test set (the >>>>> experimental group or its equivalent). I have to use the K smallest >>>>> normalized distances to make a guess about which class the records in the >>>>> Training Set belong to. (There are six classes: {1, 2, 3, 5, 6, 7}. >>>>> There's no class #4.) >>>>> >>>>> This problem has given me a massive headache, but I think I'm almost >>>>> done with it. All that's left really is to use one of the algorithms to >>>>> make a decision about which class each Test record should be assigned to. >>>>> >>>>> Thanks for the feedback! >>>>> >>>>> Best, >>>>> >>>>> Douglas. >>>>> >>>>> >>>>> On Sat, Sep 19, 2015 at 10:45 AM, William E. S. Clemens < >>>>> wesclemens at gmail.com> wrote: >>>>> >>>>>> I would agree that Jimmy's solution is the correct one for doing >>>>>> this. But I would avoid setting up your data structure in this manner. A >>>>>> dict is a hash table and it is be extremely fast a looking up a value by >>>>>> key. >>>>>> >>>>>> You are building an array of the keys to linearly search. This >>>>>> operation is going to be slow and will not scale well. If you described >>>>>> what this data is and what your trying todo with it. I maybe able to >>>>>> suggest a better data structure for storing and accessing it. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> William Clemens >>>>>> Phone: 847.485.9455 >>>>>> E-mail: wesclemens at gmail.com >>>>>> >>>>>> On Sat, Sep 19, 2015 at 10:02 AM, Lewit, Douglas >>>>>> wrote: >>>>>> >>>>>>> I love it! Thanks Jim. >>>>>>> >>>>>>> On Sat, Sep 19, 2015 at 8:09 AM, Jimmy Calahorrano via Chicago < >>>>>>> chicago at python.org> wrote: >>>>>>> >>>>>>>> is more elegant but not sure if is the best option: >>>>>>>> >>>>>>>> >>>>>>>> [A[key] for key in A.keys() if key[0] == 1] >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -------------------------------------------- >>>>>>>> On Sat, 9/19/15, Lewit, Douglas wrote: >>>>>>>> >>>>>>>> Subject: [Chicago] Question about accessing dictionary's elements. >>>>>>>> To: "The Chicago Python Users Group" >>>>>>>> Date: Saturday, September 19, 2015, 7:43 AM >>>>>>>> >>>>>>>> Hi >>>>>>>> guys, >>>>>>>> I have a problem and not >>>>>>>> sure how to address it. Let's say I have a simple >>>>>>>> dictionary such as. >>>>>>>> A = { (1, 2) : 10, (1, 3) : >>>>>>>> 15, (1, 4) : 50, (2, 0) : 2, (2, 5) : 8, (2, 12) : 19 >>>>>>>> } >>>>>>>> I would like to access any >>>>>>>> and all tuples whose first value is 1 or let's say 2. >>>>>>>> How would I do that? >>>>>>>> So what I'm trying to >>>>>>>> go for is: >>>>>>>> A[(1, placeholder for any >>>>>>>> int value)] thus giving me all the values that correspond to >>>>>>>> (1, #). Not really sure how to go about this. Unless.... >>>>>>>> I suppose I could do something like >>>>>>>> this: >>>>>>>> for key in >>>>>>>> A: if list(key)[0] >>>>>>>> == 1: >>>>>>>> print(A[key]) #### Or whatever I want to do with the >>>>>>>> number. >>>>>>>> Hmmm.... maybe that would >>>>>>>> work, but is there a more "elegant" way to do >>>>>>>> this? Is there any "pattern matching" in Python >>>>>>>> so that I could do this: >>>>>>>> A[(1, #placeholder for any >>>>>>>> int )] >>>>>>>> Hey, thanks for your >>>>>>>> help. >>>>>>>> By the way, has anyone seen >>>>>>>> the book LEARNING PYTHON by Mark Lutz? Wow! Full of >>>>>>>> great information, but the book is HUGE!!! I'll have >>>>>>>> serious back problems if I carry that thing around in my >>>>>>>> backpack! There's something about small, lightweight >>>>>>>> books that I really prefer. (And then there's eBooks, >>>>>>>> but that's a horse of a different color in my >>>>>>>> opinion.) >>>>>>>> Have a great weekend and >>>>>>>> I'm looking forward to some ideas on the above >>>>>>>> problem. Thanks in advance. >>>>>>>> Best, >>>>>>>> Douglas >>>>>>>> L. >>>>>>>> >>>>>>>> -----Inline Attachment Follows----- >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Chicago mailing list >>>>>>>> Chicago at python.org >>>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Chicago mailing list >>>>>>>> Chicago at python.org >>>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Chicago mailing list >>>>>>> Chicago at python.org >>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip.montanaro at gmail.com Sat Sep 19 21:52:55 2015 From: skip.montanaro at gmail.com (Skip Montanaro) Date: Sat, 19 Sep 2015 14:52:55 -0500 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: References: Message-ID: If performance is an issue, why not make the dictionary hierarchical? Key the outer dictionary by the first element of the tuple, then have it's value be a second dictionary keyed by the second element. Accessing all values matching (1, *) would just be d[1].values(). Instead of d[(1,2)] you would use d[1][2]. Skip -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcalahor at yahoo.com Sat Sep 19 22:10:18 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Sat, 19 Sep 2015 13:10:18 -0700 Subject: [Chicago] traders vs coders Message-ID: <1442693418.14798.YahooMailBasic@web181706.mail.ne1.yahoo.com> worth to share! Why Goldman Sachs is replacing traders with coders http://www.independent.co.uk/news/business/why-goldman-sachs-is-replacing-traders-with-coders-10503906.html Jason we should bring someone from GS to the finance meetup ;) From jsudlow at gmail.com Sat Sep 19 22:20:59 2015 From: jsudlow at gmail.com (Jon Sudlow) Date: Sat, 19 Sep 2015 15:20:59 -0500 Subject: [Chicago] traders vs coders In-Reply-To: <1442693418.14798.YahooMailBasic@web181706.mail.ne1.yahoo.com> References: <1442693418.14798.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: Does anyone have any books or references about the development of computerized trading systems that will shoot straight with you and not attempt to sell you a 5 step system? How would you train for a job like this? Looks really cool. On Sat, Sep 19, 2015 at 3:10 PM, Jimmy Calahorrano via Chicago < chicago at python.org> wrote: > worth to share! > > Why Goldman Sachs is replacing traders with coders > > http://www.independent.co.uk/news/business/why-goldman-sachs-is-replacing-traders-with-coders-10503906.html > > Jason we should bring someone from GS to the finance meetup ;) > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.j.johnson at gmail.com Sat Sep 19 23:24:48 2015 From: thomas.j.johnson at gmail.com (Thomas Johnson) Date: Sat, 19 Sep 2015 21:24:48 +0000 Subject: [Chicago] traders vs coders In-Reply-To: References: <1442693418.14798.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: As a former trade developer at a big bank and at a Chicago prop firm, I can tell you that no one is expecting you as a programmer to come up with trading strategies. You might advance to that level after a couple years of experience if you're lucky, but more and more strategy development is being handled by people with PhDs or people with advanced degrees in data science related fields. If you still want to get into the industry, some basic knowledge of how the market works is good (e.g., what is a bid/offer), but even that isn't really required at the entry level. It's really no different than getting any other coding job. The languages to know are C++/Java/Python (in approximately that order, depending on the company). Knowledge of latency optimization is usually very important. On the interviewing side, the industry hasn't yet caught up with Facebook/Google in that you might still get outdated brainteasers and probability/statistics questions - these are easy to study for because they're usually questions that have been recycled for years. The stress level is higher than in most industries. Unsurprisingly, people tend to freak out if they suddenly lose a few hundred thousand dollars or more because of a bug. Also, depending on the firm, your paycheck can be highly dependent on the team you're on. You may make 50-100% more or less than someone who is just as skilled simply because your team happens to be trading a strategy or product that is hot right now. This means that politics can get get brutal and turnover can be high. As one recruiter has said "ex-Citadel is the least exclusive club in finance" (Citadel is a very successful Chicago finance firm with a reputation for burn & churn hiring practices - hire people, burn them out, fire them). So to summarize - it's probably easier to get a job in the industry than Google/Facebook, and it probably pays more on average (especially after Chicago cost of living adjustment) but make sure you really want it. On Sat, Sep 19, 2015 at 3:21 PM Jon Sudlow wrote: > Does anyone have any books or references about the development of > computerized trading systems that will shoot straight with you and not > attempt to sell you a 5 step system? How would you train for a job like > this? Looks really cool. > > On Sat, Sep 19, 2015 at 3:10 PM, Jimmy Calahorrano via Chicago < > chicago at python.org> wrote: > >> worth to share! >> >> Why Goldman Sachs is replacing traders with coders >> >> http://www.independent.co.uk/news/business/why-goldman-sachs-is-replacing-traders-with-coders-10503906.html >> >> Jason we should bring someone from GS to the finance meetup ;) >> >> >> _______________________________________________ >> 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 randy7771026 at gmail.com Sat Sep 19 23:32:46 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Sat, 19 Sep 2015 16:32:46 -0500 Subject: [Chicago] traders vs coders In-Reply-To: References: <1442693418.14798.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: 4, 5 and 12 are just fun reading even if you do not plan to trade. https://www.stocktrader.com/investing-books/ . I have not read 10 but would say skimming it and the other charting book would be a good idea unless someone has some good recommendation for a charting book. I am fond of neural networks myself and finding models that fit a traders sensbilities to velocity and drawdowns. On Sat, Sep 19, 2015 at 3:20 PM, Jon Sudlow wrote: > Does anyone have any books or references about the development of > computerized trading systems that will shoot straight with you and not > attempt to sell you a 5 step system? How would you train for a job like > this? Looks really cool. > > On Sat, Sep 19, 2015 at 3:10 PM, Jimmy Calahorrano via Chicago < > chicago at python.org> wrote: > >> worth to share! >> >> Why Goldman Sachs is replacing traders with coders >> >> http://www.independent.co.uk/news/business/why-goldman-sachs-is-replacing-traders-with-coders-10503906.html >> >> Jason we should bring someone from GS to the finance meetup ;) >> >> >> _______________________________________________ >> 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 jsudlow at gmail.com Sun Sep 20 00:20:56 2015 From: jsudlow at gmail.com (Jon Sudlow) Date: Sat, 19 Sep 2015 17:20:56 -0500 Subject: [Chicago] traders vs coders In-Reply-To: References: <1442693418.14798.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: Thank you for the insights gentleman. The first company I worked for was a prop trading company and I did experience the burn and churn. I was greener than a lime back then. Your correct about the latency issue. They want you to be super familiar with it because if they could prove the trade didn't execute fast enough they could get their money back on un favorable trades. Thanks again for your tips - really informative -Jon On Sat, Sep 19, 2015 at 4:32 PM, Randy Baxley wrote: > 4, 5 and 12 are just fun reading even if you do not plan to trade. > > https://www.stocktrader.com/investing-books/ > . > I have not read 10 but would say skimming it and the other charting book > would be a good idea unless someone has some good recommendation for a > charting book. > > I am fond of neural networks myself and finding models that fit a traders > sensbilities to velocity and drawdowns. > > On Sat, Sep 19, 2015 at 3:20 PM, Jon Sudlow wrote: > >> Does anyone have any books or references about the development of >> computerized trading systems that will shoot straight with you and not >> attempt to sell you a 5 step system? How would you train for a job like >> this? Looks really cool. >> >> On Sat, Sep 19, 2015 at 3:10 PM, Jimmy Calahorrano via Chicago < >> chicago at python.org> wrote: >> >>> worth to share! >>> >>> Why Goldman Sachs is replacing traders with coders >>> >>> http://www.independent.co.uk/news/business/why-goldman-sachs-is-replacing-traders-with-coders-10503906.html >>> >>> Jason we should bring someone from GS to the finance meetup ;) >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Sun Sep 20 00:35:00 2015 From: wirth.jason at gmail.com (Jason Wirth) Date: Sat, 19 Sep 2015 22:35:00 +0000 Subject: [Chicago] traders vs coders In-Reply-To: References: <1442693418.14798.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: Depending on whether or not you think the market is efficient there's other opportunities. On Sat, Sep 19, 2015 at 5:29 PM Jon Sudlow wrote: > Thank you for the insights gentleman. > > The first company I worked for was a prop trading company and I did > experience the burn and churn. I was greener than a lime back then. > > Your correct about the latency issue. They want you to be super familiar > with it because if they could prove the trade didn't execute fast enough > they could get their money back on un favorable trades. > > Thanks again for your tips - really informative > > -Jon > > On Sat, Sep 19, 2015 at 4:32 PM, Randy Baxley > wrote: > >> 4, 5 and 12 are just fun reading even if you do not plan to trade. >> >> https://www.stocktrader.com/investing-books/ >> . >> I have not read 10 but would say skimming it and the other charting book >> would be a good idea unless someone has some good recommendation for a >> charting book. >> >> I am fond of neural networks myself and finding models that fit a traders >> sensbilities to velocity and drawdowns. >> >> On Sat, Sep 19, 2015 at 3:20 PM, Jon Sudlow wrote: >> >>> Does anyone have any books or references about the development of >>> computerized trading systems that will shoot straight with you and not >>> attempt to sell you a 5 step system? How would you train for a job like >>> this? Looks really cool. >>> >>> On Sat, Sep 19, 2015 at 3:10 PM, Jimmy Calahorrano via Chicago < >>> chicago at python.org> wrote: >>> >>>> worth to share! >>>> >>>> Why Goldman Sachs is replacing traders with coders >>>> >>>> http://www.independent.co.uk/news/business/why-goldman-sachs-is-replacing-traders-with-coders-10503906.html >>>> >>>> Jason we should bring someone from GS to the finance meetup ;) >>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Sun Sep 20 00:58:49 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Sat, 19 Sep 2015 17:58:49 -0500 Subject: [Chicago] traders vs coders In-Reply-To: References: <1442693418.14798.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: Never read any of this stuff. Putting on a haircut or buying chunks on the way or selling chuncks on the way down was about as much fun as I could stand. http://www.amazon.com/Risk-Arbitrage-An-Investors-Guide/dp/0471248843 On Sat, Sep 19, 2015 at 5:35 PM, Jason Wirth wrote: > Depending on whether or not you think the market is efficient there's > other opportunities. > On Sat, Sep 19, 2015 at 5:29 PM Jon Sudlow wrote: > >> Thank you for the insights gentleman. >> >> The first company I worked for was a prop trading company and I did >> experience the burn and churn. I was greener than a lime back then. >> >> Your correct about the latency issue. They want you to be super familiar >> with it because if they could prove the trade didn't execute fast enough >> they could get their money back on un favorable trades. >> >> Thanks again for your tips - really informative >> >> -Jon >> >> On Sat, Sep 19, 2015 at 4:32 PM, Randy Baxley >> wrote: >> >>> 4, 5 and 12 are just fun reading even if you do not plan to trade. >>> >>> https://www.stocktrader.com/investing-books/ >>> . >>> I have not read 10 but would say skimming it and the other charting book >>> would be a good idea unless someone has some good recommendation for a >>> charting book. >>> >>> I am fond of neural networks myself and finding models that fit a >>> traders sensbilities to velocity and drawdowns. >>> >>> On Sat, Sep 19, 2015 at 3:20 PM, Jon Sudlow wrote: >>> >>>> Does anyone have any books or references about the development of >>>> computerized trading systems that will shoot straight with you and not >>>> attempt to sell you a 5 step system? How would you train for a job like >>>> this? Looks really cool. >>>> >>>> On Sat, Sep 19, 2015 at 3:10 PM, Jimmy Calahorrano via Chicago < >>>> chicago at python.org> wrote: >>>> >>>>> worth to share! >>>>> >>>>> Why Goldman Sachs is replacing traders with coders >>>>> >>>>> http://www.independent.co.uk/news/business/why-goldman-sachs-is-replacing-traders-with-coders-10503906.html >>>>> >>>>> Jason we should bring someone from GS to the finance meetup ;) >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zitterbewegung at gmail.com Sun Sep 20 01:24:08 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Sat, 19 Sep 2015 23:24:08 +0000 Subject: [Chicago] traders vs coders In-Reply-To: References: <1442693418.14798.YahooMailBasic@web181706.mail.ne1.yahoo.com> Message-ID: I wonder if we can get someone from the Chicago mercantile exchange . I think that would be interesting On Sat, Sep 19, 2015 at 5:58 PM Randy Baxley wrote: > Never read any of this stuff. Putting on a haircut or buying chunks on > the way or selling chuncks on the way down was about as much fun as I could > stand. > > http://www.amazon.com/Risk-Arbitrage-An-Investors-Guide/dp/0471248843 > > On Sat, Sep 19, 2015 at 5:35 PM, Jason Wirth > wrote: > >> Depending on whether or not you think the market is efficient there's >> other opportunities. >> On Sat, Sep 19, 2015 at 5:29 PM Jon Sudlow wrote: >> >>> Thank you for the insights gentleman. >>> >>> The first company I worked for was a prop trading company and I did >>> experience the burn and churn. I was greener than a lime back then. >>> >>> Your correct about the latency issue. They want you to be super familiar >>> with it because if they could prove the trade didn't execute fast enough >>> they could get their money back on un favorable trades. >>> >>> Thanks again for your tips - really informative >>> >>> -Jon >>> >>> On Sat, Sep 19, 2015 at 4:32 PM, Randy Baxley >>> wrote: >>> >>>> 4, 5 and 12 are just fun reading even if you do not plan to trade. >>>> >>>> https://www.stocktrader.com/investing-books/ >>>> . >>>> I have not read 10 but would say skimming it and the other charting >>>> book would be a good idea unless someone has some good recommendation for a >>>> charting book. >>>> >>>> I am fond of neural networks myself and finding models that fit a >>>> traders sensbilities to velocity and drawdowns. >>>> >>>> On Sat, Sep 19, 2015 at 3:20 PM, Jon Sudlow wrote: >>>> >>>>> Does anyone have any books or references about the development of >>>>> computerized trading systems that will shoot straight with you and not >>>>> attempt to sell you a 5 step system? How would you train for a job like >>>>> this? Looks really cool. >>>>> >>>>> On Sat, Sep 19, 2015 at 3:10 PM, Jimmy Calahorrano via Chicago < >>>>> chicago at python.org> wrote: >>>>> >>>>>> worth to share! >>>>>> >>>>>> Why Goldman Sachs is replacing traders with coders >>>>>> >>>>>> http://www.independent.co.uk/news/business/why-goldman-sachs-is-replacing-traders-with-coders-10503906.html >>>>>> >>>>>> Jason we should bring someone from GS to the finance meetup ;) >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > 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 Sun Sep 20 04:48:50 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sat, 19 Sep 2015 21:48:50 -0500 Subject: [Chicago] Question about accessing dictionary's elements. In-Reply-To: References: Message-ID: Thanks Skip. That would work! I love dictionaries, hash tables, etc. They are so flexible and useful. On Sat, Sep 19, 2015 at 2:52 PM, Skip Montanaro wrote: > If performance is an issue, why not make the dictionary hierarchical? Key > the outer dictionary by the first element of the tuple, then have it's > value be a second dictionary keyed by the second element. Accessing all > values matching (1, *) would just be d[1].values(). Instead of d[(1,2)] you > would use d[1][2]. > > Skip > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Sun Sep 20 19:08:25 2015 From: brianhray at gmail.com (Brian Ray) Date: Sun, 20 Sep 2015 13:08:25 -0400 Subject: [Chicago] Django study group cancelled Message-ID: hey all Lane had an emergency today and we have to cancel the study group. My suggestion is to meet up somewhere close like Sully's or whole foods and just grab a table and work together there. Sorry folks, Brian -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Tue Sep 22 15:09:44 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 22 Sep 2015 08:09:44 -0500 Subject: [Chicago] Final KNN Program for Informatics class. Message-ID: Not sure how many people followed that last thread, but here's my final solution. The homework states that Java should be used for the assignment, but the professor announced in class that students can use C++ or Python if they prefer. Of those three choices, Python is for sure my favorite! (Although I confess that I wouldn't mind spending some time with C++.) I'm attaching 1) the homework assignment, 2) the text that has to be read for the assignment, and finally 3) my script for solving the problem. What bothers me is that my percentages of successful classification are in the ballpark of around 66%, sometimes less than that and occasionally more than that depending on which environment I use to implement the program. I thought that in general the KNN algorithm is supposed to yield better results than that, so maybe my code isn't quite correct. Oh well. I know there are a few redundancies in my code, but after all this work I absolutely refuse to redo it. I think it's worth at least a B+. I BELIEVE (not really sure about this) that Numpy or Scikit or some library like that has a builtin implementation of the KNN algorithm. If anyone knows anything about that, please let me know. I would like to learn more about it. Best, Douglas Lewit -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- 1,1.52101,13.64,4.49,1.10,71.78,0.06,8.75,0.00,0.00,1 2,1.51761,13.89,3.60,1.36,72.73,0.48,7.83,0.00,0.00,1 3,1.51618,13.53,3.55,1.54,72.99,0.39,7.78,0.00,0.00,1 4,1.51766,13.21,3.69,1.29,72.61,0.57,8.22,0.00,0.00,1 5,1.51742,13.27,3.62,1.24,73.08,0.55,8.07,0.00,0.00,1 6,1.51596,12.79,3.61,1.62,72.97,0.64,8.07,0.00,0.26,1 7,1.51743,13.30,3.60,1.14,73.09,0.58,8.17,0.00,0.00,1 8,1.51756,13.15,3.61,1.05,73.24,0.57,8.24,0.00,0.00,1 9,1.51918,14.04,3.58,1.37,72.08,0.56,8.30,0.00,0.00,1 10,1.51755,13.00,3.60,1.36,72.99,0.57,8.40,0.00,0.11,1 11,1.51571,12.72,3.46,1.56,73.20,0.67,8.09,0.00,0.24,1 12,1.51763,12.80,3.66,1.27,73.01,0.60,8.56,0.00,0.00,1 13,1.51589,12.88,3.43,1.40,73.28,0.69,8.05,0.00,0.24,1 14,1.51748,12.86,3.56,1.27,73.21,0.54,8.38,0.00,0.17,1 15,1.51763,12.61,3.59,1.31,73.29,0.58,8.50,0.00,0.00,1 16,1.51761,12.81,3.54,1.23,73.24,0.58,8.39,0.00,0.00,1 17,1.51784,12.68,3.67,1.16,73.11,0.61,8.70,0.00,0.00,1 18,1.52196,14.36,3.85,0.89,71.36,0.15,9.15,0.00,0.00,1 19,1.51911,13.90,3.73,1.18,72.12,0.06,8.89,0.00,0.00,1 20,1.51735,13.02,3.54,1.69,72.73,0.54,8.44,0.00,0.07,1 21,1.51750,12.82,3.55,1.49,72.75,0.54,8.52,0.00,0.19,1 22,1.51966,14.77,3.75,0.29,72.02,0.03,9.00,0.00,0.00,1 23,1.51736,12.78,3.62,1.29,72.79,0.59,8.70,0.00,0.00,1 24,1.51751,12.81,3.57,1.35,73.02,0.62,8.59,0.00,0.00,1 25,1.51720,13.38,3.50,1.15,72.85,0.50,8.43,0.00,0.00,1 26,1.51764,12.98,3.54,1.21,73.00,0.65,8.53,0.00,0.00,1 27,1.51793,13.21,3.48,1.41,72.64,0.59,8.43,0.00,0.00,1 28,1.51721,12.87,3.48,1.33,73.04,0.56,8.43,0.00,0.00,1 29,1.51768,12.56,3.52,1.43,73.15,0.57,8.54,0.00,0.00,1 30,1.51784,13.08,3.49,1.28,72.86,0.60,8.49,0.00,0.00,1 31,1.51768,12.65,3.56,1.30,73.08,0.61,8.69,0.00,0.14,1 32,1.51747,12.84,3.50,1.14,73.27,0.56,8.55,0.00,0.00,1 33,1.51775,12.85,3.48,1.23,72.97,0.61,8.56,0.09,0.22,1 34,1.51753,12.57,3.47,1.38,73.39,0.60,8.55,0.00,0.06,1 35,1.51783,12.69,3.54,1.34,72.95,0.57,8.75,0.00,0.00,1 36,1.51567,13.29,3.45,1.21,72.74,0.56,8.57,0.00,0.00,1 37,1.51909,13.89,3.53,1.32,71.81,0.51,8.78,0.11,0.00,1 38,1.51797,12.74,3.48,1.35,72.96,0.64,8.68,0.00,0.00,1 39,1.52213,14.21,3.82,0.47,71.77,0.11,9.57,0.00,0.00,1 40,1.52213,14.21,3.82,0.47,71.77,0.11,9.57,0.00,0.00,1 41,1.51793,12.79,3.50,1.12,73.03,0.64,8.77,0.00,0.00,1 42,1.51755,12.71,3.42,1.20,73.20,0.59,8.64,0.00,0.00,1 43,1.51779,13.21,3.39,1.33,72.76,0.59,8.59,0.00,0.00,1 44,1.52210,13.73,3.84,0.72,71.76,0.17,9.74,0.00,0.00,1 45,1.51786,12.73,3.43,1.19,72.95,0.62,8.76,0.00,0.30,1 46,1.51900,13.49,3.48,1.35,71.95,0.55,9.00,0.00,0.00,1 47,1.51869,13.19,3.37,1.18,72.72,0.57,8.83,0.00,0.16,1 48,1.52667,13.99,3.70,0.71,71.57,0.02,9.82,0.00,0.10,1 49,1.52223,13.21,3.77,0.79,71.99,0.13,10.02,0.00,0.00,1 50,1.51898,13.58,3.35,1.23,72.08,0.59,8.91,0.00,0.00,1 51,1.52320,13.72,3.72,0.51,71.75,0.09,10.06,0.00,0.16,1 52,1.51926,13.20,3.33,1.28,72.36,0.60,9.14,0.00,0.11,1 53,1.51808,13.43,2.87,1.19,72.84,0.55,9.03,0.00,0.00,1 54,1.51837,13.14,2.84,1.28,72.85,0.55,9.07,0.00,0.00,1 55,1.51778,13.21,2.81,1.29,72.98,0.51,9.02,0.00,0.09,1 56,1.51769,12.45,2.71,1.29,73.70,0.56,9.06,0.00,0.24,1 57,1.51215,12.99,3.47,1.12,72.98,0.62,8.35,0.00,0.31,1 58,1.51824,12.87,3.48,1.29,72.95,0.60,8.43,0.00,0.00,1 59,1.51754,13.48,3.74,1.17,72.99,0.59,8.03,0.00,0.00,1 60,1.51754,13.39,3.66,1.19,72.79,0.57,8.27,0.00,0.11,1 61,1.51905,13.60,3.62,1.11,72.64,0.14,8.76,0.00,0.00,1 62,1.51977,13.81,3.58,1.32,71.72,0.12,8.67,0.69,0.00,1 63,1.52172,13.51,3.86,0.88,71.79,0.23,9.54,0.00,0.11,1 64,1.52227,14.17,3.81,0.78,71.35,0.00,9.69,0.00,0.00,1 65,1.52172,13.48,3.74,0.90,72.01,0.18,9.61,0.00,0.07,1 66,1.52099,13.69,3.59,1.12,71.96,0.09,9.40,0.00,0.00,1 67,1.52152,13.05,3.65,0.87,72.22,0.19,9.85,0.00,0.17,1 68,1.52152,13.05,3.65,0.87,72.32,0.19,9.85,0.00,0.17,1 69,1.52152,13.12,3.58,0.90,72.20,0.23,9.82,0.00,0.16,1 70,1.52300,13.31,3.58,0.82,71.99,0.12,10.17,0.00,0.03,1 71,1.51574,14.86,3.67,1.74,71.87,0.16,7.36,0.00,0.12,2 72,1.51848,13.64,3.87,1.27,71.96,0.54,8.32,0.00,0.32,2 73,1.51593,13.09,3.59,1.52,73.10,0.67,7.83,0.00,0.00,2 74,1.51631,13.34,3.57,1.57,72.87,0.61,7.89,0.00,0.00,2 75,1.51596,13.02,3.56,1.54,73.11,0.72,7.90,0.00,0.00,2 76,1.51590,13.02,3.58,1.51,73.12,0.69,7.96,0.00,0.00,2 77,1.51645,13.44,3.61,1.54,72.39,0.66,8.03,0.00,0.00,2 78,1.51627,13.00,3.58,1.54,72.83,0.61,8.04,0.00,0.00,2 79,1.51613,13.92,3.52,1.25,72.88,0.37,7.94,0.00,0.14,2 80,1.51590,12.82,3.52,1.90,72.86,0.69,7.97,0.00,0.00,2 81,1.51592,12.86,3.52,2.12,72.66,0.69,7.97,0.00,0.00,2 82,1.51593,13.25,3.45,1.43,73.17,0.61,7.86,0.00,0.00,2 83,1.51646,13.41,3.55,1.25,72.81,0.68,8.10,0.00,0.00,2 84,1.51594,13.09,3.52,1.55,72.87,0.68,8.05,0.00,0.09,2 85,1.51409,14.25,3.09,2.08,72.28,1.10,7.08,0.00,0.00,2 86,1.51625,13.36,3.58,1.49,72.72,0.45,8.21,0.00,0.00,2 87,1.51569,13.24,3.49,1.47,73.25,0.38,8.03,0.00,0.00,2 88,1.51645,13.40,3.49,1.52,72.65,0.67,8.08,0.00,0.10,2 89,1.51618,13.01,3.50,1.48,72.89,0.60,8.12,0.00,0.00,2 90,1.51640,12.55,3.48,1.87,73.23,0.63,8.08,0.00,0.09,2 91,1.51841,12.93,3.74,1.11,72.28,0.64,8.96,0.00,0.22,2 92,1.51605,12.90,3.44,1.45,73.06,0.44,8.27,0.00,0.00,2 93,1.51588,13.12,3.41,1.58,73.26,0.07,8.39,0.00,0.19,2 94,1.51590,13.24,3.34,1.47,73.10,0.39,8.22,0.00,0.00,2 95,1.51629,12.71,3.33,1.49,73.28,0.67,8.24,0.00,0.00,2 96,1.51860,13.36,3.43,1.43,72.26,0.51,8.60,0.00,0.00,2 97,1.51841,13.02,3.62,1.06,72.34,0.64,9.13,0.00,0.15,2 98,1.51743,12.20,3.25,1.16,73.55,0.62,8.90,0.00,0.24,2 99,1.51689,12.67,2.88,1.71,73.21,0.73,8.54,0.00,0.00,2 100,1.51811,12.96,2.96,1.43,72.92,0.60,8.79,0.14,0.00,2 101,1.51655,12.75,2.85,1.44,73.27,0.57,8.79,0.11,0.22,2 102,1.51730,12.35,2.72,1.63,72.87,0.70,9.23,0.00,0.00,2 103,1.51820,12.62,2.76,0.83,73.81,0.35,9.42,0.00,0.20,2 104,1.52725,13.80,3.15,0.66,70.57,0.08,11.64,0.00,0.00,2 105,1.52410,13.83,2.90,1.17,71.15,0.08,10.79,0.00,0.00,2 106,1.52475,11.45,0.00,1.88,72.19,0.81,13.24,0.00,0.34,2 107,1.53125,10.73,0.00,2.10,69.81,0.58,13.30,3.15,0.28,2 108,1.53393,12.30,0.00,1.00,70.16,0.12,16.19,0.00,0.24,2 109,1.52222,14.43,0.00,1.00,72.67,0.10,11.52,0.00,0.08,2 110,1.51818,13.72,0.00,0.56,74.45,0.00,10.99,0.00,0.00,2 111,1.52664,11.23,0.00,0.77,73.21,0.00,14.68,0.00,0.00,2 112,1.52739,11.02,0.00,0.75,73.08,0.00,14.96,0.00,0.00,2 113,1.52777,12.64,0.00,0.67,72.02,0.06,14.40,0.00,0.00,2 114,1.51892,13.46,3.83,1.26,72.55,0.57,8.21,0.00,0.14,2 115,1.51847,13.10,3.97,1.19,72.44,0.60,8.43,0.00,0.00,2 116,1.51846,13.41,3.89,1.33,72.38,0.51,8.28,0.00,0.00,2 117,1.51829,13.24,3.90,1.41,72.33,0.55,8.31,0.00,0.10,2 118,1.51708,13.72,3.68,1.81,72.06,0.64,7.88,0.00,0.00,2 119,1.51673,13.30,3.64,1.53,72.53,0.65,8.03,0.00,0.29,2 120,1.51652,13.56,3.57,1.47,72.45,0.64,7.96,0.00,0.00,2 121,1.51844,13.25,3.76,1.32,72.40,0.58,8.42,0.00,0.00,2 122,1.51663,12.93,3.54,1.62,72.96,0.64,8.03,0.00,0.21,2 123,1.51687,13.23,3.54,1.48,72.84,0.56,8.10,0.00,0.00,2 124,1.51707,13.48,3.48,1.71,72.52,0.62,7.99,0.00,0.00,2 125,1.52177,13.20,3.68,1.15,72.75,0.54,8.52,0.00,0.00,2 126,1.51872,12.93,3.66,1.56,72.51,0.58,8.55,0.00,0.12,2 127,1.51667,12.94,3.61,1.26,72.75,0.56,8.60,0.00,0.00,2 128,1.52081,13.78,2.28,1.43,71.99,0.49,9.85,0.00,0.17,2 129,1.52068,13.55,2.09,1.67,72.18,0.53,9.57,0.27,0.17,2 130,1.52020,13.98,1.35,1.63,71.76,0.39,10.56,0.00,0.18,2 131,1.52177,13.75,1.01,1.36,72.19,0.33,11.14,0.00,0.00,2 132,1.52614,13.70,0.00,1.36,71.24,0.19,13.44,0.00,0.10,2 133,1.51813,13.43,3.98,1.18,72.49,0.58,8.15,0.00,0.00,2 134,1.51800,13.71,3.93,1.54,71.81,0.54,8.21,0.00,0.15,2 135,1.51811,13.33,3.85,1.25,72.78,0.52,8.12,0.00,0.00,2 136,1.51789,13.19,3.90,1.30,72.33,0.55,8.44,0.00,0.28,2 137,1.51806,13.00,3.80,1.08,73.07,0.56,8.38,0.00,0.12,2 138,1.51711,12.89,3.62,1.57,72.96,0.61,8.11,0.00,0.00,2 139,1.51674,12.79,3.52,1.54,73.36,0.66,7.90,0.00,0.00,2 140,1.51674,12.87,3.56,1.64,73.14,0.65,7.99,0.00,0.00,2 141,1.51690,13.33,3.54,1.61,72.54,0.68,8.11,0.00,0.00,2 142,1.51851,13.20,3.63,1.07,72.83,0.57,8.41,0.09,0.17,2 143,1.51662,12.85,3.51,1.44,73.01,0.68,8.23,0.06,0.25,2 144,1.51709,13.00,3.47,1.79,72.72,0.66,8.18,0.00,0.00,2 145,1.51660,12.99,3.18,1.23,72.97,0.58,8.81,0.00,0.24,2 146,1.51839,12.85,3.67,1.24,72.57,0.62,8.68,0.00,0.35,2 147,1.51769,13.65,3.66,1.11,72.77,0.11,8.60,0.00,0.00,3 148,1.51610,13.33,3.53,1.34,72.67,0.56,8.33,0.00,0.00,3 149,1.51670,13.24,3.57,1.38,72.70,0.56,8.44,0.00,0.10,3 150,1.51643,12.16,3.52,1.35,72.89,0.57,8.53,0.00,0.00,3 151,1.51665,13.14,3.45,1.76,72.48,0.60,8.38,0.00,0.17,3 152,1.52127,14.32,3.90,0.83,71.50,0.00,9.49,0.00,0.00,3 153,1.51779,13.64,3.65,0.65,73.00,0.06,8.93,0.00,0.00,3 154,1.51610,13.42,3.40,1.22,72.69,0.59,8.32,0.00,0.00,3 155,1.51694,12.86,3.58,1.31,72.61,0.61,8.79,0.00,0.00,3 156,1.51646,13.04,3.40,1.26,73.01,0.52,8.58,0.00,0.00,3 157,1.51655,13.41,3.39,1.28,72.64,0.52,8.65,0.00,0.00,3 158,1.52121,14.03,3.76,0.58,71.79,0.11,9.65,0.00,0.00,3 159,1.51776,13.53,3.41,1.52,72.04,0.58,8.79,0.00,0.00,3 160,1.51796,13.50,3.36,1.63,71.94,0.57,8.81,0.00,0.09,3 161,1.51832,13.33,3.34,1.54,72.14,0.56,8.99,0.00,0.00,3 162,1.51934,13.64,3.54,0.75,72.65,0.16,8.89,0.15,0.24,3 163,1.52211,14.19,3.78,0.91,71.36,0.23,9.14,0.00,0.37,3 164,1.51514,14.01,2.68,3.50,69.89,1.68,5.87,2.20,0.00,5 165,1.51915,12.73,1.85,1.86,72.69,0.60,10.09,0.00,0.00,5 166,1.52171,11.56,1.88,1.56,72.86,0.47,11.41,0.00,0.00,5 167,1.52151,11.03,1.71,1.56,73.44,0.58,11.62,0.00,0.00,5 168,1.51969,12.64,0.00,1.65,73.75,0.38,11.53,0.00,0.00,5 169,1.51666,12.86,0.00,1.83,73.88,0.97,10.17,0.00,0.00,5 170,1.51994,13.27,0.00,1.76,73.03,0.47,11.32,0.00,0.00,5 171,1.52369,13.44,0.00,1.58,72.22,0.32,12.24,0.00,0.00,5 172,1.51316,13.02,0.00,3.04,70.48,6.21,6.96,0.00,0.00,5 173,1.51321,13.00,0.00,3.02,70.70,6.21,6.93,0.00,0.00,5 174,1.52043,13.38,0.00,1.40,72.25,0.33,12.50,0.00,0.00,5 175,1.52058,12.85,1.61,2.17,72.18,0.76,9.70,0.24,0.51,5 176,1.52119,12.97,0.33,1.51,73.39,0.13,11.27,0.00,0.28,5 177,1.51905,14.00,2.39,1.56,72.37,0.00,9.57,0.00,0.00,6 178,1.51937,13.79,2.41,1.19,72.76,0.00,9.77,0.00,0.00,6 179,1.51829,14.46,2.24,1.62,72.38,0.00,9.26,0.00,0.00,6 180,1.51852,14.09,2.19,1.66,72.67,0.00,9.32,0.00,0.00,6 181,1.51299,14.40,1.74,1.54,74.55,0.00,7.59,0.00,0.00,6 182,1.51888,14.99,0.78,1.74,72.50,0.00,9.95,0.00,0.00,6 183,1.51916,14.15,0.00,2.09,72.74,0.00,10.88,0.00,0.00,6 184,1.51969,14.56,0.00,0.56,73.48,0.00,11.22,0.00,0.00,6 185,1.51115,17.38,0.00,0.34,75.41,0.00,6.65,0.00,0.00,6 186,1.51131,13.69,3.20,1.81,72.81,1.76,5.43,1.19,0.00,7 187,1.51838,14.32,3.26,2.22,71.25,1.46,5.79,1.63,0.00,7 188,1.52315,13.44,3.34,1.23,72.38,0.60,8.83,0.00,0.00,7 189,1.52247,14.86,2.20,2.06,70.26,0.76,9.76,0.00,0.00,7 190,1.52365,15.79,1.83,1.31,70.43,0.31,8.61,1.68,0.00,7 191,1.51613,13.88,1.78,1.79,73.10,0.00,8.67,0.76,0.00,7 192,1.51602,14.85,0.00,2.38,73.28,0.00,8.76,0.64,0.09,7 193,1.51623,14.20,0.00,2.79,73.46,0.04,9.04,0.40,0.09,7 194,1.51719,14.75,0.00,2.00,73.02,0.00,8.53,1.59,0.08,7 195,1.51683,14.56,0.00,1.98,73.29,0.00,8.52,1.57,0.07,7 196,1.51545,14.14,0.00,2.68,73.39,0.08,9.07,0.61,0.05,7 197,1.51556,13.87,0.00,2.54,73.23,0.14,9.41,0.81,0.01,7 198,1.51727,14.70,0.00,2.34,73.28,0.00,8.95,0.66,0.00,7 199,1.51531,14.38,0.00,2.66,73.10,0.04,9.08,0.64,0.00,7 200,1.51609,15.01,0.00,2.51,73.05,0.05,8.83,0.53,0.00,7 201,1.51508,15.15,0.00,2.25,73.50,0.00,8.34,0.63,0.00,7 202,1.51653,11.95,0.00,1.19,75.18,2.70,8.93,0.00,0.00,7 203,1.51514,14.85,0.00,2.42,73.72,0.00,8.39,0.56,0.00,7 204,1.51658,14.80,0.00,1.99,73.11,0.00,8.28,1.71,0.00,7 205,1.51617,14.95,0.00,2.27,73.30,0.00,8.71,0.67,0.00,7 206,1.51732,14.95,0.00,1.80,72.99,0.00,8.61,1.55,0.00,7 207,1.51645,14.94,0.00,1.87,73.11,0.00,8.67,1.38,0.00,7 208,1.51831,14.39,0.00,1.82,72.86,1.41,6.47,2.88,0.00,7 209,1.51640,14.37,0.00,2.74,72.85,0.00,9.45,0.54,0.00,7 210,1.51623,14.14,0.00,2.88,72.61,0.08,9.18,1.06,0.00,7 211,1.51685,14.92,0.00,1.99,73.06,0.00,8.40,1.59,0.00,7 212,1.52065,14.36,0.00,2.02,73.42,0.00,8.44,1.64,0.00,7 213,1.51651,14.38,0.00,1.94,73.61,0.00,8.48,1.57,0.00,7 214,1.51711,14.23,0.00,2.08,73.36,0.00,8.62,1.67,0.00,7 -------------- next part -------------- A non-text attachment was scrubbed... Name: HW1.pdf Type: application/pdf Size: 310887 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: KNN_Python_Lewit7.py Type: text/x-python-script Size: 7882 bytes Desc: not available URL: From zitterbewegung at gmail.com Tue Sep 22 16:23:21 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Tue, 22 Sep 2015 14:23:21 +0000 Subject: [Chicago] Final KNN Program for Informatics class. In-Reply-To: References: Message-ID: Dear Lewllit, This information about an implementation of the KNN can be found reading the documentation. scikit-learn definitely has this feature. Sincerely, Joshua Herman On Tue, Sep 22, 2015 at 8:39 AM Lewit, Douglas wrote: > Not sure how many people followed that last thread, but here's my final > solution. The homework states that Java should be used for the assignment, > but the professor announced in class that students can use C++ or Python if > they prefer. Of those three choices, Python is for sure my favorite! > (Although I confess that I wouldn't mind spending some time with C++.) > > I'm attaching 1) the homework assignment, 2) the text that has to be read > for the assignment, and finally 3) my script for solving the problem. What > bothers me is that my percentages of successful classification are in the > ballpark of around 66%, sometimes less than that and occasionally more than > that depending on which environment I use to implement the program. I > thought that in general the KNN algorithm is supposed to yield better > results than that, so maybe my code isn't quite correct. Oh well. I know > there are a few redundancies in my code, but after all this work I > absolutely refuse to redo it. I think it's worth at least a B+. > > I BELIEVE (not really sure about this) that Numpy or Scikit or some > library like that has a builtin implementation of the KNN algorithm. If > anyone knows anything about that, please let me know. I would like to > learn more about it. > > Best, > > Douglas Lewit > > _______________________________________________ > 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 Tue Sep 22 15:32:14 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 22 Sep 2015 08:32:14 -0500 Subject: [Chicago] Python for hacking and security testing. Message-ID: A professor told me that *Python has some great builtin tools for hacking and security testing*. Could someone please point me in the right direction. *Where are those tools?* Thanks! I queried this professor, but her reply was, "Just Google it and figure it out!" Oh nice! That's why I'm spending thousands of dollars on my education, right? So some professor can just tell me to go home and consult Google? Is there no end to all the lazy, sloppy teaching that goes on in our colleges and universities? And lest you think I'm overly critical of professors, I am one too! I teach part-time at a community college in the suburbs and used to be a high school math teacher. So after all these years of standing in front of a chalkboard or whiteboard I really DO know the difference between good teaching and bad teaching! Unfortunately most college/university professors know their field extremely well, but they haven't taken the time to really learn about the process of learning. (And it is a process.) This is where elementary and high school teachers have the advantage. Elementary and high school teachers know less about their respective fields, but they know much more about the psychological process of learning. They are also often much better when it comes to classroom organization and curriculum development. The last thing I would tell a student is "Just go home and Google it!" (Translation: I'm just too darn busy to be bothered with you silly little questions! After all, I have "research" to do!!!) I get VERY angry when I encounter teachers like that. They should NOT be teaching! I just had to vent! Best, Douglas Lewit -------------- next part -------------- An HTML attachment was scrubbed... URL: From qholness at gmail.com Tue Sep 22 16:36:52 2015 From: qholness at gmail.com (Quentin Holness) Date: Tue, 22 Sep 2015 09:36:52 -0500 Subject: [Chicago] Python for hacking and security testing. In-Reply-To: References: Message-ID: Violent python may be a good place to start. Quentin Holness, Techie, Gamer, Waffle Enthusiast On Sep 22, 2015 9:36 AM, "Lewit, Douglas" wrote: > A professor told me that *Python has some great builtin tools for hacking > and security testing*. Could someone please point me in the right > direction. *Where are those tools?* Thanks! > > I queried this professor, but her reply was, "Just Google it and figure it > out!" Oh nice! That's why I'm spending thousands of dollars on my > education, right? So some professor can just tell me to go home and > consult Google? Is there no end to all the lazy, sloppy teaching that goes > on in our colleges and universities? And lest you think I'm overly > critical of professors, I am one too! I teach part-time at a community > college in the suburbs and used to be a high school math teacher. So after > all these years of standing in front of a chalkboard or whiteboard I really > DO know the difference between good teaching and bad teaching! > Unfortunately most college/university professors know their field extremely > well, but they haven't taken the time to really learn about the process of > learning. (And it is a process.) This is where elementary and high school > teachers have the advantage. Elementary and high school teachers know less > about their respective fields, but they know much more about the > psychological process of learning. They are also often much better when it > comes to classroom organization and curriculum development. The last thing > I would tell a student is "Just go home and Google it!" (Translation: I'm > just too darn busy to be bothered with you silly little questions! After > all, I have "research" to do!!!) I get VERY angry when I encounter > teachers like that. They should NOT be teaching! > > I just had to vent! > > Best, > > Douglas Lewit > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamkyala at gmail.com Tue Sep 22 16:37:55 2015 From: adamkyala at gmail.com (Adam Yala) Date: Tue, 22 Sep 2015 09:37:55 -0500 Subject: [Chicago] Python for hacking and security testing. In-Reply-To: References: Message-ID: I've started reading Violent Python http://www.amazon.com/Violent-Python-Cookbook-Penetration-Engineers/dp/1597499579 So far it's been pretty good. They assume you have a basic understanding of python and networks, then they walk you through building typical network security/penetration tools. On Tue, Sep 22, 2015 at 8:32 AM, Lewit, Douglas wrote: > A professor told me that *Python has some great builtin tools for hacking > and security testing*. Could someone please point me in the right > direction. *Where are those tools?* Thanks! > > I queried this professor, but her reply was, "Just Google it and figure it > out!" Oh nice! That's why I'm spending thousands of dollars on my > education, right? So some professor can just tell me to go home and > consult Google? Is there no end to all the lazy, sloppy teaching that goes > on in our colleges and universities? And lest you think I'm overly > critical of professors, I am one too! I teach part-time at a community > college in the suburbs and used to be a high school math teacher. So after > all these years of standing in front of a chalkboard or whiteboard I really > DO know the difference between good teaching and bad teaching! > Unfortunately most college/university professors know their field extremely > well, but they haven't taken the time to really learn about the process of > learning. (And it is a process.) This is where elementary and high school > teachers have the advantage. Elementary and high school teachers know less > about their respective fields, but they know much more about the > psychological process of learning. They are also often much better when it > comes to classroom organization and curriculum development. The last thing > I would tell a student is "Just go home and Google it!" (Translation: I'm > just too darn busy to be bothered with you silly little questions! After > all, I have "research" to do!!!) I get VERY angry when I encounter > teachers like that. They should NOT be teaching! > > I just had to vent! > > Best, > > Douglas Lewit > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kaleb at integritypowersearch.com Tue Sep 22 01:18:45 2015 From: kaleb at integritypowersearch.com (Kaleb P. Dumot) Date: 21 Sep 2015 19:18:45 -0400 Subject: [Chicago] Full Stack + Back End Software Engineer Opening up to $175, 000 in Chicago, IL - Substance Abuse -Mobile Healthcare @ SaaS Tech Company Message-ID: OTI2Nzg4MDA= An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Tue Sep 22 17:12:41 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Tue, 22 Sep 2015 10:12:41 -0500 Subject: [Chicago] Python for hacking and security testing. In-Reply-To: References: Message-ID: You will find a few folks to enlighten you if you attend Python Office Hours. SC3 is hacking crew that meets at FreeGeek on Saturday afternoons that uses python, django and flask a lot. You can find a lot of their projects on github. There is Chicago Hack Night every Tuesday at Braintree with a lot of python, R and C++. Not sure if you have gotten out to any of these. http://pyvideo.org/video/1725/learn-python-through-public-data-hacking I as an introvert who compensates would prefer to just be a mind in a bottle but folks do get out and go to these things and they go to help so I encourage you again to get out there. On Tue, Sep 22, 2015 at 8:32 AM, Lewit, Douglas wrote: > A professor told me that *Python has some great builtin tools for hacking > and security testing*. Could someone please point me in the right > direction. *Where are those tools?* Thanks! > > I queried this professor, but her reply was, "Just Google it and figure it > out!" Oh nice! That's why I'm spending thousands of dollars on my > education, right? So some professor can just tell me to go home and > consult Google? Is there no end to all the lazy, sloppy teaching that goes > on in our colleges and universities? And lest you think I'm overly > critical of professors, I am one too! I teach part-time at a community > college in the suburbs and used to be a high school math teacher. So after > all these years of standing in front of a chalkboard or whiteboard I really > DO know the difference between good teaching and bad teaching! > Unfortunately most college/university professors know their field extremely > well, but they haven't taken the time to really learn about the process of > learning. (And it is a process.) This is where elementary and high school > teachers have the advantage. Elementary and high school teachers know less > about their respective fields, but they know much more about the > psychological process of learning. They are also often much better when it > comes to classroom organization and curriculum development. The last thing > I would tell a student is "Just go home and Google it!" (Translation: I'm > just too darn busy to be bothered with you silly little questions! After > all, I have "research" to do!!!) I get VERY angry when I encounter > teachers like that. They should NOT be teaching! > > I just had to vent! > > Best, > > Douglas Lewit > > > _______________________________________________ > 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 Tue Sep 22 17:07:47 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Tue, 22 Sep 2015 10:07:47 -0500 Subject: [Chicago] Python for hacking and security testing. In-Reply-To: References: Message-ID: The teacher should have said: Figuring things out yourself is really useful and finding out how to learn something is even better. Even if you spend thousands of dollars for your education it is more useful to learn how to learn better using the tools you have. On Tue, Sep 22, 2015 at 8:32 AM, Lewit, Douglas wrote: > A professor told me that *Python has some great builtin tools for hacking > and security testing*. Could someone please point me in the right > direction. *Where are those tools?* Thanks! > > I queried this professor, but her reply was, "Just Google it and figure it > out!" Oh nice! That's why I'm spending thousands of dollars on my > education, right? So some professor can just tell me to go home and > consult Google? Is there no end to all the lazy, sloppy teaching that goes > on in our colleges and universities? And lest you think I'm overly > critical of professors, I am one too! I teach part-time at a community > college in the suburbs and used to be a high school math teacher. So after > all these years of standing in front of a chalkboard or whiteboard I really > DO know the difference between good teaching and bad teaching! > Unfortunately most college/university professors know their field extremely > well, but they haven't taken the time to really learn about the process of > learning. (And it is a process.) This is where elementary and high school > teachers have the advantage. Elementary and high school teachers know less > about their respective fields, but they know much more about the > psychological process of learning. They are also often much better when it > comes to classroom organization and curriculum development. The last thing > I would tell a student is "Just go home and Google it!" (Translation: I'm > just too darn busy to be bothered with you silly little questions! After > all, I have "research" to do!!!) I get VERY angry when I encounter > teachers like that. They should NOT be teaching! > > I just had to vent! > > Best, > > Douglas Lewit > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikaeltamillow96 at gmail.com Tue Sep 22 18:22:58 2015 From: mikaeltamillow96 at gmail.com (Michael Tamillow) Date: Tue, 22 Sep 2015 11:22:58 -0500 Subject: [Chicago] Python for hacking and security testing. In-Reply-To: References: Message-ID: You don't have to be an expert on everything to teach, you only have to be an expert on one thing. You are mad because your teacher is not God? Trust me when I say she's not getting paid as much as Google is... On Tue, Sep 22, 2015 at 8:32 AM, Lewit, Douglas wrote: > A professor told me that *Python has some great builtin tools for hacking > and security testing*. Could someone please point me in the right > direction. *Where are those tools?* Thanks! > > I queried this professor, but her reply was, "Just Google it and figure it > out!" Oh nice! That's why I'm spending thousands of dollars on my > education, right? So some professor can just tell me to go home and > consult Google? Is there no end to all the lazy, sloppy teaching that goes > on in our colleges and universities? And lest you think I'm overly > critical of professors, I am one too! I teach part-time at a community > college in the suburbs and used to be a high school math teacher. So after > all these years of standing in front of a chalkboard or whiteboard I really > DO know the difference between good teaching and bad teaching! > Unfortunately most college/university professors know their field extremely > well, but they haven't taken the time to really learn about the process of > learning. (And it is a process.) This is where elementary and high school > teachers have the advantage. Elementary and high school teachers know less > about their respective fields, but they know much more about the > psychological process of learning. They are also often much better when it > comes to classroom organization and curriculum development. The last thing > I would tell a student is "Just go home and Google it!" (Translation: I'm > just too darn busy to be bothered with you silly little questions! After > all, I have "research" to do!!!) I get VERY angry when I encounter > teachers like that. They should NOT be teaching! > > I just had to vent! > > Best, > > Douglas Lewit > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidkunio at gmail.com Wed Sep 23 04:02:29 2015 From: davidkunio at gmail.com (David Matsumura) Date: Wed, 23 Sep 2015 02:02:29 +0000 Subject: [Chicago] Chipy-Finance Inaugural Meeting Recap Message-ID: Hi, Thank you for your interest and attendance in the 1st Chipy Finance meeting. It was a good group and I think a good first meeting. Thanks to Braintree for hosting. Here are the resources from the meeting. 1. Slides/Code/Data 2. Finance Special Interest Group Slack Invite Please consider joining the slack group for inter-meeting communication. We will still use general Chipy contact methods to announce meetings, but we will use slack to coordinate working groups, plan future meeting topics and share resources. I've posted a few ideas. Please add your comments and other topics that you would like to see presented or perhaps could present. Best Regards, Jason and David -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwebber at dustycloud.org Mon Sep 28 19:17:41 2015 From: cwebber at dustycloud.org (Christopher Allan Webber) Date: Mon, 28 Sep 2015 12:17:41 -0500 Subject: [Chicago] Two exciting talks at ChicagoLUG meeting this month Message-ID: <871tdisbaq.fsf@dustycloud.org> Hello all! Some of you may remember me... back when I lived in Chicago, I was a regular ChiPy speaker. Now I live in Madison, WI, so I don't get to make it out as much! So I hope I'm not being super rude... I'm playing on my veteran status! But I'm giving two talks of potential interest this month at ChicagoLUG, this Wednesday in fact (the 30th of September)! https://chicagolug.org/meetings/2015-09-30.html Federating the Web ------------------ The web is theoretically free software, is powered by free and open technologies, and yet seems to become less free and more centralized by the day. How to take back the web? Christopher talks about the state of federation, what's happening at the W3C Social Working Group on standardizing federation standards, the ActivityPump spec, and how you can get involved in taking back the net! Functional Package Management and Deployment with Guix ------------------------------------------------------ Tired of being stuck after an upgrade? Wish your operating system could roll forward and backwards in time, more like Git? Want a way to get really reproducible software? Or just want a better alternative to $YOUR_LANGUAGE's stressful packaging ecosystem you can run on an existing distro? And why on earth would you want something called a "symlink forest" anyway? Discover all this and more in this exciting talk about the GNU Guix project! Python will make brief appearances with mention about PyPump and federation, and how Guix can be an alternative to virtualenv / pip and friends. I'd love to see some of my old ChiPy friends again, and maybe you're interested? If so be sure to RSVP! http://www.meetup.com/wclug-org/events/225423618/ Hope to see you there, - cwebb From tanya at tickel.net Mon Sep 28 21:42:02 2015 From: tanya at tickel.net (Tanya Schlusser) Date: Mon, 28 Sep 2015 14:42:02 -0500 Subject: [Chicago] O'Reilly ebook sale today (9/28) only Message-ID: In case you're not on their email list, O'Reilly is having a one day ebook sale on Amazon Kindle ebook only -- because Amazon is pulling the plug on their 'Send-to-Kindle' purchase option. here's the link for shopping: http://shop.oreilly.com/ and you must use the discount code: *AMZSYNC* ... the promotion expires September 29 at 5AM pacific time so don't wait :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Mon Sep 28 22:16:14 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Mon, 28 Sep 2015 15:16:14 -0500 Subject: [Chicago] O'Reilly ebook sale today (9/28) only In-Reply-To: References: Message-ID: Are you serious Tanya? Wow! I LOVED their Send-To-Kindle option! Well... looks like my love affair with Amazon is going to end pretty soon! Oh well. On Mon, Sep 28, 2015 at 2:42 PM, Tanya Schlusser wrote: > In case you're not on their email list, O'Reilly is having a one day ebook > sale on Amazon Kindle ebook only -- because Amazon is pulling the plug on > their 'Send-to-Kindle' purchase option. > > here's the link for shopping: http://shop.oreilly.com/ > and you must use the discount code: *AMZSYNC* > > ... the promotion expires September 29 at 5AM pacific time so don't wait > :-) > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From m-rich at northwestern.edu Mon Sep 28 22:04:49 2015 From: m-rich at northwestern.edu (Matthew T Rich) Date: Mon, 28 Sep 2015 20:04:49 +0000 Subject: [Chicago] Saturday morning Python instructor needed Message-ID: <69C8D5A0-92F7-4DAA-B4AA-44F1DF726334@northwestern.edu> Hello Python people, The Center for Talent Development at Northwestern University is looking for an instructor to teach Python to school-age kids on Saturday mornings this fall in Naperville. If interested or if you have questions please reply directly to me and I?ll forward your contact information along to the program director. Thanks! Matthew -- Matthew Rich Senior Web Application Developer Northwestern University School of Education and Social Policy Annenberg Hall, Room 247 +1 847 467 2819 m-rich at northwestern.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe.jasinski at gmail.com Tue Sep 29 02:06:11 2015 From: joe.jasinski at gmail.com (Joe Jasinski) Date: Mon, 28 Sep 2015 19:06:11 -0500 Subject: [Chicago] ChiPy Call for October 8th Meeting Speakers Message-ID: Hi all, ChiPy is looking for speakers for its October 8th Meeting. ChiPy is a welcoming place and we are eager to hear you speak about your favorite Python-related topics. This is a great opportunity to participate in the Python community and teach others about Python. If you'd like to submit a topic, you can reply to this email or email me at directly joe.jasinski at gmail.com. We'll need you to fill out the talk proposal form so we can get your talk on the schedule. http://www.chipy.org/meetings/topics/propose Let me know if you have any questions, and hope to hear from you soon! If you'd like to attend the next meeting, you can rsvp at chipy.org or via our Meetup group. -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Tue Sep 29 02:37:20 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Mon, 28 Sep 2015 19:37:20 -0500 Subject: [Chicago] Sympy for Python 3 ??? Message-ID: Hey guys, I was wondering how to use numpy, scipy, matplotlib and sympy within the IDLE environment. So I did some Google searching and found the following to be quite helpful. *sudo apt-get install python-numpy python-scipy python-matplotlib python-sympy* Any Python environment on my Ubuntu laptop can then access these modules. However, the above modules are for Python 2.X. For Python 3 the following can be used in Terminal: *sudo apt-get install python3-numpy python3-scipy python3-matplotlib * However, the above Terminal command will return an error if you include* python3-sympy*. This leads me to believe that Ubuntu's repositories do not yet contain the Python 3 version of the sympy module. Does anyone know if sympy can be installed on Python 3.X? Just wondering. Sympy is actually a very cool module!!! It allows many of the same manipulations as found in Maple and Mathematica. Quite nice!!! Also, does anyone know about the efficiency and speed of the algorithms in numpy and scipy? Aren't those algorithms based on C and Fortran extensions? So I'm guessing that numpy and scipy allows numerical processing just as fast as anything that can be done with C or Fortran, right? Thanks for the help and guidance. Best, Douglas Lewit P.S. Almost forgot.... is there a Mac OS-X equivalent to the useful Ubuntu command: sudo apt-get install ..... and sudo apt-get remove ..... Also, one last question about Ubuntu. Does Ubuntu have something equivalent to Apple's iTunes? ( iTunes is great! I love it! ) Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.galtieri at gmail.com Tue Sep 29 03:28:57 2015 From: daniel.galtieri at gmail.com (Daniel Galtieri) Date: Mon, 28 Sep 2015 20:28:57 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: According to the docs, it supports 3+ http://docs.sympy.org/latest/install.html On Mon, Sep 28, 2015 at 7:37 PM, Lewit, Douglas wrote: > Hey guys, > > I was wondering how to use numpy, scipy, matplotlib and sympy within the > IDLE environment. So I did some Google searching and found the following > to be quite helpful. > > *sudo apt-get install python-numpy python-scipy python-matplotlib > python-sympy* > > Any Python environment on my Ubuntu laptop can then access these modules. > However, the above modules are for Python 2.X. > > For Python 3 the following can be used in Terminal: > > *sudo apt-get install python3-numpy python3-scipy python3-matplotlib * > > However, the above Terminal command will return an error if you include* > python3-sympy*. This leads me to believe that Ubuntu's repositories do > not yet contain the Python 3 version of the sympy module. Does anyone know > if sympy can be installed on Python 3.X? Just wondering. Sympy is > actually a very cool module!!! It allows many of the same manipulations as > found in Maple and Mathematica. Quite nice!!! > > Also, does anyone know about the efficiency and speed of the algorithms in > numpy and scipy? Aren't those algorithms based on C and Fortran > extensions? So I'm guessing that numpy and scipy allows numerical > processing just as fast as anything that can be done with C or Fortran, > right? > > Thanks for the help and guidance. > > Best, > > Douglas Lewit > > P.S. Almost forgot.... is there a Mac OS-X equivalent to the useful > Ubuntu command: > sudo apt-get install ..... and > sudo apt-get remove ..... Also, one last question about Ubuntu. Does > Ubuntu have something equivalent to Apple's iTunes? ( iTunes is great! I > love it! ) Thanks. > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.galtieri at gmail.com Tue Sep 29 03:30:20 2015 From: daniel.galtieri at gmail.com (Daniel Galtieri) Date: Mon, 28 Sep 2015 20:30:20 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: ?If for some reason you can't get it through Ubuntu's pacakage system (not on Ubuntu, so can't answer that), install pip - should be able to install through that. https://pypi.python.org/pypi/sympy? On Mon, Sep 28, 2015 at 8:28 PM, Daniel Galtieri wrote: > According to the docs, it supports 3+ > > http://docs.sympy.org/latest/install.html > > > > On Mon, Sep 28, 2015 at 7:37 PM, Lewit, Douglas wrote: > >> Hey guys, >> >> I was wondering how to use numpy, scipy, matplotlib and sympy within the >> IDLE environment. So I did some Google searching and found the following >> to be quite helpful. >> >> *sudo apt-get install python-numpy python-scipy python-matplotlib >> python-sympy* >> >> Any Python environment on my Ubuntu laptop can then access these >> modules. However, the above modules are for Python 2.X. >> >> For Python 3 the following can be used in Terminal: >> >> *sudo apt-get install python3-numpy python3-scipy python3-matplotlib * >> >> However, the above Terminal command will return an error if you include* >> python3-sympy*. This leads me to believe that Ubuntu's repositories do >> not yet contain the Python 3 version of the sympy module. Does anyone know >> if sympy can be installed on Python 3.X? Just wondering. Sympy is >> actually a very cool module!!! It allows many of the same manipulations as >> found in Maple and Mathematica. Quite nice!!! >> >> Also, does anyone know about the efficiency and speed of the algorithms >> in numpy and scipy? Aren't those algorithms based on C and Fortran >> extensions? So I'm guessing that numpy and scipy allows numerical >> processing just as fast as anything that can be done with C or Fortran, >> right? >> >> Thanks for the help and guidance. >> >> Best, >> >> Douglas Lewit >> >> P.S. Almost forgot.... is there a Mac OS-X equivalent to the useful >> Ubuntu command: >> sudo apt-get install ..... and >> sudo apt-get remove ..... Also, one last question about Ubuntu. Does >> Ubuntu have something equivalent to Apple's iTunes? ( iTunes is great! I >> love it! ) Thanks. >> >> >> >> _______________________________________________ >> 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 Tue Sep 29 05:45:39 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Mon, 28 Sep 2015 22:45:39 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: Thanks Daniel. Much appreciated! On Mon, Sep 28, 2015 at 8:28 PM, Daniel Galtieri wrote: > According to the docs, it supports 3+ > > http://docs.sympy.org/latest/install.html > > > > On Mon, Sep 28, 2015 at 7:37 PM, Lewit, Douglas wrote: > >> Hey guys, >> >> I was wondering how to use numpy, scipy, matplotlib and sympy within the >> IDLE environment. So I did some Google searching and found the following >> to be quite helpful. >> >> *sudo apt-get install python-numpy python-scipy python-matplotlib >> python-sympy* >> >> Any Python environment on my Ubuntu laptop can then access these >> modules. However, the above modules are for Python 2.X. >> >> For Python 3 the following can be used in Terminal: >> >> *sudo apt-get install python3-numpy python3-scipy python3-matplotlib * >> >> However, the above Terminal command will return an error if you include* >> python3-sympy*. This leads me to believe that Ubuntu's repositories do >> not yet contain the Python 3 version of the sympy module. Does anyone know >> if sympy can be installed on Python 3.X? Just wondering. Sympy is >> actually a very cool module!!! It allows many of the same manipulations as >> found in Maple and Mathematica. Quite nice!!! >> >> Also, does anyone know about the efficiency and speed of the algorithms >> in numpy and scipy? Aren't those algorithms based on C and Fortran >> extensions? So I'm guessing that numpy and scipy allows numerical >> processing just as fast as anything that can be done with C or Fortran, >> right? >> >> Thanks for the help and guidance. >> >> Best, >> >> Douglas Lewit >> >> P.S. Almost forgot.... is there a Mac OS-X equivalent to the useful >> Ubuntu command: >> sudo apt-get install ..... and >> sudo apt-get remove ..... Also, one last question about Ubuntu. Does >> Ubuntu have something equivalent to Apple's iTunes? ( iTunes is great! I >> love it! ) Thanks. >> >> >> >> _______________________________________________ >> 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 tanya at tickel.net Tue Sep 29 13:04:02 2015 From: tanya at tickel.net (Tanya Schlusser) Date: Tue, 29 Sep 2015 06:04:02 -0500 Subject: [Chicago] Sympy for Python 3 ??? Message-ID: > P.S. Almost forgot.... is there a Mac OS-X equivalent to the useful Ubuntu > command: > sudo apt-get install ..... and > sudo apt-get remove ..... There are two popular options: homebrew and macports. For homebrew, open a terminal and type: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" and type this at the bottom of your ~/.profile file : export PATH=/usr/local/bin:/usr/local/sbin:$PATH and then do this in the terminal: brew install python Other homebrew options at: http://brew.sh/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From wesclemens at gmail.com Tue Sep 29 15:19:14 2015 From: wesclemens at gmail.com (William E. S. Clemens) Date: Tue, 29 Sep 2015 08:19:14 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: I would personally highly recommend MacPorts over Homebrew. I find Homebrew to have some security concerns. I haven't played around with Homebrew in a few years so they may have corrected this issue. Homebrew installs itself and the software it manages in /usr/local/ and changes the permissions on this folder so the user that install Homebrew can write to this directory. This is concur because a malicious pieces of software can easy modify command line tools and basic unix utilities by writing to this directory. If you are just looking for a simple way to mange your Python packages I wouldn't recommend going with either of these. You can install newer versions of Python for python.org. The newer versions have pip included with it so it makes life a little easier. If you want to go the path of least resistance you can install the Anaconda. This Python distribution uses an alternative package manager call conda. Although it has fare fewer packages then pip and Pypi, It ships all the major packages in wheels that can easy be installed on OSX without the need to compile the C/Fortran parts. Whereas pip downloads the source and attempts to compile it. Pip's method is more prone to failure especially on OSX where you are using a different compiler then Linux. Managing your Python software dependancies on a system wide basis can have issues. Have you ever looked into using virtualenv? -- William Clemens Phone: 847.485.9455 E-mail: wesclemens at gmail.com On Tue, Sep 29, 2015 at 6:04 AM, Tanya Schlusser wrote: > > P.S. Almost forgot.... is there a Mac OS-X equivalent to the useful > Ubuntu > > command: > > sudo apt-get install ..... and > > sudo apt-get remove ..... > > > There are two popular options: homebrew and macports. For homebrew, open a > terminal and type: > > ruby -e "$(curl -fsSL > https://raw.githubusercontent.com/Homebrew/install/master/install)" > > > and type this at the bottom of your ~/.profile file : > > export PATH=/usr/local/bin:/usr/local/sbin:$PATH > > > and then do this in the terminal: > > brew install python > > Other homebrew options at: http://brew.sh/ > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Tue Sep 29 16:31:11 2015 From: shekay at pobox.com (sheila miguez) Date: Tue, 29 Sep 2015 09:31:11 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: On Tue, Sep 29, 2015 at 8:19 AM, William E. S. Clemens wrote: > If you want to go the path of least resistance you can install the > Anaconda. This Python distribution uses an alternative package manager call > conda. Although it has fare fewer packages then pip and Pypi, It ships all > the major packages in wheels that can easy be installed on OSX without the > need to compile the C/Fortran parts. Whereas pip downloads the source and > attempts to compile it. Pip's method is more prone to failure especially on > OSX where you are using a different compiler then Linux. > I often make a conda env that has pip, and then use pip for more things. -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Tue Sep 29 18:51:34 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 29 Sep 2015 11:51:34 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: Hi William, Thanks for the reply. I think Anaconda is GREAT! However, there are times when I prefer the simplicity of IDLE. What's strange is that IDLE does not have access to Anaconda's modules, even when I use Python's os.chdir( ) command to switch over to the folder/directory that contains those modules! (Or at least I think I did. There are so many files! ) For example, when I'm in Anaconda I can *import sympy* and everything is wonderful. But IDLE returns an error and complains that I'm trying to import a non-existent module. :-( Anaconda is great, but 1) You can't go back and edit previous lines in the Anaconda Terminal, and 2) the *ipython notebook* solves this problem nicely, but I always have problems saving and restarting the notebook's file. On my Mac, the "ipython notebook" command creates a Safari page, and I can use Python from within the Safari page. Great! But then let's say I save the file with a .ipynb extension. If I double-click on this file in the future, Safari opens it up alright, but none of the command lines are executable, and the file isn't much fun to read or look at. I'm probably missing a step or a command or something like that. But yes, in general Anaconda is quite impressive and the installation is pretty easy. In Anaconda all the important modules are at my fingertips, so it is really nice to work with for the most part. But again, IDLE has advantages. In IDLE, I can move the cursor around inside a function's definition to change stuff. Not in the Anaconda Terminal. Once I ENTER over to the next line, I'm stuck! I can't get back. The best I can do is just CNTRL-C and start my function definition over again. I think my answer was way too long! Sorry! Just trying to explain what's going on. I just wish there was a way that I could get IDLE to access all the modules that Anaconda can access. Not really sure how to do it without tearing apart my operating system. (And I really don't want to do that! ) I must say that on this particular issue Linux really does have a leg up on Mac OS-X because of Linux's builtin package managers. However, for other things I really prefer Mac OS-X. I wish we could combine the best of both worlds! Let's call it LINAC!!! :-) Doug. On Tue, Sep 29, 2015 at 8:19 AM, William E. S. Clemens wrote: > I would personally highly recommend MacPorts over Homebrew. > > I find Homebrew to have some security concerns. I haven't played around > with Homebrew in a few years so they may have corrected this issue. > Homebrew installs itself and the software it manages in /usr/local/ and > changes the permissions on this folder so the user that install Homebrew > can write to this directory. This is concur because a malicious pieces of > software can easy modify command line tools and basic unix utilities by > writing to this directory. > > If you are just looking for a simple way to mange your Python packages I > wouldn't recommend going with either of these. You can install newer > versions of Python for python.org. The newer versions have pip included > with it so it makes life a little easier. > > If you want to go the path of least resistance you can install the > Anaconda. This Python distribution uses an alternative package manager call > conda. Although it has fare fewer packages then pip and Pypi, It ships all > the major packages in wheels that can easy be installed on OSX without the > need to compile the C/Fortran parts. Whereas pip downloads the source and > attempts to compile it. Pip's method is more prone to failure especially on > OSX where you are using a different compiler then Linux. > > Managing your Python software dependancies on a system wide basis can > have issues. Have you ever looked into using virtualenv? > > -- > William Clemens > Phone: 847.485.9455 > E-mail: wesclemens at gmail.com > > On Tue, Sep 29, 2015 at 6:04 AM, Tanya Schlusser wrote: > >> > P.S. Almost forgot.... is there a Mac OS-X equivalent to the useful >> Ubuntu >> > command: >> > sudo apt-get install ..... and >> > sudo apt-get remove ..... >> >> >> There are two popular options: homebrew and macports. For homebrew, open >> a terminal and type: >> >> ruby -e "$(curl -fsSL >> https://raw.githubusercontent.com/Homebrew/install/master/install)" >> >> >> and type this at the bottom of your ~/.profile file : >> >> export PATH=/usr/local/bin:/usr/local/sbin:$PATH >> >> >> and then do this in the terminal: >> >> brew install python >> >> Other homebrew options at: http://brew.sh/ >> >> _______________________________________________ >> 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 daniel.galtieri at gmail.com Tue Sep 29 19:15:54 2015 From: daniel.galtieri at gmail.com (Daniel Galtieri) Date: Tue, 29 Sep 2015 12:15:54 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: For just opening .ipynb files, Ipython requires an ipython (jupyter now I guess) server to be running for the file to work. What you should do is, in your terminal, cd into the folder where that file is located and then run the ipython notebook command. This will open a browser window with a list of the ipython files in that folder, which you can then open and edit / run again. Don't ever use Idle, so can't speak towards what's going on there... On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas wrote: > Hi William, > > Thanks for the reply. I think Anaconda is GREAT! However, there are > times when I prefer the simplicity of IDLE. What's strange is that IDLE > does not have access to Anaconda's modules, even when I use Python's > os.chdir( ) command to switch over to the folder/directory that contains > those modules! (Or at least I think I did. There are so many files! ) > For example, when I'm in Anaconda I can *import sympy* and everything is > wonderful. But IDLE returns an error and complains that I'm trying to > import a non-existent module. :-( Anaconda is great, but 1) You can't go > back and edit previous lines in the Anaconda Terminal, and 2) the *ipython > notebook* solves this problem nicely, but I always have problems saving > and restarting the notebook's file. On my Mac, the "ipython notebook" > command creates a Safari page, and I can use Python from within the Safari > page. Great! But then let's say I save the file with a .ipynb extension. > If I double-click on this file in the future, Safari opens it up alright, > but none of the command lines are executable, and the file isn't much fun > to read or look at. I'm probably missing a step or a command or something > like that. But yes, in general Anaconda is quite impressive and the > installation is pretty easy. In Anaconda all the important modules are at > my fingertips, so it is really nice to work with for the most part. But > again, IDLE has advantages. In IDLE, I can move the cursor around inside a > function's definition to change stuff. Not in the Anaconda Terminal. Once > I ENTER over to the next line, I'm stuck! I can't get back. The best I > can do is just CNTRL-C and start my function definition over again. > > I think my answer was way too long! Sorry! Just trying to explain what's > going on. I just wish there was a way that I could get IDLE to access all > the modules that Anaconda can access. Not really sure how to do it without > tearing apart my operating system. (And I really don't want to do that! ) > I must say that on this particular issue Linux really does have a leg up > on Mac OS-X because of Linux's builtin package managers. However, for > other things I really prefer Mac OS-X. I wish we could combine the best of > both worlds! Let's call it LINAC!!! :-) > > Doug. > > > > On Tue, Sep 29, 2015 at 8:19 AM, William E. S. Clemens < > wesclemens at gmail.com> wrote: > >> I would personally highly recommend MacPorts over Homebrew. >> >> I find Homebrew to have some security concerns. I haven't played around >> with Homebrew in a few years so they may have corrected this issue. >> Homebrew installs itself and the software it manages in /usr/local/ and >> changes the permissions on this folder so the user that install Homebrew >> can write to this directory. This is concur because a malicious pieces of >> software can easy modify command line tools and basic unix utilities by >> writing to this directory. >> >> If you are just looking for a simple way to mange your Python packages I >> wouldn't recommend going with either of these. You can install newer >> versions of Python for python.org. The newer versions have pip included >> with it so it makes life a little easier. >> >> If you want to go the path of least resistance you can install the >> Anaconda. This Python distribution uses an alternative package manager call >> conda. Although it has fare fewer packages then pip and Pypi, It ships all >> the major packages in wheels that can easy be installed on OSX without the >> need to compile the C/Fortran parts. Whereas pip downloads the source and >> attempts to compile it. Pip's method is more prone to failure especially on >> OSX where you are using a different compiler then Linux. >> >> Managing your Python software dependancies on a system wide basis can >> have issues. Have you ever looked into using virtualenv? >> >> -- >> William Clemens >> Phone: 847.485.9455 >> E-mail: wesclemens at gmail.com >> >> On Tue, Sep 29, 2015 at 6:04 AM, Tanya Schlusser >> wrote: >> >>> > P.S. Almost forgot.... is there a Mac OS-X equivalent to the useful >>> Ubuntu >>> > command: >>> > sudo apt-get install ..... and >>> > sudo apt-get remove ..... >>> >>> >>> There are two popular options: homebrew and macports. For homebrew, open >>> a terminal and type: >>> >>> ruby -e "$(curl -fsSL >>> https://raw.githubusercontent.com/Homebrew/install/master/install)" >>> >>> >>> and type this at the bottom of your ~/.profile file : >>> >>> export PATH=/usr/local/bin:/usr/local/sbin:$PATH >>> >>> >>> and then do this in the terminal: >>> >>> brew install python >>> >>> Other homebrew options at: http://brew.sh/ >>> >>> _______________________________________________ >>> 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 shekay at pobox.com Tue Sep 29 19:16:46 2015 From: shekay at pobox.com (sheila miguez) Date: Tue, 29 Sep 2015 12:16:46 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas wrote: > I think my answer was way too long! Sorry! Just trying to explain what's > going on. I just wish there was a way that I could get IDLE to access all > the modules that Anaconda can access. Not really sure how to do it without > tearing apart my operating system. (And I really don't want to do that! ) > I must say This is where the google it answer is helpful. A lot of times I'll have a question like this and will google and see some related stack overflow questions among other things. For this case I googled: using idle in anaconda That pulled up a mailing list discussion on the anaconda mailing list. It's an interesting thread, and you can see the devs saying that IDLE should be given better support. So that is nice for you to hear. https://groups.google.com/a/continuum.io/d/msg/anaconda/Dr8xFdKbA20/MWvhTO4KF8wJ The stack overflow response is http://stackoverflow.com/questions/26047185/import-anaconda-packages-to-idle Someone had the same problem you did. Try out the answer. It involves changing PATH, which is a normal kind of thing to do in an OS, and you won't need to worry about ripping apart your operating system. I don't know if the answer works, but it something to try. -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From zitterbewegung at gmail.com Tue Sep 29 19:29:28 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Tue, 29 Sep 2015 12:29:28 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: How do people generally learn python? I think I have progressed in the following manner. 0. Don't know what python is (First experience was from Carl Karsten telling me the general syntax rules. 1. Start by using python script on the command line 2. Play with IDLE / other IDEs/ Scripting 4. Use python at school at the compbio laboratory and Alcatel Lucen 5. Learn what virtualenv is and make them 6. Learn what ipython is and use ipython 7. Play with anaconda 8. I am here Python is generally batteries included. Should ipython be a better starting point for people who install python? I think more scientific/ financial oriented people are doing the following. 1. Get exposed to python to apply to work 2. Use ipython by installing using anaconda and use it in a browser? possibly you don't even have a local install of python . Now the person's goals will cause them to make a decision. ?. Start by using python script on the command line ?. Play with IDLE / other IDEs/ Scripting ?. Learn what virtualenv is and make them ?. Do web development I think that if more people are doing the second path maybe we should introduce python the second way instead of the first. For one reason setting up ipython or some notebook interface on some cloud server is probably going to become more common. The first way that people seem to learn python takes much more steps to do interesting things and once a person is hooked on python then they can learn the other steps. On Tue, Sep 29, 2015 at 12:16 PM, sheila miguez wrote: > > On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas wrote: > >> I think my answer was way too long! Sorry! Just trying to explain >> what's going on. I just wish there was a way that I could get IDLE to >> access all the modules that Anaconda can access. Not really sure how to do >> it without tearing apart my operating system. (And I really don't want to >> do that! ) I must say > > > This is where the google it answer is helpful. A lot of times I'll have a > question like this and will google and see some related stack overflow > questions among other things. For this case I googled: using idle in > anaconda > > That pulled up a mailing list discussion on the anaconda mailing list. > It's an interesting thread, and you can see the devs saying that IDLE > should be given better support. So that is nice for you to hear. > > > https://groups.google.com/a/continuum.io/d/msg/anaconda/Dr8xFdKbA20/MWvhTO4KF8wJ > > The stack overflow response is > http://stackoverflow.com/questions/26047185/import-anaconda-packages-to-idle > > Someone had the same problem you did. Try out the answer. It involves > changing PATH, which is a normal kind of thing to do in an OS, and you > won't need to worry about ripping apart your operating system. I don't know > if the answer works, but it something to try. > > -- > 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 wesclemens at gmail.com Tue Sep 29 20:57:12 2015 From: wesclemens at gmail.com (William E. S. Clemens) Date: Tue, 29 Sep 2015 13:57:12 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: Os.chdir( ) is not what your looking for you need to add the path for your Anaconda packages to the sys.path list. That being said its generally not a good idea to mess with sys.path unless you know what your doing. It will almost surely break your code portability. If you need help setting up Python I would suggest that you go to Project Night. They are a great group of people and I'm sure they would be more then happy to get you started down the right path. http://www.meetup.com/ChicagoPythonistas/ -- William Clemens Phone: 847.485.9455 E-mail: wesclemens at gmail.com On Tue, Sep 29, 2015 at 12:29 PM, Joshua Herman wrote: > How do people generally learn python? I think I have progressed in the > following manner. > 0. Don't know what python is (First experience was from Carl Karsten > telling me the general syntax rules. > 1. Start by using python script on the command line > 2. Play with IDLE / other IDEs/ Scripting > 4. Use python at school at the compbio laboratory and Alcatel Lucen > 5. Learn what virtualenv is and make them > 6. Learn what ipython is and use ipython > 7. Play with anaconda > 8. I am here > > Python is generally batteries included. Should ipython be a better > starting point for people who install python? I think more scientific/ > financial oriented people are doing the following. > 1. Get exposed to python to apply to work > 2. Use ipython by installing using anaconda and use it in a browser? > possibly you don't even have a local install of python . > Now the person's goals will cause them to make a decision. > ?. Start by using python script on the command line > ?. Play with IDLE / other IDEs/ Scripting > ?. Learn what virtualenv is and make them > ?. Do web development > > I think that if more people are doing the second path maybe we should > introduce python the second way instead of the first. For one reason > setting up ipython or some notebook interface on some cloud server is > probably going to become more common. The first way that people seem to > learn python takes much more steps to do interesting things and once a > person is hooked on python then they can learn the other steps. > > > > On Tue, Sep 29, 2015 at 12:16 PM, sheila miguez wrote: > >> >> On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas >> wrote: >> >>> I think my answer was way too long! Sorry! Just trying to explain >>> what's going on. I just wish there was a way that I could get IDLE to >>> access all the modules that Anaconda can access. Not really sure how to do >>> it without tearing apart my operating system. (And I really don't want to >>> do that! ) I must say >> >> >> This is where the google it answer is helpful. A lot of times I'll have a >> question like this and will google and see some related stack overflow >> questions among other things. For this case I googled: using idle in >> anaconda >> >> That pulled up a mailing list discussion on the anaconda mailing list. >> It's an interesting thread, and you can see the devs saying that IDLE >> should be given better support. So that is nice for you to hear. >> >> >> https://groups.google.com/a/continuum.io/d/msg/anaconda/Dr8xFdKbA20/MWvhTO4KF8wJ >> >> The stack overflow response is >> http://stackoverflow.com/questions/26047185/import-anaconda-packages-to-idle >> >> Someone had the same problem you did. Try out the answer. It involves >> changing PATH, which is a normal kind of thing to do in an OS, and you >> won't need to worry about ripping apart your operating system. I don't know >> if the answer works, but it something to try. >> >> -- >> shekay at pobox.com >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From proba at allstate.com Tue Sep 29 22:05:20 2015 From: proba at allstate.com (Robare, Phillip (TEKSystems)) Date: Tue, 29 Sep 2015 20:05:20 +0000 Subject: [Chicago] Funny line in latest doc Message-ID: <50869A74BA4F07468AD797C9BFF1FE3E0D97D9ED@A0185-XPO1026-C.ad.allstate.com> Last Thursday the 3.4.3 version of Python was released which, among other changes, implements PEP 446 (Newly created file descriptors are non-inheritable). If you are opening files in a parent process and passing the file descriptors to the child processes this new implementation might break your code. I enjoyed what they had to say about that possibility in the PEP (https://www.python.org/dev/peps/pep-0446/): "We are aware of the code breakage this is likely to cause, and doing it anyway for the good of mankind." Phil Robare From adam at adamforsyth.net Wed Sep 30 01:36:34 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Tue, 29 Sep 2015 18:36:34 -0500 Subject: [Chicago] Funny line in latest doc In-Reply-To: <50869A74BA4F07468AD797C9BFF1FE3E0D97D9ED@A0185-XPO1026-C.ad.allstate.com> References: <50869A74BA4F07468AD797C9BFF1FE3E0D97D9ED@A0185-XPO1026-C.ad.allstate.com> Message-ID: CPython (or any project generally following semver) doesn't make that kind of change in a "micro" release. You're probably reading the general 3.4 changelog. Looks like the patch for that PEP was merged in for 3.4.0-alpha2 a couple of years ago. Here is the changelog for 3.4.3 . Adam On Tue, Sep 29, 2015 at 3:05 PM, Robare, Phillip (TEKSystems) < proba at allstate.com> wrote: > Last Thursday the 3.4.3 version of Python was released which, among other > changes, implements PEP 446 (Newly created file descriptors are > non-inheritable). If you are opening files in a parent process and passing > the file descriptors to the child processes this new implementation might > break your code. I enjoyed what they had to say about that possibility in > the PEP (https://www.python.org/dev/peps/pep-0446/): > > "We are aware of the code breakage this is likely to cause, and doing it > anyway for the good of mankind." > > Phil Robare > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From safia at safia.rocks Tue Sep 29 02:54:09 2015 From: safia at safia.rocks (Safia Abdalla) Date: Mon, 28 Sep 2015 19:54:09 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: Hello Douglas, If you are interested in working with scientific computing packages in Python, I strongly recommend that you take a look at Anaconda . Anaconda is a Python distribution designed for scientific computing and comes with all the requirements you specified prepackaged. And yes! Tools like numpy, pandas, and scipy have some of their code-base written in Cython which lends to speed improvements. Let me know if you have any questions! Thanks, Safia Safia Abdalla http://safia.rocks | @captainsafia On Mon, Sep 28, 2015 at 7:37 PM, Lewit, Douglas wrote: > Hey guys, > > I was wondering how to use numpy, scipy, matplotlib and sympy within the > IDLE environment. So I did some Google searching and found the following > to be quite helpful. > > *sudo apt-get install python-numpy python-scipy python-matplotlib > python-sympy* > > Any Python environment on my Ubuntu laptop can then access these modules. > However, the above modules are for Python 2.X. > > For Python 3 the following can be used in Terminal: > > *sudo apt-get install python3-numpy python3-scipy python3-matplotlib * > > However, the above Terminal command will return an error if you include* > python3-sympy*. This leads me to believe that Ubuntu's repositories do > not yet contain the Python 3 version of the sympy module. Does anyone know > if sympy can be installed on Python 3.X? Just wondering. Sympy is > actually a very cool module!!! It allows many of the same manipulations as > found in Maple and Mathematica. Quite nice!!! > > Also, does anyone know about the efficiency and speed of the algorithms in > numpy and scipy? Aren't those algorithms based on C and Fortran > extensions? So I'm guessing that numpy and scipy allows numerical > processing just as fast as anything that can be done with C or Fortran, > right? > > Thanks for the help and guidance. > > Best, > > Douglas Lewit > > P.S. Almost forgot.... is there a Mac OS-X equivalent to the useful > Ubuntu command: > sudo apt-get install ..... and > sudo apt-get remove ..... Also, one last question about Ubuntu. Does > Ubuntu have something equivalent to Apple's iTunes? ( iTunes is great! I > love it! ) Thanks. > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From priteau at uchicago.edu Tue Sep 29 22:56:47 2015 From: priteau at uchicago.edu (Pierre Riteau) Date: Tue, 29 Sep 2015 21:56:47 +0100 Subject: [Chicago] Job: Nimbus Software Developer Position at University of Chicago Message-ID: <7450F4CE-24D1-4EB1-8480-F951224221A1@uchicago.edu> Hello, We are seeking a software developer at University of Chicago to be part of the Nimbus team. Most of our development is in Python and we use OpenStack on various projects. To apply please visit http://jobopportunities.uchicago.edu/applicants/Central?quickFind=229408 About us: The Nimbus team is a globally recognized pioneer in infrastructure cloud computing. We created the first ever open source Infrastructure-as-a-Service implementation, and are constantly evolving and thriving on the leading edge of cloud services technologies. We work closely with scientific application communities to develop innovative solutions in cloud computing infrastructures and platforms, with particular focus on High Performance Computing and Big Data systems. To facilitate cloud computing research on a national scale, we also operate an experimental testbed supporting cloud computing research. Our overall mission is to develop innovative technical solutions that create new opportunities in science. The Nimbus team provides a friendly, collegial environment where you will be challenged to help create these groundbreaking new cloud technologies. About the job: In this position you will be making critical contributions to two Nimbus projects. First, you will be helping to build and operate the Chameleon experimental infrastructure for cloud computing (http://www.chameleoncloud.org). Specific tasks will include working with OpenStack to provide additional features or find creative solutions to problems, help operate the testbed working closely with our system administrators, and work with our users. For the second project you will be participating in development of infrastructure that elastically adapts to service demands of processing dynamic data streams obtained from social and sensor networks. Specific tasks will involve working with technologies such as Openstack, Hadoop and Pig and adapting them to solve new problems as well as original development focused on innovative capabilities. Key requirements for the job: - Bachelor's or Master's degree in computer science or another relevant computer related field - The more relevant programming experience the better (preferably demonstrated via contributions to open source software) - Knowledge of Unix/Linux, IaaS cloud systems (OpenStack, AWS), virtualization technologies/containers, and other relevant technologies - Excellent verbal and written communication skills - Ability to prioritize, work both independently and in a team environment, and a keen sense of humor For more detail and to apply please visit http://jobopportunities.uchicago.edu/applicants/Central?quickFind=229408 From d-lewit at neiu.edu Wed Sep 30 03:04:58 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 29 Sep 2015 20:04:58 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: Exactly! I'm a little nervous about changing my $PATH variable because I'm definitely NOT a Unix administrator! I mean.... I know the basics, like cd, cp, mv, ls, ls -ld -- */, ls | wc -l, and some other cool stuff. But changing $PATH is a little scary to me! On the rare occasion when I do that stuff, I always use Emacs as my text editor. The great thing about Emacs is that when you edit a file, Emacs saves the original with a tilde following the name of the file. So if I want to edit bash.rc I end up with bash.rc and bash.rc~. If I totally screwed up bash.rc, then I just do this: mv bash.rc~ bash.rc That restores the previous bash.rc file. It overwrites the messed up file with the original correct file. BUT in general I'm very nervous about doing system changes like that. I tried doing a dual boot of Ubuntu and Kali Linux a while back. Big mistake!!!! I mistakenly deleted the grub file and then I was really SCREWED!!!! I had to do a fresh install of Ubuntu on my hard drive. That wasn't fun! (Ubuntu is pretty easy to install. Kali Linux is NOT easy to install unless you know a lot about networking, protocols, and other stuff that is currently beyond my knowledge of modern computation.) I would love to attend a Python Project Night. The problem is that those are always scheduled for a Thursday night. That's when I have my Informatics class. And since the class meets up once a week, missing a class for Python Project Night is probably not a smart move on my part. Oh hey there Safia! Thanks for writing. Much appreciated. On Tue, Sep 29, 2015 at 1:57 PM, William E. S. Clemens wrote: > Os.chdir( ) is not what your looking for you need to add the path for your > Anaconda packages to the sys.path list. That being said its generally not a > good idea to mess with sys.path unless you know what your doing. It will > almost surely break your code portability. > > If you need help setting up Python I would suggest that you go to Project > Night. They are a great group of people and I'm sure they would be more > then happy to get you started down the right path. > > http://www.meetup.com/ChicagoPythonistas/ > > > -- > William Clemens > Phone: 847.485.9455 > E-mail: wesclemens at gmail.com > > On Tue, Sep 29, 2015 at 12:29 PM, Joshua Herman > wrote: > >> How do people generally learn python? I think I have progressed in the >> following manner. >> 0. Don't know what python is (First experience was from Carl Karsten >> telling me the general syntax rules. >> 1. Start by using python script on the command line >> 2. Play with IDLE / other IDEs/ Scripting >> 4. Use python at school at the compbio laboratory and Alcatel Lucen >> 5. Learn what virtualenv is and make them >> 6. Learn what ipython is and use ipython >> 7. Play with anaconda >> 8. I am here >> >> Python is generally batteries included. Should ipython be a better >> starting point for people who install python? I think more scientific/ >> financial oriented people are doing the following. >> 1. Get exposed to python to apply to work >> 2. Use ipython by installing using anaconda and use it in a browser? >> possibly you don't even have a local install of python . >> Now the person's goals will cause them to make a decision. >> ?. Start by using python script on the command line >> ?. Play with IDLE / other IDEs/ Scripting >> ?. Learn what virtualenv is and make them >> ?. Do web development >> >> I think that if more people are doing the second path maybe we should >> introduce python the second way instead of the first. For one reason >> setting up ipython or some notebook interface on some cloud server is >> probably going to become more common. The first way that people seem to >> learn python takes much more steps to do interesting things and once a >> person is hooked on python then they can learn the other steps. >> >> >> >> On Tue, Sep 29, 2015 at 12:16 PM, sheila miguez wrote: >> >>> >>> On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas >>> wrote: >>> >>>> I think my answer was way too long! Sorry! Just trying to explain >>>> what's going on. I just wish there was a way that I could get IDLE to >>>> access all the modules that Anaconda can access. Not really sure how to do >>>> it without tearing apart my operating system. (And I really don't want to >>>> do that! ) I must say >>> >>> >>> This is where the google it answer is helpful. A lot of times I'll have >>> a question like this and will google and see some related stack overflow >>> questions among other things. For this case I googled: using idle in >>> anaconda >>> >>> That pulled up a mailing list discussion on the anaconda mailing list. >>> It's an interesting thread, and you can see the devs saying that IDLE >>> should be given better support. So that is nice for you to hear. >>> >>> >>> https://groups.google.com/a/continuum.io/d/msg/anaconda/Dr8xFdKbA20/MWvhTO4KF8wJ >>> >>> The stack overflow response is >>> http://stackoverflow.com/questions/26047185/import-anaconda-packages-to-idle >>> >>> Someone had the same problem you did. Try out the answer. It involves >>> changing PATH, which is a normal kind of thing to do in an OS, and you >>> won't need to worry about ripping apart your operating system. I don't know >>> if the answer works, but it something to try. >>> >>> -- >>> shekay at pobox.com >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > 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 Wed Sep 30 03:11:26 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Wed, 30 Sep 2015 01:11:26 +0000 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: Dear lewit, When do you have time to go to events like project nights in general ? Do you live on campus all of the time? What about going on a weekend or during winter break? Sincerely Joshua herman On Tue, Sep 29, 2015 at 8:05 PM Lewit, Douglas wrote: > Exactly! I'm a little nervous about changing my $PATH variable because > I'm definitely NOT a Unix administrator! I mean.... I know the basics, > like cd, cp, mv, ls, ls -ld -- */, ls | wc -l, and some other cool stuff. > But changing $PATH is a little scary to me! On the rare occasion when I do > that stuff, I always use Emacs as my text editor. The great thing about > Emacs is that when you edit a file, Emacs saves the original with a tilde > following the name of the file. So if I want to edit bash.rc I end up with > bash.rc and bash.rc~. If I totally screwed up bash.rc, then I just do this: > > mv bash.rc~ bash.rc > > That restores the previous bash.rc file. It overwrites the messed up file > with the original correct file. BUT in general I'm very nervous about > doing system changes like that. I tried doing a dual boot of Ubuntu and > Kali Linux a while back. Big mistake!!!! I mistakenly deleted the grub > file and then I was really SCREWED!!!! I had to do a fresh install of > Ubuntu on my hard drive. That wasn't fun! (Ubuntu is pretty easy to > install. Kali Linux is NOT easy to install unless you know a lot about > networking, protocols, and other stuff that is currently beyond my > knowledge of modern computation.) > > I would love to attend a Python Project Night. The problem is that those > are always scheduled for a Thursday night. That's when I have my > Informatics class. And since the class meets up once a week, missing a > class for Python Project Night is probably not a smart move on my part. > > Oh hey there Safia! Thanks for writing. Much appreciated. > > > On Tue, Sep 29, 2015 at 1:57 PM, William E. S. Clemens < > wesclemens at gmail.com> wrote: > >> Os.chdir( ) is not what your looking for you need to add the path for >> your Anaconda packages to the sys.path list. That being said its generally >> not a good idea to mess with sys.path unless you know what your doing. It >> will almost surely break your code portability. >> >> If you need help setting up Python I would suggest that you go to Project >> Night. They are a great group of people and I'm sure they would be more >> then happy to get you started down the right path. >> >> http://www.meetup.com/ChicagoPythonistas/ >> >> >> -- >> William Clemens >> Phone: 847.485.9455 >> E-mail: wesclemens at gmail.com >> >> On Tue, Sep 29, 2015 at 12:29 PM, Joshua Herman > > wrote: >> >>> How do people generally learn python? I think I have progressed in the >>> following manner. >>> 0. Don't know what python is (First experience was from Carl Karsten >>> telling me the general syntax rules. >>> 1. Start by using python script on the command line >>> 2. Play with IDLE / other IDEs/ Scripting >>> 4. Use python at school at the compbio laboratory and Alcatel Lucen >>> 5. Learn what virtualenv is and make them >>> 6. Learn what ipython is and use ipython >>> 7. Play with anaconda >>> 8. I am here >>> >>> Python is generally batteries included. Should ipython be a better >>> starting point for people who install python? I think more scientific/ >>> financial oriented people are doing the following. >>> 1. Get exposed to python to apply to work >>> 2. Use ipython by installing using anaconda and use it in a browser? >>> possibly you don't even have a local install of python . >>> Now the person's goals will cause them to make a decision. >>> ?. Start by using python script on the command line >>> ?. Play with IDLE / other IDEs/ Scripting >>> ?. Learn what virtualenv is and make them >>> ?. Do web development >>> >>> I think that if more people are doing the second path maybe we should >>> introduce python the second way instead of the first. For one reason >>> setting up ipython or some notebook interface on some cloud server is >>> probably going to become more common. The first way that people seem to >>> learn python takes much more steps to do interesting things and once a >>> person is hooked on python then they can learn the other steps. >>> >>> >>> >>> On Tue, Sep 29, 2015 at 12:16 PM, sheila miguez >>> wrote: >>> >>>> >>>> On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas >>>> wrote: >>>> >>>>> I think my answer was way too long! Sorry! Just trying to explain >>>>> what's going on. I just wish there was a way that I could get IDLE to >>>>> access all the modules that Anaconda can access. Not really sure how to do >>>>> it without tearing apart my operating system. (And I really don't want to >>>>> do that! ) I must say >>>> >>>> >>>> This is where the google it answer is helpful. A lot of times I'll have >>>> a question like this and will google and see some related stack overflow >>>> questions among other things. For this case I googled: using idle in >>>> anaconda >>>> >>>> That pulled up a mailing list discussion on the anaconda mailing list. >>>> It's an interesting thread, and you can see the devs saying that IDLE >>>> should be given better support. So that is nice for you to hear. >>>> >>>> >>>> https://groups.google.com/a/continuum.io/d/msg/anaconda/Dr8xFdKbA20/MWvhTO4KF8wJ >>>> >>>> The stack overflow response is >>>> http://stackoverflow.com/questions/26047185/import-anaconda-packages-to-idle >>>> >>>> Someone had the same problem you did. Try out the answer. It involves >>>> changing PATH, which is a normal kind of thing to do in an OS, and you >>>> won't need to worry about ripping apart your operating system. I don't know >>>> if the answer works, but it something to try. >>>> >>>> -- >>>> shekay at pobox.com >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> 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 lane at strapr.com Wed Sep 30 03:17:05 2015 From: lane at strapr.com (Lane Campbell) Date: Tue, 29 Sep 2015 20:17:05 -0500 Subject: [Chicago] Job: Nimbus Software Developer Position at University of Chicago In-Reply-To: <7450F4CE-24D1-4EB1-8480-F951224221A1@uchicago.edu> References: <7450F4CE-24D1-4EB1-8480-F951224221A1@uchicago.edu> Message-ID: <8899825151270093751@unknownmsgid> Pierre, If you have any issues filling the role my startup June can help. Feel free to check us out at http://www.joinjune.com to see what we are all about. SPOILER: companies pay to make offers to talent. If you are a developer you can now get paid to hear job offers from recruiters. We have Google and Amazon as customers, amongst over 300 companies that want to leverage June. Sent from my iPhone > On Sep 29, 2015, at 7:05 PM, Pierre Riteau wrote: > > Hello, > > We are seeking a software developer at University of Chicago to be part of the Nimbus team. Most of our development is in Python and we use OpenStack on various projects. > > To apply please visit http://jobopportunities.uchicago.edu/applicants/Central?quickFind=229408 > > About us: > > The Nimbus team is a globally recognized pioneer in infrastructure cloud computing. We created the first ever open source Infrastructure-as-a-Service implementation, and are constantly evolving and thriving on the leading edge of cloud services technologies. We work closely with scientific application communities to develop innovative solutions in cloud computing infrastructures and platforms, with particular focus on High Performance Computing and Big Data systems. To facilitate cloud computing research on a national scale, we also operate an experimental testbed supporting cloud computing research. Our overall mission is to develop innovative technical solutions that create new opportunities in science. The Nimbus team provides a friendly, collegial environment where you will be challenged to help create these groundbreaking new cloud technologies. > > About the job: > > In this position you will be making critical contributions to two Nimbus projects. First, you will be helping to build and operate the Chameleon experimental infrastructure for cloud computing (http://www.chameleoncloud.org). Specific tasks will include working with OpenStack to provide additional features or find creative solutions to problems, help operate the testbed working closely with our system administrators, and work with our users. For the second project you will be participating in development of infrastructure that elastically adapts to service demands of processing dynamic data streams obtained from social and sensor networks. Specific tasks will involve working with technologies such as Openstack, Hadoop and Pig and adapting them to solve new problems as well as original development focused on innovative capabilities. > > Key requirements for the job: > > - Bachelor's or Master's degree in computer science or another relevant computer related field > - The more relevant programming experience the better (preferably demonstrated via contributions to open source software) > - Knowledge of Unix/Linux, IaaS cloud systems (OpenStack, AWS), virtualization technologies/containers, and other relevant technologies > - Excellent verbal and written communication skills > - Ability to prioritize, work both independently and in a team environment, and a keen sense of humor > > For more detail and to apply please visit http://jobopportunities.uchicago.edu/applicants/Central?quickFind=229408 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago From d-lewit at neiu.edu Wed Sep 30 03:56:38 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 29 Sep 2015 20:56:38 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: Hi Joshua, My first name is Doug or Douglas, NOT Lewit!!!! LOL!!!! It seems like Project Night is usually on a Thursday night, right? Right now my Thursday nights look a little busy. Although I would probably learn more from Project Night than my Informatics professor, but.... he's got that* PhD*, and I guess those three magic letters means he knows everything about computer science, right? :-) On Tue, Sep 29, 2015 at 8:11 PM, Joshua Herman wrote: > Dear lewit, > When do you have time to go to events like project nights in general ? Do > you live on campus all of the time? What about going on a weekend or during > winter break? > Sincerely > Joshua herman > On Tue, Sep 29, 2015 at 8:05 PM Lewit, Douglas wrote: > >> Exactly! I'm a little nervous about changing my $PATH variable because >> I'm definitely NOT a Unix administrator! I mean.... I know the basics, >> like cd, cp, mv, ls, ls -ld -- */, ls | wc -l, and some other cool stuff. >> But changing $PATH is a little scary to me! On the rare occasion when I do >> that stuff, I always use Emacs as my text editor. The great thing about >> Emacs is that when you edit a file, Emacs saves the original with a tilde >> following the name of the file. So if I want to edit bash.rc I end up with >> bash.rc and bash.rc~. If I totally screwed up bash.rc, then I just do this: >> >> mv bash.rc~ bash.rc >> >> That restores the previous bash.rc file. It overwrites the messed up >> file with the original correct file. BUT in general I'm very nervous about >> doing system changes like that. I tried doing a dual boot of Ubuntu and >> Kali Linux a while back. Big mistake!!!! I mistakenly deleted the grub >> file and then I was really SCREWED!!!! I had to do a fresh install of >> Ubuntu on my hard drive. That wasn't fun! (Ubuntu is pretty easy to >> install. Kali Linux is NOT easy to install unless you know a lot about >> networking, protocols, and other stuff that is currently beyond my >> knowledge of modern computation.) >> >> I would love to attend a Python Project Night. The problem is that those >> are always scheduled for a Thursday night. That's when I have my >> Informatics class. And since the class meets up once a week, missing a >> class for Python Project Night is probably not a smart move on my part. >> >> Oh hey there Safia! Thanks for writing. Much appreciated. >> >> >> On Tue, Sep 29, 2015 at 1:57 PM, William E. S. Clemens < >> wesclemens at gmail.com> wrote: >> >>> Os.chdir( ) is not what your looking for you need to add the path for >>> your Anaconda packages to the sys.path list. That being said its generally >>> not a good idea to mess with sys.path unless you know what your doing. It >>> will almost surely break your code portability. >>> >>> If you need help setting up Python I would suggest that you go to >>> Project Night. They are a great group of people and I'm sure they would be >>> more then happy to get you started down the right path. >>> >>> http://www.meetup.com/ChicagoPythonistas/ >>> >>> >>> -- >>> William Clemens >>> Phone: 847.485.9455 >>> E-mail: wesclemens at gmail.com >>> >>> On Tue, Sep 29, 2015 at 12:29 PM, Joshua Herman < >>> zitterbewegung at gmail.com> wrote: >>> >>>> How do people generally learn python? I think I have progressed in the >>>> following manner. >>>> 0. Don't know what python is (First experience was from Carl Karsten >>>> telling me the general syntax rules. >>>> 1. Start by using python script on the command line >>>> 2. Play with IDLE / other IDEs/ Scripting >>>> 4. Use python at school at the compbio laboratory and Alcatel Lucen >>>> 5. Learn what virtualenv is and make them >>>> 6. Learn what ipython is and use ipython >>>> 7. Play with anaconda >>>> 8. I am here >>>> >>>> Python is generally batteries included. Should ipython be a better >>>> starting point for people who install python? I think more scientific/ >>>> financial oriented people are doing the following. >>>> 1. Get exposed to python to apply to work >>>> 2. Use ipython by installing using anaconda and use it in a browser? >>>> possibly you don't even have a local install of python . >>>> Now the person's goals will cause them to make a decision. >>>> ?. Start by using python script on the command line >>>> ?. Play with IDLE / other IDEs/ Scripting >>>> ?. Learn what virtualenv is and make them >>>> ?. Do web development >>>> >>>> I think that if more people are doing the second path maybe we should >>>> introduce python the second way instead of the first. For one reason >>>> setting up ipython or some notebook interface on some cloud server is >>>> probably going to become more common. The first way that people seem to >>>> learn python takes much more steps to do interesting things and once a >>>> person is hooked on python then they can learn the other steps. >>>> >>>> >>>> >>>> On Tue, Sep 29, 2015 at 12:16 PM, sheila miguez >>>> wrote: >>>> >>>>> >>>>> On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas >>>>> wrote: >>>>> >>>>>> I think my answer was way too long! Sorry! Just trying to explain >>>>>> what's going on. I just wish there was a way that I could get IDLE to >>>>>> access all the modules that Anaconda can access. Not really sure how to do >>>>>> it without tearing apart my operating system. (And I really don't want to >>>>>> do that! ) I must say >>>>> >>>>> >>>>> This is where the google it answer is helpful. A lot of times I'll >>>>> have a question like this and will google and see some related stack >>>>> overflow questions among other things. For this case I googled: using idle >>>>> in anaconda >>>>> >>>>> That pulled up a mailing list discussion on the anaconda mailing list. >>>>> It's an interesting thread, and you can see the devs saying that IDLE >>>>> should be given better support. So that is nice for you to hear. >>>>> >>>>> >>>>> https://groups.google.com/a/continuum.io/d/msg/anaconda/Dr8xFdKbA20/MWvhTO4KF8wJ >>>>> >>>>> The stack overflow response is >>>>> http://stackoverflow.com/questions/26047185/import-anaconda-packages-to-idle >>>>> >>>>> Someone had the same problem you did. Try out the answer. It involves >>>>> changing PATH, which is a normal kind of thing to do in an OS, and you >>>>> won't need to worry about ripping apart your operating system. I don't know >>>>> if the answer works, but it something to try. >>>>> >>>>> -- >>>>> shekay at pobox.com >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> 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 wesclemens at gmail.com Wed Sep 30 04:31:31 2015 From: wesclemens at gmail.com (William E. S. Clemens) Date: Tue, 29 Sep 2015 21:31:31 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: Doug, I strongly recommend that you make time to come to some events. One of biggest strengths of Python is the amazing community behind it. I know that there are events on Monday, Wednesday, Thursday and Sunday every month. I think that you will find the Chicago group to be extremely friendly and helpful. It is a great group of people to know if you are looking at getting into professional Python development in Chicago post graduation. Regards, Will -- William Clemens Phone: 847.485.9455 E-mail: wesclemens at gmail.com On Tue, Sep 29, 2015 at 8:56 PM, Lewit, Douglas wrote: > Hi Joshua, > > My first name is Doug or Douglas, NOT Lewit!!!! LOL!!!! > > It seems like Project Night is usually on a Thursday night, right? Right > now my Thursday nights look a little busy. Although I would probably learn > more from Project Night than my Informatics professor, but.... he's got that* > PhD*, and I guess those three magic letters means he knows everything > about computer science, right? :-) > > On Tue, Sep 29, 2015 at 8:11 PM, Joshua Herman > wrote: > >> Dear lewit, >> When do you have time to go to events like project nights in general ? Do >> you live on campus all of the time? What about going on a weekend or during >> winter break? >> Sincerely >> Joshua herman >> On Tue, Sep 29, 2015 at 8:05 PM Lewit, Douglas wrote: >> >>> Exactly! I'm a little nervous about changing my $PATH variable because >>> I'm definitely NOT a Unix administrator! I mean.... I know the basics, >>> like cd, cp, mv, ls, ls -ld -- */, ls | wc -l, and some other cool stuff. >>> But changing $PATH is a little scary to me! On the rare occasion when I do >>> that stuff, I always use Emacs as my text editor. The great thing about >>> Emacs is that when you edit a file, Emacs saves the original with a tilde >>> following the name of the file. So if I want to edit bash.rc I end up with >>> bash.rc and bash.rc~. If I totally screwed up bash.rc, then I just do this: >>> >>> mv bash.rc~ bash.rc >>> >>> That restores the previous bash.rc file. It overwrites the messed up >>> file with the original correct file. BUT in general I'm very nervous about >>> doing system changes like that. I tried doing a dual boot of Ubuntu and >>> Kali Linux a while back. Big mistake!!!! I mistakenly deleted the grub >>> file and then I was really SCREWED!!!! I had to do a fresh install of >>> Ubuntu on my hard drive. That wasn't fun! (Ubuntu is pretty easy to >>> install. Kali Linux is NOT easy to install unless you know a lot about >>> networking, protocols, and other stuff that is currently beyond my >>> knowledge of modern computation.) >>> >>> I would love to attend a Python Project Night. The problem is that >>> those are always scheduled for a Thursday night. That's when I have my >>> Informatics class. And since the class meets up once a week, missing a >>> class for Python Project Night is probably not a smart move on my part. >>> >>> Oh hey there Safia! Thanks for writing. Much appreciated. >>> >>> >>> On Tue, Sep 29, 2015 at 1:57 PM, William E. S. Clemens < >>> wesclemens at gmail.com> wrote: >>> >>>> Os.chdir( ) is not what your looking for you need to add the path for >>>> your Anaconda packages to the sys.path list. That being said its generally >>>> not a good idea to mess with sys.path unless you know what your doing. It >>>> will almost surely break your code portability. >>>> >>>> If you need help setting up Python I would suggest that you go to >>>> Project Night. They are a great group of people and I'm sure they would be >>>> more then happy to get you started down the right path. >>>> >>>> http://www.meetup.com/ChicagoPythonistas/ >>>> >>>> >>>> -- >>>> William Clemens >>>> Phone: 847.485.9455 >>>> E-mail: wesclemens at gmail.com >>>> >>>> On Tue, Sep 29, 2015 at 12:29 PM, Joshua Herman < >>>> zitterbewegung at gmail.com> wrote: >>>> >>>>> How do people generally learn python? I think I have progressed in the >>>>> following manner. >>>>> 0. Don't know what python is (First experience was from Carl Karsten >>>>> telling me the general syntax rules. >>>>> 1. Start by using python script on the command line >>>>> 2. Play with IDLE / other IDEs/ Scripting >>>>> 4. Use python at school at the compbio laboratory and Alcatel Lucen >>>>> 5. Learn what virtualenv is and make them >>>>> 6. Learn what ipython is and use ipython >>>>> 7. Play with anaconda >>>>> 8. I am here >>>>> >>>>> Python is generally batteries included. Should ipython be a better >>>>> starting point for people who install python? I think more scientific/ >>>>> financial oriented people are doing the following. >>>>> 1. Get exposed to python to apply to work >>>>> 2. Use ipython by installing using anaconda and use it in a browser? >>>>> possibly you don't even have a local install of python . >>>>> Now the person's goals will cause them to make a decision. >>>>> ?. Start by using python script on the command line >>>>> ?. Play with IDLE / other IDEs/ Scripting >>>>> ?. Learn what virtualenv is and make them >>>>> ?. Do web development >>>>> >>>>> I think that if more people are doing the second path maybe we should >>>>> introduce python the second way instead of the first. For one reason >>>>> setting up ipython or some notebook interface on some cloud server is >>>>> probably going to become more common. The first way that people seem to >>>>> learn python takes much more steps to do interesting things and once a >>>>> person is hooked on python then they can learn the other steps. >>>>> >>>>> >>>>> >>>>> On Tue, Sep 29, 2015 at 12:16 PM, sheila miguez >>>>> wrote: >>>>> >>>>>> >>>>>> On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas >>>>>> wrote: >>>>>> >>>>>>> I think my answer was way too long! Sorry! Just trying to explain >>>>>>> what's going on. I just wish there was a way that I could get IDLE to >>>>>>> access all the modules that Anaconda can access. Not really sure how to do >>>>>>> it without tearing apart my operating system. (And I really don't want to >>>>>>> do that! ) I must say >>>>>> >>>>>> >>>>>> This is where the google it answer is helpful. A lot of times I'll >>>>>> have a question like this and will google and see some related stack >>>>>> overflow questions among other things. For this case I googled: using idle >>>>>> in anaconda >>>>>> >>>>>> That pulled up a mailing list discussion on the anaconda mailing >>>>>> list. It's an interesting thread, and you can see the devs saying that IDLE >>>>>> should be given better support. So that is nice for you to hear. >>>>>> >>>>>> >>>>>> https://groups.google.com/a/continuum.io/d/msg/anaconda/Dr8xFdKbA20/MWvhTO4KF8wJ >>>>>> >>>>>> The stack overflow response is >>>>>> http://stackoverflow.com/questions/26047185/import-anaconda-packages-to-idle >>>>>> >>>>>> Someone had the same problem you did. Try out the answer. It involves >>>>>> changing PATH, which is a normal kind of thing to do in an OS, and you >>>>>> won't need to worry about ripping apart your operating system. I don't know >>>>>> if the answer works, but it something to try. >>>>>> >>>>>> -- >>>>>> shekay at pobox.com >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Wed Sep 30 04:51:13 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 29 Sep 2015 21:51:13 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: Hey Will, Yep, I know you're right. I gotta do some networking and meet the right people who can help me with my future plans to become the greatest programmer in the world! Sarcasm intended. I'll be happy if I can become the greatest programmer in my neighborhood!!! :-) I sometimes have Sundays free, so right now I'm going to try to attend some of Lane's Sunday Django meetings. Besides, I really NEED to learn some serious web development. So far all I know is Big-O, sorting, the knapsack problem, addition algorithm, KNN-algorithm for machine learning, some divide and conquer stuff, some Unix/Linux stuff, you get the idea. But networking, security, and web development.... you know, how programmers really make their living, so far I know very little about that stuff. I gotta learn the practical stuff in order to get that paycheck. Besides, it looks fun! I promise Will.... I will do my best to attend some meet-ups. I just hope nobody looks at my programming work and says, "Oh god, there's our little Python retard!" If I end up becoming the Forrest Gump of ChiPy, I won't attend any of the meetings!!!! :-) On Tue, Sep 29, 2015 at 9:31 PM, William E. S. Clemens wrote: > Doug, > > I strongly recommend that you make time to come to some events. One of > biggest strengths of Python is the amazing community behind it. I know > that there are events on Monday, Wednesday, Thursday and Sunday every > month. I think that you will find the Chicago group to be extremely > friendly and helpful. It is a great group of people to know if you are > looking at getting into professional Python development in Chicago post > graduation. > > Regards, > Will > > -- > William Clemens > Phone: 847.485.9455 > E-mail: wesclemens at gmail.com > > On Tue, Sep 29, 2015 at 8:56 PM, Lewit, Douglas wrote: > >> Hi Joshua, >> >> My first name is Doug or Douglas, NOT Lewit!!!! LOL!!!! >> >> It seems like Project Night is usually on a Thursday night, right? Right >> now my Thursday nights look a little busy. Although I would probably learn >> more from Project Night than my Informatics professor, but.... he's got that* >> PhD*, and I guess those three magic letters means he knows everything >> about computer science, right? :-) >> >> On Tue, Sep 29, 2015 at 8:11 PM, Joshua Herman >> wrote: >> >>> Dear lewit, >>> When do you have time to go to events like project nights in general ? >>> Do you live on campus all of the time? What about going on a weekend or >>> during winter break? >>> Sincerely >>> Joshua herman >>> On Tue, Sep 29, 2015 at 8:05 PM Lewit, Douglas wrote: >>> >>>> Exactly! I'm a little nervous about changing my $PATH variable because >>>> I'm definitely NOT a Unix administrator! I mean.... I know the basics, >>>> like cd, cp, mv, ls, ls -ld -- */, ls | wc -l, and some other cool stuff. >>>> But changing $PATH is a little scary to me! On the rare occasion when I do >>>> that stuff, I always use Emacs as my text editor. The great thing about >>>> Emacs is that when you edit a file, Emacs saves the original with a tilde >>>> following the name of the file. So if I want to edit bash.rc I end up with >>>> bash.rc and bash.rc~. If I totally screwed up bash.rc, then I just do this: >>>> >>>> mv bash.rc~ bash.rc >>>> >>>> That restores the previous bash.rc file. It overwrites the messed up >>>> file with the original correct file. BUT in general I'm very nervous about >>>> doing system changes like that. I tried doing a dual boot of Ubuntu and >>>> Kali Linux a while back. Big mistake!!!! I mistakenly deleted the grub >>>> file and then I was really SCREWED!!!! I had to do a fresh install of >>>> Ubuntu on my hard drive. That wasn't fun! (Ubuntu is pretty easy to >>>> install. Kali Linux is NOT easy to install unless you know a lot about >>>> networking, protocols, and other stuff that is currently beyond my >>>> knowledge of modern computation.) >>>> >>>> I would love to attend a Python Project Night. The problem is that >>>> those are always scheduled for a Thursday night. That's when I have my >>>> Informatics class. And since the class meets up once a week, missing a >>>> class for Python Project Night is probably not a smart move on my part. >>>> >>>> Oh hey there Safia! Thanks for writing. Much appreciated. >>>> >>>> >>>> On Tue, Sep 29, 2015 at 1:57 PM, William E. S. Clemens < >>>> wesclemens at gmail.com> wrote: >>>> >>>>> Os.chdir( ) is not what your looking for you need to add the path for >>>>> your Anaconda packages to the sys.path list. That being said its generally >>>>> not a good idea to mess with sys.path unless you know what your doing. It >>>>> will almost surely break your code portability. >>>>> >>>>> If you need help setting up Python I would suggest that you go to >>>>> Project Night. They are a great group of people and I'm sure they would be >>>>> more then happy to get you started down the right path. >>>>> >>>>> http://www.meetup.com/ChicagoPythonistas/ >>>>> >>>>> >>>>> -- >>>>> William Clemens >>>>> Phone: 847.485.9455 >>>>> E-mail: wesclemens at gmail.com >>>>> >>>>> On Tue, Sep 29, 2015 at 12:29 PM, Joshua Herman < >>>>> zitterbewegung at gmail.com> wrote: >>>>> >>>>>> How do people generally learn python? I think I have progressed in >>>>>> the following manner. >>>>>> 0. Don't know what python is (First experience was from Carl Karsten >>>>>> telling me the general syntax rules. >>>>>> 1. Start by using python script on the command line >>>>>> 2. Play with IDLE / other IDEs/ Scripting >>>>>> 4. Use python at school at the compbio laboratory and Alcatel Lucen >>>>>> 5. Learn what virtualenv is and make them >>>>>> 6. Learn what ipython is and use ipython >>>>>> 7. Play with anaconda >>>>>> 8. I am here >>>>>> >>>>>> Python is generally batteries included. Should ipython be a better >>>>>> starting point for people who install python? I think more scientific/ >>>>>> financial oriented people are doing the following. >>>>>> 1. Get exposed to python to apply to work >>>>>> 2. Use ipython by installing using anaconda and use it in a browser? >>>>>> possibly you don't even have a local install of python . >>>>>> Now the person's goals will cause them to make a decision. >>>>>> ?. Start by using python script on the command line >>>>>> ?. Play with IDLE / other IDEs/ Scripting >>>>>> ?. Learn what virtualenv is and make them >>>>>> ?. Do web development >>>>>> >>>>>> I think that if more people are doing the second path maybe we should >>>>>> introduce python the second way instead of the first. For one reason >>>>>> setting up ipython or some notebook interface on some cloud server is >>>>>> probably going to become more common. The first way that people seem to >>>>>> learn python takes much more steps to do interesting things and once a >>>>>> person is hooked on python then they can learn the other steps. >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Sep 29, 2015 at 12:16 PM, sheila miguez >>>>>> wrote: >>>>>> >>>>>>> >>>>>>> On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas >>>>>>> wrote: >>>>>>> >>>>>>>> I think my answer was way too long! Sorry! Just trying to explain >>>>>>>> what's going on. I just wish there was a way that I could get IDLE to >>>>>>>> access all the modules that Anaconda can access. Not really sure how to do >>>>>>>> it without tearing apart my operating system. (And I really don't want to >>>>>>>> do that! ) I must say >>>>>>> >>>>>>> >>>>>>> This is where the google it answer is helpful. A lot of times I'll >>>>>>> have a question like this and will google and see some related stack >>>>>>> overflow questions among other things. For this case I googled: using idle >>>>>>> in anaconda >>>>>>> >>>>>>> That pulled up a mailing list discussion on the anaconda mailing >>>>>>> list. It's an interesting thread, and you can see the devs saying that IDLE >>>>>>> should be given better support. So that is nice for you to hear. >>>>>>> >>>>>>> >>>>>>> https://groups.google.com/a/continuum.io/d/msg/anaconda/Dr8xFdKbA20/MWvhTO4KF8wJ >>>>>>> >>>>>>> The stack overflow response is >>>>>>> http://stackoverflow.com/questions/26047185/import-anaconda-packages-to-idle >>>>>>> >>>>>>> Someone had the same problem you did. Try out the answer. It >>>>>>> involves changing PATH, which is a normal kind of thing to do in an OS, and >>>>>>> you won't need to worry about ripping apart your operating system. I don't >>>>>>> know if the answer works, but it something to try. >>>>>>> >>>>>>> -- >>>>>>> shekay at pobox.com >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Chicago mailing list >>>>>>> Chicago at python.org >>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fluxent at gmail.com Wed Sep 30 04:50:42 2015 From: fluxent at gmail.com (Bill Seitz) Date: Tue, 29 Sep 2015 21:50:42 -0500 Subject: [Chicago] Job: Nimbus Software Developer Position at University of Chicago In-Reply-To: <7450F4CE-24D1-4EB1-8480-F951224221A1@uchicago.edu> References: <7450F4CE-24D1-4EB1-8480-F951224221A1@uchicago.edu> Message-ID: I know someone in the UK who would be good - I don't suppose you'd consider a remoter (he's worked remote/distributed before, so he'd be used to it)? On Tue, Sep 29, 2015 at 3:56 PM, Pierre Riteau wrote: > Hello, > > We are seeking a software developer at University of Chicago to be part of > the Nimbus team. Most of our development is in Python and we use OpenStack > on various projects. > > To apply please visit > http://jobopportunities.uchicago.edu/applicants/Central?quickFind=229408 > > About us: > > The Nimbus team is a globally recognized pioneer in infrastructure cloud > computing. We created the first ever open source > Infrastructure-as-a-Service implementation, and are constantly evolving and > thriving on the leading edge of cloud services technologies. We work > closely with scientific application communities to develop innovative > solutions in cloud computing infrastructures and platforms, with particular > focus on High Performance Computing and Big Data systems. To facilitate > cloud computing research on a national scale, we also operate an > experimental testbed supporting cloud computing research. Our overall > mission is to develop innovative technical solutions that create new > opportunities in science. The Nimbus team provides a friendly, collegial > environment where you will be challenged to help create these > groundbreaking new cloud technologies. > > About the job: > > In this position you will be making critical contributions to two Nimbus > projects. First, you will be helping to build and operate the Chameleon > experimental infrastructure for cloud computing ( > http://www.chameleoncloud.org). Specific tasks will include working with > OpenStack to provide additional features or find creative solutions to > problems, help operate the testbed working closely with our system > administrators, and work with our users. For the second project you will be > participating in development of infrastructure that elastically adapts to > service demands of processing dynamic data streams obtained from social and > sensor networks. Specific tasks will involve working with technologies such > as Openstack, Hadoop and Pig and adapting them to solve new problems as > well as original development focused on innovative capabilities. > > Key requirements for the job: > > - Bachelor's or Master's degree in computer science or another relevant > computer related field > - The more relevant programming experience the better (preferably > demonstrated via contributions to open source software) > - Knowledge of Unix/Linux, IaaS cloud systems (OpenStack, AWS), > virtualization technologies/containers, and other relevant technologies > - Excellent verbal and written communication skills > - Ability to prioritize, work both independently and in a team > environment, and a keen sense of humor > > For more detail and to apply please visit > http://jobopportunities.uchicago.edu/applicants/Central?quickFind=229408 > > _______________________________________________ > 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 Wed Sep 30 06:00:39 2015 From: zitterbewegung at gmail.com (Joshua Herman) Date: Wed, 30 Sep 2015 04:00:39 +0000 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: I talk with someone with a PhD once a week. You should be less intimidated by qualifications. On Tue, Sep 29, 2015 at 9:51 PM Lewit, Douglas wrote: > Hey Will, > > Yep, I know you're right. I gotta do some networking and meet the right > people who can help me with my future plans to become the greatest > programmer in the world! Sarcasm intended. I'll be happy if I can become > the greatest programmer in my neighborhood!!! :-) > > I sometimes have Sundays free, so right now I'm going to try to attend > some of Lane's Sunday Django meetings. Besides, I really NEED to learn > some serious web development. So far all I know is Big-O, sorting, the > knapsack problem, addition algorithm, KNN-algorithm for machine learning, > some divide and conquer stuff, some Unix/Linux stuff, you get the idea. > But networking, security, and web development.... you know, how programmers > really make their living, so far I know very little about that stuff. I > gotta learn the practical stuff in order to get that paycheck. Besides, it > looks fun! > > I promise Will.... I will do my best to attend some meet-ups. I just hope > nobody looks at my programming work and says, "Oh god, there's our little > Python retard!" If I end up becoming the Forrest Gump of ChiPy, I won't > attend any of the meetings!!!! :-) > > > On Tue, Sep 29, 2015 at 9:31 PM, William E. S. Clemens < > wesclemens at gmail.com> wrote: > >> Doug, >> >> I strongly recommend that you make time to come to some events. One of >> biggest strengths of Python is the amazing community behind it. I know >> that there are events on Monday, Wednesday, Thursday and Sunday every >> month. I think that you will find the Chicago group to be extremely >> friendly and helpful. It is a great group of people to know if you are >> looking at getting into professional Python development in Chicago post >> graduation. >> >> Regards, >> Will >> >> -- >> William Clemens >> Phone: 847.485.9455 >> E-mail: wesclemens at gmail.com >> >> On Tue, Sep 29, 2015 at 8:56 PM, Lewit, Douglas wrote: >> >>> Hi Joshua, >>> >>> My first name is Doug or Douglas, NOT Lewit!!!! LOL!!!! >>> >>> It seems like Project Night is usually on a Thursday night, right? >>> Right now my Thursday nights look a little busy. Although I would probably >>> learn more from Project Night than my Informatics professor, but.... he's >>> got that* PhD*, and I guess those three magic letters means he knows >>> everything about computer science, right? :-) >>> >>> On Tue, Sep 29, 2015 at 8:11 PM, Joshua Herman >> > wrote: >>> >>>> Dear lewit, >>>> When do you have time to go to events like project nights in general ? >>>> Do you live on campus all of the time? What about going on a weekend or >>>> during winter break? >>>> Sincerely >>>> Joshua herman >>>> On Tue, Sep 29, 2015 at 8:05 PM Lewit, Douglas >>>> wrote: >>>> >>>>> Exactly! I'm a little nervous about changing my $PATH variable >>>>> because I'm definitely NOT a Unix administrator! I mean.... I know the >>>>> basics, like cd, cp, mv, ls, ls -ld -- */, ls | wc -l, and some other cool >>>>> stuff. But changing $PATH is a little scary to me! On the rare occasion >>>>> when I do that stuff, I always use Emacs as my text editor. The great >>>>> thing about Emacs is that when you edit a file, Emacs saves the original >>>>> with a tilde following the name of the file. So if I want to edit bash.rc >>>>> I end up with bash.rc and bash.rc~. If I totally screwed up bash.rc, then >>>>> I just do this: >>>>> >>>>> mv bash.rc~ bash.rc >>>>> >>>>> That restores the previous bash.rc file. It overwrites the messed up >>>>> file with the original correct file. BUT in general I'm very nervous about >>>>> doing system changes like that. I tried doing a dual boot of Ubuntu and >>>>> Kali Linux a while back. Big mistake!!!! I mistakenly deleted the grub >>>>> file and then I was really SCREWED!!!! I had to do a fresh install of >>>>> Ubuntu on my hard drive. That wasn't fun! (Ubuntu is pretty easy to >>>>> install. Kali Linux is NOT easy to install unless you know a lot about >>>>> networking, protocols, and other stuff that is currently beyond my >>>>> knowledge of modern computation.) >>>>> >>>>> I would love to attend a Python Project Night. The problem is that >>>>> those are always scheduled for a Thursday night. That's when I have my >>>>> Informatics class. And since the class meets up once a week, missing a >>>>> class for Python Project Night is probably not a smart move on my part. >>>>> >>>>> Oh hey there Safia! Thanks for writing. Much appreciated. >>>>> >>>>> >>>>> On Tue, Sep 29, 2015 at 1:57 PM, William E. S. Clemens < >>>>> wesclemens at gmail.com> wrote: >>>>> >>>>>> Os.chdir( ) is not what your looking for you need to add the path for >>>>>> your Anaconda packages to the sys.path list. That being said its generally >>>>>> not a good idea to mess with sys.path unless you know what your doing. It >>>>>> will almost surely break your code portability. >>>>>> >>>>>> If you need help setting up Python I would suggest that you go to >>>>>> Project Night. They are a great group of people and I'm sure they would be >>>>>> more then happy to get you started down the right path. >>>>>> >>>>>> http://www.meetup.com/ChicagoPythonistas/ >>>>>> >>>>>> >>>>>> -- >>>>>> William Clemens >>>>>> Phone: 847.485.9455 >>>>>> E-mail: wesclemens at gmail.com >>>>>> >>>>>> On Tue, Sep 29, 2015 at 12:29 PM, Joshua Herman < >>>>>> zitterbewegung at gmail.com> wrote: >>>>>> >>>>>>> How do people generally learn python? I think I have progressed in >>>>>>> the following manner. >>>>>>> 0. Don't know what python is (First experience was from Carl Karsten >>>>>>> telling me the general syntax rules. >>>>>>> 1. Start by using python script on the command line >>>>>>> 2. Play with IDLE / other IDEs/ Scripting >>>>>>> 4. Use python at school at the compbio laboratory and Alcatel Lucen >>>>>>> 5. Learn what virtualenv is and make them >>>>>>> 6. Learn what ipython is and use ipython >>>>>>> 7. Play with anaconda >>>>>>> 8. I am here >>>>>>> >>>>>>> Python is generally batteries included. Should ipython be a better >>>>>>> starting point for people who install python? I think more scientific/ >>>>>>> financial oriented people are doing the following. >>>>>>> 1. Get exposed to python to apply to work >>>>>>> 2. Use ipython by installing using anaconda and use it in a browser? >>>>>>> possibly you don't even have a local install of python . >>>>>>> Now the person's goals will cause them to make a decision. >>>>>>> ?. Start by using python script on the command line >>>>>>> ?. Play with IDLE / other IDEs/ Scripting >>>>>>> ?. Learn what virtualenv is and make them >>>>>>> ?. Do web development >>>>>>> >>>>>>> I think that if more people are doing the second path maybe we >>>>>>> should introduce python the second way instead of the first. For one reason >>>>>>> setting up ipython or some notebook interface on some cloud server is >>>>>>> probably going to become more common. The first way that people seem to >>>>>>> learn python takes much more steps to do interesting things and once a >>>>>>> person is hooked on python then they can learn the other steps. >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Sep 29, 2015 at 12:16 PM, sheila miguez >>>>>>> wrote: >>>>>>> >>>>>>>> >>>>>>>> On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas >>>>>>>> wrote: >>>>>>>> >>>>>>>>> I think my answer was way too long! Sorry! Just trying to >>>>>>>>> explain what's going on. I just wish there was a way that I could get IDLE >>>>>>>>> to access all the modules that Anaconda can access. Not really sure how to >>>>>>>>> do it without tearing apart my operating system. (And I really don't want >>>>>>>>> to do that! ) I must say >>>>>>>> >>>>>>>> >>>>>>>> This is where the google it answer is helpful. A lot of times I'll >>>>>>>> have a question like this and will google and see some related stack >>>>>>>> overflow questions among other things. For this case I googled: using idle >>>>>>>> in anaconda >>>>>>>> >>>>>>>> That pulled up a mailing list discussion on the anaconda mailing >>>>>>>> list. It's an interesting thread, and you can see the devs saying that IDLE >>>>>>>> should be given better support. So that is nice for you to hear. >>>>>>>> >>>>>>>> >>>>>>>> https://groups.google.com/a/continuum.io/d/msg/anaconda/Dr8xFdKbA20/MWvhTO4KF8wJ >>>>>>>> >>>>>>>> The stack overflow response is >>>>>>>> http://stackoverflow.com/questions/26047185/import-anaconda-packages-to-idle >>>>>>>> >>>>>>>> Someone had the same problem you did. Try out the answer. It >>>>>>>> involves changing PATH, which is a normal kind of thing to do in an OS, and >>>>>>>> you won't need to worry about ripping apart your operating system. I don't >>>>>>>> know if the answer works, but it something to try. >>>>>>>> >>>>>>>> -- >>>>>>>> shekay at pobox.com >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Chicago mailing list >>>>>>>> Chicago at python.org >>>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Chicago mailing list >>>>>>> Chicago at python.org >>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan2600 at gmail.com Wed Sep 30 06:20:28 2015 From: allan2600 at gmail.com (Allan Spale) Date: Wed, 30 Sep 2015 04:20:28 +0000 Subject: [Chicago] Full Stack + Back End Software Engineer Opening up to $175, 000 in Chicago, IL - Substance Abuse -Mobile Healthcare @ SaaS Tech Company In-Reply-To: <56016f7f.d28e190a.663b1.3209SMTPIN_ADDED_BROKEN@mx.google.com> References: <56016f7f.d28e190a.663b1.3209SMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: Hi Kaleb, This type of job interests me, but I don't know if I would be a good fit. Would you have some time to talk this week about the types of jobs for which you recruit? Being able to make a positive difference in other people's lives is a huge motivator with the type of work I would want to do. I don't have my resume handy right now, but you can see a fairly up-to-date version on my LinkedIn profile. Thanks for your time. Allan On Tue, Sep 22, 2015 at 10:10 AM Kaleb P. Dumot < kaleb at integritypowersearch.com> wrote: > Hi Chicago Python UG - > > I have a new back end software engineer role and a full stack software > engineer role here in Chicago that I wanted to run by you. My client is > technology agnostic meaning they do not care what stack you have experience > with. My client is a SaaS based mobile software company applying big data > predictive analytics to solve American?s alcohol and drug substance abuse > relapse problem. > > They are willing to pay up to $175,000 for this role. Are you open to > learning more about this new role in Chicago? If not, I do pay $1,500 > referral bonuses if you are willing to pass this role on. > > *WHAT ARE THEY BUILDING: * > > They are building a paradigm for real-time drug and alcohol interventions > and care for those with an addiction problem using a significant amount of > mobile data. Right now, 1 in 10 Americans are addicted to a substance and > yet, greater than 90% of people will relapse a year after treatment (many > dying). By utilizing an enormous amount of real-time data, they are able to > not only predict relapse before it happens, but build a pro-active care > model that spans years and actually works... making long-term sobriety a > likely outcome. That said, having many friends and family go through > various forms of treatment for a variety of mental health conditions, I can > say it is a very tough and complex problem. > > > *TECHNOLOGY AND ROLES: * > From a tech perspective they are building applications on both IOS and > Android, a robust API web service layer, customer facing web applications, > large-scale data processing, & machine learning analytics. You must have a > strong desire to be a part of a mission-driven company. For the back end > role we are looking for someone that has built a backend and infrastructure > from the ground up. For the full stack role they are technology agnostic; > you can experience with Python, Ruby, .Net, Java, PHP, Scala, etc. > > ?*COMPENSATION AND BENEFITS: * > > - 100% paid healthcare for you and spouse (if you have one) > - The work and problems you are solving will have a large impact on > the overall health of 1 out of every 10 Americans fighting substance abuse > - Being challenged every day by a talented & skilled engineering, data > science and leadership team > - Relocation package to Chicago (if necessary) > - Above average base salary for Chicago up to $175K > - Holding meaningful Equity in a big vision > - 100% Paid Healthcare Benefits > - Flexible hours > - Huge monitors and the latest Mac of your choice (or whatever makes > you happy and productive) > - Jeans/shorts + t-shirt dress code (if that counts as a dress code) > - State of the art office > > > -- > Best wishes, > > *Kaleb Dumot * > > President and IT Recruiter > Integrity Power Search > LinkedIn > Direct: (614) 312 - 6094 > > > *?Integrity is choosing your thoughts and actions based on values rather > than personal gain"* > > > > > > > > > You may unsubscribe > > if you no longer wish to receive our emails. > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan2600 at gmail.com Wed Sep 30 06:21:45 2015 From: allan2600 at gmail.com (Allan Spale) Date: Wed, 30 Sep 2015 04:21:45 +0000 Subject: [Chicago] Full Stack + Back End Software Engineer Opening up to $175, 000 in Chicago, IL - Substance Abuse -Mobile Healthcare @ SaaS Tech Company In-Reply-To: References: <56016f7f.d28e190a.663b1.3209SMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: Sorry for posting to the entire group... On Tue, Sep 29, 2015 at 11:20 PM Allan Spale wrote: > Hi Kaleb, > > This type of job interests me, but I don't know if I would be a good fit. > Would you have some time to talk this week about the types of jobs for > which you recruit? Being able to make a positive difference in other > people's lives is a huge motivator with the type of work I would want to > do. I don't have my resume handy right now, but you can see a fairly > up-to-date version on my LinkedIn profile. > > Thanks for your time. > > > Allan > > On Tue, Sep 22, 2015 at 10:10 AM Kaleb P. Dumot < > kaleb at integritypowersearch.com> wrote: > >> Hi Chicago Python UG - >> >> I have a new back end software engineer role and a full stack software >> engineer role here in Chicago that I wanted to run by you. My client is >> technology agnostic meaning they do not care what stack you have experience >> with. My client is a SaaS based mobile software company applying big data >> predictive analytics to solve American?s alcohol and drug substance abuse >> relapse problem. >> >> They are willing to pay up to $175,000 for this role. Are you open to >> learning more about this new role in Chicago? If not, I do pay $1,500 >> referral bonuses if you are willing to pass this role on. >> >> *WHAT ARE THEY BUILDING: * >> >> They are building a paradigm for real-time drug and alcohol interventions >> and care for those with an addiction problem using a significant amount of >> mobile data. Right now, 1 in 10 Americans are addicted to a substance and >> yet, greater than 90% of people will relapse a year after treatment (many >> dying). By utilizing an enormous amount of real-time data, they are able to >> not only predict relapse before it happens, but build a pro-active care >> model that spans years and actually works... making long-term sobriety a >> likely outcome. That said, having many friends and family go through >> various forms of treatment for a variety of mental health conditions, I can >> say it is a very tough and complex problem. >> >> >> *TECHNOLOGY AND ROLES: * >> From a tech perspective they are building applications on both IOS and >> Android, a robust API web service layer, customer facing web applications, >> large-scale data processing, & machine learning analytics. You must have a >> strong desire to be a part of a mission-driven company. For the back end >> role we are looking for someone that has built a backend and infrastructure >> from the ground up. For the full stack role they are technology agnostic; >> you can experience with Python, Ruby, .Net, Java, PHP, Scala, etc. >> >> ?*COMPENSATION AND BENEFITS: * >> >> - 100% paid healthcare for you and spouse (if you have one) >> - The work and problems you are solving will have a large impact on >> the overall health of 1 out of every 10 Americans fighting substance abuse >> - Being challenged every day by a talented & skilled engineering, >> data science and leadership team >> - Relocation package to Chicago (if necessary) >> - Above average base salary for Chicago up to $175K >> - Holding meaningful Equity in a big vision >> - 100% Paid Healthcare Benefits >> - Flexible hours >> - Huge monitors and the latest Mac of your choice (or whatever makes >> you happy and productive) >> - Jeans/shorts + t-shirt dress code (if that counts as a dress code) >> - State of the art office >> >> >> -- >> Best wishes, >> >> *Kaleb Dumot * >> >> President and IT Recruiter >> Integrity Power Search >> LinkedIn >> Direct: (614) 312 - 6094 >> >> >> *?Integrity is choosing your thoughts and actions based on values rather >> than personal gain"* >> >> >> >> >> >> >> >> >> You may unsubscribe >> >> if you no longer wish to receive our emails. >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikaeltamillow96 at gmail.com Wed Sep 30 14:15:59 2015 From: mikaeltamillow96 at gmail.com (Mike Tamillow) Date: Wed, 30 Sep 2015 07:15:59 -0500 Subject: [Chicago] Sympy for Python 3 ??? In-Reply-To: References: Message-ID: <9C78FFB1-5C19-46AE-B6A6-2C0C28DBE7E2@gmail.com> https://m.youtube.com/watch?v=X6WHBO_Qc-Q Sent from my iPhone > On Sep 29, 2015, at 9:51 PM, Lewit, Douglas wrote: > > Hey Will, > > Yep, I know you're right. I gotta do some networking and meet the right people who can help me with my future plans to become the greatest programmer in the world! Sarcasm intended. I'll be happy if I can become the greatest programmer in my neighborhood!!! :-) > > I sometimes have Sundays free, so right now I'm going to try to attend some of Lane's Sunday Django meetings. Besides, I really NEED to learn some serious web development. So far all I know is Big-O, sorting, the knapsack problem, addition algorithm, KNN-algorithm for machine learning, some divide and conquer stuff, some Unix/Linux stuff, you get the idea. But networking, security, and web development.... you know, how programmers really make their living, so far I know very little about that stuff. I gotta learn the practical stuff in order to get that paycheck. Besides, it looks fun! > > I promise Will.... I will do my best to attend some meet-ups. I just hope nobody looks at my programming work and says, "Oh god, there's our little Python retard!" If I end up becoming the Forrest Gump of ChiPy, I won't attend any of the meetings!!!! :-) > > >> On Tue, Sep 29, 2015 at 9:31 PM, William E. S. Clemens wrote: >> Doug, >> >> I strongly recommend that you make time to come to some events. One of biggest strengths of Python is the amazing community behind it. I know that there are events on Monday, Wednesday, Thursday and Sunday every month. I think that you will find the Chicago group to be extremely friendly and helpful. It is a great group of people to know if you are looking at getting into professional Python development in Chicago post graduation. >> >> Regards, >> Will >> >> -- >> William Clemens >> Phone: 847.485.9455 >> E-mail: wesclemens at gmail.com >> >>> On Tue, Sep 29, 2015 at 8:56 PM, Lewit, Douglas wrote: >>> Hi Joshua, >>> >>> My first name is Doug or Douglas, NOT Lewit!!!! LOL!!!! >>> >>> It seems like Project Night is usually on a Thursday night, right? Right now my Thursday nights look a little busy. Although I would probably learn more from Project Night than my Informatics professor, but.... he's got that PhD, and I guess those three magic letters means he knows everything about computer science, right? :-) >>> >>>> On Tue, Sep 29, 2015 at 8:11 PM, Joshua Herman wrote: >>>> Dear lewit, >>>> When do you have time to go to events like project nights in general ? Do you live on campus all of the time? What about going on a weekend or during winter break? >>>> Sincerely >>>> Joshua herman >>>>> On Tue, Sep 29, 2015 at 8:05 PM Lewit, Douglas wrote: >>>>> Exactly! I'm a little nervous about changing my $PATH variable because I'm definitely NOT a Unix administrator! I mean.... I know the basics, like cd, cp, mv, ls, ls -ld -- */, ls | wc -l, and some other cool stuff. But changing $PATH is a little scary to me! On the rare occasion when I do that stuff, I always use Emacs as my text editor. The great thing about Emacs is that when you edit a file, Emacs saves the original with a tilde following the name of the file. So if I want to edit bash.rc I end up with bash.rc and bash.rc~. If I totally screwed up bash.rc, then I just do this: >>>>> >>>>> mv bash.rc~ bash.rc >>>>> >>>>> That restores the previous bash.rc file. It overwrites the messed up file with the original correct file. BUT in general I'm very nervous about doing system changes like that. I tried doing a dual boot of Ubuntu and Kali Linux a while back. Big mistake!!!! I mistakenly deleted the grub file and then I was really SCREWED!!!! I had to do a fresh install of Ubuntu on my hard drive. That wasn't fun! (Ubuntu is pretty easy to install. Kali Linux is NOT easy to install unless you know a lot about networking, protocols, and other stuff that is currently beyond my knowledge of modern computation.) >>>>> >>>>> I would love to attend a Python Project Night. The problem is that those are always scheduled for a Thursday night. That's when I have my Informatics class. And since the class meets up once a week, missing a class for Python Project Night is probably not a smart move on my part. >>>>> >>>>> Oh hey there Safia! Thanks for writing. Much appreciated. >>>>> >>>>> >>>>>> On Tue, Sep 29, 2015 at 1:57 PM, William E. S. Clemens wrote: >>>>>> Os.chdir( ) is not what your looking for you need to add the path for your Anaconda packages to the sys.path list. That being said its generally not a good idea to mess with sys.path unless you know what your doing. It will almost surely break your code portability. >>>>>> >>>>>> If you need help setting up Python I would suggest that you go to Project Night. They are a great group of people and I'm sure they would be more then happy to get you started down the right path. >>>>>> >>>>>> http://www.meetup.com/ChicagoPythonistas/ >>>>>> >>>>>> >>>>>> -- >>>>>> William Clemens >>>>>> Phone: 847.485.9455 >>>>>> E-mail: wesclemens at gmail.com >>>>>> >>>>>>> On Tue, Sep 29, 2015 at 12:29 PM, Joshua Herman wrote: >>>>>>> How do people generally learn python? I think I have progressed in the following manner. >>>>>>> 0. Don't know what python is (First experience was from Carl Karsten telling me the general syntax rules. >>>>>>> 1. Start by using python script on the command line >>>>>>> 2. Play with IDLE / other IDEs/ Scripting >>>>>>> 4. Use python at school at the compbio laboratory and Alcatel Lucen >>>>>>> 5. Learn what virtualenv is and make them >>>>>>> 6. Learn what ipython is and use ipython >>>>>>> 7. Play with anaconda >>>>>>> 8. I am here >>>>>>> >>>>>>> Python is generally batteries included. Should ipython be a better starting point for people who install python? I think more scientific/ financial oriented people are doing the following. >>>>>>> 1. Get exposed to python to apply to work >>>>>>> 2. Use ipython by installing using anaconda and use it in a browser? possibly you don't even have a local install of python . >>>>>>> Now the person's goals will cause them to make a decision. >>>>>>> ?. Start by using python script on the command line >>>>>>> ?. Play with IDLE / other IDEs/ Scripting >>>>>>> ?. Learn what virtualenv is and make them >>>>>>> ?. Do web development >>>>>>> >>>>>>> I think that if more people are doing the second path maybe we should introduce python the second way instead of the first. For one reason setting up ipython or some notebook interface on some cloud server is probably going to become more common. The first way that people seem to learn python takes much more steps to do interesting things and once a person is hooked on python then they can learn the other steps. >>>>>>> >>>>>>> >>>>>>> >>>>>>>> On Tue, Sep 29, 2015 at 12:16 PM, sheila miguez wrote: >>>>>>>> >>>>>>>>> On Tue, Sep 29, 2015 at 11:51 AM, Lewit, Douglas wrote: >>>>>>>>> I think my answer was way too long! Sorry! Just trying to explain what's going on. I just wish there was a way that I could get IDLE to access all the modules that Anaconda can access. Not really sure how to do it without tearing apart my operating system. (And I really don't want to do that! ) I must say >>>>>>>> >>>>>>>> This is where the google it answer is helpful. A lot of times I'll have a question like this and will google and see some related stack overflow questions among other things. For this case I googled: using idle in anaconda >>>>>>>> >>>>>>>> That pulled up a mailing list discussion on the anaconda mailing list. It's an interesting thread, and you can see the devs saying that IDLE should be given better support. So that is nice for you to hear. >>>>>>>> >>>>>>>> https://groups.google.com/a/continuum.io/d/msg/anaconda/Dr8xFdKbA20/MWvhTO4KF8wJ >>>>>>>> >>>>>>>> The stack overflow response is http://stackoverflow.com/questions/26047185/import-anaconda-packages-to-idle >>>>>>>> >>>>>>>> Someone had the same problem you did. Try out the answer. It involves changing PATH, which is a normal kind of thing to do in an OS, and you won't need to worry about ripping apart your operating system. I don't know if the answer works, but it something to try. >>>>>>>> >>>>>>>> -- >>>>>>>> shekay at pobox.com >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Chicago mailing list >>>>>>>> Chicago at python.org >>>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Chicago mailing list >>>>>>> Chicago at python.org >>>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Chicago mailing list >>>>>> Chicago at python.org >>>>>> https://mail.python.org/mailman/listinfo/chicago >>>>> >>>>> _______________________________________________ >>>>> Chicago mailing list >>>>> Chicago at python.org >>>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: