From cbc at unc.edu Mon Feb 2 18:35:03 2015 From: cbc at unc.edu (Chris Calloway) Date: Mon, 2 Feb 2015 12:35:03 -0500 Subject: [TriZPUG] Reminder: Raleigh Project Night Message-ID: <54CFB547.3030905@unc.edu> Another fun-filled Raleigh Project Night happens tomorrow, Tuesday February 3, 6-9pm, at WebAssign on the NCSU Centennial Campus with a high likelihood of pizza: http://tripython.org/Members/sgambino/feb-15-rpn -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From brussell at astrocodeschool.com Mon Feb 2 18:51:38 2015 From: brussell at astrocodeschool.com (Brian Russell) Date: Mon, 2 Feb 2015 12:51:38 -0500 Subject: [TriZPUG] Python & Django Classes at Astro Code School Message-ID: Later this year Astro Code School will be offering a twelve week full time program called Python & Django Web Engineering. It?s an intermediate class designed to prepare you for a career in web development. Our school is located in downtown Durham. More details are coming soon. The best way to find out more is by joining our email list. Which you can do at www.astrocodeschool.com . In the future we will be offering many different kinds of classes at various knowledge levels and time commitments. Such as Introduction to Python and Django Bootcamps. The Lead Instructor for our program is TriPython member Caleb Smith. He?s a super qualified teacher and developer. Currently he's teaching a Django class at the UNC School of Journalism. I?m the Director of Astro Code School and would be happy to answer your questions. Feel free to email me directly or corner me at the next TriPython meet-up. I?m going to the NCSU FOSS Fair this weekend. Are you? Cheers, -BrianR Astro Code School brussell at astrocodeschool.com www.astrocodeschool.com +1 919.951.0263 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobias at caktusgroup.com Tue Feb 3 20:08:02 2015 From: tobias at caktusgroup.com (Tobias McNulty) Date: Tue, 3 Feb 2015 14:08:02 -0500 Subject: [TriZPUG] short term consulting project, Feb 13-20 Message-ID: Hi all, Caktus has a potential 1-week international consulting gig coming up that we might need some help with. Qualifications include: * Python and optionally Django experience * SQL Server experience is a plus * Experiencing participating in/leading technical discussions with diverse stakeholder groups Trip dates are 2/13 - 2/20 or 2/21. If you're interested or know anyone who might be, please email me off-list for details. Tobias -- *Tobias McNulty*Chief Executive Officer tobias at caktusgroup.com www.caktusgroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From berserker at gmail.com Wed Feb 4 20:14:08 2015 From: berserker at gmail.com (Tristan) Date: Wed, 4 Feb 2015 14:14:08 -0500 Subject: [TriZPUG] Nature commentary on Python for science. Message-ID: I'm sure this is preaching to the choir, but if anyone needs a nice summation why Python is good for science (or big data in general, etc) to evangelize with: http://www.nature.com/news/programming-pick-up-python-1.16833 Tristan -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Thu Feb 5 18:05:40 2015 From: cbc at unc.edu (Chris Calloway) Date: Thu, 5 Feb 2015 12:05:40 -0500 Subject: [TriZPUG] Analytics Forward Unconference In-Reply-To: <54B94DC1.1010906@unc.edu> References: <54B94DC1.1010906@unc.edu> Message-ID: <54D3A2E4.5090101@unc.edu> I just want to reiterate about this upcoming data analytics unconference on Pi Day (March 14). I know it is unusual for an unconference to take talk proposals in advance. But I think it is purely to show which talks you'll have to vote upon at the event. At any rate, there have been a number of R talk proposals so far and no explicit Python proposals. I think this needs to be rectified. This unconference brings together a number of local tech communities and has pretty good visibility among choice employers and potential clients alike. I've seen TriPython presentations on all of these topics. I know a good number of you are either employed in analytics or have great interest in analytics. So I hope you will take notice again and post a talk proposal so we can show off Python beyond just the bounds of our user group. Kitware, I'm looking at you. :) (Don't you guys have some involvement in vistrails or something similar? Wouldn't you classify Tangelo suite as scientific workflow management?) Andrea Villanes, I'm looking at you and your whole analytics institute there at NCSU. :) Chris Laffra, I'm looking at you. :) Tim Hopper, I'm looking at you. :) Abida Haque, I'm looking at you. :) Mark Corzine, I'm looking at you. :) I'm looking at anyone of you who has even touched scikit-learn or Pandas or statsmodel or rtree, which I think is a whole bunch of you. An Ipython Notebook demo would be nice. Even better, a Jupyter Notebook using Python, R, and Julia. Please make some noise. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 On 1/16/2015 12:43 PM, Chris Calloway wrote: > Research Triangle Analysts (RTA) is putting on a free data analytics > unconference at Blue Cross Blue Shield of NC on Pi Day: > > http://analyticsforward.org/ > > The call to pitch talks is open now. This is a golden opportunity to > show how Python is a first class data analytics language. Suggested > topics are: > > Big data > Stats > Analysis > Workflow > From mthielbar at gmail.com Fri Feb 6 14:58:18 2015 From: mthielbar at gmail.com (Melinda Thielbar) Date: Fri, 6 Feb 2015 08:58:18 -0500 Subject: [TriZPUG] TriZPUG Digest, Vol 82, Issue 4 In-Reply-To: References: Message-ID: Thanks, Chris, for the signal boost on Analytics>Forward! You are right that we have a lot of great R session proposals, and we would *love* to have more on Python. We do have a space on the site for people to put up short pre-pitches. That's partly so attendees can see ideas from each other, and partly so people can say "Hey! There are no talks on [Python]. I'll pitch one." Two companies have explicitly reached out to inquire about recruiting at the event, and we've set aside time during the first morning break for employers to talk to candidates. If anyone has questions about the event, please feel free to get in touch with me. Best, Melinda On Fri, Feb 6, 2015 at 6:00 AM, wrote: > Send TriZPUG mailing list submissions to > trizpug at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/trizpug > or, via email, send a message with subject or body 'help' to > trizpug-request at python.org > > You can reach the person managing the list at > trizpug-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of TriZPUG digest..." > > > Today's Topics: > > 1. Re: Analytics Forward Unconference (Chris Calloway) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 5 Feb 2015 12:05:40 -0500 > From: Chris Calloway > To: > Subject: Re: [TriZPUG] Analytics Forward Unconference > Message-ID: <54D3A2E4.5090101 at unc.edu> > Content-Type: text/plain; charset="windows-1252"; format=flowed > > I just want to reiterate about this upcoming data analytics unconference > on Pi Day (March 14). I know it is unusual for an unconference to take > talk proposals in advance. But I think it is purely to show which talks > you'll have to vote upon at the event. At any rate, there have been a > number of R talk proposals so far and no explicit Python proposals. I > think this needs to be rectified. This unconference brings together a > number of local tech communities and has pretty good visibility among > choice employers and potential clients alike. I've seen TriPython > presentations on all of these topics. I know a good number of you are > either employed in analytics or have great interest in analytics. So I > hope you will take notice again and post a talk proposal so we can show > off Python beyond just the bounds of our user group. > > Kitware, I'm looking at you. :) (Don't you guys have some involvement in > vistrails or something similar? Wouldn't you classify Tangelo suite as > scientific workflow management?) > > Andrea Villanes, I'm looking at you and your whole analytics institute > there at NCSU. :) > > Chris Laffra, I'm looking at you. :) > > Tim Hopper, I'm looking at you. :) > > Abida Haque, I'm looking at you. :) > > Mark Corzine, I'm looking at you. :) > > I'm looking at anyone of you who has even touched scikit-learn or Pandas > or statsmodel or rtree, which I think is a whole bunch of you. > > An Ipython Notebook demo would be nice. Even better, a Jupyter Notebook > using Python, R, and Julia. > > Please make some noise. > > -- > Sincerely, > > Chris Calloway, Applications Analyst > UNC Renaissance Computing Institute > 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 > (919) 599-3530 > > On 1/16/2015 12:43 PM, Chris Calloway wrote: > > Research Triangle Analysts (RTA) is putting on a free data analytics > > unconference at Blue Cross Blue Shield of NC on Pi Day: > > > > http://analyticsforward.org/ > > > > The call to pitch talks is open now. This is a golden opportunity to > > show how Python is a first class data analytics language. Suggested > > topics are: > > > > Big data > > Stats > > Analysis > > Workflow > > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > TriZPUG mailing list > TriZPUG at python.org > https://mail.python.org/mailman/listinfo/trizpug > > > ------------------------------ > > End of TriZPUG Digest, Vol 82, Issue 4 > ************************************** > -- ---- Co-Founder, Research Triangle Analysts: www.rtpanalysts.org www.melindathielbar.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Fri Feb 6 23:52:04 2015 From: cbc at unc.edu (Chris Calloway) Date: Fri, 6 Feb 2015 17:52:04 -0500 Subject: [TriZPUG] Triangle Open Data Day hackathon open for FREE registration! In-Reply-To: <1649372326.1423261583426.JavaMail.nobody@james1.pvt.meetup.com> References: <1649372326.1423261583426.JavaMail.nobody@james1.pvt.meetup.com> Message-ID: <54D54594.7040102@unc.edu> From Ian Cillay: February 21st is International Open Data Day and the Triangle is taking part again with Triangle Open Data Day 2015 [http://triangleopendataday.org], a two-day hackathon at NC State's Engineering Building II on Centennial Campus. Last year's event saw close to 300 attendees converge to discover, surface, and consume government data all levels (local, state, federal). This year the education sessions have been reduced to allow everyone to start hacking as part of Code for America's CodeAcross 2015 [http://www.codeforamerica.org/events/codeacross-2015]. The theme for this year is Principles for 21st Century Government. Durham is starting its own Open Data initiatives now and we will have Kerry Goode (CIO, City of Durham) and Greg Marrow (CIO, Durham County) on hand to tell us more as they deliver the keynote address. Over in Raleigh they've redesigned their award-winning open data site since last year's event, and Wake County has added several new datasets to its portal. Some attendees may arrive with projects under way and looking for input and assistance from others, and others will turn up just looking for new ideas of what to build. Several elected officials and staff from our local municipalities have already signed up. Everyone is welcome and tickets are FREE. Triangle Open Data Day is an event staged by local citizens to engage with our local governments and others in the technical community. More information is available at the official website [http://triangleopendataday.org] and registration is now open [http://todd2015.eventbrite.com] ! From cbc at unc.edu Wed Feb 11 01:38:59 2015 From: cbc at unc.edu (Chris Calloway) Date: Tue, 10 Feb 2015 19:38:59 -0500 Subject: [TriZPUG] Memory Allocation Error starting Django 1.6 on Centos 7 Message-ID: <54DAA4A3.8010805@unc.edu> Have you ever seen anything like this in response to python manage.py runserver?: https://gist.github.com/cbcunc/157769251c6e4873e318 I have opened the server port on firewalld and temp-turned off SELinux with setenforce 0. The application runs on OSX 10. There's only one instance like this on Stack Exchange and it is not informative: http://stackoverflow.com/questions/23825079/django-runserver-throwing-oserror-cannot-allocate-memory -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From rob.ladd at gmail.com Wed Feb 11 01:36:47 2015 From: rob.ladd at gmail.com (Rob Ladd) Date: Tue, 10 Feb 2015 19:36:47 -0500 Subject: [TriZPUG] Memory Allocation Error starting Django 1.6 on Centos 7 In-Reply-To: <54DAA4A3.8010805@unc.edu> References: <54DAA4A3.8010805@unc.edu> Message-ID: Using virtualenv ? On Feb 10, 2015 7:34 PM, "Chris Calloway" wrote: > Have you ever seen anything like this in response to python manage.py > runserver?: > > https://gist.github.com/cbcunc/157769251c6e4873e318 > > I have opened the server port on firewalld and temp-turned off SELinux > with setenforce 0. The application runs on OSX 10. > > There's only one instance like this on Stack Exchange and it is not > informative: > > http://stackoverflow.com/questions/23825079/django- > runserver-throwing-oserror-cannot-allocate-memory > > -- > 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 aikimark at aol.com Wed Feb 11 03:48:28 2015 From: aikimark at aol.com (Mark Hutchinson) Date: Tue, 10 Feb 2015 21:48:28 -0500 Subject: [TriZPUG] Python/Graph database webinar on Thursday (2/12) Message-ID: <14b7689abe7-6579-134fc@webstg-m03.mail.aol.com> Building Social Recommendations into a Python Web App with Flask and Neo4j http://info.neo4j.com/0212-register.html?_ga=1.85266201.1088426614.1423622709 Mark Hutchinson -------------- next part -------------- An HTML attachment was scrubbed... URL: From mthielbar at gmail.com Wed Feb 11 15:40:30 2015 From: mthielbar at gmail.com (Melinda Thielbar) Date: Wed, 11 Feb 2015 09:40:30 -0500 Subject: [TriZPUG] PySpark Presentation on February 19 Message-ID: Hi, All! Tim Hopper will be giving a presentation on PySpark: next Thursday, February 19 Time: 6:30pm. Place: Bronto Software If you'd like to attend, please RSVP here: http://www.meetup.com/Research-Triangle-Analysts/events/219876732/ Thanks! Melinda Thielbar -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Wed Feb 11 16:41:53 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 11 Feb 2015 10:41:53 -0500 Subject: [TriZPUG] Memory Allocation Error starting Django 1.6 on Centos 7 In-Reply-To: References: <54DAA4A3.8010805@unc.edu> Message-ID: <54DB7841.5090803@unc.edu> On 2/10/2015 7:36 PM, Rob Ladd wrote: > Using virtualenv ? Of course. School me. -- 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 Feb 11 17:40:56 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 11 Feb 2015 11:40:56 -0500 Subject: [TriZPUG] TriPython Project Night Tonight at RENCI Message-ID: <54DB8618.7050900@unc.edu> The monthly second Wednesday TriPython project night at RENCI is tonight from 6-9pm in the Biltmore conference room. Pizza is likely. http://trizpug.org/Members/cbc/feb-15-chpn http://renci.org/event/tripython-project-night-renci-2/?instance_id=144 When: Wednesday, February 11, 6-9pm Where: Biltmore Conference Room """ 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 ssuehle at gmail.com Wed Feb 11 17:37:02 2015 From: ssuehle at gmail.com (Scott Suehle) Date: Wed, 11 Feb 2015 16:37:02 +0000 Subject: [TriZPUG] Cumulus Networks is looking for a Automation Tools Developer Message-ID: Come join our growing team and work on an exciting product! https://hire.jobvite.com/Jobvite/Job.aspx?b=nHtORpwJ&j=opgt0fwS Thanks, Scott Suehle -- Community Manager Cumulus Networks scotts at cumulusnetworks.com http://cumulusnetworks.com Evaluate Cumulus? Linux? https://cumulusnetworks.com/product/secure/evaluate/ Become a Partner http://cumulusnetworks.com/partners/become-a-partner/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob.ladd at gmail.com Wed Feb 11 17:45:02 2015 From: rob.ladd at gmail.com (Rob Ladd) Date: Wed, 11 Feb 2015 11:45:02 -0500 Subject: [TriZPUG] Memory Allocation Error starting Django 1.6 on Centos 7 In-Reply-To: <54DB7841.5090803@unc.edu> References: <54DAA4A3.8010805@unc.edu> <54DB7841.5090803@unc.edu> Message-ID: Is the virtualenv active when you're running ./manage.py runserver? On Wed, Feb 11, 2015 at 10:41 AM, Chris Calloway wrote: > On 2/10/2015 7:36 PM, Rob Ladd wrote: > >> Using virtualenv ? >> > > Of course. School me. > > > -- > 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 cbc at unc.edu Wed Feb 11 17:50:27 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 11 Feb 2015 11:50:27 -0500 Subject: [TriZPUG] Two Hack Events for Young Women Message-ID: <54DB8853.3040205@unc.edu> Here are two FREE events I have become aware of and want to pass along. Weekend of March 21-22 for high school and college women (hosted at UNC): http://pearlhacks.com/ Weekend of March 28-29 for women attending NCSU and surrounding universities: http://www.ncsudiamondhacks.com/ -- 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 Feb 11 17:53:33 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 11 Feb 2015 11:53:33 -0500 Subject: [TriZPUG] Memory Allocation Error starting Django 1.6 on Centos 7 In-Reply-To: References: <54DAA4A3.8010805@unc.edu> <54DB7841.5090803@unc.edu> Message-ID: <54DB890D.1080103@unc.edu> On 2/11/2015 11:45 AM, Rob Ladd wrote: > Is the virtualenv active when you're running ./manage.py runserver? Yep. Is that a no-no fo Django? Should I be invoking the virtualenv python explicitly, Zen of Python-style? -- 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 Feb 11 18:25:02 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 11 Feb 2015 12:25:02 -0500 Subject: [TriZPUG] Memory Allocation Error starting Django 1.6 on Centos 7 In-Reply-To: <54DB890D.1080103@unc.edu> References: <54DAA4A3.8010805@unc.edu> <54DB7841.5090803@unc.edu> <54DB890D.1080103@unc.edu> Message-ID: <54DB906E.3030708@unc.edu> On 2/11/2015 11:53 AM, Chris Calloway wrote: > On 2/11/2015 11:45 AM, Rob Ladd wrote: >> Is the virtualenv active when you're running ./manage.py runserver? > > Yep. Is that a no-no fo Django? Should I be invoking the virtualenv > python explicitly, Zen of Python-style? > > Well, deactivating and explicitly invoking: $ /opt/envs/sciwms/bin/python manage.py runserver resulted in the exact same OSError. So I tried just this: $ /opt/envs/sciwms/bin/python >>> import os >>> pid = os.fork() >>> >>> At which point the console slowed to a crawl and I have to kill Python to get it back. So I also tried it with the parent python, which was compiled from source. Same thing. So I also tried it with the system python. Same thing. :0 So I don't think my problem is Django. I think my problem is Python on Centos 7 on VirtualBox. -- 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 Feb 11 18:35:42 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 11 Feb 2015 12:35:42 -0500 Subject: [TriZPUG] Memory Allocation Error starting Django 1.6 on Centos 7 In-Reply-To: <54DB906E.3030708@unc.edu> References: <54DAA4A3.8010805@unc.edu> <54DB7841.5090803@unc.edu> <54DB890D.1080103@unc.edu> <54DB906E.3030708@unc.edu> Message-ID: <54DB92EE.7010609@unc.edu> On 2/11/2015 12:25 PM, Chris Calloway wrote: > So I tried just this: > > $ /opt/envs/sciwms/bin/python > >>> import os > >>> pid = os.fork() > >>> >>> > > At which point the console slowed to a crawl and I have to kill Python > to get it back. ... > So I don't think my problem is Django. I think my problem is Python on > Centos 7 on VirtualBox. Eh, maybe not. Turns out that is nermel os.fork behavior at a Python interactive prompt. I just tried this on a non-VM Fedora 20 system python. Django invokes os.fork from os.spawnve. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From jim at ibang.com Wed Feb 11 18:44:33 2015 From: jim at ibang.com (Jim Allman) Date: Wed, 11 Feb 2015 12:44:33 -0500 Subject: [TriZPUG] Memory Allocation Error starting Django 1.6 on Centos 7 In-Reply-To: <54DB906E.3030708@unc.edu> References: <54DAA4A3.8010805@unc.edu> <54DB7841.5090803@unc.edu> <54DB890D.1080103@unc.edu> <54DB906E.3030708@unc.edu> Message-ID: > On Feb 11, 2015, at 12:25 PM, Chris Calloway wrote: > > So I don't think my problem is Django. I think my problem is Python on Centos 7 on VirtualBox. Obvious question time: How much RAM does your VirtualBox system have? I gather from some quick googlin? that shared memory is a likely bottleneck. =jimA= Jim Allman Interrobang Digital Media http://www.ibang.com/ (919) 649-5760 From cbc at unc.edu Wed Feb 11 19:03:14 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 11 Feb 2015 13:03:14 -0500 Subject: [TriZPUG] Memory Allocation Error starting Django 1.6 on Centos 7 In-Reply-To: References: <54DAA4A3.8010805@unc.edu> <54DB7841.5090803@unc.edu> <54DB890D.1080103@unc.edu> <54DB906E.3030708@unc.edu> Message-ID: <54DB9962.5010304@unc.edu> On 2/11/2015 12:44 PM, Jim Allman wrote: > Obvious question time: How much RAM does your VirtualBox system have? I gather from some quick googlin? that shared memory is a likely bottleneck. Yep, obvious. 4G Ram, 2G swap, 40G disk. $ free total used free shared buffers cached Mem: 3883896 725352 3158544 193572 0 241216 -/+ buffers/cache: 484136 3399760 Swap: 2179068 3360 2175708 $ It's normal for the console to appear to hang up like that with os.fork interactively because the two processes are sharing the same console. So now I'm trying out spawnve with os.P_WAIT like Django does. spawnve is what is invoking os.fork. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From jeffreyd at jeffreyd.org Wed Feb 11 19:22:41 2015 From: jeffreyd at jeffreyd.org (Jeffrey D Johnson) Date: Wed, 11 Feb 2015 13:22:41 -0500 Subject: [TriZPUG] Memory Allocation Error starting Django 1.6 on Centos 7 In-Reply-To: <54DAA4A3.8010805@unc.edu> References: <54DAA4A3.8010805@unc.edu> Message-ID: <1b4077a5a04f85646cd4aa8338f9e677@jeffreyd.org> I'm at work so I can't dig into the kernel source like I'd want to, but I don't think fork should be returning ENOMEM unless there's an honest-to-god memory thing going on, and os.fork shouldn't be throwing OSError(12) unless fork() is returning it. What size is the process that's failing to fork directly before the fork itself? I don't remember specifics, but there's a configurable overcommit policy on Linux that you may be able to futz with. Jeff On 2015-02-10 19:38, Chris Calloway wrote: > Have you ever seen anything like this in response to python manage.py > runserver?: > > https://gist.github.com/cbcunc/157769251c6e4873e318 [1] > > I have opened the server port on firewalld and temp-turned off SELinux > with setenforce 0. The application runs on OSX 10. > > There's only one instance like this on Stack Exchange and it is not > informative: > > http://stackoverflow.com/questions/23825079/django-runserver-throwing-oserror-cannot-allocate-memory [2] Links: ------ [1] https://gist.github.com/cbcunc/157769251c6e4873e318 [2] http://stackoverflow.com/questions/23825079/django-runserver-throwing-oserror-cannot-allocate-memory -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Thu Feb 12 19:52:46 2015 From: cbc at unc.edu (Chris Calloway) Date: Thu, 12 Feb 2015 13:52:46 -0500 Subject: [TriZPUG] Versioning IPython Notebooks Message-ID: <54DCF67E.5080703@unc.edu> I told Victor last night I had a friend who had written up a great procedure for versioning IPython notebooks and that I would dig it up and send it to him. I figure I may as well post it here as it might be of interest to many of you: http://stackoverflow.com/questions/18734739/using-ipython-notebooks-under-version-control Scroll down to the third full answer, the one from Rich Signell at USGS. -- 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 Thu Feb 12 20:15:24 2015 From: matthew.m.mccormick at gmail.com (Matthew McCormick) Date: Thu, 12 Feb 2015 14:15:24 -0500 Subject: [TriZPUG] Versioning IPython Notebooks In-Reply-To: <54DCF67E.5080703@unc.edu> References: <54DCF67E.5080703@unc.edu> Message-ID: That's excellent! Thanks for the link! On Thu, Feb 12, 2015 at 1:52 PM, Chris Calloway wrote: > I told Victor last night I had a friend who had written up a great procedure > for versioning IPython notebooks and that I would dig it up and send it to > him. I figure I may as well post it here as it might be of interest to many > of you: > > http://stackoverflow.com/questions/18734739/using-ipython-notebooks-under-version-control > > Scroll down to the third full answer, the one from Rich Signell at USGS. > > -- > 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 From hao at caktusgroup.com Fri Feb 13 19:06:39 2015 From: hao at caktusgroup.com (Hao Minh Nguyen) Date: Fri, 13 Feb 2015 13:06:39 -0500 Subject: [TriZPUG] PyCon 2015 Ticket Giveaway by Caktus Group (Feb 16th) Message-ID: Caktus is giving away one PyCon 2015 ticket to a TriPython member. For details on how to enter and increase your chances, visit https://www.surveymonkey.com/s/HWV5M23 Online entries close Monday 2/16 at 12pm. Increase your chances by RSVPing and attending Monday's project night at our Durham office. The winner will be selected then. Hope to see you there! *Hao Nguyen*Strategy Director 919-951-0052 x209 <#14b83b72a7726ae8_SafeHtmlFilter_> hao at caktusgroup.com www.caktusgroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ironfroggy at gmail.com Mon Feb 16 18:13:41 2015 From: ironfroggy at gmail.com (Calvin Spealman) Date: Mon, 16 Feb 2015 12:13:41 -0500 Subject: [TriZPUG] Durham Project Night CANCELLED In-Reply-To: References: Message-ID: Due to weather, project night had been cancelled. Everyone stay safe! -------------- next part -------------- An HTML attachment was scrubbed... URL: From hao at caktusgroup.com Mon Feb 16 18:56:45 2015 From: hao at caktusgroup.com (Hao Minh Nguyen) Date: Mon, 16 Feb 2015 12:56:45 -0500 Subject: [TriZPUG] Update on PyCon Ticket Giveaway: Open till 2PM. Message-ID: Hello all, Sorry for the multiple emails on this giveaway. The weather has meant some quick adapting. Since there's no Durham project night, we're making our giveaway online entries only. You can submit your name for the PyCon 2015 giveaway here: https://www.surveymonkey.com/s/HWV5M23 We'll announce the winner by 3pm today. Thanks! Hao -------------- next part -------------- An HTML attachment was scrubbed... URL: From hao at caktusgroup.com Mon Feb 16 20:35:29 2015 From: hao at caktusgroup.com (Hao Minh Nguyen) Date: Mon, 16 Feb 2015 14:35:29 -0500 Subject: [TriZPUG] PyCon 2015 Ticket Giveaway by Caktus Group (Feb 16th) - WINNER Message-ID: Join us in congratulating our TriPython PyCon 2015 giveaway winner: Laura T! Watch a video of Calvin Spealman drawing Laura's lucky ticket . Congrats Laura. We're looking forward to seeing you in Montreal! Hao On Fri, Feb 13, 2015 at 1:06 PM, Hao Minh Nguyen wrote: > Caktus is giving away one PyCon 2015 ticket to a TriPython member. For > details on how to enter and increase your chances, visit > https://www.surveymonkey.com/s/HWV5M23 > > Online entries close Monday 2/16 at 12pm. Increase your chances by RSVPing > and attending Monday's project night at our Durham office. The winner will > be selected then. Hope to see you there! > > > > *Hao Nguyen*Strategy Director > > 919-951-0052 x209 <#14b841f020db673e_14b83b72a7726ae8_SafeHtmlFilter_> > hao at caktusgroup.com > www.caktusgroup.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Wed Feb 18 22:23:08 2015 From: cbc at unc.edu (Chris Calloway) Date: Wed, 18 Feb 2015 16:23:08 -0500 Subject: [TriZPUG] PyCon Presentations? Message-ID: <54E502BC.9040001@unc.edu> Who among TriPython is giving a presentation (talk/poster/tutorial) at PyCon? -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530 From randy at electronsweatshop.com Wed Feb 18 23:09:00 2015 From: randy at electronsweatshop.com (Randy Barlow) Date: Wed, 18 Feb 2015 17:09:00 -0500 Subject: [TriZPUG] PyCon Presentations? In-Reply-To: <54E502BC.9040001@unc.edu> References: <54E502BC.9040001@unc.edu> Message-ID: <54E50D7C.6040200@electronsweatshop.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/18/2015 04:23 PM, Chris Calloway wrote: > Who among TriPython is giving a presentation (talk/poster/tutorial) > at PyCon? I'll be giving a poster presentation about Pulp. See you there! - -- R -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJU5Q18AAoJEHhEzLg73SRiw30P/3lPbYL4GwDOdSDwi8qLkGuT NuqJaJUKZ/m2mg3Fup3Cah6pLEw+VuyEiNEsbMlO/w0Y10BctxFrA/oAjFSh4UqJ oRB0GqeCI3IBSFyza8Iru66MRD6gh3njFye7jBSTlrqW/pRyl9uy1gHJgvqxyh8Z XmFQrAIjsotNgTi5vzjThyBFK5m4/OEbqBbTauUw4mhO7+kzL0aogxrXDtwAwVpq PCBbpsyqEoz1sivMVmhAn0RT3XNAzbtEq3cqRkLEfbdNzQPaq627UHiU+Tsm1ZLf 8SiLEAB8MXdLq5faLrgXIy8/Iwhrr7YCfyJMGDyfT0kOh3eLV1xmLUtSeb1SurKO AzVSLfYN3qmFRRrxF6Qc50wp3h1DsT4vpPH2Zil/aGpd0MDeltSHl1ZoOSsTxbfx wECyRAhEtIPg5FVOcSGVqxnIYNbqpdq3Ge2cGA+fMrS4sWEaJRoKjTqB6Ru4mNJ7 R7NKOaYgVCmEVGDjjUvWBabYD22r+4OsFposQX6vuCFVg83VSBhB6DFlqCzyDGjO BbOJJlCAHwEqscnWynLpHY62qtc2Sq8UjmIJAFLqgFVmIEr7q/AN8/S9VAfUHoiV 9RGqFTu1/HHPW6rUWylzjLT7VeHGADQTcWdz+oHiossdN5qbHWMXu56E/8gLq3fo /HaaT54+aWc5/4R7HvOw =zXMj -----END PGP SIGNATURE----- From grinch at grinchcentral.com Thu Feb 19 15:19:09 2015 From: grinch at grinchcentral.com (Erik Rose) Date: Thu, 19 Feb 2015 09:19:09 -0500 Subject: [TriZPUG] PyCon Presentations? In-Reply-To: <54E502BC.9040001@unc.edu> References: <54E502BC.9040001@unc.edu> Message-ID: <150ECC06-FB34-48C6-8FEE-D0A40CD006DF@grinchcentral.com> I'm giving an in-depth tutorial about elasticsearch, the next generation of the one Laura Thomson and I gave (to 4.3/5 reviews) at OSCON 2014: https://us.pycon.org/2015/schedule/presentation/330/ They aren't making the full outline visible on the site, so here it is: - Intro (10 minutes) - Humble Beginnings - Doc Deficiencies - ?pretty Please - REST, Lucene, and CAP - Don't Use Elasticsearch If? - Practical Self-Defense (10 minutes) - Zen Multicast - Network Binding - Cluster Name - Data Structure Basics (20 minutes) - Document IDs - Type-guessing - What mappings are - Exercise: GET and DELETE docs - Parallels with DB indexing - Arrays and how they're searched - Mappings (15 minutes) - Not Really Schemaless - Data Types - Best Practices - Lurking Horrors - Queries (45 minutes) - Filters vs. Queries - Term vs. match and why this will save you days of pain - Match phrase queries - Faceting - Scoring - Custom-scoring queries - Boosts - Exercises - Writing different types of queries - Using explain to dig into scoring - Analysis (20 minutes) - Relationship with inverted index - 4-fold path to analysis - Char filter - Tokenizer - Token filter - Analyzer - What Analyzers Can Do - Choosing appropriate analysis: what kinds speed which queries? - Common Cases - Names - Street Addresses - Multi-language support - Query analyzers (vs. index analyzers) - Shrinking your index - What's the point? - Is every part of your index equally hot? - Is your index bigger than RAM? - How's your I/O speed? - Compression - `_source`: to store or not to store? - Exercises - Testing analyzers with the _analyze API - Write a mapping, including appropriate analyzers, to improve upon the default - Multi-word tags indexed as atoms - Interfacing With Python (likely broken up and scattered throughout the other sections) (15 minutes) - Overview of Libraries - Bulk Indexing - Data Update Strategies - Result Fetching Alternatives - Testing - Clustering (15 minutes) - Shards and Replicas - Pitfalls - General Best Practices - Why Best Practices Aren't Generalizable - Adding New Nodes Without Downtime - Split Brain: You're Not Feeling Lucky - Monitoring - Optimization (10 minutes) - RAM - mlockall - ES_HEAP_SIZE at 50% - File Descriptors - Stores - The JVM, GC, And You - MySQL Horrors - Shrinking Indices - Filter Caching - Dealing With The Future (10 minutes) - Changing mappings - Mergeable and unmergeable changes - Reindexing - ES As A Primary Datastore - Fancy Features (10 minutes) - Synonyms - Suggesters - Autocompletion - Percolation Maybe I'll see some of you there! Cheers, Erik > On Feb 18, 2015, at 4:23 PM, Chris Calloway wrote: > > Who among TriPython is giving a presentation (talk/poster/tutorial) at PyCon? From cbc at unc.edu Fri Feb 20 17:44:12 2015 From: cbc at unc.edu (Chris Calloway) Date: Fri, 20 Feb 2015 11:44:12 -0500 Subject: [TriZPUG] Fwd: SciPy 2015 Call for Proposals In-Reply-To: <30308.1424386964.97178471054e66b9463e7c7.68612680@etouches.com> References: <30308.1424386964.97178471054e66b9463e7c7.68612680@etouches.com> Message-ID: <54E7645C.6040509@unc.edu> FYI... -------- Forwarded Message -------- Subject: SciPy 2015 Call for Proposals Date: Thu, 19 Feb 2015 18:02:44 -0500 From: SciPy 2015 Organizers To: cbc at unc.edu Mark Your Calendar: 14th Annual SciPy Conference to be held July 6-12, 2015 in Austin, Texas The annual SciPy Conference gets bigger and better each year, and 2015 is on track to be no exception. The 2014 conference saw substantial growth in overall attendance, tutorial attendees, and sponsors. We expanded the general conference to a third day, held our popular domain-specific mini-symposia for the second time, and offered our first job fair. We want to thank everyone who provided their feedback last year - with your input, the organizing committee is hard at work to make this the best SciPy yet! Stay tuned - we'll continue to provide details on tried-and-true favorites and new additions for this year. Meanwhile, mark your calendars for: * *SciPy Tutorials:* July 6 - 7, 2015 * *SciPy Conference:* July 8 - 10, 2015 * *SciPy Sprints: *July 11 - 12, 2015 Call for Proposals is Open NOW: Submit Tutorial and Talk Ideas! Have you been working on something new and interesting? If you have software of interest to the SciPy community, tools or techniques for more effective computing, or an example of how scientific Python was applied to solve a research problem, we want to hear from you. Submit your talk or poster proposal by April 1, 2015. See more below, or visit the SciPy 2015 website for full details. Submit a Talk or Tutorial Proposal Here Need some inspiration? (or still catching up from last year!?) * Previous year's conferences with talk information * SciPy 2014 Talk & Tutorial Video playlist * SciPy 2013 Talk & Tutorial Video playlist Teach & Learn: Submit a Tutorial Idea The SciPy experience kicks off with two days of tutorials. These sessions provide extremely affordable access to expert training, and consistently receive fantastic feedback from participants. We're looking for submissions on topics from introductory to advanced - we'll have attendees across the gamut looking to learn. *Tutorial proposals from individuals or teams that would like to teach a tutorial at SciPy 2015 can be submitted here until March 16th.* Whether you are a major contributor to a scientific Python library or an expert-level user, this is a great opportunity to share your knowledge and offset some of the costs of your SciPy 2015 attendance. Let's Talk About It: Propose a Talk or Poster *Talk and Poster Presentation Tracks* The conference will include both a general SciPy topic track as well as two 2015 theme tracks. Have a topic of interest to the community? Submit a talk or poster proposal before April 1, 2015. * Python in Data Science* The explosion of interest in the field of data science has increased demand for methods to analyze massive and heterogeneous data sources in the search for meaning and pattern identification. Given its flexibility and power, Python has become a central component of the data science toolset as reflected in a number of actively developed packages in the areas of knowledge discovery, data mining, machine learning and natural language processing, among others. This special track will bring together researchers, developers, and industry analysts to focus on efforts to promote and develop Python for data science. *Quantitative Finance and Computational Social Sciences* The frontiers of finance and the computational social sciences have seen a revolution in the widespread adoption of new computationally based methods for the analysis of markets and other socioeconomic systems. From the application of agent based modeling of investor behavior, to the microsimulation of urban segregation processes, analysis of social networks, and the macroeconometric modeling of international economic growth and inequality, Python is increasingly adopted as the computational language of choice. This specialized track will focus on Python libraries, tools, and techniques in quantitative finance and computational social science. *Domain / Industry Mini-symposia* This year's conference will also bring back the popular mini-symposia, a unique opportunity discuss scientific computing applied to a specific scientific domain/industry. The goal is to gather people with similar interests for discussions and to promote domain-specific libraries and tools. We're looking for talk and poster submissions in the following areas: *-Astronomy and astrophysics -GIS -Geophysics -Oceanography and Meteorology -Computational Life and Medical Sciences -Visualization, Vision, and Imaging -Engineering * 3 Ways You Can Help Make SciPy 2015 the Best Yet: *1) Contribute to the conference learning and information sharing: *submit a tutorial you can deliver or a talk or poster proposal about a new or interesting project or tool. *2) Share information about the SciPy Conference*with colleagues, peers, or potential sponsors to help us continue to grow and learn from a broader community. (Hint: Here's an easy link to the sponsorship prospectus ) *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. -------------------------------------- To unsubscribe from this mailing list, please click here. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Tue Feb 24 20:00:52 2015 From: cbc at unc.edu (Chris Calloway) Date: Tue, 24 Feb 2015 14:00:52 -0500 Subject: [TriZPUG] Thursday's Meeting Canceled Message-ID: <54ECCA64.40409@unc.edu> I spoke with Francois Dion, our scheduled speaker for this week, who was to travel from Winston-Salem to our meeting this week. There is a 90 percent chance of two inches of snow in Raleigh on Wednesday night. On Thursday the high temperature will be 37 and then temperatures will plunge below freezing again. This means ice on the roads Thursday night. Raleigh is expected to have over 5 inches of accumulated snow for the week by Thursday evening. And area secondary schools are expected to be closed all week. In light of the expected conditions, it is not reasonable for us to ask Francois to travel to speak with us this week. And it is not reasonable to ask you to be on the road either, or to keep you waiting until the last minute to inform you of whether or not the meeting is taking place. So I'm preemptively declaring the monthly meeting canceled, something I don't think has ever been done in TriPython history. I apologize for your disappointment and inconvenience, especially to our host Steve Gambino. On the bright side, Francois has agreed to deliver his talk on Python 3 to us at our April 23 meeting. Also on the bright side, Andrea Villanes will speak to us about her experiences organizing and delivering Peru Teen PyCamp at our March 26 meeting. This will be a warm-up for Andrea's talk to the Python Education Summit at PyCon. I hope to see you at project night at WebAssign next Tuesday. -- Sincerely, Chris Calloway, Applications Analyst UNC Renaissance Computing Institute 100 Europa Drive, Suite 540, Chapel Hill, NC 27517 (919) 599-3530