Category Archives: None

Rework by 37signals

I did a one-month internship at Novapost.fr on August (more about this in a future blog entry). When I left, they offered me Rework, the latest book of 37signals. It was the first time I read a business book, so … Continue reading

Posted in None | Tagged | View Comments

Rails-like configuration style for Django

Django’s default settings system is not very suitable for multiple configuration profiles — development, testing, production and so on: you have the settings.py, and that’s it. As far as I’m concerned, my settings are sometimes very different between my notebook and … Continue reading

Posted in None | Tagged | View Comments

Websocket + Tornado + Redis

Here is a simple example of a Websocket + Tornado + Redis Pub/Sub protocol interaction. The principle is very simple: when your user loads the page, she is automatically added to a list of “listeners”. An independent thread is running: it listens … Continue reading

Posted in None | Tagged , , , | View Comments

Python dictionaries differences

Here is a simple function I wrote a week ago. It computes the differences between two dictionaries, and returns them as a list of tuples. I’m still not sure about its usefulness…

Posted in None | Tagged | View Comments

Python dynamic module loading

The following function allows you to load every Python modules contained in a folder. Useful to create plugins systems.

Posted in None | Tagged | View Comments

Hg update hook

Note for myself : add the following to the .hg/hgrc file to automatically update the repo when a changeset is pushed: [hooks] incoming = hg up

Posted in None | Tagged | View Comments

Virtualization as development tool

Okay, the title is not well choosen, that’s because my prefered one is too long for the blog layout: Linux Virtualization for a nicer development workplace. Why using virtualization? In my opinion, the anwser this quite simple. Today, computers are … Continue reading

Posted in None | Tagged , | View Comments

Gunicorn / Django Debian init script

This is a simple Debian init.d script for my self-hosted Django/Gunicorn websites. Note that it runs inside a virtualenv (my installed Django versions are different in each virtualenv). If you have questions: comment this post! #!/bin/sh ### BEGIN INIT INFO … Continue reading

Posted in None | Tagged , | View Comments

FreeBSD : Static IP

This is a simple memorandum. In order to assign a static IP to a FreeBSD computer, just add the following to /etc/rc.conf: ifconfig_sk0="inet 192.168.0.42 netmask 255.255.255.0" defaultrouter="192.168.0.1"

Posted in None | Tagged | View Comments

Ticky

I just release the first version of Ticky, a free, simple and unobtrusive OS X application which helps you to manage your daily tasks. As it’s my first complete ObjC/Cocoa application, I will probably write some posts on problems I … Continue reading

Posted in None | Tagged | View Comments