
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...
0 replies - 654 views - 01/27/12 by Everett Toews in Articles

Heroku the
platform as a service (PAAS) company, very popular in the Ruby on Rails
community, has now started opening up their platform to languages...
0 replies - 893 views - 01/26/12 by Ken Cochrane in Articles

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...
1 replies - 896 views - 01/26/12 by Steve Ferg in Articles

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...
0 replies - 404 views - 01/26/12 by Mike Dirolf in Articles

TL;DRpip install virtualenv pylint ipython autohook
Tools I use every day to write better Python, to make it more fun, or just easier:
A good editor: I...
0 replies - 385 views - 01/25/12 by Fredrik Håård in Articles

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...
0 replies - 765 views - 01/25/12 by Eli Bendersky in Articles

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:
Draw the unit...
1 replies - 495 views - 01/25/12 by Giuseppe Vettigli in Articles

This is the third part in a series about Django in Production. If you haven’t
already, read part 1 and part 2 first.
In the first two posts of this...
0 replies - 247 views - 01/24/12 by Rob Golding in Articles

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...
0 replies - 427 views - 01/24/12 by Fredrik Håård in Articles

Something scary happened on Saturday. At Famigo,
we have several different...
0 replies - 1156 views - 01/24/12 by Cody Powell in Articles

Two variants of run-length encoding
are the diagram encoding and the pattern substitution algorithms. The
diagram encoding is actually a very simple...
1 replies - 3929 views - 01/24/12 by Stoimen Popov in Articles

This is the second part in a series about Django in Production. If you haven’t
already, read part 1 here.
In my last post, I described in detail the core...
0 replies - 1022 views - 01/23/12 by Rob Golding in Articles

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...
0 replies - 809 views - 01/23/12 by Gareth Rushgrove in Articles

My last post on Python 3 porting
got some really great responses, and I've learned a lot from the
feedback I've seen. I'm here to rather briefly outline...
0 replies - 542 views - 01/23/12 by Christopher Smith in Articles

A few days ago I was asked by a collegaue what the point of properties
in Python is. After all, writing properties is as much text as
writing getters and...
0 replies - 543 views - 01/23/12 by Fredrik Håård in Articles

This week I lost some time playing with Python's
sets.
After digging into
Python source code, I finally discovered there is what seems to be little
bug....
0 replies - 794 views - 01/22/12 by Julien Danjou in News

A very common doubt developers new to Python have is how to use its
threads correctly. Specifically, a large amount of questions on
StackOverflow show that...
0 replies - 1265 views - 01/21/12 by Eli Bendersky in Articles

Today I had a need to create a property on an object "lazily." The Python builtin property does a great job of this, but it calls the getter...
2 replies - 3620 views - 01/20/12 by Rick Copeland in Articles

The goal of object detection is to find an object of a pre-defined class in an image. In this post we will see how to use the Haar Classifier
implemented...
0 replies - 1471 views - 01/20/12 by Giuseppe Vettigli in Articles

While working on a recent project, Luke Plant decided to try django-fiber, a lightweight CMS, because of its improved frontend editing and the ease of sharing...
0 replies - 870 views - 01/19/12 by Christopher Smith in Articles

Everyone has their preferred way of doing things, and this is more and more
true when there are many options available. In the Django world, this
translates...
0 replies - 1083 views - 01/19/12 by Rob Golding in Articles

Does this happen to anybody else besides me?
$ imåport datetime
-bash: import: command not found
I’d say at least once a day I fire up a new shell and...
0 replies - 780 views - 01/19/12 by Mike Dirolf in Articles

In the process of developing Whybase, a startup debuting this fall, developer James Thornton needed a persistence layer to model Whybase's complex...
2 replies - 4118 views - 01/18/12 by Christopher Smith in Articles

One of the early classics of program design is Michael Jackson’s Principles of Program Design (1975), which introduced (what later came to be known as) JSP:...
0 replies - 590 views - 01/18/12 by Steve Ferg in Articles

In my previous post
we saw how to compress data consisting of very long runs of repeating
elements. This type of compression is known as “run-length...
0 replies - 3368 views - 01/17/12 by Stoimen Popov in Articles