A Weekend In Russia

Source article: A Weekend In Russia This past weekend I had the opportunity to attend Russia’s first ever PyCon. If you’re not familiar, PyCon is the name used for several Python programming conferences. The event itself was set at a holiday lodge in Yekaterinburg and had somewhere between 200 and 300 attendees. It’s not often […]

A Weekend In Russia

Source article: A Weekend In Russia This past weekend I had the opportunity to attend Russia’s first ever PyCon. If you’re not familiar, PyCon is the name used for several Python programming conferences. The event itself was set at a holiday lodge in Yekaterinburg and had somewhere between 200 and 300 attendees. It&#8217 … Read […]

Workaround for PostgreSQL SQL_ASCII template encoding

Source article: Workaround for PostgreSQL SQL_ASCII template encoding On some Linux distribution installs there may be a problem with SQL_ASCII encoding set on postgres templates (I found it on the daily ISO Raring Ringtail install). When trying to create postgis template with UTF-8 encoding it will fail with an error: createdb: database creation failed: ERROR: […]

Drastically Improve Your Python: Understanding Python’s Execution Model

Source article: Drastically Improve Your Python: Understanding Python’s Execution Model Those new to Python are often surprised by the behavior of their own code. They expect A but, seemingly for no reason, B happens instead. The root cause of many of these “surprises” is confusion about the Python execution model. It’s the sort of thing […]

Drastically Improve Your Python: Understanding Python’s Execution Model

Source article: Drastically Improve Your Python: Understanding Python’s Execution Model Those new to Python are often surprised by the behavior of their own code. They expect A but, seemingly for no reason, B happens instead. The root cause of many of these “surprises” is confusion about the Python execution model. It’s the sort of thing […]

Moving On

Source article: Moving On For the last three years I’ve been at Disqus helping to scale the infrastructure, as well as the engineering team. During that time I’ve had the opportunity to work on some amazing things, with some amazing people. Disqus is one of the largest platforms on the web, and that has never […]

Write Cleaner Python: Use Exceptions

Source article: Write Cleaner Python: Use Exceptions Many programmers have had it drilled into their head that exceptions, in any language, should only be used in truly exceptional cases. They’re wrong. The Python community’s approach to exceptions leads to cleaner code that’s easier to read. And that’s without the monstrous hit to performance commonly associated […]

Write Cleaner Python: Use Exceptions

Source article: Write Cleaner Python: Use Exceptions Many programmers have had it drilled into their head that exceptions, in any language, should only be used in truly exceptional cases. They’re wrong. The Python community’s approach to exceptions leads to cleaner code that’s easier to read. And that’s without the monstrous hit to performance commonly associated […]