From aikimark at aol.com Mon Mar 2 19:10:24 2015 From: aikimark at aol.com (Mark Hutchinson) Date: Mon, 2 Mar 2015 13:10:24 -0500 Subject: [TriZPUG] Webinar: Data Analysis using Python and Neo4j Message-ID: <14bdbae8c34-2aaa-d90e@webstg-m04.mail.aol.com> Neo4j is a graph database. They now have a Python interface, which expands in your data analysis toolbox. When: Thursday, March 5, 2015 at noon http://info.neo4j.com/0305-register.html Mark Hutchinson -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Mon Mar 2 19:47:00 2015 From: cbc at unc.edu (Chris Calloway) Date: Mon, 2 Mar 2015 13:47:00 -0500 Subject: [TriZPUG] Reminder: Raleigh Project Night Message-ID: <54F4B024.4000509@unc.edu> Tired of cabin fever? Thaw out at Raleigh Project Night tomorrow. http://tripython.org/Members/sgambino/mar-15-rpn When: Tuesday, March 3, 6-9pm Where: WebAssign, NCSU Centennial Campus, 1791 Varsity Drive, Suite 200, Raleigh "Raleigh Project Night meets on first Tuesdays. Have a project you want to show off, share, seek help with, or just get some work done surrounded by like minded Python lovers? Join us for our monthly project night and do just that! Don't have something to work on? Just need some help with Python? Show up and enjoy the energy, sprint on an open source project, find something interesting to contribute to or be inspired by! The setting is informal and there is no schedule, so don't worry if you show up past the start time. Whether you are a Python newbie needing help or have an open source project you want to share, come hang out and hack. Plenty of free after hours parking is available in the upper level of the deck behind WebAssign (turn through the median just before the intersection of Varsity and Main Campus Drives). If the door is locked, call the number posted on the door." -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Wed Mar 4 18:10:52 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 4 Mar 2015 12:10:52 -0500 Subject: [TriZPUG] TriPython March 2015 Meeting: Peru Teen PyCamp: Inspiring Women and Kids To Enter Programming Within The Developing World Message-ID: <54F73C9C.5030103@unc.edu> I am very pleased to announce the March meeting at Bull City Coworking. Andrea Villanes, co-founder of Women in Technology Peru (WiT Peru), PhD student in Computer Science at NCSU, and a Research Associate at the Institute for Advanced Analytics, will share her journey to a successful event and lessons learned organizing the first Peru Teen PyCamp. The event, sponsored by the Python Software Foundation, introduced 23 teenagers to Python as their first programming language. Lightning talks, 5 to 10 minutes extemporaneous expositions on a topic of interest to you, something you recently learned, kind of like a show and tell, are always welcome as well. Please see the parking instructions on the BCC website. A wide variety of possibilities for the after-meeting are within steps of BCC. When: Thusday, March 26, 7pm Where: Bull City Coworking, 112 S. Duke St., Suite 6, Durham Info: http://tripython.org/Members/cbc/mar-15-mtg -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From matthew.m.mccormick at gmail.com Fri Mar 6 16:54:27 2015 From: matthew.m.mccormick at gmail.com (Matthew McCormick) Date: Fri, 6 Mar 2015 10:54:27 -0500 Subject: [TriZPUG] Volunteer for SciPy 2015 Message-ID: Hi, Chris Calloway just did a great job of leading by example with his message to the scipy-organizer at scipy.org list volunteering to help at SciPy 2015. >From his message: """ 3) Help the organizing or program committees: do you have domain expertise in this year's tracks or mini-symposia? Want to give back to the community? We still need committee volunteers and program reviewers - contact us at scipy-organizers at scipy.org for more details. """ I attended SciPy 2014 where I felt, after many years of being bored at PyCon, I had found my people. I attended an event at AMS where Jonathan Rocher encouraged me to volunteer for a SciPy program committee. My domain expertise is oceanography (and by way of that, somewhat in GIS, visualization, and data analysis and management). How can I help? SciPy [1] is a fantastic conference where you can learn a lot about science, open science, Python, meet and chat with exceptional people, and make a big impact. You are highly encouraged to attend. Even if it is your first year at the conference, please also volunteer with the organizers. I have helped organize for many years, and it is very rewarding. The conference has seen exponential growth in attendance, but it is struggling to scale in organizational power. A good way to get your feet wet is by volunteering to review submissions with the organizing committee. This is a low time commitment, but it is very helpful to the success of the conference. Thanks, Matt [1] http://scipy2015.scipy.org/ From cbc at unc.edu Fri Mar 6 20:04:43 2015 From: cbc at unc.edu (Chris Calloway) Date: Fri, 6 Mar 2015 14:04:43 -0500 Subject: [TriZPUG] Volunteer for SciPy 2015 In-Reply-To: References: Message-ID: <54F9FA4B.5030701@unc.edu> On 3/6/2015 10:54 AM, Matthew McCormick wrote: > SciPy [1] is a fantastic conference where you can learn a lot about > science, open science, Python, meet and chat with exceptional people, > and make a big impact. You are highly encouraged to attend. And among the exceptional people I met at SciPy was Matthew McCormick before he even moved to the Triangle and joined TriPython. Matt is also the exceptional co-chair of the SciPy 2015 BOF committee. Yoiks, now everybody here knows I was "bored at PyCon." :) I have a question for our membership. We have someone in our midst who really, really needs to be at SciPy. He heads a couple of projects with major impact on the SciPy community. But he has no chance of getting funding for that from his employer, he works for postdoc pay, and he has a family to support. I'm helping to look at several sources to help him find the funds to go to SciPy. But I thought taking up a collection through one of the many crowd funding sites would be one of the appropriate sources. Kickstarter isn't really designed for this sort of campaign. I'm wondering if our membership has any recommendations? It needs to be a site that let's you receive monetary donations for a personal need, doesn't require meeting a set goal in order to take advantage of pledged funds, and if possible doesn't require an immovable deadline cutting off fundraising. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From willspearman at gmail.com Fri Mar 6 20:05:03 2015 From: willspearman at gmail.com (Will Spearman) Date: Fri, 6 Mar 2015 14:05:03 -0500 Subject: [TriZPUG] Volunteer for SciPy 2015 In-Reply-To: <54F9FA4B.5030701@unc.edu> References: <54F9FA4B.5030701@unc.edu> Message-ID: http://www.gofundme.com/ On Fri, Mar 6, 2015 at 2:04 PM, Chris Calloway wrote: > On 3/6/2015 10:54 AM, Matthew McCormick wrote: > >> SciPy [1] is a fantastic conference where you can learn a lot about >> science, open science, Python, meet and chat with exceptional people, >> and make a big impact. You are highly encouraged to attend. >> > > And among the exceptional people I met at SciPy was Matthew McCormick > before he even moved to the Triangle and joined TriPython. > > Matt is also the exceptional co-chair of the SciPy 2015 BOF committee. > > Yoiks, now everybody here knows I was "bored at PyCon." :) > > I have a question for our membership. We have someone in our midst who > really, really needs to be at SciPy. He heads a couple of projects with > major impact on the SciPy community. But he has no chance of getting > funding for that from his employer, he works for postdoc pay, and he has a > family to support. I'm helping to look at several sources to help him find > the funds to go to SciPy. But I thought taking up a collection through one > of the many crowd funding sites would be one of the appropriate sources. > Kickstarter isn't really designed for this sort of campaign. I'm wondering > if our membership has any recommendations? It needs to be a site that let's > you receive monetary donations for a personal need, doesn't require meeting > a set goal in order to take advantage of pledged funds, and if possible > doesn't require an immovable deadline cutting off fundraising. > > -- > Sincerely, > > Chris Calloway, Applications Analyst > UNC Renaissance Computing Institute > 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 > (919) 599-3530 > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew.m.mccormick at gmail.com Fri Mar 6 20:23:20 2015 From: matthew.m.mccormick at gmail.com (Matthew McCormick) Date: Fri, 6 Mar 2015 14:23:20 -0500 Subject: [TriZPUG] Volunteer for SciPy 2015 In-Reply-To: References: <54F9FA4B.5030701@unc.edu> Message-ID: Sorry for the "bored" at PyCon slip! PyCon is super, but SciPy is just that much better :-) Funding could also come through SciPy or NumFOCUS. They have sponsored students and project leaders in the past, and if the PostDoc and project-leader situation is explained, they may have funds or know where to get some. HTH, Matt On Fri, Mar 6, 2015 at 2:05 PM, Will Spearman wrote: > http://www.gofundme.com/ > > On Fri, Mar 6, 2015 at 2:04 PM, Chris Calloway wrote: >> >> On 3/6/2015 10:54 AM, Matthew McCormick wrote: >>> >>> SciPy [1] is a fantastic conference where you can learn a lot about >>> science, open science, Python, meet and chat with exceptional people, >>> and make a big impact. You are highly encouraged to attend. >> >> >> And among the exceptional people I met at SciPy was Matthew McCormick >> before he even moved to the Triangle and joined TriPython. >> >> Matt is also the exceptional co-chair of the SciPy 2015 BOF committee. >> >> Yoiks, now everybody here knows I was "bored at PyCon." :) >> >> I have a question for our membership. We have someone in our midst who >> really, really needs to be at SciPy. He heads a couple of projects with >> major impact on the SciPy community. But he has no chance of getting funding >> for that from his employer, he works for postdoc pay, and he has a family to >> support. I'm helping to look at several sources to help him find the funds >> to go to SciPy. But I thought taking up a collection through one of the many >> crowd funding sites would be one of the appropriate sources. Kickstarter >> isn't really designed for this sort of campaign. I'm wondering if our >> membership has any recommendations? It needs to be a site that let's you >> receive monetary donations for a personal need, doesn't require meeting a >> set goal in order to take advantage of pledged funds, and if possible >> doesn't require an immovable deadline cutting off fundraising. >> >> -- >> Sincerely, >> >> Chris Calloway, Applications Analyst >> UNC Renaissance Computing Institute >> 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 >> (919) 599-3530 >> >> _______________________________________________ >> TriZPUG mailing list >> TriZPUG at python.org >> https://mail.python.org/mailman/listinfo/trizpug >> http://trizpug.org is the Triangle Zope and Python Users Group > > > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group From cbc at unc.edu Mon Mar 9 17:40:41 2015 From: cbc at unc.edu (Chris Calloway) Date: Mon, 9 Mar 2015 12:40:41 -0400 Subject: [TriZPUG] Volunteer for SciPy 2015 In-Reply-To: References: <54F9FA4B.5030701@unc.edu> Message-ID: <54FDCD09.7060600@unc.edu> On 3/6/2015 2:23 PM, Matthew McCormick wrote: > Funding could also come through SciPy or NumFOCUS. Yeah, we're going to apply for a NumFocus grant. They advise that is up to $500 if successful, which is about the price of the plane ticket. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Mon Mar 9 17:45:07 2015 From: cbc at unc.edu (Chris Calloway) Date: Mon, 9 Mar 2015 12:45:07 -0400 Subject: [TriZPUG] Fwd: PyOhio Call for Proposals. In-Reply-To: <8c9245b985e483ce2777296fb591491412f.20150309150037@mail67.atl11.rsgsv.net> References: <8c9245b985e483ce2777296fb591491412f.20150309150037@mail67.atl11.rsgsv.net> Message-ID: <54FDCE13.7050001@unc.edu> -------- Forwarded Message -------- Subject: PyOhio Call for Proposals. Date: Mon, 9 Mar 2015 15:01:12 +0000 From: PyOhio, Inc. Reply-To: PyOhio, Inc. To: Chris PyOhio Call for Proposals. PyOhio 2015. Call for Proposals. View this email in your browser Call For Proposals PyOhio 2015 We want to see you speak about... Python Mobile Web Science! IoT Quantified Self Laser Cutters 3D Printers Drones Automation Robots Games Security Diversity in Tech Soft Skills Python At Work TDD & Testing ...and other creative things. Call for proposals, now open. Click Here To Speak Follow us on Twitter Follow us on Twitter /Copyright ? 2015 PyOhio, Inc., All rights reserved./ You are receiving this email because you have either attended or registered to attend PyOhio in the past. *Our mailing address is:* PyOhio, Inc. 79 Bohyer Avenue, Pataskala, OH, United States Columbus, Oh 43224 Email Marketing Powered by MailChimp -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Tue Mar 10 21:52:15 2015 From: cbc at unc.edu (Chris Calloway) Date: Tue, 10 Mar 2015 16:52:15 -0400 Subject: [TriZPUG] Chapel Hill Project Night Message-ID: <54FF597F.8050905@unc.edu> Project night in Chapel Hill is tomorrow night (Wednesday): http://tripython.org/Members/cbc/mar-15-chpn When: Wednesday, March 11, 6-9pm Where: Renaissance Computing Institute (RENCI) Biltmore Conference Room 5th Floor, Europa Center 100 Europa Drive, Suite 590 Chapel Hill "Chapel Hill Project Night meets on second Wednesdays. Have a project you want to show off, share, seek help with, or just get some work done surrounded by like minded Python lovers? Join us for our monthly project night and do just that! Don't have something to work on? Just need some help with Python? Show up and enjoy the energy, sprint on an open source project, find something interesting to contribute to or be inspired by! The setting is informal and there is no schedule, so don't worry if you show up past the start time. Whether you are a Python newbie needing help or have an open source project you want to share, come hang out and hack. Plenty of free after hours parking is available in the RENCI parking deck." -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Fri Mar 13 16:25:42 2015 From: cbc at unc.edu (Chris Calloway) Date: Fri, 13 Mar 2015 11:25:42 -0400 Subject: [TriZPUG] Data Matters Training Course Message-ID: <55030176.5020707@unc.edu> http://datamatters.org/ Also see the attached flyer. RENCI is a cosponsor of Data Matters, a week of two- and one-day data science short courses during July 22-26 at the Friday Center. These course are not inexpensive ($350/day). But some of you may be interested and so I did not want to let this pass by without informing you. I have not been to any of these courses and cannot vouch for their effectiveness. Maybe someone among us has? Courses offered: Introduction to Data Science (2 day/$700) The Internet of Things: Intro to IoT Data Creation and Use (1 day/$300) Introduction to Data Mining and Machine Learning (2 day/$700) Introduction to Information Visualization (2 day/$700) Health Informatics: Big Data in Health and Medicine (1 day/$300) System Dynamics and Agent-based Modeling (2 day/$700) Introduction to R (2 day/$700) Collecting, Classifying, and Analyzing Textual Data (1 day/$300) Social Network Analysis: Description and Inference (2 day/$700) Data Curation: Managing Data t/o the Research Lifecycle (2 day/$700) Open(ing) Data: Considerations in Data Sharing and Reuse (1 day/$300) -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 -------------- next part -------------- A non-text attachment was scrubbed... Name: Data-Matters-Flyer-2015.pdf Type: application/pdf Size: 434964 bytes Desc: not available URL: From cbc at unc.edu Fri Mar 13 16:43:14 2015 From: cbc at unc.edu (Chris Calloway) Date: Fri, 13 Mar 2015 11:43:14 -0400 Subject: [TriZPUG] =?utf-8?q?Fwd=3A_All_Things_Open_2015_=E2=80=93_We=27re?= =?utf-8?q?_back!__Call_for_Speakers_now_open!?= In-Reply-To: References: Message-ID: <55030592.4010900@unc.edu> *Call for speakers now open. You know what to do. Stack this conference with Python.* All Things Open 2015 ? We're back! Call for Speakers now open! All Things Open 2015 ? We're back! Call for Speakers now open! View this email in your browser Back on January 1, we tweeted that big things were in store for 2015 and today, those big things begin! So with that, we officially kick off the conference with some news. * *The website has been updated*, so check it out ! We've been working on v 1.0 of the website and it's now ready for prime time. You'll see pics and info from this past year, and most importantly, you can sign up to participate in 2015. * *Save the Dates!* Conference dates for this year's event will be Sunday, October 18th, Monday, October 19th, and Tuesday, October 20th. That's a little different than the mid-week schedule we've hosted in 2013 & 2014, so please make a note and plan to join 1,000+ of your friends for the very best in open source, open tech, and the open web. * *Day 1 workshops.* We're extremely excited to announce the first day of ATO 2015, which is Sunday, October 18th, will feature a limited number of extended workshops to allow for deeper dives. This is something attendees have been asking about for a while and we're really happy to deliver. These will serve as a nice on-ramp for Monday and Tuesday's more traditional sessions and keynotes. * *Call for Speakers now open!* We have been very fortunate in the past to host the very best speakers in the open space from all over the world. To repeat that performance and exceed expectations, we need your help! If you know of anyone doing amazing things, please direct them to the website to submit a talk immediately. The CFS will stay open for 45 days, so move quickly . * *Call for Sponsors now open!* We're not ashamed to say we need the support of great companies and organizations to make ATO possible every year. Quite simply, the more support we have, the more we can do and the cooler the conference is. So, if you know of anyone interested in becoming an ATO partner, have them contact us right away so we have time to get creative and maximize exposure. * *New website coming soon*, so be on the lookout! Each year we've tried to do something unique with the conference site, and this year will be no different. After all, how much fun is a 'normal' site anyway? While v 1.0 is live and accessible, the official 2015 site will be cool and unique, and something you'll want your friends to see, guaranteed. We sincerely hope you can join us in October, and in the meantime, we'll continue working hard to bring you the absolute best in the industry. Stay tuned for some big, big announcements. *To see pics from 2014, where nearly 1,100 joined us -* ATO's Flickr . *To see what's important to us, *Values of ATO *To drop us a line with ideas or questions* ? info at allthingsopen.org *Join in our the conversation over social media, using #ATO2015* Twitter Twitter Facebook Facebook Google Plus Google Plus LinkedIn LinkedIn Instagram Instagram Lanyrd Lanyrd Forward Tweet Share +1 Share /Copyright ? 2015 IT-oLogy, All rights reserved./ You are receiving this email because of your interest in All Things Open. *Our mailing address is:* IT-oLogy 1301 Gervais Street, Columbia, SC, United States Columbia, SC 29201 Add us to your address book unsubscribe from this list update subscription preferences -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Fri Mar 13 17:42:05 2015 From: cbc at unc.edu (Chris Calloway) Date: Fri, 13 Mar 2015 12:42:05 -0400 Subject: [TriZPUG] Durham Project Night Message-ID: <5503135D.8090008@unc.edu> Fun and games at Caktus on Monday: http://tripython.org/Members/markdlavin/mar-15-dpn http://www.meetup.com/tripython/events/220559497/ When: Monday March 16, 6-9pm Where: Caktus Group, 108 Morris St., Durham """ Durham Project Night meets on third Mondays. Have a project you want to show off, share, seek help with, or just get some work done surrounded by like minded Python lovers? Join us for our monthly project night and do just that! Don't have something to work on? Just need some help with Python? Show up and enjoy the energy, sprint on an open source project, find something interesting to contribute to or be inspired by! The setting is informal and there is no schedule, so don't worry if you show up past the start time. Whether you are a Python newbie needing help or have an open source project you want to share, come hang out and hack. Park in the municipal deck on the other side of the Arts Council across W. Morgan St. The Caktus entrance on Morris St. is labeled "Suite C1" near the Civil Right's mural. Just knock. """ -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Wed Mar 18 21:02:38 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 18 Mar 2015 16:02:38 -0400 Subject: [TriZPUG] GeekGirlBeta Message-ID: <5509D9DE.3070207@unc.edu> This was nice to see: https://geekgirlbeta.wordpress.com/2015/03/10/snakes-whyd-it-have-to-be-snakes/ -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Thu Mar 19 00:36:33 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 18 Mar 2015 19:36:33 -0400 Subject: [TriZPUG] Python Wart? Message-ID: <550A0C01.2010108@unc.edu> >>> 10 10 >>> int('10') 10 >>> 0xAA 170 >>> int('0xAA') Traceback (most recent call last): File "", line 1, in ValueError: invalid literal for int() with base 10: '0xAA' >>> int('0xAA', 16) 170 >>> I have to specify the radix for perfectly valid literal int strings that aren't base 10? Boo. Int should parse literals in strings without hints just like the interpreter does. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From kevin at kahowell.net Thu Mar 19 02:13:43 2015 From: kevin at kahowell.net (Kevin Howell) Date: Wed, 18 Mar 2015 21:13:43 -0400 Subject: [TriZPUG] Python Wart? In-Reply-To: <550A0C01.2010108@unc.edu> References: <550A0C01.2010108@unc.edu> Message-ID: <550A22C7.8090606@kahowell.net> You can use int('0xAA', 0) for this. From the documentation: "Base 0 means to interpret exactly as a code literal, so that the actual base is 2, 8, 10, or 16". https://docs.python.org/3/library/functions.html#int >>> int('10', 0) 10 >>> int('0xAA', 0) 170 Kevin Howell | kevin at kahowell.net | http://www.kahowell.net On 03/18/2015 07:36 PM, Chris Calloway wrote: > >>> 10 > 10 > >>> int('10') > 10 > >>> 0xAA > 170 > >>> int('0xAA') > Traceback (most recent call last): > File "", line 1, in > ValueError: invalid literal for int() with base 10: '0xAA' > >>> int('0xAA', 16) > 170 > >>> > > I have to specify the radix for perfectly valid literal int strings > that aren't base 10? Boo. Int should parse literals in strings without > hints just like the interpreter does. > From chris at archimedeanco.com Thu Mar 19 02:19:59 2015 From: chris at archimedeanco.com (Chris Rossi) Date: Wed, 18 Mar 2015 21:19:59 -0400 Subject: [TriZPUG] Python Wart? In-Reply-To: <550A22C7.8090606@kahowell.net> References: <550A0C01.2010108@unc.edu> <550A22C7.8090606@kahowell.net> Message-ID: I agree with Calloway that that probably ought to be the default. Chris On Wed, Mar 18, 2015 at 9:13 PM, Kevin Howell wrote: > You can use int('0xAA', 0) for this. From the documentation: "Base 0 > means to interpret exactly as a code literal, so that the actual base is > 2, 8, 10, or 16". https://docs.python.org/3/library/functions.html#int > > >>> int('10', 0) > 10 > >>> int('0xAA', 0) > 170 > > Kevin Howell | kevin at kahowell.net | http://www.kahowell.net > On 03/18/2015 07:36 PM, Chris Calloway wrote: > > >>> 10 > > 10 > > >>> int('10') > > 10 > > >>> 0xAA > > 170 > > >>> int('0xAA') > > Traceback (most recent call last): > > File "", line 1, in > > ValueError: invalid literal for int() with base 10: '0xAA' > > >>> int('0xAA', 16) > > 170 > > >>> > > > > I have to specify the radix for perfectly valid literal int strings > > that aren't base 10? Boo. Int should parse literals in strings without > > hints just like the interpreter does. > > > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew at leafstorm.org Thu Mar 19 04:31:16 2015 From: matthew at leafstorm.org (Matthew Frazier) Date: Wed, 18 Mar 2015 23:31:16 -0400 Subject: [TriZPUG] Python Wart? Message-ID: <1426735876.240305.242343897.7658C104@webmail.messagingengine.com> I disagree - int() is used on user input quite a bit, and Python 2's behavior of interpreting numbers with leading zeroes as octal could cause chaos. Python 2.7.8 (default, Nov 10 2014, 08:19:18) >>> int('0010') 10 >>> int('0010', 0) 8 Python 3 removed the leading-zero notation for octal, but I prefer "base 10 only" as the default. I know this is subjective, but it seems to me that there are more people who are likely to be surprised that '0xDEAD' parses as an integer than people who would be surprised that it doesn't. (I'd also say "Explicit is better than implicit" leans toward "base 10 only," but I could also use that to argue for "support prefixes," so it seems the Zen is silent on this issue.) -- Thanks, Matthew Frazier On Wed, Mar 18, 2015, at 21:19, Chris Rossi wrote: > I agree with Calloway that that probably ought to be the default. > > Chris > > > On Wed, Mar 18, 2015 at 9:13 PM, Kevin Howell wrote: >> You can use int('0xAA', 0) for this. From the documentation: "Base 0 >> means to interpret exactly as a code literal, so that the actual base is >> 2, 8, 10, or 16". https://docs.python.org/3/library/functions.html#int >> >> >>> int('10', 0) >> 10 >> >>> int('0xAA', 0) >> 170 >> >> Kevin Howell | kevin at kahowell.net | http://www.kahowell.net >> On 03/18/2015 07:36 PM, Chris Calloway wrote: >> > >>> 10 >> > 10 >> > >>> int('10') >> > 10 >> > >>> 0xAA >> > 170 >> > >>> int('0xAA') >> > Traceback (most recent call last): >> >? ?File "", line 1, in >> > ValueError: invalid literal for int() with base 10: '0xAA' >> > >>> int('0xAA', 16) >> > 170 >> > >>> >> > >> > I have to specify the radix for perfectly valid literal int strings >> > that aren't base 10? Boo. Int should parse literals in strings without >> > hints just like the interpreter does. >> > >> >> >> _______________________________________________ >> TriZPUG mailing list >> TriZPUG at python.org >> https://mail.python.org/mailman/listinfo/trizpug >> http://trizpug.org is the Triangle Zope and Python Users Group > > _________________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Thu Mar 19 15:35:20 2015 From: cbc at unc.edu (Chris Calloway) Date: Thu, 19 Mar 2015 10:35:20 -0400 Subject: [TriZPUG] Python Wart? In-Reply-To: <550A22C7.8090606@kahowell.net> References: <550A0C01.2010108@unc.edu> <550A22C7.8090606@kahowell.net> Message-ID: <550ADEA8.9040400@unc.edu> On 3/18/2015 9:13 PM, Kevin Howell wrote: > You can use int('0xAA', 0) for this. From the documentation: "Base 0 > means to interpret exactly as a code literal, so that the actual base is > 2, 8, 10, or 16". https://docs.python.org/3/library/functions.html#int Thank you, Mr. Howell! It always pays to read the fine manual. I agree with Mr. Rossi. It should be the default. I disagree with Mr. Frazier. We should know leading zeroes are Python 2 octal literals. Thanks for all the feedback. I noticed this for the first time yesterday when sending command line arguments to a purposely duck-typed function for type coercion before computation. Argparse lets you specifiy type coercion. But I didn't like its message when it can't coerce. And now I can coerce better than argparse with int(x, 0) anyway. Argparse doesn't allow your to supply a radix of 0 for coercion when specifying type=int. The funny thing is I had long used the explicit radix argument for doing mixed radix math (don't ask). But I'd never run up against getting gonged by omitting the optional argument before when letting the literal specify the radix. I'm downgrading this to a nit instead of a wart in my closet of Python horrors as there is an explicit way out and there are people like Matthew who see the motivation in it. Thanks for the discussion. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From cbc at unc.edu Thu Mar 19 17:04:20 2015 From: cbc at unc.edu (Chris Calloway) Date: Thu, 19 Mar 2015 12:04:20 -0400 Subject: [TriZPUG] Python Wart? In-Reply-To: <550ADEA8.9040400@unc.edu> References: <550A0C01.2010108@unc.edu> <550A22C7.8090606@kahowell.net> <550ADEA8.9040400@unc.edu> Message-ID: <550AF384.5060903@unc.edu> On 3/19/2015 10:35 AM, Chris Calloway wrote: > I disagree with Mr. Frazier. We should know leading zeroes are Python 2 > octal literals. Matthew, I hope I wasn't sounding petulant here. There are actual inconsistencies with how Python2 handles non-decimal integer literals in strings. For instance: >>> exec "a = 0010" >>> a 8 >>> Python doesn't seem to be planning for chaos in that example. Of course, never ever use exec. It generates it's own chaos. (In Python3, exec is a built-in function.) -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From bradoaks at gmail.com Thu Mar 19 20:02:35 2015 From: bradoaks at gmail.com (Brad Oaks) Date: Thu, 19 Mar 2015 15:02:35 -0400 Subject: [TriZPUG] Hackathon - tech solutions for geriatric caregivers Message-ID: Hey Triangle Python folks, I saw this event posted over on the Agile RTP meetup site and thought some of you might be interested in participating! http://meetu.ps/2HbfZK You may also want to RSVP over at the Agile RTP meetup page, but definitely register at the link in their summary I have quoted below. Good luck! --bradoaks "Hello, I'd like to invite your group to join us at the eHealth Transformation Challenge. There is $4,500 in prize money up for grabs. It should be a really fun weekend. I hope you and colleagues can join me! Register here: http://nwahec.org/etcregJoin Northwest AHEC, NCHICA and Quintiles for a healthcare Hackathon! We will be teaming up and designing tech solutions aimed at helping caregivers of elderly with dementia in their home. We are inviting students and professionals with expertise in computer science, healthcare technology and caregiving to team up and problem solve using six future methods of coordination. The winning team will walk away with $3,000." From bsoher at briansoher.com Fri Mar 20 15:06:06 2015 From: bsoher at briansoher.com (Brian J. Soher) Date: Fri, 20 Mar 2015 10:06:06 -0400 Subject: [TriZPUG] Hackathon - tech solutions for geriatric caregivers In-Reply-To: References: Message-ID: <3l7nl90Zpzz7LnY@mail.python.org> Hi Everyone, I saw the notice for the eHealth Challenge and mentioned it to my wife. She consults with companies that are developing products for aging markets. I asked her "What would you do if you had a small team of expert programmers that would create a prototype of something for you?" And here's her reply ... "I would do a lot! I would use the PocketMedi.com platform to organize my day and connect me with local resources. I would also integrate it with CareConscious.com to provide education and training. I would include mobile app features that track that caregivers arrive that I hire to check in. And to facilitate communication I would also use it to track events. I would use it to track behavior issues and sleep. I would also have a finance tracker on the app to track how much money I am spending on caregiving and to connect me with appropriate resources. " I don't know if this will be of any help to anyone, but I've enjoyed all the fun emails from the list and thought that I might contribute something back. All the best, Brian Soher >Message: 3 >Date: Thu, 19 Mar 2015 15:02:35 -0400 >From: Brad Oaks >To: "Triangle (North Carolina) Zope and Python Users Group" > >Subject: [TriZPUG] Hackathon - tech solutions for geriatric caregivers >Message-ID: > >Content-Type: text/plain; charset=UTF-8 > >Hey Triangle Python folks, > >I saw this event posted over on the Agile RTP meetup site and thought >some of you might be interested in participating! > >http://meetu.ps/2HbfZK > >You may also want to RSVP over at the Agile RTP meetup page, but >definitely register at the link in their summary I have quoted below. > >Good luck! >--bradoaks > >"Hello, I'd like to invite your group to join us at the eHealth >Transformation Challenge. There is $4,500 in prize money up for grabs. >It should be a really fun weekend. I hope you and colleagues can join >me! Register here: http://nwahec.org/etcregJoin Northwest AHEC, NCHICA >and Quintiles for a healthcare Hackathon! We will be teaming up and >designing tech solutions aimed at helping caregivers of elderly with >dementia in their home. We are inviting students and professionals >with expertise in computer science, healthcare technology and >caregiving to team up and problem solve using six future methods of >coordination. The winning team will walk away with $3,000." > > >------------------------------ > >Subject: Digest Footer > >_______________________________________________ >TriZPUG mailing list >TriZPUG at python.org >https://mail.python.org/mailman/listinfo/trizpug > > >------------------------------ > >End of TriZPUG Digest, Vol 83, Issue 10 >*************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From christophersvec at gmail.com Fri Mar 20 16:03:13 2015 From: christophersvec at gmail.com (Christopher Svec) Date: Fri, 20 Mar 2015 11:03:13 -0400 Subject: [TriZPUG] Hackathon - tech solutions for geriatric caregivers In-Reply-To: <3l7nl90Zpzz7LnY@mail.python.org> References: <3l7nl90Zpzz7LnY@mail.python.org> Message-ID: It looks like the event isn't free - is that typical of these types of events around here? (it's $90 for non-students) On Fri, Mar 20, 2015 at 10:06 AM, Brian J. Soher wrote: > > Hi Everyone, > > I saw the notice for the eHealth Challenge and mentioned it to my wife. > She consults with companies that are developing products for aging > markets. I asked her "What would you do if you had a small team of expert > programmers that would create a prototype of something for you?" And > here's her reply ... > > "I would do a lot! > > I would use the PocketMedi.com platform to organize my day and connect me > with local resources. > > I would also integrate it with CareConscious.com to provide education and > training. > > I would include mobile app features that track that caregivers arrive that > I hire to check in. And to facilitate communication I would also use it to > track events. I would use it to track behavior issues and sleep. I would > also have a finance tracker on the app to track how much money I am > spending on caregiving and to connect me with appropriate resources. " > > I don't know if this will be of any help to anyone, but I've enjoyed all > the fun emails from the list and thought that I might contribute something > back. > > All the best, > > Brian Soher > > > > Message: 3 > Date: Thu, 19 Mar 2015 15:02:35 -0400 > From: Brad Oaks > To: "Triangle (North Carolina) Zope and Python Users Group" > > Subject: [TriZPUG] Hackathon - tech solutions for geriatric caregivers > Message-ID: > wzgtaFeonHgQui9VKjx1Y6a6+bJdc5gsMg at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hey Triangle Python folks, > > I saw this event posted over on the Agile RTP meetup site and thought > some of you might be interested in participating! > > http://meetu.ps/2HbfZK > > You may also want to RSVP over at the Agile RTP meetup page, but > definitely register at the link in their summary I have quoted below. > > Good luck! > --bradoaks > > "Hello, I'd like to invite your group to join us at the eHealth > Transformation Challenge. There is $4,500 in prize money up for grabs. > It should be a really fun weekend. I hope you and colleagues can join > me! Register here: http://nwahec.org/etcregJoin Northwest AHEC, NCHICA > and Quintiles for a healthcare Hackathon! We will be teaming up and > designing tech solutions aimed at helping caregivers of elderly with > dementia in their home. We are inviting students and professionals > with expertise in computer science, healthcare technology and > caregiving to team up and problem solve using six future methods of > coordination. The winning team will walk away with $3,000." > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > > > ------------------------------ > > End of TriZPUG Digest, Vol 83, Issue 10 > *************************************** > > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > http://trizpug.org is the Triangle Zope and Python Users Group > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Fri Mar 20 20:32:52 2015 From: cbc at unc.edu (Chris Calloway) Date: Fri, 20 Mar 2015 15:32:52 -0400 Subject: [TriZPUG] Hackathon - tech solutions for geriatric caregivers In-Reply-To: References: <3l7nl90Zpzz7LnY@mail.python.org> Message-ID: <550C75E4.8080304@unc.edu> On 3/20/2015 11:03 AM, Christopher Svec wrote: > It looks like the event isn't free - is that typical of these types of > events around here? (it's $90 for non-students) Not typical for a hackathon. But not unheard of. At $10 for students and organized by WFU, I'd say they are just covering expenses. WFU's med school is known for geriatrics and this looks legit to me. Otherwise you'd want to beware of pay to play for prizes scams. At Analytics Foward last weekend (which was fantastic, BTW), the attendees voted to have a $10 registration fee next year to discourage no-shows. There was a lot of food left over from the generously sponsored free breakfast, lunch, and snack breaks due to no-shows. Many people who couldn't come because the event's registration capacity was reached. Those people could have come if the no-shows hadn't registered. Best day of free food and tech talks I've been to in awhile. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From aikimark at aol.com Sun Mar 22 15:00:23 2015 From: aikimark at aol.com (Mark Hutchinson) Date: Sun, 22 Mar 2015 10:00:23 -0400 Subject: [TriZPUG] nice Python article from Wired Message-ID: <14c41c8d54e-5cb2-e8b1@webstg-m10.mail.aol.com> If you are teaching or want to learn more about numerical methods, this is an easy-to-consume article that appeared last week in Wired. Who knows. You might even need to answer similar questions one day. http://www.wired.com/2015/03/determining-maximum-projectile-range-numerical-model/ Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at handysoftware.com Mon Mar 23 03:11:39 2015 From: david at handysoftware.com (David Handy) Date: Sun, 22 Mar 2015 22:11:39 -0400 (EDT) Subject: [TriZPUG] nice Python article from Wired In-Reply-To: <14c41c8d54e-5cb2-e8b1@webstg-m10.mail.aol.com> References: <14c41c8d54e-5cb2-e8b1@webstg-m10.mail.aol.com> Message-ID: <1427076699.998926693@apps.rackspace.com> Mark - Thank you for sending that link! I often times give classes for teenagers on both programming and physics, and that article is an excellent example of the modeling approach I like to use. David H On Sunday, March 22, 2015 10:00am, "Mark Hutchinson" said: If you are teaching or want to learn more about numerical methods, this is an easy-to-consume article that appeared last week in Wired. Who knows. You might even need to answer similar questions one day. http://www.wired.com/2015/03/determining-maximum-projectile-range-numerical-model/ Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From caleb.smithnc at gmail.com Tue Mar 24 17:51:29 2015 From: caleb.smithnc at gmail.com (caleb smith) Date: Tue, 24 Mar 2015 12:51:29 -0400 Subject: [TriZPUG] Python Training in Durham Message-ID: Hi folks, I wanted to let the list know about some new Python learning opportunities in the Triangle. As you may know, Chris and I have been doing various Python training efforts for a while in a small variety of formats and venues. Without getting too spammy, I wanted to fill the local Python community in on some recent developments here at Caktus. A few years ago, some of you may recall Caktus' Django Bootcamp. After the success of this event and some requests for Python training from various clients, we've decided to use our resources at Caktus to create a new training focused wing called Astro Code School. We're focusing on Python and Django training in a few different formats that you can read more about here: http://astrocodeschool.com/classes/ . We've started planning for future Django Bootcamps, similar in essence to the one taught a few years ago. The target audience for this training is any individual or team that's looking to spend 2 or 3 days ramping up on Django quickly. Also, we've recently opened registration for a 12 week intensive course for hobbyist or somewhat beginner level programmers looking to enter the field of web development with Python. I wanted specifically to inform the list about this because I know that many of you, like me, are promoting the use of Python in the industry and are interested in creating or maintaining a pipeline of developers to fill engineering roles. Feel free to reach out to me about any questions. I look forward to seeing many of you at the Durham project nights and some of the other events in the area. Thank you for your time, Caleb Smith -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Wed Mar 25 01:58:18 2015 From: cbc at unc.edu (Chris Calloway) Date: Tue, 24 Mar 2015 20:58:18 -0400 Subject: [TriZPUG] Reminder: TriPython March 2015 Meeting: Peru Teen PyCamp: Inspiring Women and Kids To Enter Programming Within The Developing World In-Reply-To: <54F73C9C.5030103@unc.edu> References: <54F73C9C.5030103@unc.edu> Message-ID: <5512082A.9000102@unc.edu> Don't miss this month's meeting on Thursday. In addition to the very special featured talk (Andrea's wind up pitch for the PyCon Education Summit), I'm hearing about more than one lightning talks in the works. On 3/4/2015 12:10 PM, Chris Calloway wrote: > I am very pleased to announce the March meeting at Bull City Coworking. > Andrea Villanes, co-founder of Women in Technology Peru (WiT Peru), PhD > student in Computer Science at NCSU, and a Research Associate at the > Institute for Advanced Analytics, will share her journey to a successful > event and lessons learned organizing the first Peru Teen PyCamp. The > event, sponsored by the Python Software Foundation, introduced 23 > teenagers to Python as their first programming language. Lightning > talks, 5 to 10 minutes extemporaneous expositions on a topic of interest > to you, something you recently learned, kind of like a show and tell, > are always welcome as well. Please see the parking instructions on the > BCC website. A wide variety of possibilities for the after-meeting are > within steps of BCC. > > When: Thusday, March 26, 7pm > Where: Bull City Coworking, 112 S. Duke St., Suite 6, Durham > Info: http://tripython.org/Members/cbc/mar-15-mtg > -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530