• submit to reddit
Amit Saha02/02/12
3750 views
0 replies

Fun with C client for PiCloud's REST API

Need a way to let your non-Python programs access your Python code on PiCloud with ease? Amit Saha expalins how he had fun writing a C client for PiCloud's REST API.

Dhananjay Kumar02/01/12
2471 views
0 replies

MongoDB with CSharp

Before you start working with MongoDB using C Sharp, I recommend you to read MongoDB on Windows quick start in 5 minute and download MongoDB for CSharp from here

Matt Cottingham02/01/12
2400 views
0 replies

A Django Developer's First Experience of Play

Matt Cottingham provides a Django Developer's perspective on how to approach the Play framework. From setting up the project, to model declaration, to testing the framework integration, Matt has an interesting take on the strengths of both frameworks.

Everett Toews01/27/12
4576 views
1 replies

How To: Install a Full Development Environment for Django on Windows

I recently installed a full development environment for Django on Windows 7 and found that it took longer than expected. The path to getting everything working together wasn't immediately apparent. I made a few missteps along the way and hopefully this...

Steve Ferg01/26/12
5270 views
1 replies

The Pros and Cons of Lambda

There are a lot of tutorials[1] for Python’s lambda out there. One that I stumbled across recently and really found helpful was Mike Driscoll’s discussion of lambda on the Mouse vs Python blog.

Mike Dirolf01/26/12
1733 views
0 replies

Templating for Third Parties with Python’s string.Template

I had a great conversation recently with Felix. At some point it was mentioned that you’d have to be a bit crazy (maybe good crazy) to decide to write your own templating system; there are already so many good options out there for almost every language.

Fredrik Håård01/25/12
1795 views
0 replies

Tools for Better Python

TL;DRpip install virtualenv pylint ipython autohook Tools I use every day to write better Python, to make it more fun, or just easier:

Eli Bendersky01/25/12
3017 views
0 replies

Parallelizing CPU-bound Tasks with Multiprocessing in Python

In a previous post on Python threads, I briefly mentioned that threads are unsuitable for CPU-bound tasks, and multiprocessing should be used instead. Here I want to demonstrate this with benchmark numbers, also showing that creating multiple processes in...

Giuseppe Vettigli01/25/12
2047 views
1 replies

Monte Carlo Estimate for Pi with NumPy

In this post we will use a Monte Carlo method to approximate pi. The idea behind the method that we are going to see is the following:

Rob Golding01/24/12
1837 views
0 replies

Django in Production: Part 3 - Automation & Monitoring

This is the third part in a series about Django in Production. If you haven’t already, read part 1 and part 2 first.

Fredrik Håård01/24/12
1822 views
0 replies

Mercurial in Python 3: Promoting hgapi

When I took a look at the python.org Py3k poll, I saw that Mercurial was on the top list of things people wanted ported (though far behind the likes of Django).

Cody Powell01/24/12
3023 views
0 replies

One Line of Code Gets Weird at Scale

Something scary happened on Saturday. At Famigo, we have several different monitoring systems for our production environment. At about 3 AM, they all collectively went nuts. I happened to be up then because my son had a coughing fit, so I checked the...

Stoimen Popov01/24/12
12355 views
1 replies

Algorithm of the Week: Data Compression with Diagram Encoding and Pattern Substitution

Two variants of run-length encoding are the diagram encoding and the pattern substitution algorithms. The diagram encoding is actually a very simple algorithm.

Gareth Rushgrove01/23/12
2340 views
0 replies

Logging Django Performance

I’ve been doing some basic performance profiling work with Ruby on Rails recently and one tool I found very useful was the request log analyzer. It’s a relatively simple command line application that you can point at the Rails application log files and...

Rick Copeland01/23/12
3211 views
0 replies

Getting Started with MongoDB and Python

If you've been following this blog for a while, you've seen me mention MongoDB more than once. One exciting thing for me is that I'll be co-teaching a tutorial at PyCon this year on Python and MongoDB that will cover MongoDB, PyMongo, and Ming. So to...