Blog makina

Share and options

Contenu exporté vers le blog

Tuning a bit Eclipse

I promised to some colleagues that someday, I will make a short post about my Eclipse eclipse.ini file, there it is!

Using Eclipse with some fancy plugins, you may experience a lot of the infamous quite annoying OutOfMemoryException or some incredible slowness sometime.

WTF is that!? - PHP will drive me crazy; Drupal FAPI too!

What do you think this code will output:

= '7rray';
  echo (int)

If you answered NULL, 0 or '7rray', you're absolutely wrong. The magic with PHP is whatever you use (int) or intval() you get absolutely weird results, because it'll try to parse your string as an integer whatever is in it.

Playing with Python, D-Bus and Pidgin

Since last week, I finally can use my own domain name as jabber domain Yay! Thanks to public free server, I used some DNS SRV records, and with the agreement of server owners let them handle my domain.

MDrush, a Drush python wrapper

Some months ago, I was developing some Drupal modules for my Company, I noticed the time I loose each time I have to run a Drush command (such as clear cache) in order to do basic Drupal developer stuff.

How to get rid of intrusive Ubuntu's Notify-OSD

Some people like Ubuntu's Notify-OSD deamon, because black bubbles are good looking; but in everyday's life, these are so intrusive that it becomes really anoying.

Browsing the internet, I found some a nice blog post linking to gnome-stracciatella-session. This ubuntu package was done to get rid of all gnome ubuntu modification, it contains a single xsession file which runs a vanilla gnome, getting rid of Notify-OSD, reverting to gnome default notification-deamon.

All you have to do is install this package :

System Theme 6.x-1.0 module released

Today I released the System Theme++ module on This module is a simple administration theme admin page alteration. It allow site administrator to force Drupal to switch to administration theme on arbitrary pages.

You can download it here:

I started developping the module while I was training a client to develop with Drupal. It then has been enhanced to fit with some customer projects. Now, it's stable.

Daily WTF

Today, I found the strangiest bug of the month; I was parsing some date parts with JavaScript to properly set default month of a YUI Calendar instance.

var month = parseInt( - 1;

Why -1? Because month count starts with 0 in YUI Calendar, January is 0, december is 11; everything is fine until here.

1. Why the FUCK does my calendar always get to december?

Yamm 6.x-1.0-BETA1 has been released

The first official supported version of Yamm has been released[fn]See project page at[/fn].

This version is identical to the one we use in pre-production environment for some projects. You will have no surprises using it.

Every opinion, feedback or issue is welcome.

Yamm development

I am currently writing a mass synchronization module for Drupal, based on eavy objects abstraction.
I will not describe it here, you can read the project page which describe pretty well how it works.

I wanted to do some notes about development context, and some other stuff.

Howto nicely theme Drupal node form

Drupal node form is not the most exciting user experience that Drupal may propose. If you are an experienced user, there is no need to worry, but in most cases, the sites you'll make with Drupal will be stupid end-user oriented.

With some minor custom theme alteration, you can easily provide the exact same form, but more "Wordpress-like", understand here, with a better organization and a more trivial visual schema.