From jep200404 at columbus.rr.com Tue Sep 1 17:46:55 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Tue, 1 Sep 2015 11:46:55 -0400 Subject: [CentralOH] =?utf-8?q?2015-08-31_=E6=9C=83=E8=AD=B0_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz86IFJvYiBLaW55b24gU2FsdCBPcGVuIE9yZyBCaWtl?= =?utf-8?q?shedding_qube_please_stop_I=27m_bored_pep8_perl6_moot_regex_ci_?= =?utf-8?q?devops_bash_code_complete_mock_APIs_5quark_free_wifi_gamma_test?= =?utf-8?q?ing_flubber_clock_tshark?= Message-ID: <20150901114655.4b09fa97.jep200404@columbus.rr.com> Thanks to Pillar and Ben Rogers for hosting us. They were very generous. Pillar plied us with more food and drink than we could eat. Please stop: I'm bored. How to shut down speakers who talk too long. Best of Miss Sweetie Poo http://www.theguardian.com/education/video/2010/sep/28/ig-nobel-stop-speakers-improbable-research wp:Ig Nobel Prize The Open Organization Jim Whitehurst Charlene Li The Engaged Leader http://opensource.com/open-organization/15/9/what-my-conversation-ge-taught-me-about-open-organizations wp:Parkinson's law of triviality wp:QUBE Rob Kinyon presented on Salt how it is awesome and how other tools suck 19:00-19:05 queueing minion name is host name refactor while len(foo) > 0: to while foo: likewise refactor if len(foo) > 0: to if foo: This is considered good style. See PEP 0008 -- Style Guide for Python Code https://www.python.org/dev/peps/pep-0008/ https://www.python.org/dev/peps/pep-0008/#programming-recommendations Perl 6 The rest of the world moved on and made it moot. wp:Regular expression https://docs.python.org/2/library/re.html PCRE - Perl Compatible Regular Expressions wp:Perl Compatible Regular Expressions Introducing Regular Expressions Unraveling regular expressions, step-by-step http://shop.oreilly.com/product/0636920012337.do If you?re a programmer new to regular expressions, this easy-to-follow guide is a great place to start. You?ll learn the fundamentals step-by-step with the help of numerous examples, discovering first-hand how to match, extract, and transform text by matching specific words, characters, and patterns. Mastering Regular Expressions, 3rd Edition http://shop.oreilly.com/product/9780596528126.do Mastering Python Regular Expressions https://www.packtpub.com/application-development/mastering-python-regular-expressions http://shop.oreilly.com/product/9781783283156.do We need to use CI and Devops. 30k lines bash wp:Code Complete Rob likes this book much!!! mock external APIs http://streamlined-book.blogspot.com/ https://github.com/robkinyon pentaquark LHC (large hadron collider) collidr is dead LHS wp:Citro?n_DS#New_Green_Hydraulic_Fluid http://www.nbc.com/jay-lenos-garage/video/1971-citroen-ds/2839548?onid=159436#vc159436=1 Brazenhead has free Wifi ssid: Bhead Guest wp:gamma testing http://www.360logica.com/blog/2012/06/what-are-alpha-beta-and-gamma-testing.html fill tires with flubber corn starch and water http://www.ehow.com/how_4882584_make-flubber-borax.html https://duckduckgo.com/html/?q=flubber+recipe wp:Flubber (material) wp:non-Newtonian fluid wp:Maxwell material mariamilosh.github.io/clock Using tshark to Watch and Inspect Network Traffic http://www.linuxjournal.com/content/using-tshark-watch-and-inspect-network-traffic From jep200404 at columbus.rr.com Fri Sep 4 17:48:35 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Fri, 4 Sep 2015 11:48:35 -0400 Subject: [CentralOH] =?utf-8?q?2015-04-27_=E6=9C=83=E8=AD=B0_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz86IEppbSBSZWVkIE5BU0EgQ29kaW5nIFN0YW5kYXJk?= =?utf-8?q?s=3B_technical_debt=3B_onion_bugfixing_projectors_rust_better_i?= =?utf-8?q?f_uncalled_put_bourbon_puppet_vagrant_cattle_not_pets?= Message-ID: <20150904114835.0960e0ea.jep200404@columbus.rr.com> interest on technical debt makes bankers look like wimps Bad code is like an onion. Bad code has many layers and each one make you cry. technical debt is more like an unhedged call option http://www.higherorderlogic.com/2010/07/bad-code-isnt-technical-debt-its-an-unhedged-call-option/ http://pyvideo.org/video/2684/keynote-jessica-mckellar pyohio 2010 teach me python bugfixing pyvideo.org/video/513/ monthly meeting practice connecting to projectors. collect information. projector's native resolution might be 1024x768 get model number information need to give presentation about low-level details about giving presentations should be easy for everyone to see, including those in back row 24x80 high contrast 18 folks raymond chandler iii liaison columbus rust society http://www.meetup.com/columbus-rs/ rust by mozilla 3rd wed each mot launch v1.0 May 15 http://www.meetup.com/columbus-rs/events/222044818/ June 1 will be next CohPy TDD and Python with Behave Pyohio Aug 1&2 RFP deadline is May 15 Professor Jim Reed better "if" decisions gave presentation on NASA coding standards applied to "if" statements. https://github.com/profjrr/April-27th-Presentation-to-Python-UG http://lars-lab.jpl.nasas.gov/JPL_Coding_Standard_C.pdf http://www.jpl.nasa.gov/video/details.php?id=1090 http://www.nasa.gov/content/nasas-orion-flight-test-and-the-journey-to-mars summer of 69 fortran at Baker Systems Engineering wp:Curiosity (rover) http://lars-lab.jpl.nasa.gov/ 3.5Mlines of C code hard to read from back of room The Power of Ten - Rules for Developing Safety Critical Code Gerard J. Holzmann NASA/JPL Laboratory for Reliable Software https://www.python.org/dev/peps/pep-0008/ should do assert x < 0 or assert (x < 0) instead of assert(x < 0) should use pylint what is source about python & C++ productivity wp:Bourbon Trail bad metaphor: what is artical about that being a bad metaphor uncalled put wp:Asynchronous Transfer Mode free dns puppet vagrant docker - builds machines from scratch takes long time to build image first time, then variations are layered on top (ala unionfs) docker compose cattle not pets https://duckduckgo.com/html/?q=cattle+not+pets+servers test driven _infrastructure_ From jep200404 at columbus.rr.com Mon Sep 7 01:06:22 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sun, 6 Sep 2015 19:06:22 -0400 Subject: [CentralOH] =?utf-8?q?2015-09-04_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gZmluYW5jZTsgY2hhbGs7IGNvZGVkb2pvOyAzODQw?= =?utf-8?q?x2160=3B_code_reviews=3B_falsehoods=3B_trello=3B_pep8_updated?= =?utf-8?q?=3B_minecraft=3B_save_python_commands=3B_color_blindness=3B_how?= =?utf-8?q?_to_give_talk=3B_regex=3B_powerline=3B_open_source_routers?= Message-ID: <20150906190622.2814b549.jep200404@columbus.rr.com> Feast your eyes: DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) Can a Bash script tell what directory it's stored in? http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in Thank you Dave Dopson. One of the things I like about Python is the absence of sigils. http://www.independent.co.uk/life-style/gadgets-and-tech/news/hagoromo-chalk-why-the-demise-of-a-japanese-company-is-a-blow-to-mathematics-10326313.html Python for Finance Analyze Big Financial Data http://shop.oreilly.com/product/0636920032441.do ooda http://opensource.com/business/15/9/tips-avoiding-impostor-syndrome Code ninjas earn "belts" with CoderDojo http://opensource.com/life/15/9/coderdojo-technology-skills https://coderdojo.com/ (CohPy's Dojo is not a CoderDojo) 3840x2160 http://blog.codinghorror.com/our-brave-new-world-of-4k-displays/ 30Hz bad; 60 Hz good, so use DisplayPort 1.2 or better http://www.colebrookbossonsaunders.com/products/monitor-arm-stand/flo Wrong on the Internet http://dilbert.com/strip/2006-10-27 Our Brave New World of 4K Displays http://blog.codinghorror.com/our-brave-new-world-of-4k-displays/ We need to do code reviews. https://twitter.com/sempf/status/514473420277694465 Falsehoods Programmers Believe About Names http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/ Falsehoods programmers believe about time http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time 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 wp:trello https://leanpub.com/trellodojo wp:kanban PEP 8 was expanded much a little over two years ago. https://www.python.org/dev/peps/pep-0008/ Chinese Navy Ships Spotted Off Alaska During Obama Visit 10 open source alternatives to Minecraft http://opensource.com/life/15/9/open-source-alternatives-minecraft rear end saver for Python interpreter: import readline for i in range(readline.get_current_history_length()): print readline.get_history_item(i) from "how do you see the entire command history in interactive python?" http://stackoverflow.com/questions/6558765/how-do-you-see-the-entire-command-history-in-interactive-python Thank you Denis Golomazov. 13. Interactive Input Editing and History Substitution https://docs.python.org/2/tutorial/interactive.html wp:Gene therapy for color blindness Gene therapy for red?green colour blindness in adult primates http://www.nature.com/nature/journal/v461/n7265/full/nature08401.html Insight Into the Color Blindness Gene and Gene Therapy http://www.bio.davidson.edu/genomics/2011/Holzwarth/CBP 3.html A Talk on Giving a Pythonic Talk http://pyvideo.org/video/3378/a-talk-on-giving-a-pythonic-talk Mastering Regular Expressions, 3rd Edition http://shop.oreilly.com/product/9780596528126.do Powerline, written in Python https://powerline.readthedocs.org/en/latest/ https://github.com/powerline/powerline FCC Proposal Would Make It Impossible to Install Open Source Firmware on Routers http://news.softpedia.com/news/fcc-proposal-would-make-it-impossible-to-install-open-source-firmware-on-routers-491029.shtml From mark at aufdencamp.com Mon Sep 7 20:06:09 2015 From: mark at aufdencamp.com (Mark Aufdencamp) Date: Mon, 07 Sep 2015 11:06:09 -0700 Subject: [CentralOH] 3840x2160 4K displays Message-ID: <20150907110609.181451e9c2a7ebbcd6ae28cea81146c8.fa6f5bcb81.wbe@email17.secureserver.net> I saw Jim's note about 4K displays in his last post. I've been using a low end 50" 4K HDTV as a monitor on my mac-mini for a couple of years. I wouldn't trade it for anything! It's big, and takes a lot of space, but I've defintelty seen a productivity improvement with it. Eye/Neck/Back strain seems to be a whole lot better as well. FYI NewEgg has 39" 4K HDTV's on sale this weekend for $299 - http://www.newegg.com/Product/Product.aspx?Item=9SIA8RW38E5771&nm_mc=EMC-MP090515&cm_mmc=EMC-MP090515-_-EMC-090515-Index-_-index-_-9SIA8RW38E57711 Before getting one, make sure your video card, driver, and OS can support the resolution. Enjoy your Labor day Mark Aufdencamp Mark at Aufdencamp.com From joe at joeshaw.org Mon Sep 7 21:58:01 2015 From: joe at joeshaw.org (Joe Shaw) Date: Mon, 07 Sep 2015 19:58:01 +0000 Subject: [CentralOH] 3840x2160 4K displays In-Reply-To: <20150907110609.181451e9c2a7ebbcd6ae28cea81146c8.fa6f5bcb81.wbe@email17.secureserver.net> References: <20150907110609.181451e9c2a7ebbcd6ae28cea81146c8.fa6f5bcb81.wbe@email17.secureserver.net> Message-ID: Hi Mark, How far do you sit from the 50" display? What's the DPI on a display like that? Thanks, Joe On Mon, Sep 7, 2015 at 2:23 PM Mark Aufdencamp wrote: > I saw Jim's note about 4K displays in his last post. > > I've been using a low end 50" 4K HDTV as a monitor on my mac-mini for a > couple of years. I wouldn't trade it for anything! It's big, and takes > a lot of space, but I've defintelty seen a productivity improvement with > it. Eye/Neck/Back strain seems to be a whole lot better as well. > > FYI NewEgg has 39" 4K HDTV's on sale this weekend for $299 - > > > http://www.newegg.com/Product/Product.aspx?Item=9SIA8RW38E5771&nm_mc=EMC-MP090515&cm_mmc=EMC-MP090515-_-EMC-090515-Index-_-index-_-9SIA8RW38E57711 > > Before getting one, make sure your video card, driver, and OS can > support the resolution. > > Enjoy your Labor day > > Mark Aufdencamp > Mark at Aufdencamp.com > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at aufdencamp.com Tue Sep 8 17:12:37 2015 From: mark at aufdencamp.com (Mark Aufdencamp) Date: Tue, 08 Sep 2015 08:12:37 -0700 Subject: [CentralOH] 3840x2160 4K displays Message-ID: <20150908081237.181451e9c2a7ebbcd6ae28cea81146c8.1a551e81a8.wbe@email17.secureserver.net> Probably to close Bill. I have mine siting on the back side of my desk, a couple feet at most. It's really cool to see Photoshop images pixel to pixel on the high res dsiplay. I usually have Eclipse, a browser and a few Bash shells open on screen. Not sure what the actual physical PPI is. > -------- Original Message -------- > Subject: Re: [CentralOH] 3840x2160 4K displays > From: Joe Shaw > Date: Mon, September 07, 2015 3:58 pm > To: "Mailing list for Central Ohio Python User Group (COhPy)" > > > > Hi Mark, > > How far do you sit from the 50" display? What's the DPI on a display like > that? > > Thanks, > Joe > On Mon, Sep 7, 2015 at 2:23 PM Mark Aufdencamp wrote: > > > I saw Jim's note about 4K displays in his last post. > > > > I've been using a low end 50" 4K HDTV as a monitor on my mac-mini for a > > couple of years. I wouldn't trade it for anything! It's big, and takes > > a lot of space, but I've defintelty seen a productivity improvement with > > it. Eye/Neck/Back strain seems to be a whole lot better as well. > > > > FYI NewEgg has 39" 4K HDTV's on sale this weekend for $299 - > > > > > > http://www.newegg.com/Product/Product.aspx?Item=9SIA8RW38E5771&nm_mc=EMC-MP090515&cm_mmc=EMC-MP090515-_-EMC-090515-Index-_-index-_-9SIA8RW38E57711 > > > > Before getting one, make sure your video card, driver, and OS can > > support the resolution. > > > > Enjoy your Labor day > > > > Mark Aufdencamp > > Mark at Aufdencamp.com > > _______________________________________________ > > 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 From eric at intellovations.com Tue Sep 8 17:22:21 2015 From: eric at intellovations.com (Eric Floehr) Date: Tue, 8 Sep 2015 11:22:21 -0400 Subject: [CentralOH] Python 3.5 Release Party Message-ID: Python 3.5 release candidate 3 was released Sunday, on schedule, and it looks like Python 3.5 will be released next Sunday. We are going to have a social at Barley's on High Street across from the convention center. In addition, Ricky Rickard will be helping with a Python 3.5 hackathon for anyone who would like to bring their laptops. Please RSVP by the weekend so I can give Barley's an accurate count. There will not be free food or drinks, but there will be cupcakes. RSVP here: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/222563800/ What's new in Python 3.5: https://docs.python.org/3.5/whatsnew/index.html Go Python! Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From miller.eric.t at gmail.com Tue Sep 8 20:28:32 2015 From: miller.eric.t at gmail.com (Eric Miller) Date: Tue, 8 Sep 2015 14:28:32 -0400 Subject: [CentralOH] python blur detection Message-ID: Seems like something Mr. Floehr might enjoy: http://www.pyimagesearch.com/2015/09/07/blur-detection-with-opencv/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Wed Sep 9 02:16:27 2015 From: eric at intellovations.com (Eric Floehr) Date: Tue, 8 Sep 2015 20:16:27 -0400 Subject: [CentralOH] python blur detection In-Reply-To: References: Message-ID: Hi Eric, Thanks for sharing! I do enjoy that :-) ! There are a few things I would love to do with my timelapse photos that deal with opencv or machine learning, and if anyone has any ideas for how to do it, I'd love to hear them. First, I'd love to be able to classify the images into certain categories: solid overcast, heavy clouds, puffy clouds, high wispy clouds, clear skies, etc. Basically be able to segregate and identify cloud types. Second, I'd like to quantify some measure of "amount of change" between images. Similarly, I'd like to quantify the "velocity" of things moving, namely clouds. Cheers, Eric On Tue, Sep 8, 2015 at 2:28 PM, Eric Miller wrote: > Seems like something Mr. Floehr might enjoy: > > http://www.pyimagesearch.com/2015/09/07/blur-detection-with-opencv/ > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From miller.eric.t at gmail.com Wed Sep 9 02:57:35 2015 From: miller.eric.t at gmail.com (Eric Miller) Date: Tue, 8 Sep 2015 20:57:35 -0400 Subject: [CentralOH] python blur detection In-Reply-To: References: Message-ID: the "amount of change" problem seems to be the lowest hanging fruit. Something like: - identify an x/y mask that defines the largest rectangular area that is 100% sky. This prevents unwanted changes in light over time on non sky objects (trees/buildings/etc) from contributing noise to the amount of change calculation. - using PIL or similar, iterate over every pixel in the mask, avg them out, and build a dict of frame #'s to RGB avgs: { '0001' : [10,20,30], '0002' : [20,30,40] }. - compare avg RGB vals for first and last frames to establish start and end RGB values. (or skip this and use absolute 0,0,0 = 0%, 255,255,255 = 100%) - compare avg RGB vals for each frame to the one previous, to establish % change (relative to total determined in previous step) wait a minute...didn't you do this already? Like exactly this, lol? On Tue, Sep 8, 2015 at 8:16 PM, Eric Floehr wrote: > Hi Eric, > > Thanks for sharing! I do enjoy that :-) ! There are a few things I would > love to do with my timelapse photos that deal with opencv or machine > learning, and if anyone has any ideas for how to do it, I'd love to hear > them. > > First, I'd love to be able to classify the images into certain categories: > solid overcast, heavy clouds, puffy clouds, high wispy clouds, clear skies, > etc. Basically be able to segregate and identify cloud types. > > Second, I'd like to quantify some measure of "amount of change" between > images. Similarly, I'd like to quantify the "velocity" of things moving, > namely clouds. > > Cheers, > Eric > > > > On Tue, Sep 8, 2015 at 2:28 PM, Eric Miller > wrote: > >> Seems like something Mr. Floehr might enjoy: >> >> http://www.pyimagesearch.com/2015/09/07/blur-detection-with-opencv/ >> >> _______________________________________________ >> 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 Fri Sep 11 14:00:24 2015 From: eric at intellovations.com (Eric Floehr) Date: Fri, 11 Sep 2015 08:00:24 -0400 Subject: [CentralOH] Python 3.5 Release Party on Monday Message-ID: Just a reminder to RSVP if you would like to have some fun to celebrate the release of Python 3.5. We'll start the festivities at 5pm, and Ricky Rickard will be leading a hackathon (including bringing a USB stick with the release) starting at 6:30pm. There will be cupcakes! RSVP Here: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/222563800/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Mon Sep 14 00:41:59 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sun, 13 Sep 2015 18:41:59 -0400 Subject: [CentralOH] =?utf-8?q?2015-09-04_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gZHVuZGVyOyBtYWdpYyBtZXRob2RzOyBTdHJ1bmsg?= =?utf-8?q?=26_White=3B_matriculate_Visual_Basic_masticates_critical_think?= =?utf-8?q?ers=3B_Salaries=3B_open_source_projects=3B_that_old_house=3B_pr?= =?utf-8?q?ice=3B_passwords=3B_nodejs=3B_oximeter=3B_sphygmomanometer=3B_w?= =?utf-8?q?x=3B_fugue=3B_rants=3B_baloney=3B_GEB?= Message-ID: <20150913184159.6bbfd2b9.jep200404@columbus.rr.com> how to pronounce "__foo__": say three times: underscore underscore foo underscore underscore say three times: dunder foo Dunder http://nedbatchelder.com/blog/200605/dunder.html A Guide to Python's Magic Methods http://www.rafekettler.com/magicmethods.html wp:Strunk & White wp:Matr?cula Consular Someone matriculated at a local institution wanting to get a software degree He mentioned that many of the courses use Microsoft products such as but not limited to: Visual Basic C# .NET Compare salaries of developers working on Windows versus Linux versus Unix. Windows, Unix, and Linux Salary Survey http://aplawrence.com/Opinion/joemckearnings.html http://www.payscale.com/research/US/Skill=Linux/Salary visual basic http://bytes.com/topic/python/answers/24392-python-versus-vb http://www.payscale.com/research/US/Skill=Visual_Basic_(VB)/Salary http://www.payscale.com/research/US/Skill=Python/Salary Participate in open source projects to get experience. 9 ways to attract students to your open source project http://opensource.com/education/15/9/what-attracts-students-to-your-project Eight folks tonight The Open Organization book club: Passion and purpose change the way we work http://opensource.com/open-organization/15/9/open-organization-book-club-chapter-2 Old house moved. Python probably not involved. https://www.incollect.com/articles/crystal-bridges-will-unveil-frank-lloyd-wright-s-bachman-wilson-house-in-november Linux and Python education for students in Israel http://opensource.com/education/15/9/open-source-education-israel The Price of Open-source Software ? a Joint Response http://insidehpc.com/2015/08/the-price-of-open-source-software-a-joint-response/ Sick of memorizing passwords? A Turing Award winner came up with this algorithmic trick http://www.pcworld.com/article/2978316/security/tired-of-memorizing-passwords-a-turing-award-winner-came-up-with-this-algorithmic-trick.html http://lists.colug.net/pipermail/colug-432/2015-September/004059.html (ugly long lines) node.js + io.js -> nodejs 4.0.0 Semantic Versioning 2.0.0 http://semver.org/ Scratching a serious itch: Creating a python module for the Contec CMS50D+ pulse oximeter (Part I) http://www.atbrask.dk/?p=244 https://github.com/atbrask/CMS50Dplus That person should go to Friday and Saturday lunches at Yin-Yue Restaurant 1236 E Hudson Ave (0.9 mile east of I-71) HUDSON AVE BRIDGE OVER I-71 IS OUT. IT DOES NOT EXIST) There was also a sphygomomanometer with USB interface. wp:Sphygmomanometer How to check weather forecasts from the command line on Linux http://ask.xmodulo.com/weather-forecasts-command-line-linux.html Free course: "JavaScript: The Good Parts" http://www.itworld.com/article/2952580/development/free-course-javascript-the-good-parts.html wp:Oscar Peterson wp:Fugue wp:Johann Sebastian Bach wp:G?del, Escher, Bach https://www.reddit.com/r/linusrants Pure Baloney (sandwich) http://www.gandrtavern.com/ From jocassid at gmail.com Tue Sep 15 23:44:54 2015 From: jocassid at gmail.com (John Cassidy) Date: Tue, 15 Sep 2015 17:44:54 -0400 Subject: [CentralOH] Question > Django > Querys > comparing fields from same record. Message-ID: I'm trying to perform a query like this: SELECT * FROM MyTable WHERE MyTable.foo = MyTable.bar Is there a way to create a where clause like this using the filter method? If not how could this be done? -John Cassidy -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Tue Sep 15 23:57:30 2015 From: eric at intellovations.com (Eric Floehr) Date: Tue, 15 Sep 2015 17:57:30 -0400 Subject: [CentralOH] Question > Django > Querys > comparing fields from same record. In-Reply-To: References: Message-ID: Hi John, For that, you'll want to use Django's F() objects. F stands for 'field' (or column). So assuming your Django model for the MyTable table is also called MyTable: from django.db.models import F from yourapp.models import MyTable results = MyTable.objects.filter(foo=F('bar')) More information can be found here: https://docs.djangoproject.com/en/1.7/ref/models/queries/ Cheers, Eric On Tue, Sep 15, 2015 at 5:44 PM, John Cassidy wrote: > I'm trying to perform a query like this: > > SELECT * > FROM MyTable > WHERE MyTable.foo = MyTable.bar > > Is there a way to create a where clause like this using the filter > method? If not how could this be done? > > -John Cassidy > > _______________________________________________ > 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 Sep 16 02:50:09 2015 From: eric at intellovations.com (Eric Floehr) Date: Tue, 15 Sep 2015 20:50:09 -0400 Subject: [CentralOH] Question > Django > Querys > comparing fields from same record. In-Reply-To: References: Message-ID: Also, if you ever want to verify the query that is actually generated, you can do: results = MyTable.objects.filter(foo=F('bar')) print (results.query) Which will output something like: SELECT ... FROM "MyTable" WHERE "MyTable"."foo" = "MyTable"."bar" Where ... is the list of columns in MyTable. -Eric On Tue, Sep 15, 2015 at 5:57 PM, Eric Floehr wrote: > Hi John, > > For that, you'll want to use Django's F() objects. F stands for 'field' > (or column). So assuming your Django model for the MyTable table is also > called MyTable: > > from django.db.models import F > from yourapp.models import MyTable > > results = MyTable.objects.filter(foo=F('bar')) > > More information can be found here: > https://docs.djangoproject.com/en/1.7/ref/models/queries/ > > Cheers, > Eric > > > On Tue, Sep 15, 2015 at 5:44 PM, John Cassidy wrote: > >> I'm trying to perform a query like this: >> >> SELECT * >> FROM MyTable >> WHERE MyTable.foo = MyTable.bar >> >> Is there a way to create a where clause like this using the filter >> method? If not how could this be done? >> >> -John Cassidy >> >> _______________________________________________ >> 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 Sep 16 13:59:18 2015 From: eric at intellovations.com (Eric Floehr) Date: Wed, 16 Sep 2015 07:59:18 -0400 Subject: [CentralOH] Python Genomics position in Cincinnati Message-ID: Hey all, I know that I've heard several laments about the lack of Python jobs here in Columbus (and Ohio), so I thought I'd share this email I received about a position in Cincinnati that could be of interest to some of you. I'm sharing this one for a couple of reasons: 1. it's not a recruiter, 2. it's not an email filled with hype, 3. it seems like a cool job. If you would prefer I not post things like this (I know there is a fine line between tasteful position announcement emails and spammy recruiters), please let me know privately. Position description below: Hi Eric, I am hoping you might know someone that might be interested in a great opportunity. Cincinnati Children?s Hospital is actively recruiting a (2) software developer professionals to join our small, R&D application development group within the Department of Biomedical Informatics at Cincinnati Children?s Hospital. Most projects will relate to leading-edge genomics initiatives, but will also have wider enterprise and national implications. The developer will work closely with the Applications Research team to understand and execute on client requirements, design of solution sets, coding, testing and implementation for programming projects that affect the genomics and translational research communities. I appreciate your assistance with this essential search. If you could share the two new positions with the Python user group, that would be great. Please e-mail me directly if you or your contacts have questions. Thanks Alisa Koster, PHR alisa.koster at cchmc dot org Human Resources Consultant Cincinnati Children's Hospital Medical Center 3333 Burnet Avenue Cincinnati, OH 45229-3039 Phone: 513-636-9470 Fax: 513-636-5643 www.cincinnatichildrens.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From jocassid at gmail.com Wed Sep 16 17:22:31 2015 From: jocassid at gmail.com (John Cassidy) Date: Wed, 16 Sep 2015 11:22:31 -0400 Subject: [CentralOH] Question > Django > Querys > comparing fields from same record. In-Reply-To: References: Message-ID: Thanks Eric. I'll have to try that. On Sep 15, 2015 8:50 PM, "Eric Floehr" wrote: > Also, if you ever want to verify the query that is actually generated, you > can do: > > results = MyTable.objects.filter(foo=F('bar')) > print (results.query) > > Which will output something like: > > SELECT ... FROM "MyTable" WHERE "MyTable"."foo" = "MyTable"."bar" > > Where ... is the list of columns in MyTable. > > -Eric > > > On Tue, Sep 15, 2015 at 5:57 PM, Eric Floehr > wrote: > >> Hi John, >> >> For that, you'll want to use Django's F() objects. F stands for 'field' >> (or column). So assuming your Django model for the MyTable table is also >> called MyTable: >> >> from django.db.models import F >> from yourapp.models import MyTable >> >> results = MyTable.objects.filter(foo=F('bar')) >> >> More information can be found here: >> https://docs.djangoproject.com/en/1.7/ref/models/queries/ >> >> Cheers, >> Eric >> >> >> On Tue, Sep 15, 2015 at 5:44 PM, John Cassidy wrote: >> >>> I'm trying to perform a query like this: >>> >>> SELECT * >>> FROM MyTable >>> WHERE MyTable.foo = MyTable.bar >>> >>> Is there a way to create a where clause like this using the filter >>> method? If not how could this be done? >>> >>> -John Cassidy >>> >>> _______________________________________________ >>> 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 Fri Sep 18 18:51:35 2015 From: eric at intellovations.com (Eric Floehr) Date: Fri, 18 Sep 2015 12:51:35 -0400 Subject: [CentralOH] Links to Rob Kinyon's "Configuration Management With Python and Salt" code and presentation Message-ID: A number of folks asked after Rob Kinyon's talk for slides and the code he presented in August for his "Configuration Management With Python and Salt" talk. The following is from Rob: Deck is at https://docs.google.com/presentation/d/1QWD6mvuj2F3O5SyVUT0O7fT4b-9beuYSp5DutJkxRsw/edit?usp=sharing Everyone with that link can comment on the deck. Please encourage them to do so. Code is at https://github.com/robkinyon/cohpy-salt-talk - PRs welcome. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Sat Sep 19 23:37:36 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sat, 19 Sep 2015 17:37:36 -0400 Subject: [CentralOH] =?utf-8?q?2015-09-18_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gZ3Jvd2xlciBoYWx3YW5pIHdoaXRlaHVyc3QgdGVh?= =?utf-8?q?ching_pulse_oximeter_syslog_inotify_EULA_mutex_mkdir_lockd_nqs_?= =?utf-8?q?Al_Gore_The_Donald_TAoCP_APUE_reentrancy?= Message-ID: <20150919173736.3c86fef5.jep200404@columbus.rr.com> Someone brought wild pawpaws that they had gotten on their way to the dojo and gave some away (again!). growler micro web-framework https://pypi.python.org/pypi/growler/ wp:Beer_bottle#Growler The Ohio Taproom http://theohiotaproom.com/ where pizza crawl begins 2015-10-01 19:00-21:00 (Thursday) (kinda) Grandview Pizza Crawl http://www.columbusunderground.com/forums/topic/5xnw-pizza-crawl-2015 Grandad's Halwani Cuisine Z-Pizza Dewey's Bono Pizza Mama Mimi's 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 The Linux Setup - Jim Whitehurst, President/CEO, Red Hat http://www.mylinuxrig.com/post/129154618674/the-linux-setup-jim-whitehurst-presidentceo 14 tips for teaching open source development http://opensource.com/education/15/9/teaching-open-source-development-undergraduates Pawpaw season seems later this year than usual. There were reports of plenty of pawpaws collected 2015-09-16. Chap releases Python and Smalltalk-inspired language, complete with shrubbery http://www.theregister.co.uk/2015/09/18/we_are_the_knights_who_code_ni/ Someone who wants to develop a smartphone app should periodically check out http://www.meetup.com/techlifecolumbus/events/. There was an event listed for yesterday. http://www.meetup.com/techlifecolumbus/events/225182103/ Also check out the following URL periodically. http://www.meetup.com/GDG-Columbus/events/ http://www.meetup.com/Codecademy-Columbus/ logging: syslog is the way to go use logger command with level? and tag? arguments. logger adds timestamps for free Does systemd replace or screw up syslog? inotify (linux only) will give you events as you prefer to receive them Man Finds $1,000 Prize in EULA http://www.pcpitstop.com/spycheck/eula.asp http://www.yro.slashdot.org/story/05/02/23/2315211/man-finds-1000-prize-in-eula mkdir is handy for implementing locks (mutexes). Use with a wrapper, so that if code that does the interesting work crashes and so does not get to remove the lock, that the wrapper will catch the crash and remove the lock. Only the wrapper creates and removes the lock. http://mywiki.wooledge.org/BashFAQ/045 Avoid more and more Sorcerer's apprentices bringing more and more buckets of water. ??? To allow up to only n of something, use -x n arguments to mktemp? (I am missing something here. Does not match man page I read on *buntu.) Using pid as part of name can be convenient. -d make a directory instead of a file --tempdir[=DIR] where to make file or directory wp:Banker's algorithm But mkdir is not atomic with various remote filesystems. I.e., the operating system makes it atomic only if on local filesystem. To get a lock for multiple computers, have them request lock on one computer, which does the mkdir thing only on its own local filesystem (albeit on behalf of multiple remote computers). This has been solved. See lockd. Civil war messenger problem: How does one know that all of ones forces know to attack at the same time? message queue debugging: binary partitioning: divide and conquer nqs: network queueing server http://gnqs.sourceforge.net/docs/papers/mnqs_papers/original_cosmic_nqs_paper.ht More important than his invention of the internet is Al Gore's invention of techniques, named after himself: algorithms![1] Is not just about his mannerisms. wp:eponym MIT algorithms wp:Introduction to Algorithms aka CLR(S) not CSN(Y) https://mitpress.mit.edu/index.php?q=books/introduction-algorithms SUNY algorithms Skiena's Algorithms Lectures http://www3.cs.stonybrook.edu/~algorith/video-lectures/ The Stony Brook Algorithm Repository http://www3.cs.stonybrook.edu/~algorith/ The Algorithm Design Manual 2nd Edition by Steven S. Skiena Some folks are far far beyond me. The Donald is far far beyond me. It takes more to write something than to read and understand it. I struggle to understand what his writings. wp:TAoCP wp:Johnson's algorithm wp:Job shop scheduling wp:Job_Shop_Scheduling#Johnson.27s_algorithm http://www.rspq.org/pubs/j2.pdf Optimal Two- and Three-Stage Production Schedules With Set-up Time Invluded S. M. Johnson The Rand Corporation wp:RAND Corporation wp:Ayn Rand not wp:Stephen C. Johnson "Using TSO is like kicking a dead whale down the beach" wp:Exploding whale wp:Globster wp:glob (programming) wp:regex wp:PCRE wp:select (Unix) wp:APUE Thank you W. Richard Stevens for writing so well. wp:Reentrancy (computing) wp:Reentrant mutex Pawpaw In Search of America?s Forgotten Fruit by Andrew Moore http://www.chelseagreen.com/pawpaw http://mywiki.wooledge.org/ProcessManagement#How_do_I_make_sure_only_one_copy_of_my_script_can_run_at_a_time.3F [1] too bad it's not 04-01: wp:Algorithm#Word_origin From jep200404 at columbus.rr.com Mon Sep 21 20:13:38 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Mon, 21 Sep 2015 14:13:38 -0400 Subject: [CentralOH] Wednesday Python Lunch Message-ID: <20150921141338.58838af9.jep200404@columbus.rr.com> Python Lunch at Mazah Wednesday 2015-09-23 11:30 EDT mazah-eatery.com I have eaten very well there. Maggie cooks with love. From eric at intellovations.com Tue Sep 22 15:06:07 2015 From: eric at intellovations.com (Eric Floehr) Date: Tue, 22 Sep 2015 09:06:07 -0400 Subject: [CentralOH] Wednesday Python Lunch In-Reply-To: <20150921141338.58838af9.jep200404@columbus.rr.com> References: <20150921141338.58838af9.jep200404@columbus.rr.com> Message-ID: Sounds yummy! I'll be there. I also created a meetup event: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/225532822/ See you then! Eric On Mon, Sep 21, 2015 at 2:13 PM, wrote: > Python Lunch at Mazah > Wednesday 2015-09-23 11:30 EDT > mazah-eatery.com > > I have eaten very well there. > Maggie cooks with love. > _______________________________________________ > 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 Sep 22 23:38:42 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Tue, 22 Sep 2015 17:38:42 -0400 Subject: [CentralOH] =?utf-8?b?MjAxNS0wNy0yNCDsi5zruYTsi5wgU2NyaWJibGVz?= =?utf-8?b?IO+kmOabuC/mg6Hmloc/IG5hbmQydGV0cmlzOyBjb2RlOyB0IHNoaXJ0czsg?= =?utf-8?q?elastic_search=3B_pytest=3B_jkm=3B_jwz=3B_psd=3B_refactoring?= Message-ID: <20150922173842.31eb7c66.jep200404@columbus.rr.com> #!!!Dinner with Michael Glukhovsky and Daniel of RethinkDB #!!!Michael is from hilly part of Connecticut RethinkDB's original special sauce was blazing speed (taking advantage of SSDs) But speed and benchmarks were too hard to sell. They just kept adding features. One of them turned out to be wildly popular. That was being notified by the database when something of interest changed. (inotify pub/sub) pico de gallo nano de gallo femto de gallo atto de gallo waze traffic nand2tetris.org wp:Code: The Hidden Language of Computer Hardware and Software wp:Charles Petzold wp:Turing completeness T shirts elegant stitches zazzle tee spring Pittsburgh cotton bureau http://pittsburgh.cbslocal.com/2015/05/15/strip-district-company-prints-t-shirts-by-the-people-for-the-people/ elastic search pip install pytest-xdist py.test -f . Jacob Kaplan-Moss I am a mediocre developer. http://www.panma.org/jacob-kaplan-moss-the-talent-myth/ http://www.meetup.com/phillypug/events/223313303/ jwz.org psd syndrome http://www.jwz.org/blog/2012/11/psd/ "dockerenv" jerome #!!!jason loves refactoring watch Katrina Owen's refactoring presentations therapeutic refactoring wp:Waldorf education wp:Waldorf Astoria New York wp:Algonquin Hotel wp:Algonquin Round Table wp:Dorothy Parker https://duckduckgo.com/html/?q=dorothy+parker+quotes apher / aver Groovy becker/decker(sp?) ipython competition From jep200404 at columbus.rr.com Wed Sep 23 21:57:33 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 23 Sep 2015 15:57:33 -0400 Subject: [CentralOH] =?utf-8?q?2015-07-24_=EC=8B=9D=EC=82=AC_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gTWF6YWggQ2FmZSBJc3RhbmJ1bCBBYWIgV0FUIGph?= =?utf-8?q?vascript_kuhl_name_mit_online_course_a_code_academy_trello_secr?= =?utf-8?q?ets_configuration_globals_IOCCC_IOPCC_pawpaws?= Message-ID: <20150923155733.1ca8cbe8.jep200404@columbus.rr.com> The next lunch will be at: Aab Restaurant 1470 Grandview Ave When will it be? September 30? Had good lunch at Mazah. Eight folks showed up. Lebanese night is first Monday of each month. They have more things that they don't normally have, like three kinds of kibbeh(sp?) WAT Javascript destroyallsoftware.com/talks/wat (bummer: require proprietary codecs) was doing bio research, realized that career prospects suck, so switching to something that makes money: software: Python 10 year researcher making $40k/year Liam cool name Kuhl Snake OC original coder EHR Electronic Health Records MIT online course: excellent schedule exercises exams some code academy in Upper Arlington javascript they place you afterwards 2yr? contract? else $7k? trello chooses Aab for next Python lunch secret configuration data _not_ in repo how to keep track of multiple (non-secret) configurations: multiple configurations in one file that file _is_ in repo config file has dictionary keys are configuration names when installing/applying a configuration specify which configuration to use by command line argument don't teach newbies bad things that are too tempting to (a)buse, like globals wp:IOCCC we need an International Obfuscated Python Code Contest more wild pawpaws were given away after lunch wild pawpaw eating instructions: eat them when the smell good, which is often when they are ugly keeping in mind that outside is dirty cut in half scoop out flesh with spoon eat the sac around each seed. it's good eating too don't eat the seeds themselves Keep seeds moist. Don't let them dry out. Put in zip-lock bag with wet paper towel. Ask how to plant them yourself or return them to source for planting. Recommended was Cafe Istanbul and something other middle-eastern restaurant. From jep200404 at columbus.rr.com Thu Sep 24 17:00:25 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Thu, 24 Sep 2015 11:00:25 -0400 Subject: [CentralOH] Next Python Lunch: 2015-09-30 11:30 Aab In-Reply-To: <20150923155733.1ca8cbe8.jep200404@columbus.rr.com> References: <20150923155733.1ca8cbe8.jep200404@columbus.rr.com> Message-ID: <20150924110025.4399247f.jep200404@columbus.rr.com> The next Python lunch will be: 2015-09-30 11:30 EDT (Wednesday) Aab Restaurant 1470 Grandview Ave From joe at joeshaw.org Thu Sep 24 17:11:36 2015 From: joe at joeshaw.org (Joe Shaw) Date: Thu, 24 Sep 2015 11:11:36 -0400 Subject: [CentralOH] Next Python Lunch: 2015-09-30 11:30 Aab In-Reply-To: <20150924110025.4399247f.jep200404@columbus.rr.com> References: <20150923155733.1ca8cbe8.jep200404@columbus.rr.com> <20150924110025.4399247f.jep200404@columbus.rr.com> Message-ID: Hi, I'm going to try to make it. I've been using Luigi (luigi.readthedocs.org) lately and would love to talk to other people who might have used it or are interested in it (or its cousin Airflow). Joe On Thu, Sep 24, 2015 at 11:00 AM, wrote: > The next Python lunch will be: > > 2015-09-30 11:30 EDT (Wednesday) > Aab Restaurant > 1470 Grandview Ave > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > https://mail.python.org/mailman/listinfo/centraloh > -------------- next part -------------- An HTML attachment was scrubbed... URL: From godber at gmail.com Thu Sep 24 19:36:14 2015 From: godber at gmail.com (Austin Godber) Date: Thu, 24 Sep 2015 10:36:14 -0700 Subject: [CentralOH] Next Python Lunch: 2015-09-30 11:30 Aab In-Reply-To: References: <20150923155733.1ca8cbe8.jep200404@columbus.rr.com> <20150924110025.4399247f.jep200404@columbus.rr.com> Message-ID: Oh, these sound interesting, I've been looking to fiddle with this sort of thing to see if they could help me formalize my various workflows. Sadly I live in Arizona so I can't make the lunch. - Austin On Thu, Sep 24, 2015 at 8:11 AM, Joe Shaw wrote: > Hi, > > I'm going to try to make it. I've been using Luigi (luigi.readthedocs.org) > lately and would love to talk to other people who might have used it or are > interested in it (or its cousin Airflow). > > Joe > > On Thu, Sep 24, 2015 at 11:00 AM, wrote: > >> The next Python lunch will be: >> >> 2015-09-30 11:30 EDT (Wednesday) >> Aab Restaurant >> 1470 Grandview Ave >> >> _______________________________________________ >> 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 Fri Sep 25 03:40:16 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Thu, 24 Sep 2015 21:40:16 -0400 Subject: [CentralOH] how to keep track of multiple configurations In-Reply-To: <20150923155733.1ca8cbe8.jep200404@columbus.rr.com> References: <20150923155733.1ca8cbe8.jep200404@columbus.rr.com> Message-ID: <20150924214016.4002c3c3.jep200404@columbus.rr.com> On Wed, 23 Sep 2015 15:57:33 -0400, jep200404 at columbus.rr.com wrote: > how to keep track of multiple (non-secret) configurations: > multiple configurations in one file > that file _is_ in repo > config file has dictionary > keys are configuration names > when installing/applying a configuration > specify which configuration to use by command line argument How does one apply this to Ansible inventory and group_vars/all files? Does one create the inventory and group_vars/all files from the dictionary configuration files described above?- From eric at intellovations.com Fri Sep 25 22:35:51 2015 From: eric at intellovations.com (Eric Floehr) Date: Fri, 25 Sep 2015 16:35:51 -0400 Subject: [CentralOH] =?utf-8?q?2015-07-24_=EC=8B=9D=EC=82=AC_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8gTWF6YWggQ2FmZSBJc3RhbmJ1bCBBYWIgV0FU?= =?utf-8?q?_javascript_kuhl_name_mit_online_course_a_code_academy_t?= =?utf-8?q?rello_secrets_configuration_globals_IOCCC_IOPCC_pawpaws?= In-Reply-To: <20150923155733.1ca8cbe8.jep200404@columbus.rr.com> References: <20150923155733.1ca8cbe8.jep200404@columbus.rr.com> Message-ID: On Wed, Sep 23, 2015 at 3:57 PM, wrote: > The next lunch will be at: > > Aab Restaurant > 1470 Grandview Ave > > When will it be? September 30? > It will be September 30. Please RSVP here: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/225617224/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Fri Sep 25 22:40:49 2015 From: eric at intellovations.com (Eric Floehr) Date: Fri, 25 Sep 2015 16:40:49 -0400 Subject: [CentralOH] WAT & MIT Online Course Message-ID: > > WAT Javascript > destroyallsoftware.com/talks/wat > (bummer: require proprietary codecs) > Non-proprietary version (I believe), on archive.org: https://archive.org/details/wat_destroyallsoftware MIT online course: excellent > schedule > exercises > exams > https://www.edx.org/course/introduction-computer-science-mitx-6-00-1x-5 and the second course in the series: https://www.edx.org/course/introduction-computational-thinking-data-mitx-6-00-2x-2 Highly recommended. My daughter took it and learned a lot. She is planning on going into Data Science. Best Regards, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Sat Sep 26 05:23:55 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Fri, 25 Sep 2015 23:23:55 -0400 Subject: [CentralOH] WAT Video Available in Non-Proprietary Format In-Reply-To: References: Message-ID: <20150925232355.2f615cb0.jep200404@columbus.rr.com> On Fri, 25 Sep 2015 16:40:49 -0400, Eric Floehr wrote: [> jep200404 wrote:] > > WAT Javascript > > destroyallsoftware.com/talks/wat > > (bummer: require proprietary codecs) > Non-proprietary version (I believe), on archive.org: > > https://archive.org/details/wat_destroyallsoftware It has .ogv format, which is not proprietary. Thanks! From eric at intellovations.com Mon Sep 28 01:27:15 2015 From: eric at intellovations.com (Eric Floehr) Date: Sun, 27 Sep 2015 19:27:15 -0400 Subject: [CentralOH] Python Table at Ohio Linux Fest Saturday 10/3 Message-ID: All, PyOhio and COhPy will continue their tradition of having a table at the Ohio Linux Fest this Saturday, October 3. Jim Prior will be leading the effort, but we need lots of help!! Please reply here or to Jim directly to let him know you are able to help hang out at the table and answer any questions people have. It's a great way to meet people and we always have a lot of fun!! Cheers, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.costlow at gmail.com Tue Sep 29 15:00:02 2015 From: brian.costlow at gmail.com (Brian Costlow) Date: Tue, 29 Sep 2015 09:00:02 -0400 Subject: [CentralOH] Python Table at Ohio Linux Fest Saturday 10/3 In-Reply-To: References: Message-ID: I will be there in the morning (and bringing along the leftover PyOhio swag bags). Jim, do we need a laptop? I have an older one I can wipe and put a linux distro on for people to muck about with. On Sun, Sep 27, 2015 at 7:27 PM, Eric Floehr wrote: > All, > > PyOhio and COhPy will continue their tradition of having a table at the > Ohio Linux Fest this Saturday, October 3. > > Jim Prior will be leading the effort, but we need lots of help!! > > Please reply here or to Jim directly to let him know you are able to help > hang out at the table and answer any questions people have. It's a great > way to meet people and we always have a lot of fun!! > > Cheers, > Eric > > > _______________________________________________ > 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 Sep 29 17:39:13 2015 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Tue, 29 Sep 2015 11:39:13 -0400 Subject: [CentralOH] =?utf-8?q?2015-09-28_=E6=9C=83=E8=AD=B0_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz86IE5vbi1zdGFuZGFyZCBEdW5kZXIgTmFtZXM7IEVy?= =?utf-8?q?ic_Floehr_APIs=3B_Private_Keys_on_Github=3B_Travis_Risner_IDE_P?= =?utf-8?q?yCharm=3B_ubuntu_make=3B_emacs=3B_but_tracker=3B_how_to_use_pro?= =?utf-8?q?jectors?= Message-ID: <20150929113913.44e33d3f.jep200404@columbus.rr.com> >From PEP8: __double_leading_and_trailing_underscore__ : "magic" objects or attributes that live in user-controlled namespaces. E.g. __init__ , __import__ or __file__ . Never invent such names; only use them as documented. For the sake of discussion, I will call __double_leading_and_trailing_underscore__ names, "dunder names". There was a question about which (non-method) dunder names are standard. Certainly, __name__ and __doc__ are standard. __version__ is standard[2]. Dunder names such as the following were seen in PyCharm. __author__ __project__ __creation_date__ Are those dunder names standard, or are they non-standard extensions by PyCharm? It seems that Guido is not keen[3] on making standard dunder names like __author__, and __credits__. PEP 345[4] seems to not talk about this. pyohio bags for free: Take one, please! Eric Floehr gave a presentation on API It was extraordinarily legible with high contrast text and filled the screen with less than 24x80. What is an API? There were definitions given that were probably true, but that were so complicated that I did not recognize what they were talking about. This was not helpful for people who do not know what an API is. More simply: APIs are how software talks to some other software. api.wunderground.com/api?MR=1 free 500 calls per day api key import json import urllib2 jsondata urllib2 requests is external urllib2 is builtin eric at intellovations.com never check in private keys http://www.theregister.co.uk/2015/01/06/dev_blunder_shows_github_crawling_wi th_keyslurping_bots/ http://vertis.io/2013/12/16/unauthorised-litecoin-mining.html http://it.slashdot.org/story/15/01/02/2342228/bots-scanning-github-to-steal- amazon-ec2-keys http://www.itnews.com.au/news/aws-urges-developers-to-scrub-github-of-secret -keys-375785 19:05 Travis Risner gave a presentation about IDEs To IDE or to Not IDE pycharm what is an ide? editor viersion control run program debug set breakpoints virtualenv environment fonts were too small tr: __author__, __project__, and __creation_date__ are standard python variable names big benefit is gui which allows one to explore multiple choice menus without knowing exactly what one is looking for drawback is needs much screen resolution for pycharm 1024x768 is minimum, but feels cramped. Ubuntu Make https://wiki.ubuntu.com/ubuntu-make https://github.com/ubuntu/ubuntu-make The one true operating system. http://xkcd.com/378/ should we use bug tracker? send reminders to presenters before meeting about projectors [1] PEP 0008 -- Style Guide for Python Code https://www.python.org/dev/peps/pep-0008/#names-to-avoid [2] PEP 0396 -- Module Version Numbers https://www.python.org/dev/peps/pep-0396/ [3] [Python-Dev] __credits__ and __author__ variables http://mail.python.org/pipermail/python-dev/2001-March/013328.html [4] PEP 0345 -- Metadata for Python Software Packages 1.2 https://www.python.org/dev/peps/pep-0345/ From eric at intellovations.com Tue Sep 29 20:50:52 2015 From: eric at intellovations.com (Eric Floehr) Date: Tue, 29 Sep 2015 14:50:52 -0400 Subject: [CentralOH] Code from last night's Beginner's Python talk Message-ID: import urllib2 # The API url to call key = 'f6a..........15a' url = ' http://api.wunderground.com/api/{key}/geolookup/conditions/q/France/Paris.json'.format(key=key) # Open the page and store as a string page = urllib2.urlopen(url) json_string = page.read() page.close() # Read the string and parse as JSON data data = json.loads(json_string) # Pull out information from the JSON data location = data['location']['city'] obs = data['current_observation'] temp_f = obs['temp_f'] condition = obs['weather'] print("In {loc} it is {temp:.0f} and {cond}".format(loc=location, temp=temp_f, cond=condition)) -------------- next part -------------- An HTML attachment was scrubbed... URL: