From eric at intellovations.com Sun May 1 11:02:20 2016 From: eric at intellovations.com (Eric Floehr) Date: Sun, 1 May 2016 11:02:20 -0400 Subject: [CentralOH] focus for numpy/scipy presentations In-Reply-To: <20160430182741.2532ba807c2def625e3f9544@columbus.rr.com> References: <20160430182741.2532ba807c2def625e3f9544@columbus.rr.com> Message-ID: Neil, I am interested in numpy and scipy for image manipulation and analysis and would be interested in getting started with feature detection and image classification. Specifically for my timelapse project, I would like to identify features like birds, the moon, airplane lights, and of course clouds. I would also be interested in grouping sky images into groups automatically. You know that there is blue sky and completely overcast, but there are probably certain other types of sky and cloud cover that naturally group together and it would be neat to be able to identify those clusters. Don't know if any of that is possible, but that's my thoughts :-). Thanks! Eric On Sat, Apr 30, 2016 at 6:27 PM, Neil Ludban wrote: > At the last cohpy meeting, several people wrote down numpy and/or scipy > as desired topics for future presentations. These are very broad and > easily turn into boring overviews of python for matlab people. Does > anyone have requests for a presentation on a specific scipy module, > digital signal processing topic, or even an idea for a project that you > heard numpy/scipy would be good for but not sure how to get started? > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bim at digitalbim.com Sun May 1 11:15:21 2016 From: bim at digitalbim.com (Bim Walker) Date: Sun, 1 May 2016 11:15:21 -0400 Subject: [CentralOH] focus for numpy/scipy presentations In-Reply-To: References: <20160430182741.2532ba807c2def625e3f9544@columbus.rr.com> Message-ID: <641CA95F-10A3-4478-A7AC-60E9BCBC7DE6@digitalbim.com> Following up on what Eric said, I would also be interested in calling machine-learning frameworks from scipy, specifically things like Caffe. Bim On May 1, 2016, at 11:02 AM, Eric Floehr wrote: > Neil, > > I am interested in numpy and scipy for image manipulation and analysis and would be interested in getting started with feature detection and image classification. > > Specifically for my timelapse project, I would like to identify features like birds, the moon, airplane lights, and of course clouds. I would also be interested in grouping sky images into groups automatically. You know that there is blue sky and completely overcast, but there are probably certain other types of sky and cloud cover that naturally group together and it would be neat to be able to identify those clusters. > > Don't know if any of that is possible, but that's my thoughts :-). > > Thanks! > Eric > > > > On Sat, Apr 30, 2016 at 6:27 PM, Neil Ludban wrote: > At the last cohpy meeting, several people wrote down numpy and/or scipy > as desired topics for future presentations. These are very broad and > easily turn into boring overviews of python for matlab people. Does > anyone have requests for a presentation on a specific scipy module, > digital signal processing topic, or even an idea for a project that you > heard numpy/scipy would be good for but not sure how to get started? > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh -------------- next part -------------- An HTML attachment was scrubbed... URL: From gjigsaw at gmail.com Sun May 1 12:29:12 2016 From: gjigsaw at gmail.com (Jason Green) Date: Sun, 01 May 2016 16:29:12 +0000 Subject: [CentralOH] Testinfra = Serverspec - ruby In-Reply-To: References: <83D31940-1815-40F9-9715-6B9C6ADB5DF0@gmail.com> Message-ID: Someone requested this at the most recent monthly meeting. Python equivalent of Serverspec. > https://testinfra.readthedocs.io/en/latest/ > > "Testinfra aims to be a Serverspec equivalent in > python and is written as a plugin to the powerful Pytest > test engine" > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrewkubera at gmail.com Sun May 1 13:43:10 2016 From: andrewkubera at gmail.com (Andrew Kubera) Date: Sun, 1 May 2016 13:43:10 -0400 Subject: [CentralOH] Testinfra = Serverspec - ruby In-Reply-To: References: <83D31940-1815-40F9-9715-6B9C6ADB5DF0@gmail.com> Message-ID: So is the idea that you setup your build scripts (ansible or whatever) then have a series of tests to make sure that they do what you expect them to? -Andrew > On May 1, 2016, at 12:29 PM, Jason Green wrote: > > Someone requested this at the most recent monthly meeting. > > Python equivalent of Serverspec. >> https://testinfra.readthedocs.io/en/latest/ >> >> "Testinfra aims to be a Serverspec equivalent in python and is written as a plugin to the powerful Pytest test engine" > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh -------------- next part -------------- An HTML attachment was scrubbed... URL: From gjigsaw at gmail.com Sun May 1 14:42:05 2016 From: gjigsaw at gmail.com (Jason Green) Date: Sun, 01 May 2016 18:42:05 +0000 Subject: [CentralOH] Testinfra = Serverspec - ruby In-Reply-To: References: <83D31940-1815-40F9-9715-6B9C6ADB5DF0@gmail.com> Message-ID: Well, for TDD, you'd reverse the order of those steps, but yes. On Sun, May 1, 2016 at 1:43 PM Andrew Kubera wrote: > So is the idea that you setup your build scripts (ansible or whatever) > then have a series of tests to make sure that they do what you expect them > to? > > -Andrew > > > On May 1, 2016, at 12:29 PM, Jason Green wrote: > > Someone requested this at the most recent monthly meeting. > > Python equivalent of Serverspec. > >> https://testinfra.readthedocs.io/en/latest/ >> >> "Testinfra aims to be a Serverspec equivalent >> in python and is written as a plugin to the powerful Pytest >> test engine" >> >> >> _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sriveravi at gmail.com Mon May 2 08:14:25 2016 From: sriveravi at gmail.com (Samuel) Date: Mon, 2 May 2016 08:14:25 -0400 Subject: [CentralOH] CentralOH Digest, Vol 109, Issue 1 Message-ID: Regarding the numpy/scipy and the machine learning/image classification topic, have you heard of OpenCV? It has a ton of libraries and functions for doing machine learning things and image thing. I think that's a good starting point. Many of the popular feature detection and segmentation algorithms are already there. Images are essentially a numpy array. On Sun, May 1, 2016 at 12:00 PM, wrote: > Send CentralOH mailing list submissions to > centraloh at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/centraloh > or, via email, send a message with subject or body 'help' to > centraloh-request at python.org > > You can reach the person managing the list at > centraloh-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of CentralOH digest..." > > > Today's Topics: > > 1. focus for numpy/scipy presentations (Neil Ludban) > 2. 2016-04-29 ?? Scribbles ??/??? refactoring december meeting > dates dunning-kruger 3n+1 fizzbuzz sh ls -l -1 Win10 wx > venv/virtualenv v (ana|mini)conda pytest inittest scikit-learn > (jep200404 at columbus.rr.com) > 3. Re: focus for numpy/scipy presentations (Eric Floehr) > 4. Re: focus for numpy/scipy presentations (Bim Walker) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 30 Apr 2016 18:27:41 -0400 > From: Neil Ludban > To: "Mailing list for Central Ohio Python User Group (COhPy)" > > Subject: [CentralOH] focus for numpy/scipy presentations > Message-ID: <20160430182741.2532ba807c2def625e3f9544 at columbus.rr.com> > Content-Type: text/plain; charset=US-ASCII > > At the last cohpy meeting, several people wrote down numpy and/or scipy > as desired topics for future presentations. These are very broad and > easily turn into boring overviews of python for matlab people. Does > anyone have requests for a presentation on a specific scipy module, > digital signal processing topic, or even an idea for a project that you > heard numpy/scipy would be good for but not sure how to get started? > > > ------------------------------ > > Message: 2 > Date: Sat, 30 Apr 2016 20:21:17 -0400 > From: jep200404 at columbus.rr.com > To: centraloh at python.org > Subject: [CentralOH] 2016-04-29 ?? Scribbles ??/??? refactoring > december meeting dates dunning-kruger 3n+1 fizzbuzz sh ls -l -1 > Win10 > wx venv/virtualenv v (ana|mini)conda pytest inittest scikit-learn > Message-ID: <20160430202117.2f4f5b2b.jep200404 at columbus.rr.com> > Content-Type: text/plain; charset=UTF-8 > > Explore http://colug.net/python/dojo/20160429/. > > http://nbviewer.jupyter.org/url/colug.net/python/dojo/20160429/dojo-20160429-2016-Mar-COhPy_Challenge_Rough.ipynb > What more would you change for that in little function? > Played with refactoring a function from one of the previous challenges. > It was much fun. > > unskilled people are not as skilled as they think > > wp:Dunning?Kruger effect > > dumb people are dumber than they think > smart people are smarter than they think > > wp: prefix means Wikipedia > To get good answers, consider following the advice in the links below. > http://catb.org/~esr/faqs/smart-questions.html > > http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html > > colug.net/python/dojo/20160415/ > > ls -l > ls -1 > > dojo at 4519_n_high:~/sh$ virtualenv env > New python executable in env/bin/python > Installing setuptools, pip...done. > dojo at 4519_n_high:~/sh$ source env/bin/activate > (env)dojo at 4519_n_high:~/sh$ pip install sh > Downloading/unpacking sh > Downloading sh-1.11.tar.gz > Running setup.py (path:/home/dojo/sh/env/build/sh/setup.py) egg_info > for package sh > > Installing collected packages: sh > Running setup.py install for sh > > Successfully installed sh > Cleaning up... > (env)dojo at 4519_n_high:~/sh$ python2 > Python 2.7.6 (default, Jun 22 2015, 18:00:18) > [GCC 4.8.2] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import sh > >>> sh.ls('-l') > total 4 > drwxrwxr-x 6 dojo dojo 4096 Apr 24 22:04 env > > >>> sh.ls('-1') > env > > >>> > (env)dojo at 4519_n_high:~/sh$ > > Microsoft's Windows 10 nagware storms live TV weather forecast > http://www.theregister.co.uk/2016/04/28/windows_10_live_tv/ > > venv is preferred for Python3 > virtualenv is preferred for Python2 > > (ana|mini)conda versus virutalenv/venv > > from __future__ import print_function > > use pytest instead of unittest > friends don't let friends use unittest > > scikit-learn > > Oxford, serial, and Harvard commas > Stunk & White's Elements of Style > Kernighan & Plauger's The Elements of Programming Style > > Copy README.md > from https://github.com/cohpy/challenge-201604-words/raw/master/README.md > paste it into ipynb cell. > Make that cell a markdown cell. > > > ------------------------------ > > Message: 3 > Date: Sun, 1 May 2016 11:02:20 -0400 > From: Eric Floehr > To: "Mailing list for Central Ohio Python User Group (COhPy)" > > Subject: Re: [CentralOH] focus for numpy/scipy presentations > Message-ID: > QTtSn6O4BgtHguBVyqwjjmh48KDtsW9jw at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Neil, > > I am interested in numpy and scipy for image manipulation and analysis and > would be interested in getting started with feature detection and image > classification. > > Specifically for my timelapse project, I would like to identify features > like birds, the moon, airplane lights, and of course clouds. I would also > be interested in grouping sky images into groups automatically. You know > that there is blue sky and completely overcast, but there are probably > certain other types of sky and cloud cover that naturally group together > and it would be neat to be able to identify those clusters. > > Don't know if any of that is possible, but that's my thoughts :-). > > Thanks! > Eric > > > > On Sat, Apr 30, 2016 at 6:27 PM, Neil Ludban > wrote: > > > At the last cohpy meeting, several people wrote down numpy and/or scipy > > as desired topics for future presentations. These are very broad and > > easily turn into boring overviews of python for matlab people. Does > > anyone have requests for a presentation on a specific scipy module, > > digital signal processing topic, or even an idea for a project that you > > heard numpy/scipy would be good for but not sure how to get started? > > _______________________________________________ > > CentralOH mailing list > > CentralOH at python.org > > https://mail.python.org/mailman/listinfo/centraloh > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/centraloh/attachments/20160501/59ba2847/attachment-0001.html > > > > ------------------------------ > > Message: 4 > Date: Sun, 1 May 2016 11:15:21 -0400 > From: Bim Walker > To: "Mailing list for Central Ohio Python User Group (COhPy)" > > Subject: Re: [CentralOH] focus for numpy/scipy presentations > Message-ID: <641CA95F-10A3-4478-A7AC-60E9BCBC7DE6 at digitalbim.com> > Content-Type: text/plain; charset="us-ascii" > > > Following up on what Eric said, I would also be interested in calling > machine-learning frameworks from scipy, specifically things like Caffe. > > > Bim > > > On May 1, 2016, at 11:02 AM, Eric Floehr wrote: > > > Neil, > > > > I am interested in numpy and scipy for image manipulation and analysis > and would be interested in getting started with feature detection and image > classification. > > > > Specifically for my timelapse project, I would like to identify features > like birds, the moon, airplane lights, and of course clouds. I would also > be interested in grouping sky images into groups automatically. You know > that there is blue sky and completely overcast, but there are probably > certain other types of sky and cloud cover that naturally group together > and it would be neat to be able to identify those clusters. > > > > Don't know if any of that is possible, but that's my thoughts :-). > > > > Thanks! > > Eric > > > > > > > > On Sat, Apr 30, 2016 at 6:27 PM, Neil Ludban > wrote: > > At the last cohpy meeting, several people wrote down numpy and/or scipy > > as desired topics for future presentations. These are very broad and > > easily turn into boring overviews of python for matlab people. Does > > anyone have requests for a presentation on a specific scipy module, > > digital signal processing topic, or even an idea for a project that you > > heard numpy/scipy would be good for but not sure how to get started? > > _______________________________________________ > > CentralOH mailing list > > CentralOH at python.org > > https://mail.python.org/mailman/listinfo/centraloh > > > > _______________________________________________ > > CentralOH mailing list > > CentralOH at python.org > > https://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/centraloh/attachments/20160501/e7c6c054/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > > > ------------------------------ > > End of CentralOH Digest, Vol 109, Issue 1 > ***************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at joeshaw.org Mon May 2 09:14:10 2016 From: joe at joeshaw.org (Joe Shaw) Date: Mon, 2 May 2016 09:14:10 -0400 Subject: [CentralOH] focus for numpy/scipy presentations In-Reply-To: References: <20160430182741.2532ba807c2def625e3f9544@columbus.rr.com> Message-ID: Hi, On a related note, the "new hotness" for feature detection and classification is deep neural nets, and Google's open-source Tensorflow project makes these kinds of systems easier to write than ever before. You can write them in Python, leveraging numpy. Check out https://www.tensorflow.org/versions/r0.8/get_started/index.html for more info. Joe On Sun, May 1, 2016 at 11:02 AM, Eric Floehr wrote: > Neil, > > I am interested in numpy and scipy for image manipulation and analysis and > would be interested in getting started with feature detection and image > classification. > > Specifically for my timelapse project, I would like to identify features > like birds, the moon, airplane lights, and of course clouds. I would also > be interested in grouping sky images into groups automatically. You know > that there is blue sky and completely overcast, but there are probably > certain other types of sky and cloud cover that naturally group together > and it would be neat to be able to identify those clusters. > > Don't know if any of that is possible, but that's my thoughts :-). > > Thanks! > Eric > > > > On Sat, Apr 30, 2016 at 6:27 PM, Neil Ludban > wrote: > >> At the last cohpy meeting, several people wrote down numpy and/or scipy >> as desired topics for future presentations. These are very broad and >> easily turn into boring overviews of python for matlab people. Does >> anyone have requests for a presentation on a specific scipy module, >> digital signal processing topic, or even an idea for a project that you >> heard numpy/scipy would be good for but not sure how to get started? >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> https://mail.python.org/mailman/listinfo/centraloh >> > > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nludban at columbus.rr.com Mon May 2 13:08:55 2016 From: nludban at columbus.rr.com (Neil Ludban) Date: Mon, 2 May 2016 13:08:55 -0400 Subject: [CentralOH] focus for numpy/scipy presentations In-Reply-To: References: <20160430182741.2532ba807c2def625e3f9544@columbus.rr.com> Message-ID: <20160502130855.6f8add90274d316a48aa57cc@columbus.rr.com> Eric, I think this would make a good intro presentation: - Load an image from a file into a numpy matrix - Display a matrix as an image - Basic matrix operations (select a region of interest, convert to grayscale) - Convolution (smoothing and edge detection filters) - Correlation (finding motion between successive images) As others have pointed out, OpenCV already does this, but for these functions it's really just an optimized implementation of simple equations (actually, variations on one equation). You can still benefit from using numpy to prepare the inputs and to reduce the outputs. Machine learning on megapixels of input is computationally expensive, it is common to preprocess the image in order to reduce the amount of time needed. Are your timelapse images available online, or could you post a small number of representative images for me to experiment with? On Sun, 1 May 2016 11:02:20 -0400 Eric Floehr wrote: > Neil, > > I am interested in numpy and scipy for image manipulation and analysis and > would be interested in getting started with feature detection and image > classification. > > Specifically for my timelapse project, I would like to identify features > like birds, the moon, airplane lights, and of course clouds. I would also > be interested in grouping sky images into groups automatically. You know > that there is blue sky and completely overcast, but there are probably > certain other types of sky and cloud cover that naturally group together > and it would be neat to be able to identify those clusters. > > Don't know if any of that is possible, but that's my thoughts :-). > > Thanks! > Eric > > > > On Sat, Apr 30, 2016 at 6:27 PM, Neil Ludban > wrote: > > > At the last cohpy meeting, several people wrote down numpy and/or scipy > > as desired topics for future presentations. These are very broad and > > easily turn into boring overviews of python for matlab people. Does > > anyone have requests for a presentation on a specific scipy module, > > digital signal processing topic, or even an idea for a project that you > > heard numpy/scipy would be good for but not sure how to get started? > > _______________________________________________ > > CentralOH mailing list > > CentralOH at python.org > > https://mail.python.org/mailman/listinfo/centraloh > > From winningham at gmail.com Mon May 2 13:19:11 2016 From: winningham at gmail.com (Thomas Winningham) Date: Mon, 2 May 2016 13:19:11 -0400 Subject: [CentralOH] focus for numpy/scipy presentations In-Reply-To: <20160502130855.6f8add90274d316a48aa57cc@columbus.rr.com> References: <20160430182741.2532ba807c2def625e3f9544@columbus.rr.com> <20160502130855.6f8add90274d316a48aa57cc@columbus.rr.com> Message-ID: Just wanted to add a note about a thing I was playing with. Some of the RNN stuff is built around CUDA, but I happened to be on a machine that didn't have an NVidia card. I wanted to play around with this "style transfer" stuff. This is sort of a RNN in reverse like Deep Dream and such, but with regular photos producing a non-LSD like result. Anyway, I found this library, and after playing with a Docker image that had an old version of Caffe, I managed to update all of that and get it working. https://github.com/fzliu/style-transfer Mostly all I did was run the demo software that comes with it, but it did work with just the CPU and no GPU, and could be a fund Saturday afternoon for anyone on the list to play around with, or send freaky images to friends or make a new profile picture (heh). -t On Mon, May 2, 2016 at 1:08 PM, Neil Ludban wrote: > Eric, > > I think this would make a good intro presentation: > - Load an image from a file into a numpy matrix > - Display a matrix as an image > - Basic matrix operations (select a region of interest, convert to > grayscale) > - Convolution (smoothing and edge detection filters) > - Correlation (finding motion between successive images) > > As others have pointed out, OpenCV already does this, but for these > functions it's really just an optimized implementation of simple > equations (actually, variations on one equation). You can still > benefit from using numpy to prepare the inputs and to reduce the > outputs. Machine learning on megapixels of input is computationally > expensive, it is common to preprocess the image in order to reduce > the amount of time needed. > > Are your timelapse images available online, or could you post a small > number of representative images for me to experiment with? > > > On Sun, 1 May 2016 11:02:20 -0400 > Eric Floehr wrote: > > Neil, > > > > I am interested in numpy and scipy for image manipulation and analysis > and > > would be interested in getting started with feature detection and image > > classification. > > > > Specifically for my timelapse project, I would like to identify features > > like birds, the moon, airplane lights, and of course clouds. I would also > > be interested in grouping sky images into groups automatically. You know > > that there is blue sky and completely overcast, but there are probably > > certain other types of sky and cloud cover that naturally group together > > and it would be neat to be able to identify those clusters. > > > > Don't know if any of that is possible, but that's my thoughts :-). > > > > Thanks! > > Eric > > > > > > > > On Sat, Apr 30, 2016 at 6:27 PM, Neil Ludban > > wrote: > > > > > At the last cohpy meeting, several people wrote down numpy and/or scipy > > > as desired topics for future presentations. These are very broad and > > > easily turn into boring overviews of python for matlab people. Does > > > anyone have requests for a presentation on a specific scipy module, > > > digital signal processing topic, or even an idea for a project that you > > > heard numpy/scipy would be good for but not sure how to get started? > > > _______________________________________________ > > > CentralOH mailing list > > > CentralOH at python.org > > > https://mail.python.org/mailman/listinfo/centraloh > > > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jaydclouse at gmail.com Wed May 4 09:30:03 2016 From: jaydclouse at gmail.com (Jay Clouse) Date: Wed, 4 May 2016 09:30:03 -0400 Subject: [CentralOH] Startup Weekend: Smart City Edition May 13-15 (Discount inside) Message-ID: Hey guys, Wanted to shoot you all a note that Startup Weekend is rolling around again next weekend, May 13-15 at Rev1 Ventures. This event is piggy backing on the city's efforts to win a $40M+ grant from the USDOT for "Smart City" initiatives. Most of you are probably familiar with the event, so I'll leave the boilerplate for the end. Would love to have some of you talented folks come work on some big ideas. If you use the promo code PYTHON you will save 50%. Full event details/people involved seen at www.swcbus.com. Hope to see you there! -- All Startup Weekend events follow the same basic model: Anyone is welcome to pitch their startup idea and receive feedback from their peers. Teams organically form around the top ideas (as determined by popular vote) and then it's a 54-hour frenzy of business model creation, coding, UX/design, and market validation. The weekend culminates with presentations in front of local entrepreneurial leaders with another opportunity for feedback and to win prizes. This event is specifically focused on Smart City topics, meaning that every idea pitched and worked on will need to pertain to topics such as: - Transportation - Infrastructure - Internet Accessibility - Sustainability - City Planning - Water - Energy - Urban Agriculture - Waste/Recycling - ?or any other Smart City vertical! *Jay Clouse *-- jayclouse.com || *+1.419.852.9976* Tixers || Chief Operating Officer Create Columbus * || *Commissioner Startup Weekend || Facilitator & Organizer -------------- next part -------------- An HTML attachment was scrubbed... URL: From kurtis.mullins at gmail.com Wed May 4 11:42:05 2016 From: kurtis.mullins at gmail.com (Kurtis Mullins) Date: Wed, 04 May 2016 15:42:05 +0000 Subject: [CentralOH] Startup Weekend: Smart City Edition May 13-15 (Discount inside) In-Reply-To: References: Message-ID: Hey, I'm a little confused. You have to pay to attend this event? I've attended similar events in places like San Francisco and Atlanta, but they were completely paid for by the sponsoring organizations. It benefited the investors because they got the first chance at any products/ideas coming out. It also benefitted the sponsors because their name was seen (advertising/promotion). Thanks! -Kurtis Mullins On Wed, May 4, 2016 at 11:34 AM Jay Clouse wrote: > Hey guys, > > Wanted to shoot you all a note that Startup Weekend is rolling around > again next weekend, May 13-15 at Rev1 Ventures. This event is piggy backing > on the city's efforts to win a $40M+ grant from the USDOT for "Smart City" > initiatives. > > Most of you are probably familiar with the event, so I'll leave the > boilerplate for the end. Would love to have some of you talented folks come > work on some big ideas. If you use the promo code PYTHON you will save > 50%. > > > Full event details/people involved seen at www.swcbus.com. Hope to see > you there! > -- > > All Startup Weekend events follow the same basic model: Anyone is welcome > to pitch their startup idea and receive feedback from their peers. Teams > organically form around the top ideas (as determined by popular vote) and > then it's a 54-hour frenzy of business model creation, coding, UX/design, > and market validation. The weekend culminates with presentations in front > of local entrepreneurial leaders with another opportunity for feedback and > to win prizes. > > This event is specifically focused on Smart City topics, meaning that > every idea pitched and worked on will need to pertain to topics such as: > > - Transportation > - Infrastructure > - Internet Accessibility > - Sustainability > - City Planning > - Water > - Energy > - Urban Agriculture > - Waste/Recycling > - ?or any other Smart City vertical! > > > *Jay Clouse *-- > jayclouse.com || *+1.419.852.9976* > Tixers || Chief Operating Officer > Create Columbus * || *Commissioner > Startup Weekend || Facilitator & Organizer > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Wed May 4 13:39:51 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 4 May 2016 13:39:51 -0400 Subject: [CentralOH] 2016-05-04 Yats Napkin Scribbles: best first programming language: python; leading zero; set bourne v bash; emacs v vi; Meta key woot shirts cerberus, FriSatSun Message-ID: <20160504133951.5ffb7792.jep200404@columbus.rr.com> What is best first programming language to learn? first answer: shell leading zero for numerical comparison set Bourne v bash bash emacs is default ^R history vi is supported, but is not default How to use Meta key through ssh? woot shirts wp:Cerberus last week of month that has Friday, Saturday, and Sunday What day of the week do weeks start on? From hippieben at gmail.com Wed May 4 13:40:33 2016 From: hippieben at gmail.com (Ben Sebastian) Date: Wed, 04 May 2016 17:40:33 +0000 Subject: [CentralOH] 2016-05-04 Yats Napkin Scribbles: best first programming language: python; leading zero; set bourne v bash; emacs v vi; Meta key woot shirts cerberus, FriSatSun In-Reply-To: <20160504133951.5ffb7792.jep200404@columbus.rr.com> References: <20160504133951.5ffb7792.jep200404@columbus.rr.com> Message-ID: On Wed, May 4, 2016, 1:40 PM wrote: > What is best first programming language to learn? > > first answer: shell > > leading zero for numerical comparison > > set > > Bourne v bash > > bash > > emacs is default > ^R history > vi is supported, but is not default > > How to use Meta key through ssh? > > woot shirts > wp:Cerberus > > last week of month that has Friday, Saturday, and Sunday > What day of the week do weeks start on? > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Wed May 4 19:46:41 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 4 May 2016 19:46:41 -0400 Subject: [CentralOH] =?utf-8?q?2015-04-24_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gOHBpbm8uY2MgcGVwOCBjb25zdGFudHMgcmVmYWN0?= =?utf-8?q?oring?= Message-ID: <20160504194641.7c6920d6.jep200404@columbus.rr.com> We have been having enough people the last few weeks that someone asked when we are moving to a bigger place. 8pino.cc https://www.python.org/dev/peps/pep-0008/#constants refactor some code. He did most of typing. I talked him through using vim. From pstryjew at columbus.rr.com Thu May 5 09:16:02 2016 From: pstryjew at columbus.rr.com (Peter Stryjewski) Date: Thu, 5 May 2016 09:16:02 -0400 Subject: [CentralOH] O'Reilly Deal of the Day - Python Playground Message-ID: O'Reilly Books Deal of the Day Python Playground (Geek Projects for the Curious Programmer) http://shop.oreilly.com/product/9781593276041.do?code=DEAL 50% off through 8AM (EDT) 5/6/16 From jep200404 at columbus.rr.com Sat May 7 14:00:54 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sat, 7 May 2016 14:00:54 -0400 Subject: [CentralOH] =?utf-8?q?2015-05-06_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gJSBhcnQgZXBoZXN1cyBiYWQgY29kZSBib3R1bGlz?= =?utf-8?q?m_brokers_feathers_gzip_bzip2_xz_2v3_scotts_v_eu_dark_shoals_mo?= =?utf-8?q?dels_r_fabrice_think_=27and=27_v_if_podcasts_ipywidgets_color_d?= =?utf-8?q?ale_carnegie_pythonista_swift_words_django_hot_club_tis100_fact?= =?utf-8?q?orio_dd_al_sweigart_xrandr_bengal_flask_websockets?= Message-ID: <20160507140054.5998e4be.jep200404@columbus.rr.com> predict the output 3.25 % 3.5, 3.25 % 1, 3.25 % -1, -.25 % 3.5, -.25 % -3.5, .25 % -3.5, .25 % 3.5 The Jubilee Museum Catholic religious art Grubb St http://jubileemuseum.org/ wp:House of the Virgin Mary wp:Ephesus wp:Rhodes wp:Sea of Marmara p: prefix means Wikipedia To get good answers, consider following the advice in the links below. http://catb.org/~esr/faqs/smart-questions.html http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html trackalicious spamalicious The Complete Guide to Approaching Your Dev Team When They Write Bad Code https://smartbear.com/ppc/ebooks/complete-guide-to-approaching-your-dev-team/?sr=cohpydojo_trackalicious_spamalicious Botulism death tied to Lancaster church potluck http://www.dispatch.com/content/stories/local/2015/04/22/Updated-botulism-cases.html http://www.dispatch.com/content/stories/local/2015/04/21/botulism-lancaster.html wp:Interactive Brokers http://blog.codinghorror.com/heres-the-programming-game-you-never-asked-for/ wp:The Four Feathers (disambiguation) Played with gzip, bzip2, and xz comressing image of a new flash drive. compression bzip2 and xz were similar, with bzip2 being the best. gzip was worst, yielding a file about 2.5 times bigger than bzip2 and xz. speed gzip was the fastest by far. It was faster than reading flash drive. xz was the slowest by far, about 2.5 times slower than bzip2. bzip2 was almost as fast as just reading the flash drive. [root at 4519_n_high 20160502-sandisk-cruzer-glide-16gb]# ll * bzip2: total 10944 -rwxr-xr--. 1 root root 307 Dec 14 21:56 foo -rw-r--r--. 1 root root 1561 May 2 16:09 log -rw-r--r--. 1 root root 11183992 May 2 15:38 sdb.1.bz2 -rw-r--r--. 1 root root 132 May 2 16:00 sdb.bz2.bunzip2.SHA1SUM -rw-r--r--. 1 root root 132 May 2 16:00 sdb.bz2.SHA1SUM -rw-r--r--. 1 root root 132 May 2 16:00 sdb.SHA1SUM gzip: total 25908 -rwxr-xr--. 1 root root 301 May 2 16:44 foo -rw-r--r--. 1 root root 1587 May 2 21:06 log -rw-r--r--. 1 root root 26506407 May 2 17:53 sdb.1.gz -rw-r--r--. 1 root root 132 May 2 18:12 sdb.gz.gunzip.SHA1SUM -rw-r--r--. 1 root root 132 May 2 18:12 sdb.gz.SHA1SUM -rw-r--r--. 1 root root 132 May 2 18:12 sdb.SHA1SUM xz: total 11684 -rwxr-xr--. 1 root root 306 May 2 11:56 foo -rw-r--r--. 1 root root 1545 May 2 17:44 log -rw-r--r--. 1 root root 11943768 May 2 16:36 sdb.1.xz -rw-r--r--. 1 root root 132 May 2 17:30 sdb.SHA1SUM -rw-r--r--. 1 root root 132 May 2 17:30 sdb.xz.SHA1SUM -rw-r--r--. 1 root root 132 May 2 17:30 sdb.xz.unxz.SHA1SUM [root at 4519_n_high 20160502-sandisk-cruzer-glide-16gb]# head -n 1000 */foo ==> bzip2/foo <== #!/bin/bash drive=sdb fdisk -l /dev/"$drive" for i in `seq 3`; do date time dd if=/dev/"$drive" bs=1M | tee "$drive".$i >(sha1sum >>"$drive".SHA1SUM) | bzip2 | tee "$drive".$i.bz2 >(sha1sum >>"$drive".bz2.SHA1SUM) | bunzip2 | sha1sum >>"$drive".bz2.bunzip2.SHA1SUM date done ==> gzip/foo <== #!/bin/bash drive=sdb fdisk -l /dev/"$drive" for i in `seq 3`; do date time dd if=/dev/"$drive" bs=1M | tee "$drive".$i >(sha1sum >>"$drive".SHA1SUM) | gzip | tee "$drive".$i.gz >(sha1sum >>"$drive".gz.SHA1SUM) | gunzip | sha1sum >>"$drive".gz.gunzip.SHA1SUM date done ==> xz/foo <== #!/bin/bash drive=sdb fdisk -l /dev/"$drive" for i in `seq 3`; do date time dd if=/dev/"$drive" bs=1M | tee "$drive".$i >(sha1sum >>"$drive".SHA1SUM) | xz | tee "$drive".$i.xz >(sha1sum >>"$drive".xz.SHA1SUM) | xz --decompress | sha1sum >>"$drive".xz.unxz.SHA1SUM date done [root at 4519_n_high 20160502-sandisk-cruzer-glide-16gb]# head -n 1000 */log ==> bzip2/log <== [root at 4519_n_high bzip2]# ./foo Disk /dev/sdb: 15.5 GB, 15522070528 bytes, 30316544 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 32 30316543 15158256 c W95 FAT32 (LBA) Mon May 2 15:27:56 EDT 2016 14803+0 records in 14803+0 records out 15522070528 bytes (16 GB) copied, 641.663 s, 24.2 MB/s real 10m58.786s user 5m15.281s sys 1m12.339s Mon May 2 15:38:54 EDT 2016 Mon May 2 15:38:54 EDT 2016 14803+0 records in 14803+0 records out 15522070528 bytes (16 GB) copied, 641.972 s, 24.2 MB/s real 10m59.356s user 5m14.247s sys 1m13.143s Mon May 2 15:49:54 EDT 2016 Mon May 2 15:49:54 EDT 2016 14803+0 records in 14803+0 records out 15522070528 bytes (16 GB) copied, 641.799 s, 24.2 MB/s real 10m59.113s user 5m15.332s sys 1m12.831s Mon May 2 16:00:53 EDT 2016 [root at 4519_n_high bzip2]# head *SUM ==> sdb.bz2.bunzip2.SHA1SUM <== 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - ==> sdb.bz2.SHA1SUM <== 399e5381c9117254f85d5c4a7cc724ed96838439 - 399e5381c9117254f85d5c4a7cc724ed96838439 - 399e5381c9117254f85d5c4a7cc724ed96838439 - ==> sdb.SHA1SUM <== 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - [root at 4519_n_high bzip2]# ==> gzip/log <== [root at 4519_n_high gzip]# ./foo Disk /dev/sdb: 15.5 GB, 15522070528 bytes, 30316544 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 32 30316543 15158256 c W95 FAT32 (LBA) Mon May 2 17:44:19 EDT 2016 14803+0 records in 14803+0 records out 15522070528 bytes (16 GB) copied, 558.157 s, 27.8 MB/s real 9m18.361s user 4m22.990s sys 1m1.818s Mon May 2 17:53:37 EDT 2016 Mon May 2 17:53:37 EDT 2016 14803+0 records in 14803+0 records out 15522070528 bytes (16 GB) copied, 558.492 s, 27.8 MB/s real 9m18.696s user 4m23.604s sys 1m2.255s Mon May 2 18:02:56 EDT 2016 Mon May 2 18:02:56 EDT 2016 14803+0 records in 14803+0 records out 15522070528 bytes (16 GB) copied, 557.125 s, 27.9 MB/s real 9m17.331s user 4m23.001s sys 1m1.616s Mon May 2 18:12:13 EDT 2016 [root at 4519_n_high gzip]# head *SUM ==> sdb.gz.gunzip.SHA1SUM <== 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - ==> sdb.gz.SHA1SUM <== 8d41e87c318a18358a75594d99c26b3408133a65 - 1772d2cfad78c4f673914087f6a2fac57bc6f059 - bd2ec5bb1e7f70ff7008d184f938e078c3e4b120 - ==> sdb.SHA1SUM <== 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - You have mail in /var/spool/mail/root [root at 4519_n_high gzip]# ==> xz/log <== [root at 4519_n_high xz]# ./foo Disk /dev/sdb: 15.5 GB, 15522070528 bytes, 30316544 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 32 30316543 15158256 c W95 FAT32 (LBA) Mon May 2 16:09:48 EDT 2016 14803+0 records in 14803+0 records out 15522070528 bytes (16 GB) copied, 1622.62 s, 9.6 MB/s real 27m2.833s user 24m24.162s sys 1m20.081s Mon May 2 16:36:51 EDT 2016 Mon May 2 16:36:51 EDT 2016 14803+0 records in 14803+0 records out 15522070528 bytes (16 GB) copied, 1620.79 s, 9.6 MB/s real 27m1.045s user 24m21.896s sys 1m20.101s Mon May 2 17:03:52 EDT 2016 Mon May 2 17:03:52 EDT 2016 14803+0 records in 14803+0 records out 15522070528 bytes (16 GB) copied, 1619.36 s, 9.6 MB/s real 26m59.587s user 24m21.973s sys 1m18.129s Mon May 2 17:30:52 EDT 2016 [root at 4519_n_high xz]# head *SUM ==> sdb.SHA1SUM <== 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - ==> sdb.xz.SHA1SUM <== b4affe02c463e3bcc010a974ec580713d1bdb7a0 - b4affe02c463e3bcc010a974ec580713d1bdb7a0 - b4affe02c463e3bcc010a974ec580713d1bdb7a0 - ==> sdb.xz.unxz.SHA1SUM <== 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - 990aa4b440fe93a022c02e5f86298be7e36f06d6 - [root at 4519_n_high xz]# Should I use Python 2 or Python 3 for my development activity? https://wiki.python.org/moin/Python2orPython3 U.K. Voters Fear Scottish Independence More Than Leaving EU http://english.chosun.com/site/data/html_dir/2016/05/04/2016050400619.html wp:Muscle Shoals wp:Black?Scholes Models.Behaving.Badly https://telecomseim.blogspot.sg/2015/11/dysdatia-data-blindness-and-you.html wp:R (programming language) ^R is a bashism _not_ restricted to emacs mode. wp:Fabrice Bellard wp:Better Portable Graphics Never The Same Color is not dead http://bellard.org/dvbt/ http://www0.us.ioccc.org/2000/bellard.hint Central Ohio Obfuscated Python Code Contest wp:Don't Make Me Think web.standards.solutions friendsofed https://www.eff.org/deeplinks/2016/04/rule-41-little-known-committee-proposes-grant-new-hacking-powers-government max_x == 51. and print('gc1', i) if max_x == 51.: print('gc1', i) jupyter released ipywidgets 5.0 podcasts podcast.__init__ http://podcastinit.com/ talk python to me https://talkpython.fm/ python & enterprise myths head of python visual studio project scrapy Miguel http://blog.miguelgrinberg.com/ says flask is scalable http://blog.miguelgrinberg.com/post/flask-at-scale-tutorial-at-pycon-2016-in-portland websockets socket.io turbogears read the docs pep process, discussing how some of them worked functional programming from a couple of data guys Barry color is important how to remember names wp:Dale Carnegie wp:How to Win Friends and Influence People Dale Carnegie Course in Effective Speaking and Human Relations ios pythonista wp:Swift (programming language) count words challenge define words: each letter is a word omit vowels, except for words that have no consonants each syllable is a word how to words are those in unix dictionary words are those in online dictionary Django Hot Club wp:TIS-100 wp:Zachtronics Industries wp:factorio http://inventwithpython.com/ likes Automate the Boring Stuff with Python asdf at asdf.com dd examples dd if=/dev/sda of=/dev/sdb ;# copy first hard drive to second hard drive dd if=/dev/sda of=sda.img.backup ;# copy first hard drive to file dd if=/dev/zero of=/dev/sda ;# fill first hard drive with zeroes dd if=/dev/random of=/dev/sda ;# fill first hard drive with random bytes dd if=/dev/sdb bs=1M | xxd -g 1 -u | awk '{new=substr($0,10);if (new!=old) {print $0;elipsis=0} else if (!elipsis) {print "...";elipsis=1};old=new}' | less dd if=/dev/zero bs=1M count=1k of=foo.img fdisk foo.raw losetup -o `echo 63 '*' 512 | bc` -f foo.raw mkfs.ext4 /dev/loop0 mount -r /dev/loop0 mnt umount /dev/loop0 losetup -d /dev/loop0 standing desks triple monitors rotate monitors, so some are much taller than wide xrandr: does much, but need to rtfm AND experiment https://mail.python.org/pipermail/centraloh/2012-May/001270.html https://mail.python.org/pipermail/centraloh/2012-July/001336.html wp:Bengal cat flask websockets http://www.matthieuamiguet.ch/blog/synchronize-clients-flask-application-websockets From jep200404 at columbus.rr.com Sun May 8 18:36:38 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sun, 8 May 2016 18:36:38 -0400 Subject: [CentralOH] How To Show Incremental Changes Between Cells in Jupyter Notebook? Message-ID: <20160508183638.384911c5.jep200404@columbus.rr.com> I need a better way to show differences between Jupyter Notebook cells to show incremental improvements while refactoring. What better ways can you think of? How would you do it? I have been refactoring in Jupyter Notebook for others to learn from. I start with some small code in a cell, copy it into a new cell and change something. There are many small changes, so there are many cells. When looking back, it would be nice to see what the differences are without relying on one's eyeballs to notice all the changes. Explore: http://nbviewer.jupyter.org/url/colug.net/python/dojo/20160429/dojo-20160429-2016-Mar-COhPy_Challenge_Rough-20160507-2148.ipynb Something that is not mentioned in the bottom cell is that it would be nice for it to work in MS Windows and Apple as well as Linux. From jep200404 at columbus.rr.com Sun May 8 19:42:29 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sun, 8 May 2016 19:42:29 -0400 Subject: [CentralOH] 2016-05-11 11:30 Wednesday Python Lunch at Cafe Istanbul Message-ID: <20160508194229.3a12d497.jep200404@columbus.rr.com> Wednesday Python Lunch at Cafe Istanbul May 11, 2016, 11:30 a.m. Cafe Istanbul 3983 Worth Ave. Columbus, OH 43219 We'll be meeting for good food and good company. Join us to talk Python, programming, or anything else! Set cohpy.org for links. From eric at intellovations.com Sun May 8 20:27:36 2016 From: eric at intellovations.com (Eric Floehr) Date: Sun, 8 May 2016 20:27:36 -0400 Subject: [CentralOH] 2016-05-11 11:30 Wednesday Python Lunch at Cafe Istanbul In-Reply-To: <20160508194229.3a12d497.jep200404@columbus.rr.com> References: <20160508194229.3a12d497.jep200404@columbus.rr.com> Message-ID: RSVP Here: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/230977736/ On Sun, May 8, 2016 at 7:42 PM, wrote: > Wednesday Python Lunch at Cafe Istanbul > > May 11, 2016, 11:30 a.m. > > Cafe Istanbul > 3983 Worth Ave. Columbus, OH 43219 > > We'll be meeting for good food and good company. > Join us to talk Python, programming, or anything else! > > Set cohpy.org for links. > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at pyohio.org Mon May 9 10:44:53 2016 From: info at pyohio.org (=?utf-8?Q?PyOhio=2C=20Inc.?=) Date: Mon, 9 May 2016 14:44:53 +0000 Subject: [CentralOH] =?utf-8?q?PyOhio_2016_-_Registration_Open_Now_-_CFP_O?= =?utf-8?b?cGVuIC0gU2Vla2luZyBTcG9uc29yc8Kg8J+QjcKg8J+Ygw==?= Message-ID: <8c9245b985e483ce2777296fbc26f2dea68.20160509144425@mail96.suw17.mcsv.net> PyOhio registration is open now! View this email in your browser (http://us3.campaign-archive2.com/?u=8c9245b985e483ce2777296fb&id=eea1c28a75&e=c26f2dea68) ** TL;DR version: Registration is open. We still need speaker submissions. We still need sponsors. ------------------------------------------------------------ ** PyOhio 2016 Registration is Open! ------------------------------------------------------------ PyOhio is a free event but attendees must register through Eventbrite. Registration is now officially open and you can register here: Register for PyOhio 2016 (http://pyohio.us3.list-manage.com/track/click?u=8c9245b985e483ce2777296fb&id=721b701a64&e=c26f2dea68) Please note that there are ticket+t-shirt and ticket-only options. If you have already registered and would like to add a t-shirt, please return tho the link above and checkout with the t-shirt option. ** PyOhio 2016 CFP Open until May 15 ------------------------------------------------------------ PyOhio invites all interested people to submit proposals for scheduled talks, tutorials, and panels. All topics of interest to Python programmers will be considered. Presentation talk slots are 40-minutes or 20-minutes (plus short Q&A time.) Tutorial slots are 110 minutes long. ** Who Should Submit a Proposal? ------------------------------------------------------------ You. Your friends. Your friends' friends. Anyone with any level of Python knowledge is a candidate for a great topic at this conference. As we get attendees of all kinds, we need speakers of all kinds. In particular, we welcome submissions from first-time speakers! ** Apply by May 15 ------------------------------------------------------------ The proposal deadline is May 15 but the earlier you submit, the better! Our reviewers will provide feedback as they review proposals. The earlier you submit your proposals, the more time you have to get?and respond to?feedback. If you have any questions, reply to this email or ask us on Twitter. Details: http://pyohio.us3.list-manage.com/track/click?u=8c9245b985e483ce2777296fb&id=e749222640&e=c26f2dea68 ** Sponsors ------------------------------------------------------------ PyOhio is a FREE event and relies on the generosity of sponsors to keep it that way. If you know of any organizations that wish to support PyOhio, please have them visit our Sponsor Prospectus (http://pyohio.us3.list-manage.com/track/click?u=8c9245b985e483ce2777296fb&id=2e834e2483&e=c26f2dea68) and then Apply to be a Sponsor (http://pyohio.us3.list-manage.com/track/click?u=8c9245b985e483ce2777296fb&id=e91f6e8ec7&e=c26f2dea68) or reply to this email with any questions. ** PyOhio Basics ------------------------------------------------------------ PyOhio 2016 is Sat July 30 - Sun July 31 at the Ohio Union in Columbus, OH Hotel info TBA ============================================================ ** (http://pyohio.us3.list-manage.com/track/click?u=8c9245b985e483ce2777296fb&id=6b0ca4cc04&e=c26f2dea68) ** (http://pyohio.us3.list-manage1.com/track/click?u=8c9245b985e483ce2777296fb&id=373e0149fd&e=c26f2dea68) ** (http://pyohio.us3.list-manage1.com/track/click?u=8c9245b985e483ce2777296fb&id=753b5413e0&e=c26f2dea68) This email was sent to centraloh at python.org (mailto:centraloh at python.org) why did I get this? (http://pyohio.us3.list-manage.com/about?u=8c9245b985e483ce2777296fb&id=ebb557184f&e=c26f2dea68&c=eea1c28a75) unsubscribe from this list (http://pyohio.us3.list-manage1.com/unsubscribe?u=8c9245b985e483ce2777296fb&id=ebb557184f&e=c26f2dea68&c=eea1c28a75) update subscription preferences (http://pyohio.us3.list-manage1.com/profile?u=8c9245b985e483ce2777296fb&id=ebb557184f&e=c26f2dea68) PyOhio, Inc. . 79 Bohyer Avenue, Pataskala, OH, United States . Columbus, Oh 43224 . USA Email Marketing Powered by MailChimp http://www.mailchimp.com/monkey-rewards/?utm_source=freemium_newsletter&utm_medium=email&utm_campaign=monkey_rewards&aid=8c9245b985e483ce2777296fb&afl=1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Mon May 9 20:42:11 2016 From: eric at intellovations.com (Eric Floehr) Date: Mon, 9 May 2016 20:42:11 -0400 Subject: [CentralOH] focus for numpy/scipy presentations In-Reply-To: <20160502130855.6f8add90274d316a48aa57cc@columbus.rr.com> References: <20160430182741.2532ba807c2def625e3f9544@columbus.rr.com> <20160502130855.6f8add90274d316a48aa57cc@columbus.rr.com> Message-ID: Neil, I have two image sets available. The first is my entire first version of my timelapse, which was a shot every minute from a 640x480 webcam. It is 9.1GB compressed and is available here: https://dl.dropboxusercontent.com/u/322193/pyohio2012/talk/webcam_pictures.tgz I also have a single day available that contains a lot of bird images. Here is an image I made by stacking and taking the darkest value of each pixel for the day, then doing some white balancing: https://twitter.com/ForecastWatch/status/568131899929051136 Here is the archive of pictures for that day, which is about 2.1GB compressed: https://www.dropbox.com/s/m4ggawa25bfqq2q/day_2014_12_19.tgz?dl=0 Will this work for you? Thanks! Eric On Mon, May 2, 2016 at 1:08 PM, Neil Ludban wrote: > Eric, > > I think this would make a good intro presentation: > - Load an image from a file into a numpy matrix > - Display a matrix as an image > - Basic matrix operations (select a region of interest, convert to > grayscale) > - Convolution (smoothing and edge detection filters) > - Correlation (finding motion between successive images) > > As others have pointed out, OpenCV already does this, but for these > functions it's really just an optimized implementation of simple > equations (actually, variations on one equation). You can still > benefit from using numpy to prepare the inputs and to reduce the > outputs. Machine learning on megapixels of input is computationally > expensive, it is common to preprocess the image in order to reduce > the amount of time needed. > > Are your timelapse images available online, or could you post a small > number of representative images for me to experiment with? > > > On Sun, 1 May 2016 11:02:20 -0400 > Eric Floehr wrote: > > Neil, > > > > I am interested in numpy and scipy for image manipulation and analysis > and > > would be interested in getting started with feature detection and image > > classification. > > > > Specifically for my timelapse project, I would like to identify features > > like birds, the moon, airplane lights, and of course clouds. I would also > > be interested in grouping sky images into groups automatically. You know > > that there is blue sky and completely overcast, but there are probably > > certain other types of sky and cloud cover that naturally group together > > and it would be neat to be able to identify those clusters. > > > > Don't know if any of that is possible, but that's my thoughts :-). > > > > Thanks! > > Eric > > > > > > > > On Sat, Apr 30, 2016 at 6:27 PM, Neil Ludban > > wrote: > > > > > At the last cohpy meeting, several people wrote down numpy and/or scipy > > > as desired topics for future presentations. These are very broad and > > > easily turn into boring overviews of python for matlab people. Does > > > anyone have requests for a presentation on a specific scipy module, > > > digital signal processing topic, or even an idea for a project that you > > > heard numpy/scipy would be good for but not sure how to get started? > > > _______________________________________________ > > > CentralOH mailing list > > > CentralOH at python.org > > > https://mail.python.org/mailman/listinfo/centraloh > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.costlow at gmail.com Tue May 10 11:02:18 2016 From: brian.costlow at gmail.com (Brian Costlow) Date: Tue, 10 May 2016 11:02:18 -0400 Subject: [CentralOH] Facebook's internal AI/ML framework built in Python Message-ID: https://code.facebook.com/posts/1072626246134461/introducing-fblearner-flow-facebook-s-ai-backbone/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Wed May 11 16:23:51 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 11 May 2016 16:23:51 -0400 Subject: [CentralOH] 2016-05-11 Cafe Istanbul Napkin Scribbles submit talk proposal PyOhio uart rs-232 pyserial websockets web.py autobahn django-channels LCD ITO kalman filter thoughworks martin fowler uncle bob E-prime bugs pitch black uvloop Message-ID: <20160511162351.29f3df4e.jep200404@columbus.rr.com> Please submit proposals for talks for PyOhio. http://pyohio.org/call-for-proposals/ UARTs and RS-232 are obsolete (NOT!) pyserial websockets web.py http://webpy.org/ wp:Aaron Swartz wp:Hal Abelson wp:Structure and Interpretation of Computer Programs wp: prefix means Wikipedia To get good answers, consider following the advice in the links below. http://catb.org/~esr/faqs/smart-questions.html http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html autobahn much dox big honker django-channels much dox (does _not_ require autobahn) djwebsockets: NO no dox 33 commits django-websockets: NO abandoned wp:LCD wp:Indium tin oxide wp:Indium wp:heterochromia iridum wp:Ocular dominance wp:Kalman filter good for distinguishing between noise, or new average bell curve wp:Rudolf E. K?lm?n wp:Kanthal wp:ThoughtWorks wp:Martin Fowler Racoons love cat food. Cats stand back and watch. Ditto skunks. (I must have) failing tests all new code must have tests wp:E-Prime A bug is not an exposed logic flaw. A bug is an exposed missing test. wp:Pitch Black (film) uvloop fast replacement for asyncio event loop https://pypi.python.org/pypi/uvloop/ writing with black sharpies on black cloth napkins is hard to read From jep200404 at columbus.rr.com Wed May 11 19:01:55 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 11 May 2016 19:01:55 -0400 Subject: [CentralOH] Python DLL Heck: django channels confusion In-Reply-To: <20160511162351.29f3df4e.jep200404@columbus.rr.com> References: <20160511162351.29f3df4e.jep200404@columbus.rr.com> Message-ID: <20160511190155.1b926623.jep200404@columbus.rr.com> Here's one trap to know about and avoid. On Wed, 11 May 2016 16:23:51 -0400, jep200404 at columbus.rr.com wrote: > django-channels > much dox > (does _not_ require autobahn) I stated at lunch that django channels had autobahn as a dependency, but I could not replicate that after lunch, then later I could. Something was not making sense. There are two different packages with enough similarities to confuse. Each is imported as channels. Each is for django. Both have docs on readthedocs. Django Channels django-channels Their names are both include 'channels'. Now that you know that there are two similar named packages, you can figure out which one you care about if you ever have to deal with such stuff. Some details on them follow. channels https://pypi.python.org/pypi/channels/ http://channels.readthedocs.io/en/latest/ Django Channels Channels is a project to make Django able to handle more than just plain HTTP requests, including WebSockets and HTTP2, as well as the ability to run code after a response has been sent for things like thumbnailing or background calculation. https://github.com/andrewgodwin/channels (env) pi at raspberrypi:~/a $ pip freeze (env) pi at raspberrypi:~/a $ pip install channels ... (env) pi at raspberrypi:~/a $ pip freeze Django==1.9.6 Twisted==16.1.1 asgiref==0.13.0 autobahn==0.14.0 channels==0.13.0 daphne==0.12.0 six==1.10.0 txaio==2.5.1 zope.interface==4.1.3 (env) pi at raspberrypi:~/a $ python Python 3.4.2 (default, Oct 19 2014, 13:31:11) [GCC 4.9.1] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import channels >>> (env) pi at raspberrypi:~/a $ django-channels https://pypi.python.org/pypi/django-channels/ http://django-channels.readthedocs.io/en/latest/ django-channels django-channels is a Django library for sending notifications. HipChat, Slack, Twitter, and Yo are supported for now. https://github.com/ymyzk/django-channels (env) pi at raspberrypi:~/a $ pip freeze (env) pi at raspberrypi:~/a $ pip install django-channels ... (env) pi at raspberrypi:~/a $ pip freeze django-channels==0.6.0 oauthlib==1.1.1 requests==2.10.0 requests-oauthlib==0.6.1 six==1.10.0 (env) pi at raspberrypi:~/a $ (env) pi at raspberrypi:~/a $ python Python 3.4.2 (default, Oct 19 2014, 13:31:11) [GCC 4.9.1] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import channels >>> (env) pi at raspberrypi:~/a $ From jep200404 at columbus.rr.com Sat May 14 17:01:46 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sat, 14 May 2016 17:01:46 -0400 Subject: [CentralOH] =?utf-8?q?2016-05-13_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gY2FuaXVzZSBkZCBjaWVsbyB5aWVsZCBmcm9tIHV5?= =?utf-8?q?uni_gen_limit_websockets_no_assignment_sicp_uncle_bob_meld_diff?= =?utf-8?q?_np_hard_bronowski_ascent_of_man_connections_james_burke_first_?= =?utf-8?q?computer_use_notepad++_swift_atom_pycandy_optimization_pycharm?= Message-ID: <20160514170146.05318394.jep200404@columbus.rr.com> caniuse.com more dd stuff http://www.techworm.net/2016/05/backup-partition-linux.html https://www.youtube.com/watch?v=DkI7LaJ7ncQ http://data.hdwallpapers.im/salt_flats_walking_on_clouds.jpg Playing with 'yield from'. from itertools import count def foo(): yield from range(3) yield from ('hello', 'world') yield from count() list(x[0] for x in zip(foo(), range(10))) # See PEP 380 https://www.python.org/dev/peps/pep-0380/ By the way, that last line's way of limiting a generator to n values looks ugly. What's a Pythonic way of doing that? http://websocketstest.com WebSockets from the Wire Up http://pyvideo.org/video/3506/websockets-from-the-wire-up https://tools.ietf.org/html/rfc6455 http://danielmiessler.com/study/tcpdump/ https://github.com/spang/websockets-from-the-wire-up http://enterprisewebbook.com/ch8_websockets.html http://enterprisewebbook.com/ch8_websockets.html#upgrading_http_to_websocket https://flask-socketio.readthedocs.org/en/latest/ no assignment statements in first 259 pages of SICP then apologized for unclebob at cleancoder.com cleancoders.com blog.8thlight.com @unclebobmartin Privacy and the New Math http://www.linuxjournal.com/content/privacy-and-new-math What's the difference? meld is beautiful https://docs.python.org/3/library/difflib.html https://github.com/bollwyvl/nbdiffstream What kind of person rhymes with Haskell? Make More Responsive Web Applications with SocketIO and gevent http://pyvideo.org/video/1798/make-more-responsive-web-applications-with-socket @Luke Sneeringer lukesn.me/py2013-socketio Node Schmode! "Pythonic Realtime Web" http://gpys.pretaweb.com Dylan Jay @djay75 dylan at pretaweb.com "Node and scaling in the Small vs Scaling in the Largs" - Alex Payne http://al3x.net/2010/07/27/node.html wp:Thomas Paine wp: prefix means Wikipedia To get good answers, consider following the advice in the links below. http://catb.org/~esr/faqs/smart-questions.html http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html https://www.djangopackages.com/grids/g/websockets/ https://websockets.readthedocs.io/en/stable/intro.html browserquest.mozilla.org first list(zip(someiterable, range(n)))[0][0] what's a better way of limiting someiterable to n items? fold There are NP hard problems, then there are just plain hard problems. refactor using classes http://waitbutwhy.com/2015/11/the-cook-and-the-chef-musks-secret-sauce.html https://opensource.com/business/16/5/oscon-interview-donna-benjamin-leslie-hawthorn Bronowski Ascent of Man Connections James Burke how old were you when you first used a computer? 24-25 11 2 17-18 ~12 28 wp:Margarine wp:Napoleon III swift ios notepad++ atom (saves in .py) lean team dealer.com python eye candy pycandy Premature optimization is the root of all evil. For the love of money is the root of all evil: which while some coveted after, they have erred from the faith, and pierced themselves through with many sorrows. pycharm Dragon Bridge (Da Nang) From joe at joeshaw.org Sat May 14 18:38:23 2016 From: joe at joeshaw.org (Joe Shaw) Date: Sat, 14 May 2016 22:38:23 +0000 Subject: [CentralOH] =?utf-8?q?2016-05-13_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gY2FuaXVzZSBkZCBjaWVsbyB5aWVsZCBmcm9t?= =?utf-8?q?_uyuni_gen_limit_websockets_no_assignment_sicp_uncle_bob?= =?utf-8?q?_meld_diff_np_hard_bronowski_ascent_of_man_connections_j?= =?utf-8?q?ames_burke_first_computer_use_notepad++_swift_atom_pycan?= =?utf-8?q?dy_optimization_pycharm?= In-Reply-To: <20160514170146.05318394.jep200404@columbus.rr.com> References: <20160514170146.05318394.jep200404@columbus.rr.com> Message-ID: Hi, Could you do this instead? list(foo() for i in range(10)) Joe On Sat, May 14, 2016 at 5:01 PM wrote: > caniuse.com > > more dd stuff > http://www.techworm.net/2016/05/backup-partition-linux.html > > https://www.youtube.com/watch?v=DkI7LaJ7ncQ > http://data.hdwallpapers.im/salt_flats_walking_on_clouds.jpg > > Playing with 'yield from'. > > from itertools import count > > def foo(): > yield from range(3) > yield from ('hello', 'world') > yield from count() > > list(x[0] for x in zip(foo(), range(10))) > > # See PEP 380 https://www.python.org/dev/peps/pep-0380/ > > By the way, that last line's way of limiting a generator to n values > looks ugly. What's a Pythonic way of doing that? > > http://websocketstest.com > > WebSockets from the Wire Up > http://pyvideo.org/video/3506/websockets-from-the-wire-up > https://tools.ietf.org/html/rfc6455 > http://danielmiessler.com/study/tcpdump/ > https://github.com/spang/websockets-from-the-wire-up > http://enterprisewebbook.com/ch8_websockets.html > > http://enterprisewebbook.com/ch8_websockets.html#upgrading_http_to_websocket > https://flask-socketio.readthedocs.org/en/latest/ > > no assignment statements in first 259 pages of SICP > then apologized for > > unclebob at cleancoder.com > cleancoders.com > blog.8thlight.com > @unclebobmartin > > Privacy and the New Math > http://www.linuxjournal.com/content/privacy-and-new-math > > What's the difference? > > meld is beautiful > https://docs.python.org/3/library/difflib.html > https://github.com/bollwyvl/nbdiffstream > > What kind of person rhymes with Haskell? > > Make More Responsive Web Applications with SocketIO and gevent > > http://pyvideo.org/video/1798/make-more-responsive-web-applications-with-socket > @Luke Sneeringer > lukesn.me/py2013-socketio > > Node Schmode! > "Pythonic Realtime Web" > http://gpys.pretaweb.com > Dylan Jay > @djay75 > dylan at pretaweb.com > > "Node and scaling in the Small vs Scaling in the Largs" - Alex Payne > http://al3x.net/2010/07/27/node.html > wp:Thomas Paine > > wp: prefix means Wikipedia > To get good answers, consider following the advice in the links below. > http://catb.org/~esr/faqs/smart-questions.html > > http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html > > https://www.djangopackages.com/grids/g/websockets/ > https://websockets.readthedocs.io/en/stable/intro.html > > browserquest.mozilla.org > > first > list(zip(someiterable, range(n)))[0][0] > what's a better way of limiting someiterable to n items? > fold > > There are NP hard problems, then there are just plain hard problems. > > refactor using classes > > http://waitbutwhy.com/2015/11/the-cook-and-the-chef-musks-secret-sauce.html > > > https://opensource.com/business/16/5/oscon-interview-donna-benjamin-leslie-hawthorn > > Bronowski > Ascent of Man > Connections > James Burke > > how old were you when you first used a computer? > > 24-25 > 11 > 2 > 17-18 > ~12 > 28 > > wp:Margarine > wp:Napoleon III > > swift ios > > notepad++ > atom (saves in .py) > > lean team > > dealer.com > > python eye candy > pycandy > > Premature optimization is the root of all evil. > > For the love of money is the root of all evil: > which while some coveted after, > they have erred from the faith, > and pierced themselves through with many sorrows. > > pycharm > > Dragon Bridge (Da Nang) > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at joeshaw.org Sat May 14 18:39:58 2016 From: joe at joeshaw.org (Joe Shaw) Date: Sat, 14 May 2016 22:39:58 +0000 Subject: [CentralOH] =?utf-8?q?2016-05-13_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gY2FuaXVzZSBkZCBjaWVsbyB5aWVsZCBmcm9t?= =?utf-8?q?_uyuni_gen_limit_websockets_no_assignment_sicp_uncle_bob?= =?utf-8?q?_meld_diff_np_hard_bronowski_ascent_of_man_connections_j?= =?utf-8?q?ames_burke_first_computer_use_notepad++_swift_atom_pycan?= =?utf-8?q?dy_optimization_pycharm?= In-Reply-To: References: <20160514170146.05318394.jep200404@columbus.rr.com> Message-ID: Hi again, Or rather: [foo() for i in range(10)] Joe On Sat, May 14, 2016 at 6:38 PM Joe Shaw wrote: > Hi, > > Could you do this instead? > > list(foo() for i in range(10)) > > > Joe > > On Sat, May 14, 2016 at 5:01 PM wrote: > >> caniuse.com >> >> more dd stuff >> http://www.techworm.net/2016/05/backup-partition-linux.html >> >> https://www.youtube.com/watch?v=DkI7LaJ7ncQ >> http://data.hdwallpapers.im/salt_flats_walking_on_clouds.jpg >> >> Playing with 'yield from'. >> >> from itertools import count >> >> def foo(): >> yield from range(3) >> yield from ('hello', 'world') >> yield from count() >> >> list(x[0] for x in zip(foo(), range(10))) >> >> # See PEP 380 https://www.python.org/dev/peps/pep-0380/ >> >> By the way, that last line's way of limiting a generator to n values >> looks ugly. What's a Pythonic way of doing that? >> >> http://websocketstest.com >> >> WebSockets from the Wire Up >> http://pyvideo.org/video/3506/websockets-from-the-wire-up >> https://tools.ietf.org/html/rfc6455 >> http://danielmiessler.com/study/tcpdump/ >> https://github.com/spang/websockets-from-the-wire-up >> http://enterprisewebbook.com/ch8_websockets.html >> >> http://enterprisewebbook.com/ch8_websockets.html#upgrading_http_to_websocket >> https://flask-socketio.readthedocs.org/en/latest/ >> >> no assignment statements in first 259 pages of SICP >> then apologized for >> >> unclebob at cleancoder.com >> cleancoders.com >> blog.8thlight.com >> @unclebobmartin >> >> Privacy and the New Math >> http://www.linuxjournal.com/content/privacy-and-new-math >> >> What's the difference? >> >> meld is beautiful >> https://docs.python.org/3/library/difflib.html >> https://github.com/bollwyvl/nbdiffstream >> >> What kind of person rhymes with Haskell? >> >> Make More Responsive Web Applications with SocketIO and gevent >> >> http://pyvideo.org/video/1798/make-more-responsive-web-applications-with-socket >> @Luke Sneeringer >> lukesn.me/py2013-socketio >> >> Node Schmode! >> "Pythonic Realtime Web" >> http://gpys.pretaweb.com >> Dylan Jay >> @djay75 >> dylan at pretaweb.com >> >> "Node and scaling in the Small vs Scaling in the Largs" - Alex Payne >> http://al3x.net/2010/07/27/node.html >> wp:Thomas Paine >> >> wp: prefix means Wikipedia >> To get good answers, consider following the advice in the links below. >> http://catb.org/~esr/faqs/smart-questions.html >> >> http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html >> >> https://www.djangopackages.com/grids/g/websockets/ >> https://websockets.readthedocs.io/en/stable/intro.html >> >> browserquest.mozilla.org >> >> first >> list(zip(someiterable, range(n)))[0][0] >> what's a better way of limiting someiterable to n items? >> fold >> >> There are NP hard problems, then there are just plain hard problems. >> >> refactor using classes >> >> >> http://waitbutwhy.com/2015/11/the-cook-and-the-chef-musks-secret-sauce.html >> >> >> https://opensource.com/business/16/5/oscon-interview-donna-benjamin-leslie-hawthorn >> >> Bronowski >> Ascent of Man >> Connections >> James Burke >> >> how old were you when you first used a computer? >> >> 24-25 >> 11 >> 2 >> 17-18 >> ~12 >> 28 >> >> wp:Margarine >> wp:Napoleon III >> >> swift ios >> >> notepad++ >> atom (saves in .py) >> >> lean team >> >> dealer.com >> >> python eye candy >> pycandy >> >> Premature optimization is the root of all evil. >> >> For the love of money is the root of all evil: >> which while some coveted after, >> they have erred from the faith, >> and pierced themselves through with many sorrows. >> >> pycharm >> >> Dragon Bridge (Da Nang) >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> https://mail.python.org/mailman/listinfo/centraloh >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrewkubera at gmail.com Sun May 15 00:24:33 2016 From: andrewkubera at gmail.com (Andrew Kubera) Date: Sun, 15 May 2016 00:24:33 -0400 Subject: [CentralOH] =?utf-8?q?2016-05-13_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gY2FuaXVzZSBkZCBjaWVsbyB5aWVsZCBmcm9tIHV5?= =?utf-8?q?uni_gen_limit_websockets_no_assignment_sicp_uncle_bob_meld_diff?= =?utf-8?q?_np_hard_bronowski_ascent_of_man_connections_james_burke_first_?= =?utf-8?q?computer_use_notepad++_swift_atom_pycandy_optimization_pycharm?= In-Reply-To: References: <20160514170146.05318394.jep200404@columbus.rr.com> Message-ID: Itertools has an islice function which could be used for this. from itertools import islice ... list(islice(foo(), 10)) Without using islice, you wouldn't call foo (Joe's method would create a list of 10 generator objects), but next() with the generator created by calling foo: foo_gen = foo() [next(foo_gen) for _ in range(10)] - Andrew Kubera > On May 14, 2016, at 6:39 PM, Joe Shaw wrote: > > Hi again, > > Or rather: > > [foo() for i in range(10)] > > Joe > On Sat, May 14, 2016 at 6:38 PM Joe Shaw > wrote: > Hi, > > Could you do this instead? > > list(foo() for i in range(10)) > > > Joe > > On Sat, May 14, 2016 at 5:01 PM > wrote: > caniuse.com > > more dd stuff > http://www.techworm.net/2016/05/backup-partition-linux.html > > https://www.youtube.com/watch?v=DkI7LaJ7ncQ > http://data.hdwallpapers.im/salt_flats_walking_on_clouds.jpg > > Playing with 'yield from'. > > from itertools import count > > def foo(): > yield from range(3) > yield from ('hello', 'world') > yield from count() > > list(x[0] for x in zip(foo(), range(10))) > > # See PEP 380 https://www.python.org/dev/peps/pep-0380/ > > By the way, that last line's way of limiting a generator to n values > looks ugly. What's a Pythonic way of doing that? > > http://websocketstest.com > > WebSockets from the Wire Up > http://pyvideo.org/video/3506/websockets-from-the-wire-up > https://tools.ietf.org/html/rfc6455 > http://danielmiessler.com/study/tcpdump/ > https://github.com/spang/websockets-from-the-wire-up > http://enterprisewebbook.com/ch8_websockets.html > http://enterprisewebbook.com/ch8_websockets.html#upgrading_http_to_websocket > https://flask-socketio.readthedocs.org/en/latest/ > > no assignment statements in first 259 pages of SICP > then apologized for > > unclebob at cleancoder.com > cleancoders.com > blog.8thlight.com > @unclebobmartin > > Privacy and the New Math > http://www.linuxjournal.com/content/privacy-and-new-math > > What's the difference? > > meld is beautiful > https://docs.python.org/3/library/difflib.html > https://github.com/bollwyvl/nbdiffstream > > What kind of person rhymes with Haskell? > > Make More Responsive Web Applications with SocketIO and gevent > http://pyvideo.org/video/1798/make-more-responsive-web-applications-with-socket > @Luke Sneeringer > lukesn.me/py2013-socketio > > Node Schmode! > "Pythonic Realtime Web" > http://gpys.pretaweb.com > Dylan Jay > @djay75 > dylan at pretaweb.com > > "Node and scaling in the Small vs Scaling in the Largs" - Alex Payne > http://al3x.net/2010/07/27/node.html > wp:Thomas Paine > > wp: prefix means Wikipedia > To get good answers, consider following the advice in the links below. > http://catb.org/~esr/faqs/smart-questions.html > http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html > > https://www.djangopackages.com/grids/g/websockets/ > https://websockets.readthedocs.io/en/stable/intro.html > > browserquest.mozilla.org > > first > list(zip(someiterable, range(n)))[0][0] > what's a better way of limiting someiterable to n items? > fold > > There are NP hard problems, then there are just plain hard problems. > > refactor using classes > > http://waitbutwhy.com/2015/11/the-cook-and-the-chef-musks-secret-sauce.html > > https://opensource.com/business/16/5/oscon-interview-donna-benjamin-leslie-hawthorn > > Bronowski > Ascent of Man > Connections > James Burke > > how old were you when you first used a computer? > > 24-25 > 11 > 2 > 17-18 > ~12 > 28 > > wp:Margarine > wp:Napoleon III > > swift ios > > notepad++ > atom (saves in .py) > > lean team > > dealer.com > > python eye candy > pycandy > > Premature optimization is the root of all evil. > > For the love of money is the root of all evil: > which while some coveted after, > they have erred from the faith, > and pierced themselves through with many sorrows. > > pycharm > > Dragon Bridge (Da Nang) > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at joeshaw.org Sun May 15 07:38:53 2016 From: joe at joeshaw.org (Joe Shaw) Date: Sun, 15 May 2016 11:38:53 +0000 Subject: [CentralOH] =?utf-8?q?2016-05-13_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gY2FuaXVzZSBkZCBjaWVsbyB5aWVsZCBmcm9t?= =?utf-8?q?_uyuni_gen_limit_websockets_no_assignment_sicp_uncle_bob?= =?utf-8?q?_meld_diff_np_hard_bronowski_ascent_of_man_connections_j?= =?utf-8?q?ames_burke_first_computer_use_notepad++_swift_atom_pycan?= =?utf-8?q?dy_optimization_pycharm?= In-Reply-To: References: <20160514170146.05318394.jep200404@columbus.rr.com> Message-ID: Hi, Ah, right you are about creating these generator objects. The other issue with using a list comprehension here is that unless you know it'll have at least 10 elements you need to handle StopIteration too. So itertools.islice() (or an old-fashioned for loop) is probably the way to go. Joe On Sun, May 15, 2016 at 12:24 AM Andrew Kubera wrote: > Itertools has an islice function which could be used for this. > > from itertools import islice > ... > list(islice(foo(), 10)) > > > Without using islice, you wouldn't call foo (Joe's method would create a > list of 10 generator objects), but next() with the generator created by > calling foo: > > foo_gen = foo() > [next(foo_gen) for _ in range(10)] > > - Andrew Kubera > > On May 14, 2016, at 6:39 PM, Joe Shaw wrote: > > Hi again, > > Or rather: > > [foo() for i in range(10)] > > Joe > On Sat, May 14, 2016 at 6:38 PM Joe Shaw wrote: > >> Hi, >> >> Could you do this instead? >> >> list(foo() for i in range(10)) >> >> >> Joe >> >> On Sat, May 14, 2016 at 5:01 PM wrote: >> >>> caniuse.com >>> >>> more dd stuff >>> http://www.techworm.net/2016/05/backup-partition-linux.html >>> >>> https://www.youtube.com/watch?v=DkI7LaJ7ncQ >>> http://data.hdwallpapers.im/salt_flats_walking_on_clouds.jpg >>> >>> Playing with 'yield from'. >>> >>> from itertools import count >>> >>> def foo(): >>> yield from range(3) >>> yield from ('hello', 'world') >>> yield from count() >>> >>> list(x[0] for x in zip(foo(), range(10))) >>> >>> # See PEP 380 https://www.python.org/dev/peps/pep-0380/ >>> >>> By the way, that last line's way of limiting a generator to n values >>> looks ugly. What's a Pythonic way of doing that? >>> >>> http://websocketstest.com >>> >>> WebSockets from the Wire Up >>> http://pyvideo.org/video/3506/websockets-from-the-wire-up >>> https://tools.ietf.org/html/rfc6455 >>> http://danielmiessler.com/study/tcpdump/ >>> https://github.com/spang/websockets-from-the-wire-up >>> http://enterprisewebbook.com/ch8_websockets.html >>> >>> http://enterprisewebbook.com/ch8_websockets.html#upgrading_http_to_websocket >>> https://flask-socketio.readthedocs.org/en/latest/ >>> >>> no assignment statements in first 259 pages of SICP >>> then apologized for >>> >>> unclebob at cleancoder.com >>> cleancoders.com >>> blog.8thlight.com >>> @unclebobmartin >>> >>> Privacy and the New Math >>> http://www.linuxjournal.com/content/privacy-and-new-math >>> >>> What's the difference? >>> >>> meld is beautiful >>> https://docs.python.org/3/library/difflib.html >>> https://github.com/bollwyvl/nbdiffstream >>> >>> What kind of person rhymes with Haskell? >>> >>> Make More Responsive Web Applications with SocketIO and gevent >>> >>> http://pyvideo.org/video/1798/make-more-responsive-web-applications-with-socket >>> @Luke Sneeringer >>> lukesn.me/py2013-socketio >>> >>> Node Schmode! >>> "Pythonic Realtime Web" >>> http://gpys.pretaweb.com >>> Dylan Jay >>> @djay75 >>> dylan at pretaweb.com >>> >>> "Node and scaling in the Small vs Scaling in the Largs" - Alex Payne >>> http://al3x.net/2010/07/27/node.html >>> wp:Thomas Paine >>> >>> wp: prefix means Wikipedia >>> To get good answers, consider following the advice in the links below. >>> http://catb.org/~esr/faqs/smart-questions.html >>> >>> http://web.archive.org/web/20090627155454/www.greenend.org.uk/rjk/2000/06/14/quoting.html >>> >>> https://www.djangopackages.com/grids/g/websockets/ >>> https://websockets.readthedocs.io/en/stable/intro.html >>> >>> browserquest.mozilla.org >>> >>> first >>> list(zip(someiterable, range(n)))[0][0] >>> what's a better way of limiting someiterable to n items? >>> fold >>> >>> There are NP hard problems, then there are just plain hard problems. >>> >>> refactor using classes >>> >>> >>> http://waitbutwhy.com/2015/11/the-cook-and-the-chef-musks-secret-sauce.html >>> >>> >>> https://opensource.com/business/16/5/oscon-interview-donna-benjamin-leslie-hawthorn >>> >>> Bronowski >>> Ascent of Man >>> Connections >>> James Burke >>> >>> how old were you when you first used a computer? >>> >>> 24-25 >>> 11 >>> 2 >>> 17-18 >>> ~12 >>> 28 >>> >>> wp:Margarine >>> wp:Napoleon III >>> >>> swift ios >>> >>> notepad++ >>> atom (saves in .py) >>> >>> lean team >>> >>> dealer.com >>> >>> python eye candy >>> pycandy >>> >>> Premature optimization is the root of all evil. >>> >>> For the love of money is the root of all evil: >>> which while some coveted after, >>> they have erred from the faith, >>> and pierced themselves through with many sorrows. >>> >>> pycharm >>> >>> Dragon Bridge (Da Nang) >>> _______________________________________________ >>> CentralOH mailing list >>> CentralOH at python.org >>> https://mail.python.org/mailman/listinfo/centraloh >>> >> _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Sun May 15 15:54:18 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sun, 15 May 2016 15:54:18 -0400 Subject: [CentralOH] 2016-05-18 11:30 Wednesday Python Lunch at Aab Message-ID: <20160515155418.68f2fb9f.jep200404@columbus.rr.com> Wednesday Python Lunch at Aab May 18, 2016, 11:30 a.m. Aab India Restaurant[1] 1470 Grandview Ave[2] Columbus, OH 43212 We'll be meeting for good food and good company. Join us to talk Python, programming, or anything else! [1] http://aabindiarestaurants.com/ [2] https://www.openstreetmap.org/node/962881986#map=17/39.98795/-83.04423 From eric at intellovations.com Sun May 15 18:22:14 2016 From: eric at intellovations.com (Eric Floehr) Date: Sun, 15 May 2016 18:22:14 -0400 Subject: [CentralOH] 2016-05-18 11:30 Wednesday Python Lunch at Aab In-Reply-To: <20160515155418.68f2fb9f.jep200404@columbus.rr.com> References: <20160515155418.68f2fb9f.jep200404@columbus.rr.com> Message-ID: RSVP Here: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/231149380/ On Sun, May 15, 2016 at 3:54 PM, wrote: > Wednesday Python Lunch at Aab > May 18, 2016, 11:30 a.m. > > Aab India Restaurant[1] > 1470 Grandview Ave[2] > Columbus, OH 43212 > > We'll be meeting for good food and good company. > Join us to talk Python, programming, or anything else! > > [1] http://aabindiarestaurants.com/ > [2] https://www.openstreetmap.org/node/962881986#map=17/39.98795/-83.04423 > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Sun May 15 18:27:59 2016 From: eric at intellovations.com (Eric Floehr) Date: Sun, 15 May 2016 18:27:59 -0400 Subject: [CentralOH] May Meeting May 23! Message-ID: Don't forget our May Monthly meeting is one week early, on Monday, May 23rd. RSVP Here: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/228901485/ We will be awarding the prize for closest temperature prediction from our March challenge. We will also be going through submissions for our April challenge, which is the word count. I am doing this challenge because it is helping me to work with py.test, and am learning more about Python! Here is the repo with the instructions: https://github.com/cohpy/challenge-201604-words You can submit your code to me, or as a pull request. Finally, Brian will be talking about generators. Generators are pretty cool, and our May Python challenge may have something to do with them! See you in a week! Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Mon May 16 14:59:44 2016 From: eric at intellovations.com (Eric Floehr) Date: Mon, 16 May 2016 14:59:44 -0400 Subject: [CentralOH] OT: Statistician needed Message-ID: Hey all, I'm in need of some help with statistics, and if anyone has any thoughts on this, or know someone who could do this, I would appreciate it greatly. I have a set of errors, normally distributed around 0 error (it's temperature forecast error). You can assume that the sample of forecasts is representative of the entire population (for example, taking 50 strategic locations around the U.S. to represent all U.S. locations). I then calculate the mean absolute error, and the RMSE. These have some positive value. What I would like to calculate on the MAE and RMSE is a confidence interval that the population error is within given the sample MAE or RMSE and it's related statistics (sample size, mean error, MAE, RMSE, standard deviation, etc.). For example, let's say that one provider's RMSE is 3.18 (A) and another's is 3.5 (B). I'd like to know with some confidence that there is (or isn't) a difference between providers (i.e. that provider A confidently has lower error than B). Currently, the way I'm doing it is using the normative inverse function in Excel: Lower bound: NORMINV(0.005,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) Upper bound: NORMINV(0.995,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) as in section 9.18 of: http://www.saylor.org/site/wp-content/uploads/2012/10/BUS204-Ling-6.2.pdf But I'm not at all convinced that I'm doing that right, or that it applies in this situation. Thanks so much! Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From bim at digitalbim.com Mon May 16 16:11:49 2016 From: bim at digitalbim.com (Bim Walker) Date: Mon, 16 May 2016 16:11:49 -0400 Subject: [CentralOH] OT: Statistician needed In-Reply-To: References: Message-ID: <620477B5-58DA-4049-8736-EE0337066C99@digitalbim.com> Can?t you just think of the set of errors as the raw data, and do an independent t-test comparing provider A to provider B? (or an anova if you have more than two providers.) Bim On May 16, 2016, at 2:59 PM, Eric Floehr wrote: > Hey all, > > I'm in need of some help with statistics, and if anyone has any thoughts on this, or know someone who could do this, I would appreciate it greatly. > > I have a set of errors, normally distributed around 0 error (it's temperature forecast error). You can assume that the sample of forecasts is representative of the entire population (for example, taking 50 strategic locations around the U.S. to represent all U.S. locations). > > I then calculate the mean absolute error, and the RMSE. These have some positive value. > > What I would like to calculate on the MAE and RMSE is a confidence interval that the population error is within given the sample MAE or RMSE and it's related statistics (sample size, mean error, MAE, RMSE, standard deviation, etc.). > > For example, let's say that one provider's RMSE is 3.18 (A) and another's is 3.5 (B). I'd like to know with some confidence that there is (or isn't) a difference between providers (i.e. that provider A confidently has lower error than B). > > Currently, the way I'm doing it is using the normative inverse function in Excel: > > Lower bound: NORMINV(0.005,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) > > Upper bound: NORMINV(0.995,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) > > as in section 9.18 of: http://www.saylor.org/site/wp-content/uploads/2012/10/BUS204-Ling-6.2.pdf > > But I'm not at all convinced that I'm doing that right, or that it applies in this situation. > > Thanks so much! > Eric > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh -------------- next part -------------- An HTML attachment was scrubbed... URL: From nludban at columbus.rr.com Mon May 16 17:35:14 2016 From: nludban at columbus.rr.com (Neil Ludban) Date: Mon, 16 May 2016 17:35:14 -0400 Subject: [CentralOH] OT: Statistician needed In-Reply-To: References: Message-ID: <20160516173514.de2be7c018fb86750709a921@columbus.rr.com> I'm not making any connections here... (a) Starting with 50 representative locations instead of all of them. (b) Wanting to estimate paramaters as if you had used them all. (c) For example, compare the error estimate of one of them by itself with another one of them by itself. On Mon, 16 May 2016 14:59:44 -0400 Eric Floehr wrote: > Hey all, > > I'm in need of some help with statistics, and if anyone has any thoughts on > this, or know someone who could do this, I would appreciate it greatly. > > I have a set of errors, normally distributed around 0 error (it's > temperature forecast error). You can assume that the sample of forecasts is > representative of the entire population (for example, taking 50 strategic > locations around the U.S. to represent all U.S. locations). > > I then calculate the mean absolute error, and the RMSE. These have some > positive value. > > What I would like to calculate on the MAE and RMSE is a confidence interval > that the population error is within given the sample MAE or RMSE and it's > related statistics (sample size, mean error, MAE, RMSE, standard deviation, > etc.). > > For example, let's say that one provider's RMSE is 3.18 (A) and another's > is 3.5 (B). I'd like to know with some confidence that there is (or isn't) > a difference between providers (i.e. that provider A confidently has lower > error than B). > > Currently, the way I'm doing it is using the normative inverse function in > Excel: > > Lower bound: NORMINV(0.005,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) > > Upper bound: NORMINV(0.995,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) > > as in section 9.18 of: > http://www.saylor.org/site/wp-content/uploads/2012/10/BUS204-Ling-6.2.pdf > > But I'm not at all convinced that I'm doing that right, or that it applies > in this situation. > > Thanks so much! > Eric From eric at intellovations.com Mon May 16 18:55:36 2016 From: eric at intellovations.com (Eric Floehr) Date: Mon, 16 May 2016 18:55:36 -0400 Subject: [CentralOH] OT: Statistician needed In-Reply-To: <20160516173514.de2be7c018fb86750709a921@columbus.rr.com> References: <20160516173514.de2be7c018fb86750709a921@columbus.rr.com> Message-ID: Neil, I'm not a statistician at all so I don't know what I should even be asking. Basically, I have some RMSE from a set of forecasts. These forecasts are from representative locations. I want to know what the range of RMSE would be (within some confidence factor) if I had taken the error at *all* the locations. So when I take a set of forecasts from 50 locations (say each state capital, assuming that's representative) within the U.S. and get the RMSE from those forecasts and locations. But there are lots more than 50 locations, so that set of 50 locations is only a sample of all the forecasts for the U.S. So that set of 50 is only a sample RMSE, which is likely *close* to the actual RMSE if I had taken *all* the locations. So when comparing two forecast providers, each with an RMSE, I'm only estimating each of those RMSEs for each provider. So that estimate isn't the *true* error, and so if I have two providers, and I want to rank order them, I want to have some level of confidence that the difference in RMSE between them is statistically significant. Does that make sense? Eric On Mon, May 16, 2016 at 5:35 PM, Neil Ludban wrote: > I'm not making any connections here... > > (a) Starting with 50 representative locations instead of all of them. > > (b) Wanting to estimate paramaters as if you had used them all. > > (c) For example, compare the error estimate of one of them by itself > with another one of them by itself. > > > On Mon, 16 May 2016 14:59:44 -0400 > Eric Floehr wrote: > > Hey all, > > > > I'm in need of some help with statistics, and if anyone has any thoughts > on > > this, or know someone who could do this, I would appreciate it greatly. > > > > I have a set of errors, normally distributed around 0 error (it's > > temperature forecast error). You can assume that the sample of forecasts > is > > representative of the entire population (for example, taking 50 strategic > > locations around the U.S. to represent all U.S. locations). > > > > I then calculate the mean absolute error, and the RMSE. These have some > > positive value. > > > > What I would like to calculate on the MAE and RMSE is a confidence > interval > > that the population error is within given the sample MAE or RMSE and it's > > related statistics (sample size, mean error, MAE, RMSE, standard > deviation, > > etc.). > > > > For example, let's say that one provider's RMSE is 3.18 (A) and another's > > is 3.5 (B). I'd like to know with some confidence that there is (or > isn't) > > a difference between providers (i.e. that provider A confidently has > lower > > error than B). > > > > Currently, the way I'm doing it is using the normative inverse function > in > > Excel: > > > > Lower bound: NORMINV(0.005,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) > > > > Upper bound: NORMINV(0.995,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) > > > > as in section 9.18 of: > > > http://www.saylor.org/site/wp-content/uploads/2012/10/BUS204-Ling-6.2.pdf > > > > But I'm not at all convinced that I'm doing that right, or that it > applies > > in this situation. > > > > Thanks so much! > > Eric > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Mon May 16 18:56:12 2016 From: eric at intellovations.com (Eric Floehr) Date: Mon, 16 May 2016 18:56:12 -0400 Subject: [CentralOH] OT: Statistician needed In-Reply-To: <620477B5-58DA-4049-8736-EE0337066C99@digitalbim.com> References: <620477B5-58DA-4049-8736-EE0337066C99@digitalbim.com> Message-ID: Thanks Bim. I have no idea :-). I'm at the limits of my statistical knowledge... On Mon, May 16, 2016 at 4:11 PM, Bim Walker wrote: > > Can?t you just think of the set of errors as the raw data, and do an > independent t-test comparing provider A to provider B? (or an anova if you > have more than two providers.) > > > Bim > > > > On May 16, 2016, at 2:59 PM, Eric Floehr wrote: > > Hey all, > > I'm in need of some help with statistics, and if anyone has any thoughts > on this, or know someone who could do this, I would appreciate it greatly. > > I have a set of errors, normally distributed around 0 error (it's > temperature forecast error). You can assume that the sample of forecasts is > representative of the entire population (for example, taking 50 strategic > locations around the U.S. to represent all U.S. locations). > > I then calculate the mean absolute error, and the RMSE. These have some > positive value. > > What I would like to calculate on the MAE and RMSE is a confidence > interval that the population error is within given the sample MAE or RMSE > and it's related statistics (sample size, mean error, MAE, RMSE, standard > deviation, etc.). > > For example, let's say that one provider's RMSE is 3.18 (A) and another's > is 3.5 (B). I'd like to know with some confidence that there is (or isn't) > a difference between providers (i.e. that provider A confidently has lower > error than B). > > Currently, the way I'm doing it is using the normative inverse function in > Excel: > > Lower bound: NORMINV(0.005,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) > > Upper bound: NORMINV(0.995,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) > > as in section 9.18 of: > http://www.saylor.org/site/wp-content/uploads/2012/10/BUS204-Ling-6.2.pdf > > But I'm not at all convinced that I'm doing that right, or that it applies > in this situation. > > Thanks so much! > Eric > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > > > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bim at digitalbim.com Mon May 16 20:15:44 2016 From: bim at digitalbim.com (Bim Walker) Date: Mon, 16 May 2016 20:15:44 -0400 Subject: [CentralOH] OT: Statistician needed Message-ID: <5fcp39fk54ourd5kojc14b8t.1463444144239@email.lge.com> I just read your other reply and I think I better understand what you are asking now. If you use RMS by dividing by N-1 instead of N you have an unbiased standard deviation. Or you could not take the square root and you would have MS, which is a variance. You can compare two variances with an F-test and get a p-value for a significance test. Confidence intervals are trickier for variances, but this might help:http://www.milefoot.com/math/stat/ci-variances.htm Does that make any sense? Bim ------ Original message------From: Eric FloehrDate: Mon, May 16, 2016 6:56 PMTo: Mailing list for Central Ohio Python User Group (COhPy);Cc: Subject:Re: [CentralOH] OT: Statistician needed Thanks Bim. I have no idea :-). I'm at the limits of my statistical knowledge... On Mon, May 16, 2016 at 4:11 PM, Bim Walker wrote: Can?t you just think of the set of errors as the raw data, and do an independent t-test comparing provider A to provider B? ?(or an anova if you have more than two providers.) Bim On May 16, 2016, at 2:59 PM, Eric Floehr wrote: Hey all, I'm in need of some help with statistics, and if anyone has any thoughts on this, or know someone who could do this, I would appreciate it greatly. I have a set of errors, normally distributed around 0 error (it's temperature forecast error). You can assume that the sample of forecasts is representative of the entire population (for example, taking 50 strategic locations around the U.S. to represent all U.S. locations). I then calculate the mean absolute error, and the RMSE. These have some positive value. What I would like to calculate on the MAE and RMSE is a confidence interval that the population error is within given the sample MAE or RMSE and it's related statistics (sample size, mean error, MAE, RMSE, standard deviation, etc.). For example, let's say that one provider's RMSE is 3.18 (A) and another's is 3.5 (B). I'd like to know with some confidence that there is (or isn't) a difference between providers (i.e. that provider A confidently has lower error than B). Currently, the way I'm doing it is using the normative inverse function in Excel: Lower bound: NORMINV(0.005,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) Upper bound: NORMINV(0.995,RMSE,STDDEV_RMSE/SQRT(NUMBER_OF_SAMPLES)) as in section 9.18 of:?http://www.saylor.org/site/wp-content/uploads/2012/10/BUS204-Ling-6.2.pdf But I'm not at all convinced that I'm doing that right, or that it applies in this situation. Thanks so much!Eric _______________________________________________ CentralOH mailing list CentralOH at python.org https://mail.python.org/mailman/listinfo/centraloh _______________________________________________ CentralOH mailing list CentralOH at python.org https://mail.python.org/mailman/listinfo/centraloh -------------- next part -------------- An HTML attachment was scrubbed... URL: From nludban at columbus.rr.com Mon May 16 22:36:22 2016 From: nludban at columbus.rr.com (Neil Ludban) Date: Mon, 16 May 2016 22:36:22 -0400 Subject: [CentralOH] OT: Statistician needed In-Reply-To: References: <20160516173514.de2be7c018fb86750709a921@columbus.rr.com> Message-ID: <20160516223622.9dbe71fec491eecf0bb16566@columbus.rr.com> On Mon, 16 May 2016 18:55:36 -0400 Eric Floehr wrote: > Neil, > > I'm not a statistician at all so I don't know what I should even be asking. > > Basically, I have some RMSE from a set of forecasts. These forecasts are > from representative locations. I want to know what the range of RMSE would > be (within some confidence factor) if I had taken the error at *all* the > locations. > > So when I take a set of forecasts from 50 locations (say each state > capital, assuming that's representative) within the U.S. and get the RMSE > from those forecasts and locations. But there are lots more than 50 > locations, so that set of 50 locations is only a sample of all the > forecasts for the U.S. So that set of 50 is only a sample RMSE, which is > likely *close* to the actual RMSE if I had taken *all* the locations. > > So when comparing two forecast providers, each with an RMSE, I'm only > estimating each of those RMSEs for each provider. So that estimate isn't > the *true* error, and so if I have two providers, and I want to rank order > them, I want to have some level of confidence that the difference in RMSE > between them is statistically significant. > > Does that make sense? > Eric > I'll assume you are calculating statistics for the same time period (eg, the last 90 days) for each location independently, and collectively for the 50 representative locations. I would argue that all you can get out of this is order of magnitude statistics -- the unmet requirement is that all the input values (errors, in this case) are independent. In reality, everybody is sharing the same data that's input to a small number of simulation programs and outputs fudged by a moderate number of meteorologists. What you could easily do is ask a different question: what percent of this location's predictions came within a certain number of degrees of the actual value? If location A gets 75% within +/- 2 degrees, and B gets only 40%, there's a significant difference. I would start with the standard deviation of the 50 locations as the initial tolerance. Given a normal mean and stddev calculated using error as the raw data, the percent of predictions between -tol and +tol is: (NORMDIST(+tol, mean, stddev, TRUE) - NORMDIST(-tol, mean, stddev, TRUE)) * 100% From miller.eric.t at gmail.com Tue May 17 09:46:13 2016 From: miller.eric.t at gmail.com (Eric Miller) Date: Tue, 17 May 2016 09:46:13 -0400 Subject: [CentralOH] yesterdays statistics question Message-ID: I just happen to be sitting next to a real data scientist. Shared your problem w him, and he responded w this: -------------- next part -------------- An HTML attachment was scrubbed... URL: From miller.eric.t at gmail.com Tue May 17 09:46:30 2016 From: miller.eric.t at gmail.com (Eric Miller) Date: Tue, 17 May 2016 09:46:30 -0400 Subject: [CentralOH] yesterdays statistics question In-Reply-To: References: Message-ID: http://stats.stackexchange.com/questions/78079/confidence-interval-of-rmse On Tue, May 17, 2016 at 9:46 AM, Eric Miller wrote: > I just happen to be sitting next to a real data scientist. Shared your > problem w him, and he responded w this: > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brywilharris at gmail.com Tue May 17 11:54:45 2016 From: brywilharris at gmail.com (Bryan Harris) Date: Tue, 17 May 2016 11:54:45 -0400 Subject: [CentralOH] yesterdays statistics question In-Reply-To: References: Message-ID: As I understand it, the T-Test tells you whether two populations with normal distributions have a different mean. If you plot the prediction errors do they seem to have a normal distribution? The T-Test checks the hypothesis: "These populations have different means." You probably also ought to do an F-Test. The F-test checks the hypothesis: "These populations have different variances." If you have reasonable sample sizes, and both populations are reasonably normal (they have a bell curve) then these tests work OK. Are you doing this for work or pleasure? Bryan Harris, PE Research Engineer Electro-Mechanical Systems University of Dayton Research Institute bryan.harris at udri.udayton.edu http://www.udri.udayton.edu/ (937) 229-5561 On Tue, May 17, 2016 at 9:46 AM, Eric Miller wrote: > http://stats.stackexchange.com/questions/78079/confidence-interval-of-rmse > > > > On Tue, May 17, 2016 at 9:46 AM, Eric Miller > wrote: > >> I just happen to be sitting next to a real data scientist. Shared your >> problem w him, and he responded w this: >> >> > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Sat May 21 20:33:36 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sat, 21 May 2016 20:33:36 -0400 Subject: [CentralOH] =?utf-8?q?2016-05-20_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gZmlyc3QgcHJvZ3JhbW1pbmcgbGFuZ3VhZ2UgdHVy?= =?utf-8?q?tle_ken_robinson_jesse_livermore_moduler_v_remainder_weasel_mes?= =?utf-8?q?h_gui_kivy_four-step_process_fluent_python_carpe?= Message-ID: <20160521203336.2f2638b9.jep200404@columbus.rr.com> first programming language What are the goals for first programming language? In other words, what do you want to accomplish with that first language? After figuring that out, which language best accomplishes that goal? Who would be learning? What do you think about the following? Does it change your answers to the above about first programming language? "The Game for Little Programmers!" Robot Turtle Board Game http://www.robotturtles.com/ http://makezine.com/2013/12/11/robot-turtles-teach-programming Watch Ken Robinson's TED videos. Does it change your answers to the above about first programming language? "selling down to the sleeping point" Speculation as a Fine Art by Dickson G. Watts wp:Extraordinary Popular Delusions and the Madness of Crowds wp:Jesse Lauriston Livermore All through time, people have basically acted and reacted the same way in the market as a result of: greed, fear, ignorance, and hope. That is why the numerical formations and patterns recur on a constant basis. ############################################################################### ?It is the story of people figuring out how the mind works when it?s faced with making investment decisions. How it functions in conditions of uncertainty.? Is Michael Lewis working on a screenplay? Modulus Haskell has separate mod and rem operators (functions really). A Haskell afficionado was surprised at Python's % behavior. Said afficionado expected behavior like C's. On Sat May 7 14:00:54 EDT 2016 jep200404 at columbus.rr.com scribbled: > predict the output > 3.25 % 3.5, 3.25 % 1, 3.25 % -1, -.25 % 3.5, -.25 % -3.5, .25 % -3.5, .25 % 3.5 Python modulus (is not remainder) http://stackoverflow.com/questions/3883004/negative-numbers-modulo-in-python http://stackoverflow.com/questions/43775/modulus-operation-with-negatives-values-weird-thing http://stackoverflow.com/questions/4432208/how-does-work-in-python http://stackoverflow.com/questions/13683563/whats-the-difference-between-mod-and-remainder https://docs.python.org/2/reference/expressions.html The modulo operator always yields a result with the same sign as its second operand (or zero); the absolute value of the result is strictly smaller than the absolute value of the second operand.[2] [2] While abs(x%y) < abs(y) is true mathematically, for floats it may not be true numerically due to roundoff. For example, and assuming a platform on which a Python float is an IEEE 754 double-precision number, in order that -1e-100 % 1e100 have the same sign as 1e100, the computed result is -1e-100 + 1e100, which is numerically exactly equal to 1e100. The function math.fmod() returns a result whose sign matches the sign of the first argument instead, and so returns -1e-100 in this case. Which approach is more appropriate depends on the application. https://docs.python.org/3/reference/expressions.html The % (modulo) operator yields the remainder from the division of the first argument by the second. The numeric arguments are first converted to a common type. A zero right argument raises the ZeroDivisionError exception. The arguments may be floating point numbers, e.g., 3.14%0.7 equals 0.34 (since 3.14 equals 4*0.7 + 0.34.) The modulo operator always yields a result with the same sign as its second operand (or zero); the absolute value of the result is strictly smaller than the absolute value of the second operand [1]. [1] While abs(x%y) < abs(y) is true mathematically, for floats it may not be true numerically due to roundoff. For example, and assuming a platform on which a Python float is an IEEE 754 double-precision number, in order that -1e-100 % 1e100 have the same sign as 1e100, the computed result is -1e-100 + 1e100, which is numerically exactly equal to 1e100. The function math.fmod() returns a result whose sign matches the sign of the first argument instead, and so returns -1e-100 in this case. Which approach is more appropriate depends on the application. modulus versus remainder As far as I can see, Python is unusual in that it uses % for modulus; Fortran, C/C++, and Java use % to mean remainder. wp:Modulo operation foo d = 3 + mod (-d) 7 map foo [0..6] tortoise & hare: hare: fast and wrong tortoise: slow and correct people often forget which got to the finish line first wp:1944 (song) Pop goes the weasel https://www.sciencenews.org/blog/science-ticker/weasel-has-shut-down-large-hadron-collider 5 rules for avoiding burnout https://opensource.com/business/16/5/5-rules-avoiding-burnout Patch now: Google and JetBrains warn developers of buggy IDE http://www.theregister.co.uk/2016/05/18/patch_now_google_and_jetbrains_warn_developers_of_buggy_ide/ Like Uber for Wireless? https://medium.com/uber-for-x/like-uber-for-wireless-dc59d4bed08c 3 open source Python GUI frameworks https://opensource.com/life/16/5/open-source-python-gui-frameworks PyQt Tkinter WxPython Kivy is multi-touch and works on mobile devices? hteck.ca four-step process http://www.hteck.ca/motor/s-motor_wire/stepper-motor.html likes and recommends Fluent Python http://shop.oreilly.com/product/0636920032519.do A 5-step process for hiring tech talent https://opensource.com/life/16/5/oscon-bitnami-erica-brescia wp:Tetris wp:viral wp:chiral Pentacubes: Puzzles & Solutions http://puzzler.sourceforge.net/docs/pentacubes.html wp:Pentomino wp:Solomon W. Golomb wp:John Horton Conway It is amazing that Penrose tiling was not discovered long ago, leaving the hope that there are many simple things like this waiting to be discovered. wp:Penrose tiling wp:Roger Penrose Biki:ni Pencil http://moonpaste.net/stmg/cgi-bin/moonwiki/wiki.cgi?bikini one has to handle and operate this to appreciate it Raspberry Pis feature Python. Check out local Raspberry Pi and Arduino group. Links and mailing list at colug.net/carpe From jep200404 at columbus.rr.com Sat May 21 21:50:38 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sat, 21 May 2016 21:50:38 -0400 Subject: [CentralOH] 2016-05-18 Napkin Scribbles from Aab: First Programming Language C# Indentation BASIC Montessori LOGO School of Fish Message-ID: <20160521215038.03b97b8c.jep200404@columbus.rr.com> seven folks First programming language What do you want in a first programming language? college professor: having taught C# and gotten much code with inconsistent indentation, dearly loves Python for forcing code to have good indentation long time geek: BASIC A Montessori school is teaching programming with LOGO? where each instruction is on a separate physical card in a stack of cards? acted out by kids? (no computer involved)!!!? Montessori school of fish From jep200404 at columbus.rr.com Sat May 21 21:59:00 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sat, 21 May 2016 21:59:00 -0400 Subject: [CentralOH] 2016-04-27 Napkin Scribbles from Nazareth Restaurant & Deli Message-ID: <20160521215900.0e465f3d.jep200404@columbus.rr.com> nazareth deli had few folks at first, but filled up later CARPE - Columbus Arduino Raspberry Pi Enthusiasts start at colug.net/carpe From eric at intellovations.com Sat May 21 22:25:31 2016 From: eric at intellovations.com (Eric Floehr) Date: Sat, 21 May 2016 22:25:31 -0400 Subject: [CentralOH] Python Hype Survey Message-ID: All, Could you please take the time to fill out Brian Ray's Python Hype Survey... Brian is a core contributor to Python and is giving a talk about the hype surrounding Python and has asked everyone to share a survey about Python hype that he will then analyze and present at PyCon: https://www.surveymonkey.com/r/python_hype_o Thanks! Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Sun May 22 16:08:41 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sun, 22 May 2016 16:08:41 -0400 Subject: [CentralOH] 2016-05-25 11:30 Wednesday Python Lunch at Grandview Aladdin's Message-ID: <20160522160841.55788a74.jep200404@columbus.rr.com> Wednesday Python Lunch at Grandview Aladdin's May 25, 2016, 11:30 a.m. Aladdin's Eatery[1] 1423(B) Grandview Ave[2] Columbus, OH 43212 We'll be meeting for good food and good company. Join us to talk Python, programming, or anything else! [1] http://www.aladdinseatery.com/ [2] http://www.openstreetmap.org/node/2323769991 From adam.johnson1733 at gmail.com Mon May 23 09:40:37 2016 From: adam.johnson1733 at gmail.com (adam johnson) Date: Mon, 23 May 2016 08:40:37 -0500 Subject: [CentralOH] Python Opportunity_Cincinnati Message-ID: All, I have an immediate need in West Chester for a back end developer. Feel free to give me a call or shoot me a message. I can be reached at 513-266-5820. Thanks, Adam Johnson -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Mon May 23 10:04:30 2016 From: eric at intellovations.com (Eric Floehr) Date: Mon, 23 May 2016 10:04:30 -0400 Subject: [CentralOH] 2016-05-25 11:30 Wednesday Python Lunch at Grandview Aladdin's In-Reply-To: <20160522160841.55788a74.jep200404@columbus.rr.com> References: <20160522160841.55788a74.jep200404@columbus.rr.com> Message-ID: RSVP Here: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/231336452/ On Sun, May 22, 2016 at 4:08 PM, wrote: > Wednesday Python Lunch at Grandview Aladdin's > May 25, 2016, 11:30 a.m. > > Aladdin's Eatery[1] > 1423(B) Grandview Ave[2] > Columbus, OH 43212 > > We'll be meeting for good food and good company. > Join us to talk Python, programming, or anything else! > > [1] http://www.aladdinseatery.com/ > [2] http://www.openstreetmap.org/node/2323769991 > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Tue May 24 19:09:23 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Tue, 24 May 2016 19:09:23 -0400 Subject: [CentralOH] First Programming Language Message-ID: <20160524190923.627f25c6.jep200404@columbus.rr.com> What does one want of a first programming language? Watch Ken Robinson videos and read Zen and the Art of Motorcycle Maintainance. From kurtis.mullins at gmail.com Tue May 24 22:08:09 2016 From: kurtis.mullins at gmail.com (Kurtis Mullins) Date: Tue, 24 May 2016 22:08:09 -0400 Subject: [CentralOH] First Programming Language In-Reply-To: <20160524190923.627f25c6.jep200404@columbus.rr.com> References: <20160524190923.627f25c6.jep200404@columbus.rr.com> Message-ID: <195CB49F-334A-43A7-A6F7-D02038059EE5@gmail.com> I'm split between a language where you can dive in and get stuff done (e.g. Python) and a "retro" language where you actually learn how computers work in the process (e.g. C). I wasn't exposed to important principles until college and wished I had know them for years. Also, if I never went to college would I have been exposed to them? My son just turned 8 and I've exposed him to Python but had more luck with Tynker (graphical). Maybe this summer off school we can do some "real" coding together Sent from my iPhone > On May 24, 2016, at 7:09 PM, jep200404 at columbus.rr.com wrote: > > What does one want of a first programming language? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Watch Ken Robinson videos and read Zen and the Art of Motorcycle Maintainance. > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh From herrold at owlriver.com Wed May 25 13:56:45 2016 From: herrold at owlriver.com (R P Herrold) Date: Wed, 25 May 2016 13:56:45 -0400 (EDT) Subject: [CentralOH] teaching new coders ... Message-ID: discussed at lunch today http://www.wsj.com/articles/if-your-teacher-sounds-like-a-robot-you-might-be-on-to-something-1462546621 On Tue, 17 May 2016, ... wrote: > What tasks does a teaching ass't do that students couldn't > figure out a robot was doing them? in the particular case of a coding / programming course, the 'get support' was probably structured in a fashion of: upload your 'misbehaving' code, and any error messages and then the software mailing back either a more specific explanation of any error message; a review for obvious 'thinko's' (such tools exist); or a 'tell me more' reply Eventually under the Socratic method, the student has to think and engage their intellect to actually READ what the message is saying, rather than 'projecting' what they though it was saying at a casual glance see eg: https://en.wikipedia.org/wiki/ELIZA I have trained junior coders over the years over and over again, and the 'default' response I have to any question in the first instance is usually: what does the documentation say? because until the student is reading the documentation, they are not yet using research skills and learning, but rather just seeking a tactical 'quick fix' which tries to gloss over a lack of understanding https://wiki.centos.org/SpoonFeed esp para 3 and four, and later -- Russ herrold From jep200404 at columbus.rr.com Thu May 26 11:02:40 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Thu, 26 May 2016 11:02:40 -0400 Subject: [CentralOH] 2016-06-02 11:30 Thursday Python Lunch at Jie's Good Tasting Message-ID: <20160526110240.0bdd4a99.jep200404@columbus.rr.com> Thursday Python Lunch at Jie's Good Tasting 2016-06-02 11:30 Jie's Good Tasting[1] 1413 Grandview Ave[2] Columbus, OH 43212 We'll be meeting for good food and good company. Join us to talk Python, programming, or anything else! [1] http://www.jiesgoodtasting.com/ [2] http://www.jiesgoodtasting.com/location.aspx From lenjaffe at jaffesystems.com Thu May 26 11:43:18 2016 From: lenjaffe at jaffesystems.com (Len Jaffe) Date: Thu, 26 May 2016 11:43:18 -0400 Subject: [CentralOH] First Programming Language In-Reply-To: <195CB49F-334A-43A7-A6F7-D02038059EE5@gmail.com> References: <20160524190923.627f25c6.jep200404@columbus.rr.com> <195CB49F-334A-43A7-A6F7-D02038059EE5@gmail.com> Message-ID: There's something to be said for Pascal as a teaching language. It has data types, strict typing, pointers and all of the major procedural looping constructs. Once all of those elements are learned, one can change to a dynamic language, or an OO language, or a functional language. I'm a fan of constraining the learner at first, especially since there's a lot more learning involved with the "first language" beyond syntax and grammar. If you can't work out a sorting algorithm on graph paper, learning a dynamic/oo/functional programming language won't help, and might hinder. But really, two or three weeks in Pascal's handcuffs should be sufficient to learn the first principle of "computer programming" On Tue, May 24, 2016 at 10:08 PM, Kurtis Mullins wrote: > I'm split between a language where you can dive in and get stuff done > (e.g. Python) and a "retro" language where you actually learn how computers > work in the process (e.g. C). I wasn't exposed to important principles > until college and wished I had know them for years. Also, if I never went > to college would I have been exposed to them? > > My son just turned 8 and I've exposed him to Python but had more luck with > Tynker (graphical). Maybe this summer off school we can do some "real" > coding together > > Sent from my iPhone > > > On May 24, 2016, at 7:09 PM, jep200404 at columbus.rr.com wrote: > > > > What does one want of a first programming language? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Watch Ken Robinson videos and read Zen and the Art of Motorcycle > Maintainance. > > _______________________________________________ > > CentralOH mailing list > > CentralOH at python.org > > https://mail.python.org/mailman/listinfo/centraloh > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -- Len Jaffe - Information Technology Smoke Jumper - lenjaffe at jaffesystems.com 614-404-4214 @LenJaffe www.lenjaffe.com Host of Code Jam Columbus - @CodeJamCMH Curator of Advent Planet - An Aggregation of Online Advent Calendars. -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at joeshaw.org Thu May 26 12:01:07 2016 From: joe at joeshaw.org (Joe Shaw) Date: Thu, 26 May 2016 12:01:07 -0400 Subject: [CentralOH] First Programming Language In-Reply-To: References: <20160524190923.627f25c6.jep200404@columbus.rr.com> <195CB49F-334A-43A7-A6F7-D02038059EE5@gmail.com> Message-ID: Hi, On Thu, May 26, 2016 at 11:43 AM, Len Jaffe wrote: > There's something to be said for Pascal as a teaching language. It has > data types, strict typing, pointers and all of the major procedural looping > constructs. > Go might be a more modern stand-in for Pascal. While influenced by C syntactically -- curly braces and such -- it's also largely inspired by Pascal descendants like Modula and Oberon. If you're into the "etymology" of programming languages, an interesting talk about this was given by one of Go's designers last year. https://talks.golang.org/2015/gophercon-goevolution.slide I have a soft spot in my heart for Pascal. After learning Basic as a kid it was my first real programming language. Once all of those elements are learned, one can change to a dynamic > language, or an OO language, or a functional language. > > I'm a fan of constraining the learner at first, especially since there's a > lot more learning involved with the "first language" beyond syntax and > grammar. > If you can't work out a sorting algorithm on graph paper, learning a > dynamic/oo/functional programming language won't help, and might hinder. > I guess it depends on what your goal for learning to program is. Are you looking to just have fun and play around, or do you want to become a serious programmer and make a career out of it? I'd argue that a sorting algorithm isn't important for the former, so a language that "gets out of the way" in many respects is a better starting place for them. I think Python fits very well here. Joe > > > But really, two or three weeks in Pascal's handcuffs should be sufficient > to learn the first principle of "computer programming" > > On Tue, May 24, 2016 at 10:08 PM, Kurtis Mullins > wrote: > >> I'm split between a language where you can dive in and get stuff done >> (e.g. Python) and a "retro" language where you actually learn how computers >> work in the process (e.g. C). I wasn't exposed to important principles >> until college and wished I had know them for years. Also, if I never went >> to college would I have been exposed to them? >> >> My son just turned 8 and I've exposed him to Python but had more luck >> with Tynker (graphical). Maybe this summer off school we can do some "real" >> coding together >> >> Sent from my iPhone >> >> > On May 24, 2016, at 7:09 PM, jep200404 at columbus.rr.com wrote: >> > >> > What does one want of a first programming language? >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > Watch Ken Robinson videos and read Zen and the Art of Motorcycle >> Maintainance. >> > _______________________________________________ >> > CentralOH mailing list >> > CentralOH at python.org >> > https://mail.python.org/mailman/listinfo/centraloh >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> https://mail.python.org/mailman/listinfo/centraloh >> > > > > -- > Len Jaffe - Information Technology Smoke Jumper - > lenjaffe at jaffesystems.com > 614-404-4214 @LenJaffe > www.lenjaffe.com > Host of Code Jam Columbus - > @CodeJamCMH > Curator of Advent Planet - An > Aggregation of Online Advent Calendars. > > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Thu May 26 13:46:39 2016 From: eric at intellovations.com (Eric Floehr) Date: Thu, 26 May 2016 13:46:39 -0400 Subject: [CentralOH] 2016-06-02 11:30 Thursday Python Lunch at Jie's Good Tasting In-Reply-To: <20160526110240.0bdd4a99.jep200404@columbus.rr.com> References: <20160526110240.0bdd4a99.jep200404@columbus.rr.com> Message-ID: RSVP Here: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/231423522/ On Thu, May 26, 2016 at 11:02 AM, wrote: > Thursday Python Lunch at Jie's Good Tasting > 2016-06-02 11:30 > > Jie's Good Tasting[1] > 1413 Grandview Ave[2] > Columbus, OH 43212 > > We'll be meeting for good food and good company. > Join us to talk Python, programming, or anything else! > > [1] http://www.jiesgoodtasting.com/ > [2] http://www.jiesgoodtasting.com/location.aspx > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lenjaffe at jaffesystems.com Thu May 26 16:01:05 2016 From: lenjaffe at jaffesystems.com (Len Jaffe) Date: Thu, 26 May 2016 16:01:05 -0400 Subject: [CentralOH] First Programming Language In-Reply-To: References: <20160524190923.627f25c6.jep200404@columbus.rr.com> <195CB49F-334A-43A7-A6F7-D02038059EE5@gmail.com> Message-ID: On Thu, May 26, 2016 at 12:01 PM, Joe Shaw wrote: > > > On Thu, May 26, 2016 at 11:43 AM, Len Jaffe > wrote: > >> >> >> I'm a fan of constraining the learner at first, especially since there's >> a lot more learning involved with the "first language" beyond syntax and >> grammar. >> If you can't work out a sorting algorithm on graph paper, learning a >> dynamic/oo/functional programming language won't help, and might hinder. >> > > I guess it depends on what your goal for learning to program is. Are you > looking to just have fun and play around, or do you want to become a > serious programmer and make a career out of it? I'd argue that a sorting > algorithm isn't important for the former, so a language that "gets out of > the way" in many respects is a better starting place for them. I think > Python fits very well here. > A sorting algorithm uses non-scalar data structures, looping, flow control (if/then), plus maybe input and output: All of those concepts are important to learn whether you want to be a fool around or have a career. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Thu May 26 16:37:31 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Thu, 26 May 2016 16:37:31 -0400 Subject: [CentralOH] =?utf-8?q?2016-03-28_=E6=9C=83=E8=AD=B0_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz86IGlzbGljZSBuYWtlZCBleGNlcHQ6IGNsYXVzZXMg?= =?utf-8?q?are_bad_pi3_leap_day_challenge_jason_green_sh_samuel_rivera_bab?= =?utf-8?q?y_learning_ethan_dicks_python_on_rpi_mike_rehner_ubuntu_make_er?= =?utf-8?q?ic_floehr_comprehensions_built-in_functions_brian_costlow_pyohi?= =?utf-8?q?o_2016_linking_wizard?= Message-ID: <20160526163731.19a25f5c.jep200404@columbus.rr.com> Thanks to Pillar for hosting us. PyOhio is July 30, 31 2016. 32 folks Pi3 is announced ARMv8, quad core, 1.2 GHz, 1GB RAM, wifi b/g/n, bluetooth, $35 http://linuxgizmos.com/quad-core-64-bit-pi-3-is-official-with-wifi-bt-and-35-price/ http://news.softpedia.com/news/raspberry-pi-3-officially-released-ten-time-more-powerful-than-original-model-501125.shtml http://fossforce.com/2016/02/official-raspberry-pi-3/ http://lxer.com/module/newswire/view/226426/ The Simple Truth About What Xamarin Was All Along to Microsoft, Just Like Ximian and Novell (Post-Patent Deal) http://techrights.org/2016/02/28/xamarin-ximian-and-novell/ SCO vs. IBM looks like it's over for good http://www.theregister.co.uk/2016/02/29/sco_vs_ibm_over/ Confirmed: IBM slurps up Bruce Schneier with Resilient purchase http://www.theregister.co.uk/2016/02/29/confirmed_ibm_slurps_up_bruce_schneier_with_resilient_purchase/ Old Boy Play Misty For Me The Producers http://www.breitbart.com/big-hollywood/2016/02/29/watch-nathan-lane-matthew-broderick-mock-trump-supporters-jimmy-kimmel-live/ subbed, not dubbed (read subtitles instead of dubbing in English) wp:The Way of the Gun wp:Brotherhood of the Wolf bar.foo google owns .foo domain? google foobar recruiting google cardboard Michael Quantopia pays coders a cut of http://www.quantopia.net/ wp:Quantopian test on their system Bourne shell's pipe beats Python all to heck toolz.pipe wp:Freaknik GitHubber wants to revive the first Unix in a PDP-7 emulator http://www.theregister.co.uk/2016/02/29/githubber_wants_to_revive_the_first_unix_in_a_pdp7_emulator/ Does Disney have openings for Python talent? http://www.breitbart.com/immigration/2016/02/29/disney-worker-american-father-forced-to-retrain-foreign-hires-it-was-torture/ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Leap Day Challenge write Python code to figure out when next COhPy meeting is on a leap day # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Jason Green 10 minute lightning talk on sh module See github.com/gjigsaw for ipynb file of this presentation. Ask him for it if you don't see it. module: sh author: Andrew Moffat source: https://github.com/amoffat/sh docs: https://amoffat.github.io/sh # pip install sh import sh sh.ls() sh.ls('-l') sh.pip('install', 'pytest') !py.test --help sy.py.test # This does not work, so: sh.Command('py.test')('--help') # This works. sh.Command('/bin/ls')('-alh') lscmd = sh.Command('/bin/ls') # Compare to functools.partial(). lscmd('-alh') sh.df('-T', '--block-size', '1G') # Last two arguments are associated. sh.df('-T', blocksize='1G') # This shows meaning of '1G' better. sh.sleep(3) # this blocks. print('delayed') sh.sleep(3, bg=True) # This does not block. print('immediate') sh.sort(sh.du(sh.glob('*'), '-sb'), '-rn') # pipe (ugly syntax) import toolz sh.wc(sh.ls('/etc', '-l'), '-l') sh.git.init('foo') # Access sub-commands via dot notation. output = sh.ls('/') output.exit_code # See exit codes. sh.ls('*.ipynb') # Fails, because ls does not grok globs. sh.ls(sh.glob('*.ipynb')) # This works. lslah = sh.ls.bake('-lah') # Bake (ala partial) an argument into command. lslah('/') # See https://amoffat.github.io/sh # Works on Linux and OSX only. (No MS Windows) ipython notebook with reveal.js and rise # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Samuel Rivera post-doc reasearcher for a few more weeks Sam presented about tracking babies' eyes to infer when they learn. learn categories: three months old first speech: 12 months old vocabulary spurt: 18 months how do labels or words affect category learning? babies are too young to say what they are thinking, so track eyes Modeling category learning dynamics with Self Organizing Maps (with Python) categories and words e.g., cats and living things Plunkett: labels could override what categories you learn Plunkett, Hu, & Cohen, 2008 Gliozzi labels as features unsupervised feature-based learning of the categories using SOM: self organizing maps github.com/JustGlowing/minisom https://github.com/sriveravi/som does not follow PEP8 http://samuelrivera.co/ sriveravi at gmail.com sriveravi.github.io exemplar likes Python sexy language can keep using after school because it's free sharing culture (like academia) wp:The Cathedral and the Bazaar # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Ethan Dicks next month will show Raspberry Pi stuff that uses Python Pi Zero with Sense Hat Pi 3 released today: has wifi & bluetooth for $35 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Mike Rehner Easy way to install whole bunch of Python stuff in Ubuntu. Ubuntu Make will install fat Python install personal package archive (ppa) https://wiki.ubuntu.com/ubuntu-make https://github.com/ubuntu/ubuntu-make do: Ubuntu == 16.04: sudo apt-get install ubuntu-make Ubuntu < 16.04: sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-get update sudo apt-get install ubuntu-make java was not installed on his machine umake --h umake ide phcharm # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Eric Floehr show comprehensions and some built-in functions min(), max(), any(), all(), sum() mkvirtualenv 201502cohpy workon 201502cohpy jupyter notebook weatherunderground api wunderground.com/weather/api/?MR=1 When catching exceptions, mention specific exceptions whenever possible instead of using a bare except: clause. yes: try: # Python2 import urllib2 except ImportError: # That ImportError is important. # Python2 import urllib.request as urllib2 no: try: # Python2 import urllib2 except: # That ImportError is important. # Python2 import urllib.request as urllib2 comprehensions list set dictionary generator expression (not really a comprehension) To get n'th item of a generator, use islice from itertools. Please post the jupyter notebook on github.com/cohpy. (redact api keys or passwords) What year is the next Leap Day COhPy meeting? Solve with Python. Mail your code to eric at intellovations.com. Someone has been slack in getting PyOhio web site up for 2016. Still says August 1-2, 2015. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Brian Costlow PyOhio 2016 main days are July 30 and 31, 2016. CFP will go out in March Want beginners to fill about 1/3 of slots. Social gathering on Monday at Linking Wizard. Linking Wizard is at Fifth Ave and Grandview Ave. From jep200404 at columbus.rr.com Thu May 26 18:27:18 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Thu, 26 May 2016 18:27:18 -0400 Subject: [CentralOH] 2016-05-25 Aladdin's Eatery Napkin Scribbles: mole day 1425 one minute manager monkeys spoonfeeding shell fortran salt ken robinson zmm Message-ID: <20160526182718.1560cc2b.jep200404@columbus.rr.com> sat outside due to good weather siren at noon Mole Day in June? Mole Day in October! wp:Mole Day both doors are 1425 not 1423 One Minute Manager meets the monkeys. spoonfeeding shell fortran flavor savor over 2000 milligrams sodium http://www.aladdinseatery.com/wp-content/uploads/2014/07/NUTRITION-SPREADSHEET-Update-2014.pdf http://www.wsj.com/articles/if-your-teacher-sounds-like-a-robot-you-might-be-on-to-something-1462546621 Watch Ken Robinson videos. Read "Zen and the Art of Motorcycle Maintainance". From jep200404 at columbus.rr.com Thu May 26 18:33:16 2016 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Thu, 26 May 2016 18:33:16 -0400 Subject: [CentralOH] =?utf-8?q?2016-02-29_=E6=9C=83=E8=AD=B0_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz86IGlzbGljZSBuYWtlZCBleGNlcHQ6IGNsYXVzZXMg?= =?utf-8?q?are_bad_pi3_leap_day_challenge_jason_green_sh_samuel_rivera_bab?= =?utf-8?q?y_learning_ethan_dicks_python_on_rpi_mike_rehner_ubuntu_make_er?= =?utf-8?q?ic_floehr_comprehensions_built-in_functions_brian_costlow_pyohi?= =?utf-8?q?o_2016_linking_wizard?= In-Reply-To: <20160526163731.19a25f5c.jep200404@columbus.rr.com> References: <20160526163731.19a25f5c.jep200404@columbus.rr.com> Message-ID: <20160526183316.1b5b9630.jep200404@columbus.rr.com> On Thu, 26 May 2016 16:37:31 -0400, jep200404 at columbus.rr.com wrote: > Subject: [CentralOH] 2016-03-28 ?? Scribbles ??/???: ... Oops. Of course I meant 2016-02-29, not 2016-03-28.