Archives Mensuelles: mars 2011

TOR et HADOPI

Juste pour faire un petit point autour de la HADOPI et plus précisément de la position de la HADOPI envers les proxy, et plus spécifiquement de la distribution des proxy comme le fait TOR. La HADOPI n’empêche en rien l’utilisation de proxy, en somme l’utilisation de TOR ou d’un quelque autre proxy pour se connecter à internet (et donc […]

How to be a happy programmer (with Python) ? 2/3

In the series of the Python « features » that makes me happy last time i began with two concepts, the with statement and the list comprehensions, now i’m going to talk about Multiple assignments and the import aliases. Multiple assignments It’s a simple idea that lets you return a series of value and on the other end assign those […]

Using TOR with Python

There are many occasion where you may be limited using your own IP address, i will obviously only refer myself to « rightful » cases where you need to use different IP address in very short lapse of time. Let’s say you want to test your website localization functionality, or just access it using many different IP address […]

How to be a happy programmer (with Python) ? 1/3

I’ve just watched Hillary Mason’s talk in Pycon 2011 : http://pycon.blip.tv/file/4878710/ And that got me thinking about all the python constructs that makes my day better, and i decided to make a list of them and their meaning. With The with keyword is the equivalent of the whole try, catch, finally triplets in Java to […]

How to debug Django using the Python Debugger PDB

Even if that seems common sense, i found out that there’s not that much sources that explains how to use PDB with Django’s bundle webserver.  So here we go, let’s say you have some treatment like that : def search(request): «  » » search (it’s written up there). «  » » if request.method == ‘POST’: item = request.POST[‘item’] # separate […]

[IncidentsRATP] Suite et bientôt fin

J’avais déjà publié à la fois la lettre de la RATP me mettant en demeure de fermer le site incidents-ratp.com et mon ressenti sur toute cette affaire, mais là l’histoire continue. Pour résumer ce qu’il s’est passé par la suite, j’ai pris contact avec un avocat et nous avons rédigé une réponse à la RATP […]