Sorry english readers, this post about french ISP is only available in French

Marre de Free…

Depuis 2003 maintenant je suis client ADSL de Free. Là où j'ai toujours conseillé et trouvé que Free était un des acteurs du marché qui faisait bouger les choses, j'ai depuis changé d'avis.
La Freebox révolution est une belle machine, arrivée bien avant les machines des concurrents mais, comme Free l'avait fait avec la version précédente, le produit livré était bien loin des promesses tenues lors de la conférence de presse. Il aura fallu une bonne année avant que la box soit réellement stabilisée et n'ait plus ces bugs les plus gênants (volume non conservé, paramètres volatiles). En plus de cette technique consistant à considérer le client comme beta testeur, vient maintenant le problème du débit : celui ci n'a pas arrêté pas de se dégrader : la situation était telle que j'en venais à me connecter au VPN de ma société pour réussir un build Maven dans des temps raisonnables (80ko/s qui se transforment en 2Mo/s pour télécharger des dépendances). En supplément je suis abonné Canal Plus et l'accès à Canal Plus à la demande via la Freebox est devenu complètement erratique (problème étrange parce que depuis ma TV l'accès fonctionne bien mieux, Free est sûrement moins à blâmer dans ce cas).

L'élément déclenchant le changement chez moi a été le récent événement concernant les DNS menteurs de la Freebox effectuant un bloquage automatique et non configurable des publicités. Ce sujet a donné lieu à des centaines de commentaires sur Internet, et je me situe du côté de ceux qui ne sont pas opposé à l'intégration de la fonctionnalité, mais pas de cette façon : les utilisateurs lambda auront cette fonctionnalité activé par défaut et n'auront plus la possibilité de découvrir des opportunités grâce à la publicité. Et pour les utilisateurs avancés la non configurabilité du bloquage rend l'initiative complètement inutile.

Ayant la chance d'être desservi par le câble, le choix d'un nouveau fournisseur d'accès a été largement simplifié : Bouygues télécom et son offre BBox sensation ou Numericable. Vu les mauvais retours que j'ai pu avoir sur le boitier de chez Bouygues et le fait que le réseau utilisé est celui de Numericable je me suis tourné vers ce fournisseur.

Passage chez Numericable

J'ai passé ma commande le 7 janvier, le 11 janvier j'ai reçu LaBox en relai colis. Le branchement fait le soir même, rien ne marchait : j'avais le signal correctement synchronisé mais ni TV ni Internet.
Pour informations, la procédure d'inscription via le site http://signup.numericable.fr ne fonctionnait pas (impossible de reconnaitre le matériel).
Le lendemain, j'ai contacté le service client via le chat (très bonne expérience utilisateur ceci dit en passant) qui a fini d'activer ma ligne. Internet fonctionnait comme voulu mais j'avais toujours un problème avec le service TV, LaBox me gratifiait d'un message "droits expirés" dès l'allumage et en allant dans le menu de diagnostic le numéro de carte ne s'affichait même pas. La solution à ce problème était tout simplement de garder LaBox sur une des chaines qui fonctionnait (317 - D17 a fonctionné pour moi) pendant environ une heure. Une heure plus tard, toutes les chaines fonctionnaient comme prévu et la magie a fait que le numéro de carte est désormais visible dans la partie diagnostic de LaBox.

J'ai enfin une connexion fiable et rapide ainsi qu'un service TV de très bonne qualité. La seule fonctionnalité bonus de la Freebox qui va me manquer est le support AirPlay, l'iPad avec Spotify vers l'amplificateur home cinéma via AirPlay est une chose que j'utilise très souvent quand je reçois du monde. Je suis donc à la recherche d'une bonne alternative peu couteuse.

I own a Playstation3 since January 2009 after getting the famous RROD on two successives Xbox 360. The PS3 is a really a nice gaming device, but the guys at Sony have  another focusing on everything but their store experience to their end users.

Playstation3

When I left the Xbox 360 world, one of the best feature of it was its store, I could even access it from my web browser and launch downloads so that I can play my games when I got home. I seriously miss this feature on the PS3. But I found that Sony, I guess along with the big store rewrite they made a few weeks ago, now allows us to browse and buy easily from our browser : https://store.sonyentertainmentnetwork.com.

SEN Store I don't know yet if the download will be automagically launched when my Playstation 3 will automatically wake up to synchronise my Playstation+ account.
I'll update this post when I'll know !

It seems that the downloads don't get pushed automatically to the console nor are downloaded when the console is syncing. Come on Sony, you've come so close !

There is a famous quote about regular expressions, to which I don't really agree but I have to admit there is not much love for regexps around me.

Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. Jamie Zawinski

I came across this little tool : Regexper allowing to easily understand a regular expression by providing its state machine diagram : Regexper example

I think it could be useful to put it in your bookmarks with Rejex to use it when you work with regular expressions.

postgresql

I am actually doing a side project which you will heard of very soon. For this project I am using Play! Framework v2 with the server side being developed in Scala. To efficiently push this new application to production, I am using the Heroku platform

While my initial thoughts were using MySQL as my relational backend, the default stack provided by Heroku made me switch to postgresql that I have barely used in the past. I attempted to set it up on my machine, but with no luck, Mountain Lion is bundling an old version (8.4) whereas I wanted the same as on the Heroku platform. My first attempt with Homebrew was quite a disaster, I never managed to correctly connect my newly created user.

After a few hours mumbling, I looked for an alternative to the Homebrew version. Luckily, the guys at Heroku provide a neat application Postgres.app to drop that allows to quickly start/stop a postgresql server. My problem was I didn't had enough connections to allow my application to start, I was always getting this message : remaining connection slots are reserved for non-replication superuser connections.

I edited the configuration file

vim "~/Library/Application Support/Postgres/var/postgresql.conf"

to bump the number of connections to a lot more (20 instead of 10) but it prevented my server to start. With a lot of file editing and restarts, I found that the limit for my machine was 11 connections.

The solution to this problem resides in a special setup of the mac os kernel which defines the amount of shared memory a process can allocate. To get rid of this, you can edit your /etc/sysctl.conf file (root required) and put the following lines (it will persist across reboots)

kern.sysv.shmall=65536
kern.sysv.shmmax=16777216
Credits for this tip comes from http://ruby.zigzo.com/2012/07/07/postgresql-postgres-app-and-a-gotcha-on-mac-osx-lion/