All Tests Passed - Have a Banana: Colored Output while doing TDD with DJango and Fabric
David Winterbottom has an easy way to add custom colors and messages to Django while doing TDD. "All Tests Passed - Have a Banana!"
Tweet 2 Comments Save Tags: how-to , python , web design
Computing Convolution using Numpy's Kaiser Windows
A convolution is a way to combine two sequences, x and w, to get a third sequence, y, that is a filtered version of x. Using Numpy's... more »
Tweet 0 Comments Save Tags: how-to , python , tools
What WSGI is
WSGI (Web Server Gateway Interface) is the standard for interfacing Python web applications with web servers. One of the Python syntax... more »
Tweet 0 Comments Save Tags: how-to , python , server , web services
Algorithm of the Week: Data Compression with Prefix Encoding
Prefix encoding, sometimes called front encoding, is yet another algorithm that tries to remove duplicated data in order to reduce its... more »
Installing a Django Application on Red Hat's OpenShift PAAS
While taking Red Hat's OpenShift PAAS for a test drive recently, Ken Cochrane noticed a lack of Python documentation on the subject, so... more »
Tweet 0 Comments Save Tags: how-to , open source , python , reviews
Apache Log Parsing with Python
Steven Lott provides a simple code snippet for parsing Apache logs in Python that makes the access log rows first-class Access-class... more »
Tweet 0 Comments Save Tags: how-to , open source , python , tools
Easy way to reduce the size of png files
Step by step instructions of how to easily reduce the file size of png files, without reducing quality. Bash and python scripts included.
Tweet 0 Comments Save Tags: how-to , python , unix-linux
Amon - Python-powered server monitoring, logging, and error reporting with JSON API
mon from Martin Rusev is a simple yet flexible way to add server monitoring, logging, and error tracking to your web stack. Amon consists... more »
Tweet 0 Comments Save Tags: how-to , opinion , python , tools
Multiprocessing using Python
Basically, the following example will be perfect for applications in which the exact same task has to be performed several times on unrelated data.
Tweet 0 Comments Save Tags: python
wxPython: Showing 2 Filetypes in wx.FileDialog
Mike Driscoll shows you how to make the wx.FileDialog display more than one file type at a time using the 'wildcard' variable.
Tweet 0 Comments Save Tags: how-to , python , windows
The importance of thinking the right thing
I've been fiddeling with type inference again -- this time I've actually got much further than before. This time, the algorithm can... more »
Tweet 0 Comments Save Tags: opinion , python
Model Templates in Django without Denormalization
The model needed to represent the notion of a university module, which can be taught over a number of semesters and/or years, by... more »
Tweet 0 Comments Save Tags: frameworks , how-to , python
We Need To Talk About Binary Search.
Why is binary search so damn hard to get right? Why is it that 90% of programmers are unable to code up a binary search on the spot, even... more »
Tweet 0 Comments Save Tags: python , reviews
Running Sentry on DotCloud
Ken Cochrane has a great step-by-step post on how to run Sentry on DotCloud.
Tweet 0 Comments Save Tags: how-to , python , tools
wxPython: A Wizard Tutorial
Mike Driscoll takes a look at wxPython's Wizard Widget (the dialog that you see when you run an installer or set up a template) and... more »
Tweet 0 Comments Save Tags: how-to , python , tools , windows
Local Directory vs. Local Guide
Kin's work with CityGrid places led him to the conclusion that user-centered local direction provides search mechanisms for finding local... more »
Tweet 0 Comments Save Tags: opinion , python , ruby
Multiprocessing Goodness Part 1: Use Case
The advantage of multiprocessing is to have multiple processes working on a problem. If we break a big problem into small, concurrent... more »
Tweet 0 Comments Save Tags: how-to , python , tools
Mocking Generator Methods in Python
Another mock recipe, this one for mocking generator methods. A Python generator is a function or method that uses the yield statement to... more »
Tweet 0 Comments Save Tags: how-to , python , tools
Almost There - PyPy's ARM Backend
In this post I want to give an update on the status of the ARM backend for PyPy's JIT and describe some of the issues and details of the backend.
Tweet 0 Comments Save Tags: how-to , news , opinion , python
Debian Packaging for Python 2 and 3
Today, a little Debian packaging-fu for modifying an existing Python 2 package to include support for Python 3 from the same source... more »
Tweet 0 Comments Save Tags: how-to , python , tools , web design
REST API with C client in the PiCloud
I was playing around with PiCloud’s REST API and had a bit of fun writing a C client for it. Now, why C? Well, because one of the reasons... more »
Tweet 0 Comments Save Tags: how-to , python , server , tools
wxPython: wx.ListCtrl Tips and Tricks
In this article, we will go over a few tips and tricks for the wx.ListCtrl widget when it’s in “report” mode. Tips include: How to... more »
Tweet 0 Comments Save Tags: how-to , python , tools , windows
5 open-source Python/Django apps we love
The Python/Django duet is fantastic, everyone knows that. However it can be even more awesome with these apps: South, Fabric, Django... more »
Tweet 0 Comments Save Tags: opinion , python , tools , web design
Unittest's Code Coverage in PyCharm
PyCharm‘s my favorite IDE in years. Granted, learning how to use it can be like the first few minutes of Flight of the Navigator, but... more »
Tweet 0 Comments Save Tags: how-to , opinion , python , tools
A Simple Tracer for the Flow Graph Language
This is the second blog post in a series about comparing partial evaluation and tracing. In the first post of the series I introduced a... more »
Tweet 0 Comments Save Tags: how-to , opinion , python , tools


