PyCon 2014 and Python on Rails

June, 16 2014

The organizers of PyCon 2014 did a great job making a large conference feel like a regional one. The diversity among the attendees was great, though there is always room for improvement. I will definitely be going back in 2015.

Here are some lessons learned and a recap of Python on Rails which proved that trains still are the best way to travel.

Stop using pickle. Did you know pickle is a stack based language pretending to be a data interchange format? Even celery, which is basically instantaneously pickling and unpickling (which avoids some of the major pitfalls), is moving away from it.

You can use the environment variable PYTHONDONTWRITEBYTECODE to prevent Python from writing .pyc files.

$ export PYTHONDONTWRITEBYTECODE=1

In development when you don’t really care about the slight speed optimization of precompiling byte code this can help avoid other pitfalls. This tip comes from "Day of the EXE". All of Brandon Rhodes talks are worth watching. They do a beautiful job of expressing complex concepts in a way which is accessible to people of all skill levels.

If you use pdb—and especially if you don’t, you should watch In Depth PDB by Nathan Yergler which covers it from the basics to more advanced usage. I leaned about the postmortem debugger import pdb; pdb.pm() and the potential to have Django enter it automatically using something like django-pdb.

I should really start using postgres in development to spare Andrew Godwin from shedding too many tears.

Finally next time you want to upload a package to PyPI instead of crying softly to yourself, you should try twine, I know I will.

Nearly all the videos are up on pyvideo.org. One notable exception, one of the most talked about talks of the conference The Birth and Death of Javascript by Gary Bernhardt

You should go next year, it will be in Montreal again. It will sell out months before the conference start date so buy your tickets early.

Python On Rails

WatPy worked with Brydon and Anastisa at 349 Coworking to organize a chartered train trip from Toronto to Montreal. For 6 hours we had lunch, had few drinks, did a coding challenge and heard from Brandon Rodes about how to get the most out of PyCon.

It was a great stress free way to get to the conference and it meant when you got there you already knew enough people to get some friendly smiles in the hallways between sessions. That and we arrived right in the heart of Montreal and a short walk away from the hotels and conference centre.

We are planning on taking the train again next year. The website hasn’t been updated, but if you sign up with your email you will be among the first know when details come out this fall.

If you are involved in a startup consider joining them on the Startup Train to the Montreal Startup Festival.


Tweet comments, corrections, or high fives to @amjoconn