Issue #14

Simple is better than complex.

May 18, 2012

Simple is better than complex.
Jython 2.7 alpha, daemon tutorial and much more. 

Issue #14 : Simple is better than complex.

 

Friday, May 18th, 2012


Hi Pythonistas,

So we decided to send stickers everyone who tweeted @pycoders last week about stickers. Those of you who are listed here can reply to this email with your name, address and twitter handle. We will get them out to you as soon as possible.

Sorry to those of you who didn't make it, but if you want a sticker send us a self addressed stamped envelope to:

44 Byward Market Square, Suite 210
Ottawa, Ontario Canada 
K1P 7A2

We weren't satisfied with the stickers we recieved and we have sent them to another printer and should be sent out by next week's issue. 

@girasquid
@Fitoria
@StephenYoungDev
@anentropic
@codegrappler
@dnathe4th
@chriswalkr
@tlots
@catchagain
@rafael_ab
@palmerj3
@ServerCobra
@emre_yilmaz
@dstufft
@SarmaTangirala
@themexicat
@fyelles
@RebbitMe
@gmarkall
@jiggyjensen
@martinogden
@ajmendez
@IWillCode
@xemoka
@iwanbk
@regisb
@benregn
@esoltys
@odonnell004
@thomasemge
@RealJohnConnor
@WilliamHerring
@adrop
@kstrauser
@scummlet
@thomasemge
@AshuMehta
@dalanmiller
@R_Macy
@caritos
@fkumro
@WCleve7
@nremond
@mxuribe
@gerlv
@SuperKronos
@MarcelChastain
@jrhunt
@eugeneching
@schnapptack
@speg 
@psnj



Now on to this week's issue, we hope you guys enjoy it.  
 
RSS and archives can be found here, and here respectively.

Be a hero (or heroine) and do the right thing. Follow @pycoders.

--
Mahdi and Mike
 
News and Latest Developments.
Jython 2.7 Alpha 1
Latest version of Jython has been announced, which implements much of the functionality introduced by CPython 2.6 and 2.7. Its an alpha release expect some issues.


OUR SPONSOR POSTMATES IS HIRING!

Postmates is a small team with a huge vision that is changing local commerce.
They are currently hiring Python and iOS Engineers in San Francisco, California.


Discussions.

Tracking Down a Bug (reddit.com)
Let’s face it we all write bugs, some of even fix a few from time to time. That being said sometimes some bugs are tricky; Often times it’s a thankless battle, but there is glory to be had.

Projects.

redis-faina: a query analysis tool for Redis (tumblr.com)
What do you do when you sell your company for a Billion dollars to Facebook? You write a query analysis tool for Redis! No really, that's not fair, the guys at Instagram are doing good work and this is a nice tool for sites that do a lot of volume on their redis server and need to better intelligence on their queries. Check it out.

grequests (github.com)
GRequests allows you to use Requests with Gevent to make asynchronous HTTP Requests easily. He seems to be on a gevent kick as of late.

plumbum (github.com)
The motto of the library is "Never write shell scripts again", and thus it attempts to mimic the shell syntax ("shell combinators") where it makes sense, while keeping it all pythonic and cross-platform. Check it out.



Articles.

Writing Python Daemons(coder.cl)
This article highlights the use of the daemon module in python, and goes through a tutorial for creating your first daemon process in Python.

Python is a Voluntary Language (johndcook.com)
This article starts off describing  how python is a voluntary language, most people choose to develop in it. The interesting part of the article crops up towards the end describing how ruby has been affected by growth driven by web development ( ruby on rails) while python stays it course.

Sublime Text 2 tips for Python and Web Developers (opensourcehacker.com)
If you use Sublime Text 2 as your primary text editor, this article is a great resource of tips for using it effectively with Python and for web development. After you take a look at the article give the reddit discussion a look, there are a lot of tips in there too.

A comprehensive guide through Python packaging (a.k.a. setup scripts) (foobar.lu)
If you are working on a project you want to distribute via pypi or have it pip installable from a git repository, or just want the ability to install your package into your path then this guide has the answers. It gives you a good step by step walkthrough of how to organize your packages and create appropriate setup scripts for them.

2012 PyData Workshop Videos (marakana.com)
The PyData workshop was a two-day workshop hosted by google for data scientists interested in Python and Python developers interested in big data. This page has a list videos for many of the talks at the workshop. If big data is something that excites you, check this out.

Determining the Name of a Process from Python (doughellmann.com)
This article is a great investigation of the best way to determine the name of a process in Python. Starting at a one liner seen at a conference Doug Hellmann goes down the rabbit hole in discussion strengths and weaknesses of the stated solution as well as the solutions he investigates.

Dynamic State Machines (harkablog.com)
This is a nice post about implementing finite state machines in a dynamic language like Python. Good explanation, complete with code example, take a look.

I am doing HTTP wrong (speakerdeck.com)
A fresh look at HTTP for agile languages (more importantly: Python) by Armin Ronacher, goes through the evolution of web developer and mistakes he has made.

Multiple Python Sites nginx and uWSGI emperor (tghw.com)
This article highlights the uWSGI emperor mode. It is a special uWSGI instance that will monitor specific events and will spawn/stop/reload instances on demand. Pretty awesome.

Python HOWTOs (python.org)
This is a collection of HOWTOs modelled after the Linux Documentation Project’s HOWTO collection that is maintained in the python documentation. It has a bit of everything from “Curses programming with Python” to “Use Python in the web”. Definitely worth checking out.

 

UPCOMING EVENTS

Pycoder's Weekly Issue # 15
May 25th, 2012

ABOUT THE CURATORS

This mailing list has been hand picked by Mahdi Yusuf and Mike Grouchy

ABOUT OUR SPONSORS

Postmates is a small team with a huge vision that is changing local commerce.
They are currently hiring. Check out their open positions here!

Follow on Twitter | Friend on Facebook | Forward to Friend 
Copyright © 2012 PyCoder’s Weekly, All rights reserved.





|