From nludban at columbus.rr.com Tue Jan 3 13:41:40 2017 From: nludban at columbus.rr.com (Neil Ludban) Date: Tue, 3 Jan 2017 13:41:40 -0500 Subject: [CentralOH] micropython Message-ID: <20170103134140.7b2b102d7561e1948880a4d6@columbus.rr.com> Just found both of these at MicroCenter and brought them home: https://www.amazon.com/Python-Microcontrollers-Getting-Started-MicroPython/dp/1259644537 http://linksprite.com/wiki/index.php5?title=LinkNode_D1 From winningham at gmail.com Tue Jan 3 20:56:19 2017 From: winningham at gmail.com (Thomas Winningham) Date: Tue, 3 Jan 2017 20:56:19 -0500 Subject: [CentralOH] micropython In-Reply-To: <20170103134140.7b2b102d7561e1948880a4d6@columbus.rr.com> References: <20170103134140.7b2b102d7561e1948880a4d6@columbus.rr.com> Message-ID: So I messed with MicroPython a ton on a NodeMCU board (also an ESP8266) ... It was an absolute blast. Unfortunately, after much head scratching I think I ultimately had memory fragmentation errors from trying simply to do too much dynamically in Python... or at least I *think* that was the issue. It would simply reset after 10 minutes of working? I since then rewrote everything I was doing (two servos and two steppers) in Arduino code using PlatformIO to manage the project, and everything works a lot better. I'm still using a lot of Python to interact with the thing though. I do think that the MicroPython project is insanely cool, and the code runs so quickly. Even the Unix port is fun to play with for sure. I think they list their ESP8266 support as experimental at the moment, so I just wanted to chime in with a heads up if you find yourself beating your head against the wall, it may not be your fault. On Tue, Jan 3, 2017 at 1:41 PM, Neil Ludban wrote: > Just found both of these at MicroCenter and brought them home: > > https://www.amazon.com/Python-Microcontrollers-Getting- > Started-MicroPython/dp/1259644537 > > http://linksprite.com/wiki/index.php5?title=LinkNode_D1 > _______________________________________________ > 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 Fri Jan 6 15:04:33 2017 From: eric at intellovations.com (Eric Floehr) Date: Fri, 6 Jan 2017 15:04:33 -0500 Subject: [CentralOH] Tcikets to PyTennessee (February 4-5, 2017) Message-ID: All, I have two tickets to PyTennessee available. They are currently a $102 value. If you are a student, or have a financial hardship, but still would like to go, please contact me. PyTennessee, like PyOhio, struggles at the edge of paying the bills to put on the conference, so if you are able to pay for the ticket, please do. But if the cost of the ticket would make a difference, I'd love to see you go versus not going. Please let me know, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Sat Jan 7 13:58:13 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sat, 7 Jan 2017 13:58:13 -0500 Subject: [CentralOH] PyTN Accomodations Message-ID: <20170107135813.69c71497.jep200404@columbus.rr.com> I am going to PyTN next month. It is time to look for accomodations. Who would like to split a room? From joskra42.list at gmail.com Sun Jan 8 14:54:49 2017 From: joskra42.list at gmail.com (Joshua Kramer) Date: Sun, 8 Jan 2017 14:54:49 -0500 Subject: [CentralOH] Critiques Requested for new app Message-ID: Hey Everyone... I've been working on a simple document management app. Basically I just needed something to handle the mountains of papers I've collected over the years. I wanted a simple program that would met me scan the documents and attach tags and effective dates, and that's it. So far I have the scanning app. It is based on npyscreen (a ncurses UI library) and the command line tools for ImageMagick and sane-backends. It is here: https://github.com/JoshuaPK/SimDocMgr Critiques are requested, and if anyone wants to help work on it, that's good too. :) Thanks! -JK From eric at intellovations.com Wed Jan 11 15:07:13 2017 From: eric at intellovations.com (Eric Floehr) Date: Wed, 11 Jan 2017 15:07:13 -0500 Subject: [CentralOH] Next Pythology Event: Friday, March 10 Message-ID: IndyPy is putting on another series of one-day lecture series focused on a specific topic. The first Pythology event of 2017 will be Friday, March 10 and focused on Automating Processes with Python. The event will be held near Indianapolis, Indiana, at the Launch Fishers coworking space in Fishers, Indiana. More information and signup can be found here: https://www.meetup.com/indypy/events/236143846/ Speakers and talks will be announced soon. Several COhPy'ers have attended these events, and if you have an interest in the topic of discussion, are I think all would say they are well worth the day trip. If you have any questions, please contact Carol Ganz at carol at sixfeetup.com Cheers, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Wed Jan 11 15:19:50 2017 From: eric at intellovations.com (Eric Floehr) Date: Wed, 11 Jan 2017 15:19:50 -0500 Subject: [CentralOH] COhPy Talks Needed! Message-ID: All, Happy New Year! I'm looking for speakers for both short and long talks, walk-throughs, group coding facilitators, and refactoring exercises. Possible 15 minute to 1 hour ideas: 1. What have you programmed in Python lately? 2. What new library or feature have you discovered that you'd like to share? 3. What code could use some refactoring? 4. What interesting programming ideas or challenge do you have? I know that a few of you suggested topics to me last year, but I can't find my notes! :-( If you've already let me know in the past that you'd like to talk, send me a note please!! Thanks so much! Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Wed Jan 11 16:37:02 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 11 Jan 2017 16:37:02 -0500 Subject: [CentralOH] Critiques Requested: Come to Dojos In-Reply-To: References: Message-ID: <20170111163702.7ddec87c.jep200404@columbus.rr.com> On Sun, 8 Jan 2017 14:54:49 -0500, Joshua Kramer wrote: > https://github.com/JoshuaPK/SimDocMgr > > Critiques are requested, and if anyone wants to help work on it, > that's good too. :) Come to the dojos[1] to find and explore various ways of coding. [1] https://www.meetup.com/Central-Ohio-Python-Users-Group/ From jep200404 at columbus.rr.com Wed Jan 11 16:44:47 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 11 Jan 2017 16:44:47 -0500 Subject: [CentralOH] Critiques Requested: Live Refactoring In-Reply-To: References: Message-ID: <20170111164447.1a0568ca.jep200404@columbus.rr.com> On Sun, 8 Jan 2017 14:54:49 -0500, Joshua Kramer wrote: > Critiques are requested, and if anyone wants to help work on it, > that's good too. :) Consider showing your code at the monthly meeting[1] for live refactoring. Eric is actively look for speakers: On Wed, 11 Jan 2017 15:19:50 -0500, Eric Floehr wrote: > Happy New Year! I'm looking for speakers for both short and long talks, > walk-throughs, group coding facilitators, and refactoring exercises. > Possible 15 minute to 1 hour ideas: > 3. What code could use some refactoring? [1] 2017-01-30 January Monthly Meeting https://www.meetup.com/Central-Ohio-Python-Users-Group/events/236712398/ From jep200404 at columbus.rr.com Wed Jan 11 17:05:56 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 11 Jan 2017 17:05:56 -0500 Subject: [CentralOH] Critiques Requested: UNIX Philosophy In-Reply-To: References: Message-ID: <20170111170556.1a659155.jep200404@columbus.rr.com> On Sun, 8 Jan 2017 14:54:49 -0500, Joshua Kramer wrote: > It is based on npyscreen (a ncurses UI library)... Consider following the unix philosophy[1], including: 1. Make each program do one thing well. Instead of one big program, have multiple smaller programs, 2. Write programs to handle text streams, because that is a universal interface. This makes it easy to use your little programs above with other programs and unix friends such as grep, sed, and awk. 3. Avoid captive user interfaces. (So make the ncurses interface a separate program.) [1] https://en.wikipedia.org/wiki/Unix_philosophy From jep200404 at columbus.rr.com Wed Jan 11 18:50:42 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 11 Jan 2017 18:50:42 -0500 Subject: [CentralOH] COhPy Talks Needed!: Work Forum In-Reply-To: References: Message-ID: <20170111185042.1e1e59dc.jep200404@columbus.rr.com> On Wed, 11 Jan 2017 15:19:50 -0500, Eric Floehr wrote: > I'm looking for speakers for both short and long ... Something we have done on an occasional ad-hoc basis that would be good to do on a official regular basis is to let folks who are looking for workers and folks who are looking for work say so to the whole group. Ten minutes would probably be plenty. We have a hard stop for the meeting at 8:30pm. Consider a hard stop for the presentations at 8:20pm then work forum with overall hard stop at 8:30pm. From kedlav at gmail.com Wed Jan 11 22:33:53 2017 From: kedlav at gmail.com (Max) Date: Wed, 11 Jan 2017 22:33:53 -0500 Subject: [CentralOH] COhPy Talks Needed! In-Reply-To: References: Message-ID: Hi Eric, I recently moved back to Columbus from Austin where I've been plying my trade for the last 7 years. I'd be happy to give talks on the following topics: * Web Security (1hr) - understanding common vulnerabilities and how to prevent them with practical python examples * Web Security and Design (30m): Using good design and great tools to influence positive user behavior with practical python examples * Test Automation: Learnings from 0 tests to zero defects (1hr) - How I went about booting test automation in two organizations from single digit tests on multimillion line codebases to zero defects, again with practical python examples * Memory Leaks Troubleshooting (15m): How to fight memory leaks on linux with python * Stretching the Django ORM (1hr): How to best use the django orm to have great reusability, thorough testing, and scale to hundreds of millions of record tables with no DBA. * Introduction to monitoring Python apps from the inside (30m): How to use tools like basic tools like pghero and opbeat/sentry to get ahead of the game, statsd+graphite and ELK to troubleshoot complex issues at scale * Dealing with clibs to get to pythonic code (1hr): Practical walkthrough of how you can take a horrific to use c library like tesseract and build testable, elegant pythonic code for the rest of the dev team to interact with. I've never presented on that last topic, but having recently dealt with this a few times for processing scans and PDF's, I have a lot of good examples in source control. Having just given the memory leaks troubleshooting presentation to my own team, I'd be happy to share that at this upcoming or the next session. Thanks, Max Morlocke On Wed, Jan 11, 2017 at 3:19 PM, Eric Floehr wrote: > All, > > Happy New Year! I'm looking for speakers for both short and long talks, > walk-throughs, group coding facilitators, and refactoring exercises. > > > Possible 15 minute to 1 hour ideas: > > 1. What have you programmed in Python lately? > > 2. What new library or feature have you discovered that you'd like to > share? > > 3. What code could use some refactoring? > > 4. What interesting programming ideas or challenge do you have? > > > I know that a few of you suggested topics to me last year, but I can't > find my notes! :-( If you've already let me know in the past that you'd > like to talk, send me a note please!! > > 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 bim at digitalbim.com Thu Jan 12 20:32:52 2017 From: bim at digitalbim.com (Bim Walker) Date: Thu, 12 Jan 2017 20:32:52 -0500 Subject: [CentralOH] COhPy Talks Needed! In-Reply-To: References: Message-ID: <3C3CECAC-186C-4A23-AF8E-F346E4FF6D6C@digitalbim.com> Hi Eric, I could probably do a talk on xlwings (dynamic Python/Excel communication). Bim On Jan 11, 2017, at 3:19 PM, Eric Floehr wrote: > All, > > Happy New Year! I'm looking for speakers for both short and long talks, walk-throughs, group coding facilitators, and refactoring exercises. > > > Possible 15 minute to 1 hour ideas: > > 1. What have you programmed in Python lately? > > 2. What new library or feature have you discovered that you'd like to share? > > 3. What code could use some refactoring? > > 4. What interesting programming ideas or challenge do you have? > > > I know that a few of you suggested topics to me last year, but I can't find my notes! :-( If you've already let me know in the past that you'd like to talk, send me a note please!! > > Thanks so much! > Eric > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh From pybokeh at gmail.com Thu Jan 12 21:18:47 2017 From: pybokeh at gmail.com (pybokeh) Date: Thu, 12 Jan 2017 21:18:47 -0500 Subject: [CentralOH] COhPy Talks Needed! In-Reply-To: <3C3CECAC-186C-4A23-AF8E-F346E4FF6D6C@digitalbim.com> References: <3C3CECAC-186C-4A23-AF8E-F346E4FF6D6C@digitalbim.com> Message-ID: Hi Bim, Please do! I haven't used xlwings for a while and would love to have an excuse to update my xlwings cheat sheet found here: http://nbviewer.jupyter.org/github/pybokeh/jupyter_notebooks/blob/master/xlwings/Excel_Formatting.ipynb - Daniel On Jan 12, 2017 9:04 PM, "Bim Walker" wrote: > Hi Eric, I could probably do a talk on xlwings (dynamic Python/Excel > communication). > > > Bim > > > On Jan 11, 2017, at 3:19 PM, Eric Floehr wrote: > > > All, > > > > Happy New Year! I'm looking for speakers for both short and long talks, > walk-throughs, group coding facilitators, and refactoring exercises. > > > > > > Possible 15 minute to 1 hour ideas: > > > > 1. What have you programmed in Python lately? > > > > 2. What new library or feature have you discovered that you'd like to > share? > > > > 3. What code could use some refactoring? > > > > 4. What interesting programming ideas or challenge do you have? > > > > > > I know that a few of you suggested topics to me last year, but I can't > find my notes! :-( If you've already let me know in the past that you'd > like to talk, send me a note please!! > > > > 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 Thu Jan 12 21:33:21 2017 From: bim at digitalbim.com (Bim Walker) Date: Thu, 12 Jan 2017 21:33:21 -0500 Subject: [CentralOH] COhPy Talks Needed! In-Reply-To: References: <3C3CECAC-186C-4A23-AF8E-F346E4FF6D6C@digitalbim.com> Message-ID: Thanks - that?s a great resource. I didn?t know that you could freeze rows via xlwings! Bim On Jan 12, 2017, at 9:18 PM, pybokeh wrote: > Hi Bim, > Please do! I haven't used xlwings for a while and would love to have an excuse to update my xlwings cheat sheet found here: > http://nbviewer.jupyter.org/github/pybokeh/jupyter_notebooks/blob/master/xlwings/Excel_Formatting.ipynb > > - Daniel > > On Jan 12, 2017 9:04 PM, "Bim Walker" wrote: > Hi Eric, I could probably do a talk on xlwings (dynamic Python/Excel communication). > > > Bim > > > On Jan 11, 2017, at 3:19 PM, Eric Floehr wrote: > > > All, > > > > Happy New Year! I'm looking for speakers for both short and long talks, walk-throughs, group coding facilitators, and refactoring exercises. > > > > > > Possible 15 minute to 1 hour ideas: > > > > 1. What have you programmed in Python lately? > > > > 2. What new library or feature have you discovered that you'd like to share? > > > > 3. What code could use some refactoring? > > > > 4. What interesting programming ideas or challenge do you have? > > > > > > I know that a few of you suggested topics to me last year, but I can't find my notes! :-( If you've already let me know in the past that you'd like to talk, send me a note please!! > > > > 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 > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh -------------- next part -------------- An HTML attachment was scrubbed... URL: From pybokeh at gmail.com Fri Jan 13 20:01:59 2017 From: pybokeh at gmail.com (pybokeh) Date: Fri, 13 Jan 2017 20:01:59 -0500 Subject: [CentralOH] Installing Python on Linux from Source? Message-ID: Just curious if there is a better way to install a Python version from source on Linux and then make virtual environment using that new Python version. Here are my steps / procedure: # Install necessary dependencies sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev sudo apt-get install libreadline-dev libncursesw5-dev libncurses5-dev zlib1g-dev libssl-dev tk-dev # Download source: wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz # Extract, configure, make, and make install tar xf Python-3.5.1.tar.xz cd Python-3.5.1 ./configure --prefix=/opt/python3.5.1 make && sudo make install # Find location of Python installation: whereis python # Create folder to contain your virtual environments: mkdir ~/envs cd ~/envs # create bottle virtual environment using Python 3.5's venv /opt/python3.5.1/bin/python3.5 -m venv bottle # Activate bottle environment: cd bottle source bin/activate pip --version # confirm pip/python version # Install packages: pip install # deactivate virtual environment: deactivate - Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From kedlav at gmail.com Fri Jan 13 23:09:40 2017 From: kedlav at gmail.com (Max) Date: Fri, 13 Jan 2017 23:09:40 -0500 Subject: [CentralOH] Installing Python on Linux from Source? In-Reply-To: References: Message-ID: For Enterprise Linux distros, you can generally find packages using rpmfind.net. Some are put together by less well known packagers, so please be careful. The IUS repo is probably your best bet if you're not on fedora to get the latest upstream packages from a reliable team and not breaking namespaces. For ubuntu, 16.10 and above have python3.6 packaged and ready. If you're on an older version (which is a reasonable guess), you can get all versions through 3.5.1 from this repo: https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes. Alas, the maintainer ran out of time to be able to support this. As I tend to run a lot more on enterprise linux... I really can't recommend much else. An alternative is to switch to using anaconda (once they upgrade, they are slower as they have a *lot* of stuff to maintain and test). This works cross-platform (windows, mac, most varieties of linux) and is highly recommended if your sysadmin skills aren't strong. -Max On Fri, Jan 13, 2017 at 8:01 PM, pybokeh wrote: > Just curious if there is a better way to install a Python version from > source on Linux and then make virtual environment using that new Python > version. > > Here are my steps / procedure: > # Install necessary dependencies > sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 > libbz2-dev > sudo apt-get install libreadline-dev libncursesw5-dev libncurses5-dev > zlib1g-dev libssl-dev tk-dev > > # Download source: > wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz > > # Extract, configure, make, and make install > tar xf Python-3.5.1.tar.xz > cd Python-3.5.1 > ./configure --prefix=/opt/python3.5.1 > make && sudo make install > > # Find location of Python installation: > whereis python > > # Create folder to contain your virtual environments: > mkdir ~/envs > cd ~/envs > > # create bottle virtual environment using Python 3.5's venv > /opt/python3.5.1/bin/python3.5 -m venv bottle > > # Activate bottle environment: > cd bottle > source bin/activate > pip --version # confirm pip/python version > > # Install packages: > pip install > > # deactivate virtual environment: > deactivate > > - Daniel > > _______________________________________________ > 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 Jan 14 15:38:44 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sat, 14 Jan 2017 15:38:44 -0500 Subject: [CentralOH] =?utf-8?q?2017-01-13_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gY2hlbWlzdCBsYW5ndWFnZTsgc3ludGFjdGljIHN1?= =?utf-8?q?gar=3B_cloud=3B_gitlab=3B_snippets=3B_right-legend=3B_f-strings?= =?utf-8?q?=3B_closure=3B_function_decorator=3B_deep_learning=3B_skyfield?= =?utf-8?q?=3B_fibonacci=3B_synchrony=3B_GOTO?= Message-ID: <20170114153844.7fef1d6e.jep200404@columbus.rr.com> What programming language should a chemist learn first? How prosperous can a chemist be without learning how to program? virtualenv env3 -p `which python3` works on Ubuntu 14.04.5 LTS nextcloud forked from owncloud wp:Telegram (software) wp:gitlab 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 What is URL for Jupyter extension snippets? https://github.com/captainsafia/notebook-snippet-manager??? allows one to mess with Jupyter menu copy and paste between different notebooks? if so, great! This has long been needed. http://maxberggren.se/2016/11/21/right-labels/ https://github.com/maxberggren/legend-right was python 2 only, and there were problems for traces that were not complete ported to Python 3 and put legends to right of ends of traces, wherever they are https://github.com/pybokeh/jupyter_notebooks/blob/master/matplotlib/Aligning_Legend_Labels_To_Lines.ipynb http://nbviewer.jupyter.org/github/pybokeh/jupyter_notebooks/blob/master/matplotlib/Aligning_Legend_Labels_To_Lines.ipynb syntactic sugar syntactic sugar is not _necessary_ "syntactic sugar" can be a pejorative dismissive term readability is the benefit of syntactic sugar Readability counts. Python has much syntactic sugar. I have come to realize Python's syntactic sugar allows one to write code that is more readable. So that unnecessary syntactic sugar is a good thing. Python's syntactic sugar is part of what makes Python a higher level language than many other languages. How would one refactor the Javaesque code in "Beyond PEP 8 -- Best practices for beautiful intelligible code", for Go, Ruby, C++, or C#? http://pyvideo.org/pycon-us-2015/beyond-pep-8-best-practices-for-beautiful-inte.html ken m v miss sweetie poo f-strings I like f-strings Someone else really really really likes f-strings https://www.python.org/dev/peps/pep-0498/ something that I am wrapping my head around is that f-strings are dynamic expressions even though they _look_ like static strings. closure function decorator http://nbviewer.ipython.org/url/colug.net/python/cohpy/20150223/cohpy-20150223-memoization.ipynb http://www.python-course.eu/python3_memoization.php memoize is cute for learning closures and function decorator, but mediocre for production. For production, I recommend functools.lru_cache over memoize. wp:Deep learning automates aspects of machine learning, but at cost of using more computer For serious stuff, need experts to narrow focus of classic machine learning ------------------------------------------------------------------------------- >From the "All your base are belong to us" department: consider getting additional email account to back up all github notifications but not all notifications are emailed gitlab? used by: IBM Redhat stackexchange O'Reilly NASA CERN Bayer nasdaq vmware intel macy's uber lockheed martin You have one second extra tonight! http://www.leitrimobserver.ie/news/lifestyle/229304/you-have-one-second-extra-tonight.html https://docs.python.org/3/library/datetime.html Getting started with Machine learning on Linux with Python 3 and Scikit-learn https://techarena51.com/index.php/getting-started-machine-learning-linux-python-3-scikit-learn/?utm_source=lxer Skyfield and 15 Years of Bad APIs http://pyvideo.org/pycon-ca-2013/skyfield-and-15-years-of-bad-apis.html https://github.com/skyfielders/python-skyfield https://github.com/skyfielders/astronomy-notebooks need to update INSTALL-xubuntu-12.10 Easycoder https://en.wikipedia.org/wiki/Honeywell_200#Software Scratch Programming Playground https://www.nostarch.com/scratchplayground Introduction to Machine Learning with Python http://shop.oreilly.com/product/0636920030515.do Did the mechanic really discern the problem, or did he just tinker until the symptoms vanished? fibs: http://nbviewer.jupyter.org/github/james-prior/euler/blob/master/euler-002-even-fibonacci-numbers-20130729.ipynb http://nbviewer.ipython.org/url/colug.net/python/cohpy/20150223/cohpy-20150223-memoization.ipynb The Great Math Mystery (PBS Nova) fibonacci numbers and botany read knuth curious coordination shepherd moons pendulum clocks on a wall Latest Cinnamon Release Lands in Antergos, but Read This Before Updating Python http://news.softpedia.com/news/antergos-users-urged-not-to-update-python-until-latest-cinnamon-release-lands-511634.shtml What engineers and marketers can learn from each other https://opensource.com/open-organization/17/1/engineers-marketers-can-learn GOTO considered awesome http://www.rasterman.com/post/goto-is-awesome-2-to-3x-faster https://www.xkcd.com/292/ Duff's device interleaving the switch cases and do/while loop is stunning. send(to, from, count) register short *to, *from; register count; { register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } } wp:The Two Cultures back to GEB Gradual Collapse of Microsoft?s Extensive (and External) Patent Trolling Operations http://techrights.org/2017/01/11/psyhogeos-and-detkin/ Explore climate data with open source tools https://opensource.com/article/17/1/apache-open-climate-workbench From eric at intellovations.com Sun Jan 15 16:42:17 2017 From: eric at intellovations.com (Eric Floehr) Date: Sun, 15 Jan 2017 16:42:17 -0500 Subject: [CentralOH] Comments and pull-requests welcome Message-ID: I was intrigued by this Mathologer video: https://www.youtube.com/watch?v=qhbuKbxJsk8 titled "Times Tables, Mandelbrot and the Heart of Mathematics", and I wanted to create the circles and lines shown in the video, so I wrote a Python program to do so. Check out the program I wrote, it's a total of less than 200 lines, including blank lines and comments: https://github.com/efloehr/circlemult It requires Python 3 and PyQt5. I'd be interested in your comments, improvements, pull-requests, etc. Thanks! Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From nludban at columbus.rr.com Mon Jan 16 00:18:05 2017 From: nludban at columbus.rr.com (Neil Ludban) Date: Mon, 16 Jan 2017 00:18:05 -0500 Subject: [CentralOH] Comments and pull-requests welcome In-Reply-To: References: Message-ID: <20170116001805.ed6e1d5fff869f47757e0b71@columbus.rr.com> On Sun, 15 Jan 2017 16:42:17 -0500 Eric Floehr wrote: > I was intrigued by this Mathologer video: > > https://www.youtube.com/watch?v=qhbuKbxJsk8 > > titled "Times Tables, Mandelbrot and the Heart of Mathematics", and I > wanted to create the circles and lines shown in the video, so I wrote a > Python program to do so. > > Check out the program I wrote, it's a total of less than 200 lines, > including blank lines and comments: > > https://github.com/efloehr/circlemult > > It requires Python 3 and PyQt5. > > I'd be interested in your comments, improvements, pull-requests, etc. > > Thanks! > Eric I was going to suggest numpy, then recognized the underlying equations, and it turned into a project... $ ./npcirclemult.py -h usage: npcirclemult.py [-h] [-f F1] [-m N] [-c COLOR] [-r RADIUS] [-e F0] [-p PHASE] [-w LINEWIDTH] NumPy powered circlemult. optional arguments: -h, --help show this help message and exit -f F1, --freq-1 F1 -m N, --modulus N -c COLOR, --color COLOR -r RADIUS, --radius RADIUS -e F0, --freq-0 F0 -p PHASE, --phase PHASE -w LINEWIDTH, --linewidth LINEWIDTH $ ./npcirclemult.py -m 200 -e -17 -f 53 -c '#db7093' $ ./npcirclemult.py -m 2048 -w 0.1 -f 42 #!/usr/local/bin/python2.7 from __future__ import division import argparse import sys import matplotlib import matplotlib.colors import matplotlib.pyplot import numpy TWO_PI_J = 2j * numpy.pi ap = argparse.ArgumentParser( description='NumPy powered circlemult.', add_help=True) ap.add_argument('-f', '--freq-1', dest='F1', type=float, default=2.0) ap.add_argument('-m', '--modulus', dest='N', type=int, default=100) ap.add_argument('-c', '--color', type=str, default='MediumSeaGreen') ap.add_argument('-r', '--radius', type=float, default=10) ap.add_argument('-e', '--freq-0', dest='F0', type=float, default=1.0) ap.add_argument('-p', '--phase', type=float, default=0.5) ap.add_argument('-w', '--linewidth', type=float, default=1) opts = ap.parse_args(sys.argv[1:]) t = numpy.arange(opts.N) sp = opts.radius * numpy.exp(TWO_PI_J * (opts.phase + (opts.F0 / opts.N) * t)) ep = opts.radius * numpy.exp(TWO_PI_J * (0.5 + (opts.F1 / opts.N) * t)) mix = sp.conj() * ep amp = numpy.abs(ep - sp) fig = matplotlib.pyplot.figure(1, figsize=(8, 8)) gs = matplotlib.gridspec.GridSpec(3, 1, height_ratios=[6, 1, 1]) x1, y1 = sp.real, sp.imag x2, y2 = ep.real, ep.imag ax = fig.add_subplot(gs[0]) ax.set_title('Multiplication Circle') #ax.axhline(0, color='lightgray') #ax.axvline(0, color='lightgray') lc = matplotlib.collections.LineCollection( zip(zip(x1, y1), zip(x2, y2)), colors=matplotlib.colors.colorConverter.to_rgba(opts.color), linewidths=opts.linewidth) ax.add_collection(lc) ax.set_aspect('equal', 'datalim') ax.margins(0.1) ax = fig.add_subplot(gs[1]) ax.axhline(0, color='gray') ax.plot(t, amp, 'b-') ax.set_ylabel('seglen') ax = fig.add_subplot(gs[2]) ax.axhline(0, color='gray') ax.plot(t, mix.real, 'r-') ax.plot(t, mix.imag, 'g-') ax.set_ylabel('mixer') matplotlib.pyplot.show() #--# From jocassid at gmail.com Mon Jan 16 22:04:15 2017 From: jocassid at gmail.com (John Cassidy) Date: Mon, 16 Jan 2017 22:04:15 -0500 Subject: [CentralOH] COhPy Talks Needed! In-Reply-To: References: Message-ID: In my 9-to-5 job been doing some testing of a web application using Selenium and pytest. On the side I've been tinkering with some pandas stuff. I could give a short (15-minutes or so) talk on either of those topics. On Wed, Jan 11, 2017 at 3:19 PM, Eric Floehr wrote: > All, > > Happy New Year! I'm looking for speakers for both short and long talks, > walk-throughs, group coding facilitators, and refactoring exercises. > > > Possible 15 minute to 1 hour ideas: > > 1. What have you programmed in Python lately? > > 2. What new library or feature have you discovered that you'd like to > share? > > 3. What code could use some refactoring? > > 4. What interesting programming ideas or challenge do you have? > > > I know that a few of you suggested topics to me last year, but I can't > find my notes! :-( If you've already let me know in the past that you'd > like to talk, send me a note please!! > > 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 bim at digitalbim.com Tue Jan 17 07:46:56 2017 From: bim at digitalbim.com (Bim Walker) Date: Tue, 17 Jan 2017 07:46:56 -0500 Subject: [CentralOH] COhPy Talks Needed! In-Reply-To: References: Message-ID: I would be interested in seeing some Selenium demos. Bim On Jan 16, 2017, at 10:04 PM, John Cassidy wrote: > In my 9-to-5 job been doing some testing of a web application using Selenium and pytest. On the side I've been tinkering with some pandas stuff. I could give a short (15-minutes or so) talk on either of those topics. > > On Wed, Jan 11, 2017 at 3:19 PM, Eric Floehr wrote: > All, > > Happy New Year! I'm looking for speakers for both short and long talks, walk-throughs, group coding facilitators, and refactoring exercises. > > > Possible 15 minute to 1 hour ideas: > > 1. What have you programmed in Python lately? > > 2. What new library or feature have you discovered that you'd like to share? > > 3. What code could use some refactoring? > > 4. What interesting programming ideas or challenge do you have? > > > I know that a few of you suggested topics to me last year, but I can't find my notes! :-( If you've already let me know in the past that you'd like to talk, send me a note please!! > > 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 cwandrews.oh at gmail.com Tue Jan 17 08:22:01 2017 From: cwandrews.oh at gmail.com (C.W. Andrews) Date: Tue, 17 Jan 2017 13:22:01 +0000 Subject: [CentralOH] COhPy Talks Needed! In-Reply-To: References: Message-ID: Me too, and I love me some pytest. On Tue, Jan 17, 2017 at 8:17 AM Bim Walker wrote: > > I would be interested in seeing some Selenium demos. > > > Bim > > > On Jan 16, 2017, at 10:04 PM, John Cassidy wrote: > > In my 9-to-5 job been doing some testing of a web application using > Selenium and pytest. On the side I've been tinkering with some pandas > stuff. I could give a short (15-minutes or so) talk on either of those > topics. > > On Wed, Jan 11, 2017 at 3:19 PM, Eric Floehr > wrote: > > All, > > Happy New Year! I'm looking for speakers for both short and long talks, > walk-throughs, group coding facilitators, and refactoring exercises. > > > Possible 15 minute to 1 hour ideas: > > 1. What have you programmed in Python lately? > > 2. What new library or feature have you discovered that you'd like to > share? > > 3. What code could use some refactoring? > > 4. What interesting programming ideas or challenge do you have? > > > I know that a few of you suggested topics to me last year, but I can't > find my notes! :-( If you've already let me know in the past that you'd > like to talk, send me a note please!! > > 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 > > > _______________________________________________ > 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 Sat Jan 21 14:06:05 2017 From: eric at intellovations.com (Eric Floehr) Date: Sat, 21 Jan 2017 14:06:05 -0500 Subject: [CentralOH] Next Monthly Meeting: Monday, January 30, 2017 Message-ID: All, Our first monthly meeting of the year is coming up soon. It will be Monday, January 30, 2017 at 6pm at Pillar in the Smith's Brothers Building (where we have met for a while now). This month, John Cassidy will be speaking on testing of a web application using Selenium and PyTest. In addition to the main talk by John, we will have several smaller recurring monthly sections: ? Job announcements, both jobs wanted and jobs open ? Interesting things we learned about Python this month ? Python Question and Answer Come and learn, share, grow, meet new people, and visit old friends at our monthly meeting! We'll be talking about the Python programming language and anything that intersects it, and the cool stuff you can do with it. Afterwards we'll be heading to Brazenhead on 5th. Cheers, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Sat Jan 21 14:18:54 2017 From: eric at intellovations.com (Eric Floehr) Date: Sat, 21 Jan 2017 14:18:54 -0500 Subject: [CentralOH] Next Monthly Meeting: Monday, January 30, 2017 In-Reply-To: References: Message-ID: I forgot to put the link to RSVP :-/ https://www.meetup.com/Central-Ohio-Python-Users-Group/events/236712398/ On Sat, Jan 21, 2017 at 2:06 PM, Eric Floehr wrote: > All, > > Our first monthly meeting of the year is coming up soon. It will be > Monday, January 30, 2017 at 6pm at Pillar in the Smith's Brothers Building > (where we have met for a while now). > > This month, John Cassidy will be speaking on testing of a web application > using Selenium and PyTest. > > In addition to the main talk by John, we will have several smaller > recurring monthly sections: > > ? Job announcements, both jobs wanted and jobs open > > ? Interesting things we learned about Python this month > > ? Python Question and Answer > > Come and learn, share, grow, meet new people, and visit old friends at our > monthly meeting! We'll be talking about the Python programming language and > anything that intersects it, and the cool stuff you can do with it. > > Afterwards we'll be heading to Brazenhead on 5th. > > Cheers, > Eric > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Tue Jan 24 13:54:26 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Tue, 24 Jan 2017 13:54:26 -0500 Subject: [CentralOH] Friday Night at PyTN Message-ID: <20170124135426.5737669f.jep200404@columbus.rr.com> Is there anything going on at PyTN on Friday night (2017-02-03)? From jep200404 at columbus.rr.com Wed Jan 25 00:15:34 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 25 Jan 2017 00:15:34 -0500 Subject: [CentralOH] 2017-01-25 11:30 Wednesday Python Lunch at Grandview Aladdin's Message-ID: <20170125001534.292b8ca9.jep200404@columbus.rr.com> Wednesday Python Lunch at Grandview Aladdin's January 25, 2017, 11:30 a.m. Aladdin's Eatery[1] 1425 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 From herrold at owlriver.com Wed Jan 25 10:30:03 2017 From: herrold at owlriver.com (R P Herrold) Date: Wed, 25 Jan 2017 10:30:03 -0500 (EST) Subject: [CentralOH] 2017-01-25 11:30 Wednesday Python Lunch at Grandview Aladdin's In-Reply-To: <20170125001534.292b8ca9.jep200404@columbus.rr.com> References: <20170125001534.292b8ca9.jep200404@columbus.rr.com> Message-ID: On Wed, 25 Jan 2017, jep200404 at columbus.rr.com wrote: > Wednesday Python Lunch at Grandview Aladdin's > January 25, 2017, 11:30 a.m. I will be bringing a 'special appearance' piece of hardware to admire as well -- Russ herrold From eric at intellovations.com Thu Jan 26 09:21:31 2017 From: eric at intellovations.com (Eric Floehr) Date: Thu, 26 Jan 2017 09:21:31 -0500 Subject: [CentralOH] Friday Night at PyTN In-Reply-To: <20170124135426.5737669f.jep200404@columbus.rr.com> References: <20170124135426.5737669f.jep200404@columbus.rr.com> Message-ID: Looks like there is a Kickoff Mixer Friday night: https://www.eventbrite.com/e/kickoff-mixer-for-pytennessee-presented-by-nashville-lbgt-in-tech-tickets-31362369692 To kick off PyTennessee, we want to celebrate the awesome, quirky and talented folks who make up the technology scene in Nashville and beyond. Stop by the Google Fiber Space to meet others interested in building the tech community, have some snacks and drinks on us, and gear up for a weekend of Python and software development at PyTennessee. Friends, family and allies of the LGBT+ community are encouraged to join us. Everyone is welcome! On Tue, Jan 24, 2017 at 1:54 PM, wrote: > Is there anything going on at PyTN on Friday night (2017-02-03)? > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From janmilosh at gmail.com Mon Jan 30 12:49:05 2017 From: janmilosh at gmail.com (Jan Milosh) Date: Mon, 30 Jan 2017 12:49:05 -0500 Subject: [CentralOH] Upcoming Columbus Women in Technology Events Message-ID: There are a couple of events coming up in mid-February that might be of interest: February 15, 2017 9am - 12:30pm Feedback: Our Love Hate Relationship A Half Day Seminar & Luncheon with Speaker Michelle Brown, COO Cover My Meds February 16, 2017 9am - 5pm Be Extraordinary: Treat Life As a Product A Full Day Workshop with Facilitator Stephanie Ockermann For more information, visit: http://www.cmhwit.com/events.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Tue Jan 31 09:36:48 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Tue, 31 Jan 2017 09:36:48 -0500 Subject: [CentralOH] =?utf-8?q?2017-01-30_=E6=9C=83=E8=AD=B0_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz86IGZzdHJpbmdzOiBBbmRyZXcncyBmYXZvcml0ZSB0?= =?utf-8?q?hing_in_Python?= Message-ID: <20170131093648.0f919113.jep200404@columbus.rr.com> Here is a notebook with Andrew's favorite thing in Python: fstrings! http://nbviewer.jupyter.org/github/james-prior/cohpy/blob/master/20170130-cohpy-fstrings.ipynb https://github.com/james-prior/cohpy/blob/master/20170130-cohpy-fstrings.ipynb What good use can you contrive for the lambda that has no arguments and accesses local variables? Maybe closures are a good use for them. (Maybe not) What else? From jep200404 at columbus.rr.com Tue Jan 31 14:19:30 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Tue, 31 Jan 2017 14:19:30 -0500 Subject: [CentralOH] 2017-01-25 Aladdin's Plush Paper Napkin Scribbles: Virginia; multicore memory; aix; regex n+1 problems In-Reply-To: References: <20170125001534.292b8ca9.jep200404@columbus.rr.com> Message-ID: <20170131141930.5ed81d57.jep200404@columbus.rr.com> On Wed, 25 Jan 2017 10:30:03 -0500 (EST), R P Herrold wrote: > I will be bringing a 'special appearance' piece of hardware to > admire as well He did and it was admired. There are multi-core CPUs, multi-core solder, and multi-core memory. colug.net/multicore aix standard unix stuff plus three layers of special sauce for storage wp:embrace, extend, extinguish search for embrace, extend, or extinguish in following. http://cyber.law.harvard.edu/msdoj/transcripts/1110a.doc n+1 standards are like regular expressions https://xkcd.com/927/ Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.[2] (n is 1) [2] https://en.wikiquote.org/wiki/Jamie_Zawinski#Attributed Regular expressions have complexity. They are helpful when their complexity is less than not using them. They can complicate a simple problem. They can also greatly simplify a problem that is complex to solve with other techniques. Compare with figuring the area of a right triangle when the short sides a and b are known. That is a trivial problem. You can solve it with calculus, but using calculus would be rediculously overly complicated. But how would you figure the area of a parabolic reflector? If you have not figured out some geometric trick for doing so, it might be very difficult to figure out. Calculus can just march through that problem. Regular Expressions: Now You Have Two Problems https://blog.codinghorror.com/regular-expressions-now-you-have-two-problems/ wp:DNA Lounge 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