From jep200404 at columbus.rr.com Thu Nov 2 14:08:07 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Thu, 2 Nov 2017 14:08:07 -0400 Subject: [CentralOH] TDD Demo Message-ID: <20171102140807.3c125d16.jep200404@columbus.rr.com> I hope to give a _little_ introduction to TDD at some Python meeting. Please scrutinize https://github.com/james-prior/tdd-demo.git From y2k at y2kbugger.com Thu Nov 2 14:30:37 2017 From: y2k at y2kbugger.com (Zak Kohler) Date: Thu, 2 Nov 2017 14:30:37 -0400 Subject: [CentralOH] TDD Demo In-Reply-To: <20171102140807.3c125d16.jep200404@columbus.rr.com> References: <20171102140807.3c125d16.jep200404@columbus.rr.com> Message-ID: That would be great. I talked to a few CentralOH members at pyOhio (or maybe LinuxFest) about whether there was someone out there willing to teach this. Any idea when as I am living in Findlay and have to plan ahead a bit. On Nov 2, 2017 14:17, wrote: > I hope to give a _little_ introduction to TDD at some Python meeting. > > Please scrutinize https://github.com/james-prior/tdd-demo.git > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mihandler0 at gmail.com Thu Nov 2 14:30:32 2017 From: mihandler0 at gmail.com (Michael Handler) Date: Thu, 2 Nov 2017 14:30:32 -0400 Subject: [CentralOH] TDD Demo In-Reply-To: <20171102140807.3c125d16.jep200404@columbus.rr.com> References: <20171102140807.3c125d16.jep200404@columbus.rr.com> Message-ID: I think that would be a useful lecture. On Thu, Nov 2, 2017 at 2:08 PM, wrote: > I hope to give a _little_ introduction to TDD at some Python meeting. > > Please scrutinize https://github.com/james-prior/tdd-demo.git > _______________________________________________ > 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 Thu Nov 9 11:19:18 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Thu, 9 Nov 2017 11:19:18 -0500 Subject: [CentralOH] =?utf-8?q?2017-11-02_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gcGFpciBwcm9ncmFtbWluZzsgb2ZmZW5zaXZlIHBy?= =?utf-8?q?ogramming=3B_walking_dead?= Message-ID: <20171109111918.12f3e2e5.jep200404@columbus.rr.com> pair programming Essential System Administration (O'Reilly), 3rd Edition, 2009, by ?leen Frisch http://shop.oreilly.com/product/9780596003432.do bad pair wp:Offensive programming why requirements.txt has many things one did not ask for for repeatability that is point of pip-compile and requirements.in https://github.com/jazzband/pip-tools/ How to Quickly Type Special Characters in Linux https://www.maketecheasier.com/quickly-type-special-characters-linux/ at least three errors in following article How to Play Audio With VLC In Python https://linuxconfig.org/how-to-play-audio-with-vlc-in-python Why I love technical debt https://opensource.com/article/17/11/why-i-love-technical-debt compare the following: wp:Die Another Day wp:The Return of the Living Dead with the following that appeared on Beggar's night: Appeals court keeps alive the never-ending Linux case, SCO v. IBM SCO says IBM released a "sham" version of Monterey OS to prop up AIX for Power. https://arstechnica.com/tech-policy/2017/10/appeals-court-keeps-alive-the-never-ending-linux-case-sco-v-ibm/ SCO, the Not-Walking Dead, Returns http://fossforce.com/2017/10/sco-not-walking-dead-returns/ 1000x faster and 1000x more durable than NAND flash https://www.cnx-software.com/2017/10/29/intel-optane-900p-series-ssd-launched-for-desktop-pcs/ From jep200404 at columbus.rr.com Fri Nov 10 09:47:39 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Fri, 10 Nov 2017 09:47:39 -0500 Subject: [CentralOH] =?utf-8?q?2017-11-09_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gdGltZSB0byBraWxsIGFnaWxlOyBpbnRlbCBjcHUg?= =?utf-8?q?backdoors?= Message-ID: <20171110094739.5dc49527.jep200404@columbus.rr.com> from the "Le Roi Est Mort, Vive Le Roi!" department: Time to Kill Agile https://www.youtube.com/watch?v=a-BOSpxYJ9M https://pragdave.me/blog/2014/03/04/time-to-kill-agile.html ghana htwshoes.com crypto currency as workaround for kleptocurrencies (like Zimbabwe had and Venezuela has) wp:The Cathedral and the Bazaar wp:gift economy wp:Homesteading the Noosphere 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 MQTT tutorial https://www.hivemq.com/mqtt-essentials/ Politics GPL bodies in bizarre trademark fight https://www.itwire.com/open-source/80677-gpl-bodies-in-bizarre-trademark-fight.html here we go again when I first found out that a cpu had AMT, i feared a backdoor much later my fears were confirmed http://www.zdnet.com/article/intel-amt-vulnerability-hits-business-chips-from-2008-onwards/ wp:Intel_AMT#Known_vulnerabilities_and_exploits now we have minix MINIX: Intel's hidden in-chip operating system Buried deep inside your computer's Intel chip is the MINIX operating system and a software stack, which includes networking and a web server. It's slow, hard to get at, and insecure as insecure can be. http://www.zdnet.com/article/minix-intels-hidden-in-chip-operating-system/ grep has friends such as but not limited to sed and awk What Is GREP and How Do You Use It? https://www.maketecheasier.com/what-is-grep-and-uses/ All your base are belong to us Can you have secrets online? This unusual pop-up shop will make you think again The Glass Room in central London looks like a high-end tech store, but is actually an exhibition designed to encourage visitors to question how easily they give data away online. http://www.zdnet.com/article/think-you-have-privacy-online-this-unusual-pop-up-shop-will-make-you-think-again/ 3 free online resources for music research https://opensource.com/article/17/11/online-music-research-archives From jep200404 at columbus.rr.com Tue Nov 14 17:13:52 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Tue, 14 Nov 2017 17:13:52 -0500 Subject: [CentralOH] 2017-11-16 11:30 Python Lunch at DUBLIN Cafe Istanbul Message-ID: <20171114171352.30482584.jep200404@columbus.rr.com> Python Lunch at Cafe Istanbul in DUBLIN[1] Thursday, November 16, 2017 11:30 a.m. We'll be meeting at Cafe Istanbul in DUBLIN for good food and good company. Join us to talk Python, programming, or anything else! [1] Cafe Istanbul in DUBLIN 6125 Riverside Dr Dublin, OH 43017 http://cafeistanbuldublin.com/ http://www.openstreetmap.org/node/4534989691 From eric at intellovations.com Wed Nov 15 08:53:03 2017 From: eric at intellovations.com (Eric Floehr) Date: Wed, 15 Nov 2017 08:53:03 -0500 Subject: [CentralOH] 2017-11-16 11:30 Python Lunch at DUBLIN Cafe Istanbul In-Reply-To: <20171114171352.30482584.jep200404@columbus.rr.com> References: <20171114171352.30482584.jep200404@columbus.rr.com> Message-ID: RSVP Here: https://www.meetup.com/Central-Ohio-Python-Users-Group/events/245131072/ On Tue, Nov 14, 2017 at 5:13 PM, wrote: > Python Lunch at Cafe Istanbul in DUBLIN[1] > Thursday, November 16, 2017 11:30 a.m. > > We'll be meeting at Cafe Istanbul in DUBLIN > for good food and good company. > Join us to talk Python, programming, or anything else! > > [1] Cafe Istanbul in DUBLIN > 6125 Riverside Dr > Dublin, OH 43017 > http://cafeistanbuldublin.com/ > http://www.openstreetmap.org/node/4534989691 > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From amyngbedinghaus at gmail.com Wed Nov 15 09:48:24 2017 From: amyngbedinghaus at gmail.com (Amy Bedinghaus) Date: Wed, 15 Nov 2017 09:48:24 -0500 Subject: [CentralOH] 2017-11-16 11:30 Python Lunch at DUBLIN Cafe Istanbul In-Reply-To: References: <20171114171352.30482584.jep200404@columbus.rr.com> Message-ID: So I'm learning Python and have become familiar with the basic syntax, but I am struggling with how to write a try-except block for a project in an online course that I'm taking. Would anyone be able to help with this at the lunch tomorrow? Thanks, Amy Amy Bedinghaus, MA (864) 381-1830 On Wed, Nov 15, 2017 at 8:53 AM, Eric Floehr wrote: > RSVP Here: https://www.meetup.com/Central-Ohio-Python-Users- > Group/events/245131072/ > > > On Tue, Nov 14, 2017 at 5:13 PM, wrote: > >> Python Lunch at Cafe Istanbul in DUBLIN[1] >> Thursday, November 16, 2017 11:30 a.m. >> >> We'll be meeting at Cafe Istanbul in DUBLIN >> for good food and good company. >> Join us to talk Python, programming, or anything else! >> >> [1] Cafe Istanbul in DUBLIN >> 6125 Riverside Dr >> Dublin, OH 43017 >> http://cafeistanbuldublin.com/ >> http://www.openstreetmap.org/node/4534989691 >> _______________________________________________ >> 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 deeptinker at gmail.com Thu Nov 16 10:21:53 2017 From: deeptinker at gmail.com (Travis Risner) Date: Thu, 16 Nov 2017 10:21:53 -0500 Subject: [CentralOH] 2017-11-16 11:30 Python Lunch at DUBLIN Cafe Istanbul In-Reply-To: References: <20171114171352.30482584.jep200404@columbus.rr.com> Message-ID: <7BCB6645-44C8-455D-8409-8B23995AC877@gmail.com> Hi Amy, Sure can! See you at 11:30. ? Travis Risner (iPhone) > On Nov 15, 2017, at 9:48 AM, Amy Bedinghaus wrote: > > So I'm learning Python and have become familiar with the basic syntax, but I am struggling with how to write a try-except block for a project in an online course that I'm taking. Would anyone be able to help with this at the lunch tomorrow? > Thanks, > Amy > > Amy Bedinghaus, MA > (864) 381-1830 > > >> On Wed, Nov 15, 2017 at 8:53 AM, Eric Floehr wrote: >> RSVP Here: https://www.meetup.com/Central-Ohio-Python-Users-Group/events/245131072/ >> >> >>> On Tue, Nov 14, 2017 at 5:13 PM, wrote: >>> Python Lunch at Cafe Istanbul in DUBLIN[1] >>> Thursday, November 16, 2017 11:30 a.m. >>> >>> We'll be meeting at Cafe Istanbul in DUBLIN >>> for good food and good company. >>> Join us to talk Python, programming, or anything else! >>> >>> [1] Cafe Istanbul in DUBLIN >>> 6125 Riverside Dr >>> Dublin, OH 43017 >>> http://cafeistanbuldublin.com/ >>> http://www.openstreetmap.org/node/4534989691 >>> _______________________________________________ >>> 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 amyngbedinghaus at gmail.com Thu Nov 16 19:49:20 2017 From: amyngbedinghaus at gmail.com (Amy) Date: Thu, 16 Nov 2017 19:49:20 -0500 Subject: [CentralOH] 2017-11-16 11:30 Python Lunch at DUBLIN Cafe Istanbul In-Reply-To: <7BCB6645-44C8-455D-8409-8B23995AC877@gmail.com> References: <20171114171352.30482584.jep200404@columbus.rr.com> <7BCB6645-44C8-455D-8409-8B23995AC877@gmail.com> Message-ID: Hi Travis, thank you so much for your offer to help with my code. I?ve had something come up and can?t make it to Smokehouse tonight, but I will plan to come to another Meetup in the near future. Happy (early) Thanksgiving, Amy Sent from my iPhone > On Nov 16, 2017, at 10:21 AM, Travis Risner wrote: > > Hi Amy, > > Sure can! See you at 11:30. ? > > Travis Risner (iPhone) > >> On Nov 15, 2017, at 9:48 AM, Amy Bedinghaus wrote: >> >> So I'm learning Python and have become familiar with the basic syntax, but I am struggling with how to write a try-except block for a project in an online course that I'm taking. Would anyone be able to help with this at the lunch tomorrow? >> Thanks, >> Amy >> >> Amy Bedinghaus, MA >> (864) 381-1830 >> >> >>> On Wed, Nov 15, 2017 at 8:53 AM, Eric Floehr wrote: >>> RSVP Here: https://www.meetup.com/Central-Ohio-Python-Users-Group/events/245131072/ >>> >>> >>>> On Tue, Nov 14, 2017 at 5:13 PM, wrote: >>>> Python Lunch at Cafe Istanbul in DUBLIN[1] >>>> Thursday, November 16, 2017 11:30 a.m. >>>> >>>> We'll be meeting at Cafe Istanbul in DUBLIN >>>> for good food and good company. >>>> Join us to talk Python, programming, or anything else! >>>> >>>> [1] Cafe Istanbul in DUBLIN >>>> 6125 Riverside Dr >>>> Dublin, OH 43017 >>>> http://cafeistanbuldublin.com/ >>>> http://www.openstreetmap.org/node/4534989691 >>>> _______________________________________________ >>>> 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 > _______________________________________________ > 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 Wed Nov 22 11:28:20 2017 From: eric at intellovations.com (Eric Floehr) Date: Wed, 22 Nov 2017 11:28:20 -0500 Subject: [CentralOH] 4th Annual Columbus Tech Community Holiday Party In-Reply-To: References: Message-ID: I'll be there! Hope to see lots of Pythonistas there as well. It's free and a great way to meet others in the local tech scene. It's free, but you do have to register at the link though. Happy Thanksgiving! Eric On Wed, Oct 11, 2017 at 7:08 PM, Brian Costlow wrote: > Hope to see everyone there! > > http://columbusholidayparty.com/ > > _______________________________________________ > 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 Fri Nov 24 12:48:50 2017 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Fri, 24 Nov 2017 12:48:50 -0500 Subject: [CentralOH] =?utf-8?q?2017-11-23_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gNSBhcHByb2FjaGVzIHRvIGxlYXJuaW5nIFB5dGhv?= =?utf-8?q?n=3B_WBBY=3B_expr_v_incr_in_tcl?= Message-ID: <20171124124850.54efefc3.jep200404@columbus.rr.com> tcl fibonacci code revisited: incr is faster than expr For the most straightforward version, replacing the expr statement with an incr statement reduced the execution time. jep at casual:~/20171123$ diff fib-with-braces.tcl fib-set-incr.tcl 7c7,8 < set c [expr {$a + $b}] --- > set c $a > incr c $b jep at casual:~/20171123$ for program in fib-with-braces.tcl fib-with-braces-set-incr.tcl; do echo "$program ======================================================";echo 55555 | ./"$program";done fib-with-braces.tcl ====================================================== Please enter seed value: Seed 55555; Result 90963...71278 Duration 759501 microseconds fib-with-braces-set-incr.tcl ====================================================== Please enter seed value: Seed 55555; Result 90963...71278 Duration 594213 microseconds jep at casual:~/20171123$ For the version that used only two variables, using incr instead of set...expr reduced the execution time, but was still much slower than the straightforward versions. jep at casual:~/20171123$ diff fib-with-braces-without-c.tcl fib-with-braces-incr-without-c.tcl 7c7 < set b [expr {$a + $b}] --- > incr b $a jep at casual:~/20171123$ for program in fib-without-c.tcl fib-with-braces-incr-without-c.tcl; do echo "$program ======================================================";echo 55555 | ./"$program";done fib-without-c.tcl ====================================================== Please enter seed value: Seed 55555; Result 90963...71278 Duration 1523480 microseconds fib-with-braces-incr-without-c.tcl ====================================================== Please enter seed value: Seed 55555; Result 90963...71278 Duration 1116895 microseconds jep at casual:~/20171123$ source code is at the bottom. =============================================================================== link farm Wild Bill Bates http://johnstonteam.blogspot.com/2010/12/wild-bills-seige.html http://johnstonteam.blogspot.com/2008/01/i-can-kick-higher-than-you-can.html Finding Files with mlocate: Part 3 https://www.linux.com/blog/learn/2017/11/finding-files-mlocate-part-3 How To Keep A Process/Command Running After Disconnecting SSH Session https://www.2daygeek.com/how-to-keep-a-process-command-running-after-disconnecting-ssh-session/ LVFS makes Linux firmware updates easier https://opensource.com/article/17/11/firmware-updates-and-lvfs Refactoring https://www.refactoring.com/ part of martinfowler.com 10 Best LaTeX Editors For Linux https://itsfoss.com/latex-editors-linux/ 5 approaches to learning Python https://opensource.com/article/17/11/5-approaches-learning-python wp:Four Freedoms wp:The Free Software Definition 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 =============================================================================== source code ==> fib-with-braces-incr-without-c.tcl <== #!/usr/bin/env tclsh proc fib {n} { set a 0 set b 1 for {set i 0} {$i < $n} {incr i} { incr b $a set a [expr {$b - $a}] } return $a } puts "Please enter seed value:" gets stdin x set StartTime [clock microseconds] set Answer [fib $x] set EndTime [clock microseconds] puts "Seed $x; Result $Answer" puts "Duration [expr $EndTime - $StartTime] microseconds" ==> fib-set-incr.tcl <== #!/usr/bin/env tclsh proc fib {n} { set a 0 set b 1 for {set i 0} {$i < $n} {incr i} { set c $a incr c $b set a $b set b $c } return $a } puts "Please enter seed value:" gets stdin x set StartTime [clock microseconds] set Answer [fib $x] set EndTime [clock microseconds] puts "Seed $x; Result $Answer" puts "Duration [expr $EndTime - $StartTime] microseconds" ==> fib-with-braces.tcl <== #!/usr/bin/env tclsh proc fib {n} { set a 0 set b 1 for {set i 0} {$i < $n} {incr i} { set c [expr {$a + $b}] set a $b set b $c } return $a } puts "Please enter seed value:" gets stdin x set StartTime [clock microseconds] set Answer [fib $x] set EndTime [clock microseconds] puts "Seed $x; Result $Answer" puts "Duration [expr $EndTime - $StartTime] microseconds" ==> fib-with-braces-without-c.tcl <== #!/usr/bin/env tclsh proc fib {n} { set a 0 set b 1 for {set i 0} {$i < $n} {incr i} { set b [expr {$a + $b}] set a [expr {$b - $a}] } return $a } puts "Please enter seed value:" gets stdin x set StartTime [clock microseconds] set Answer [fib $x] set EndTime [clock microseconds] puts "Seed $x; Result $Answer" puts "Duration [expr $EndTime - $StartTime] microseconds" From deeppunster at gmail.com Wed Nov 29 09:42:17 2017 From: deeppunster at gmail.com (Travis Risner) Date: Wed, 29 Nov 2017 09:42:17 -0500 Subject: [CentralOH] Interesting Astronomy Library Available Message-ID: <5A1EC749.4000308@gmail.com> Here is information about a Jupyter-based library that lets you plot planetary movements in 3-D. -- Sent by Travis Risner -------- Original Message -------- Subject: ANN: poliastro 0.8 released ? Date: Sun, 19 Nov 2017 19:08:58 +0100 From: Juan Luis Cano Hi all, It fills us with astronomical joy to announce the release of *poliastro 0.8.0*! ? poliastro is a pure Python library that allows you to simulate and analyze interplanetary orbits in a Jupyter notebook in an interactive and easy way, used by people from all around the world. This release brought a feature that has been in the making for several years: an easy 3D plotting interface! Thanks to the new sampling methods and the integration of Plotly and the Jupyter notebook, you can now plot orbits in three dimensions and interactively rotate the view. Make sure to check out the new notebook example here: http://docs.poliastro.space/en/latest/examples/Plotting%20in%203D.html On the other hand, we are proud to announce that we have been accepted as an affiliated Astropy package, and that this work will be presented during the first Open Source Cubesat Workshop at the European Space Operations Centre in Darmstadt, Germany. As usual, you can read the full release notes here: http://docs.poliastro.space/en/v0.8.0/changelog.html#poliastro-0-8-0-2017-11-18 If you want to know more, don't miss my talk on EuroPython 2016: https://youtu.be/VCpTgU1pb5k We encourage you to join our chat on Matrix: https://riot.im/app/#/room/#poliastro:matrix.org Per Python ad astra!