First version of «Sexroom Sessions» application for android devices is out. You can download it at https://market.android.com/details?id=cc.bour.sxsessions.
Still a beta, but quite stable at now.
02/08/2011, 22:48. android sexroom-sessions

First version of «Sexroom Sessions» application for android devices is out. You can download it at https://market.android.com/details?id=cc.bour.sxsessions.
Still a beta, but quite stable at now.
07/07/2011, 10:58.

Before starting development of visual application, it's better to draw a quick free hand mockup to represent what it will looks like and how it will work.
Here what its give for sexroom sessions application.
25/06/2011, 14:12.
Une QueryString (partie après le point d'interrogation ? dans une url) est composée de couples clé/valeur séparés d'une esperluette (&).
L'idée est de récupérer un dictionnaire contenant les clés/valeurs de la querystring, en une ligne python.
22/06/2011, 19:12. android sexroom-sessions

Chaps at riothouse production asked me to make an Android application for their sexroom sessions (no it is not a porno website, but a live music sessions records), so I'm tackling to the task !
11/06/2011, 17:16. bytecode decompiler devel python reblok

Version 0.1.1 of Reblok is out. At the menu:
28/05/2011, 17:38. devel orm python tentacles

Tentacles is a python ORM (Objec-Relational Mapper) written in python.
Python ORMs usually try to map SQL syntax with python classes (see django or sqlalchemy samples).
Tentacles is going the opposite direction, trying to express queries in "'python natural language'''.
Objects declarations in Tentacles is looking quite similare to what is done in Django: A class is mapped to a Table in a database (or more generally to a storage unit - think of non-SQL storages, like LDAP or MongoDB); store fields must be expressivly described (with thre type and capabilities)
Example:
from tentacles import Storage, Object, fields, filter
db = Storage('sqlite3::memory:')
class Constructor(Object):
name = String()
class Car(Object):
model = String()
power = Integer() # in horsepowers
constructor = Reference(Power) # a Car as one unique constructor
Tentacles bring to manipulate stored datas as you do for basics python objects. To acheave that goal, Tentacles extend filter and map functions to allow their use with Tentacles objects.
Example:
# get all 'De Dion-Bouton' cars, ordered by model cars = filter(lambda c: c.constructor.name == 'De Dion-Bouton', Car) >> 'model' # get 10 first cars having power > 100 hps cars = filter(lambda c: c.power > 100, Car)[0:10]<< and >> operators are use to sort results, while brackets are used to limit result size (in the same manner as for a python list)
10/04/2011, 23:56. bytecode decompiler devel python reblok

or how Brian recover its source code using Reblok
31/03/2011, 20:13. dare-dare devel javascript python
Following a migration of the server (new hardware and a debian update), the Dare-Dare website was partially broken: both non-working demo and source code archive unavailable for download. This outage has been fix, and the website is now completly usable.
And I used this occasion to update the dare-dare backoffice program, namely Dare-Dare.py. It is in charge of converting source document pages to png images (then sent and displayed in the html/javascript interface).
With new debian version (6.0 aka squeezy), I could replace external programs calls (pdftoppm and convert, from ImageMagick) by use to python librairies: python-poppler and Python Imaging Library (PIL). The result is a simplified code and huge increase of images rendering speed !
11/01/2010, 18:24. fun rien à voir

Certains lisent dans le marc de café, d'autres croient reconnaître des formes dans les nuages, ...
19/12/2009, 20:55. asterisk C devel linux
The asterisk ldap module allow querying a LDAP database from the Asterisk dialplan. You can for example get user name from a phone extension.
The following patches bring some improvements to this module.
14/12/2009, 19:58. bash brève de code firefox linux shell

Suite à un manque d'espace disque (disque dur plein), tous mes profils firefox ont disparus.
Va-t'il retrouver ses petits profils, l'astéroïde va-t'il percuter la planète, vous le saurez en lisant la suite...
22/11/2009, 22:04. bash linux système de fichier xattr
Les attributs étendus permettent d'ajouter des informations à un fichier ou un répertoire, par exemple l'auteur d'un document ou la position géographique d'une photo.
11/11/2009, 21:27. bash brève de code mencoder video
mencoder est à la vidéo ce que grep est à la recherche textuelle: un formidable couteau suisse permettant de faire à peut prêt tout ce qu'on veut.
27/10/2009, 11:29. brève de code python
Comment inverser une chaîne de caractère python ?
Rien de plus simple:
alph = 'abcdef' rev = alph[::-1] print alph, rev
20/10/2009, 11:41. asterisk devel iaddressbook php voip

PHP iAddressBook is an addressbook written in php by Clemens Wacha.
It has a nice macos-like interface and neat, modular code.
Asterisk is a free software IPBX.
Both are good pieces of freesoftware.
The patch I wrote allow users to originate calls from an iAddressBook either by clicking on contacts phone numbers, or by using the quickcall inputfield.
03/10/2009, 14:28. devel gnome python

Deskbar-wordreference is a plugin for the GNOME deskbar applet, for translating words.