I used to be a Speaker when living in Paris and did quite a few talks. This is no longer the case. I still like to talk a lot, but the opportunities have vanished. Not the energy, though.
Old Posts#
Keeping these around, even if the rendering is broken. I don’t want to lose them, and I don’t want to have to reformat them.
This article describes the way I style things in this blog. Blockquotes I use the following CSS styles for my blockquotes. Final result is: blockquote:before{ color:#808080; content:open-quote; font-size:4em; line-height:.1em; margin-right:.25em; vertical-align:-.4em; }
blockquote :first-child{display:inline;} blockquote :last-child{margin-bottom:0;} ...
Hej, J’ai lu hier l’article de Bruno Michel qui parle des espaces insécables pour les développeurs et je me suis rappelé de l’horreur qu’il y a à taper sous OSX, avec un clavier français les commandes suivantes:
ps aux | grep toto En général, on relache les touches alt+shift un tout petit peu trop tard et le clavier OSX nous colle alors un joli espace insécable à la place de l’espace classique juste après le pipe :
...
Because it assumes it’s insecure. That’s quite annoying and should be configurable. def OpenURI.redirectable?(uri1, uri2) true end This monkey-patch fixes the issue and remove the check. A bug exists for the stdlib http://bugs.ruby-lang.org/issues/859 but fixes just the other way round.
The new version of ruby-io-tail will start to tail files from the end, and not from the first line available. This is useful to ensure no lines is sent twice to the Tailing application.
As usual, the gem is available from: https://rubygems.org/gems/io-tail
Ruby-io-tail est une bibliothèque qui vous permet de lire automatiquement la fin d’un fichier de journal ou la sortie d’un processus, depuis Ruby en utilisant des blocks comme Ruby peut en proposer. Le code est libéré sous license GPL et la documentation en anglais est également disponible.
Parmi les fonctionnalités disponibles, vous pouvez créer un groupe d’IO à suivre et appeler un seul point d’entrée qui vous rappelle à chaque nouvelle ligne à lire dans un des ces IOs. De plus, en cas de fermeture abrupte d’un fichier, ou si le processus meurt, vous avez la possibilité de réouvrir automatiquement le fichier ou de relancer automatique le fichier. Ce project est un fork amical de Florian Frank ( l’auteur de https://github.com/flori/file-tail) auquel j’ai rajouté la possibilité de suivre la sortie d’un processus extérieur. Pour plus d’information:
...
How to build shell-fm on DS 210J Needed Package
Checkout shell-fm sources
git clone git://github.com/jkramer/shell-fm.git shell-fm<
Commands to run
alias cc=gcc cd shell-fm/source< cc -Os -Wall -MD -W -I./include/ -c -o autoban.o autoban.c< cc -Os -Wall -MD -W -I./include/ -c -o bookmark.o bookmark.c< cc -Os -Wall -MD -W -I./include/ -c -o completion.o completion.c< cc -Os -Wall -MD -W -I./include/ -c -o feeds.o feeds.c< cc -Os -Wall -MD -W -I./include/ -c -o getln.o getln.c< cc -Os -Wall -MD -W -I./include/ -c -o hash.o hash.c< cc -Os -Wall -MD -W -I./include/ -c -o history.o history.c< cc -Os -Wall -MD -W -I./include/ -c -o http.o http.c< cc -Os -Wall -MD -W -I./include/ -c -o interface.o interface.c< cc -Os -Wall -MD -W -I./include/ -c -o md5.o md5.c< cc -Os -Wall -MD -W -I./include/ -c -o pipe.o pipe.c< cc -Os -Wall -MD -W -I./include/ -c -o play.o play.c< cc -Os -Wall -MD -W -I./include/ -c -o playlist.o playlist.c< cc -Os -Wall -MD -W -I./include/ -c -o radio.o radio.c< cc -Os -Wall -MD -W -I./include/ -c -o readline.o readline.c< cc -Os -Wall -MD -W -I./include/ -c -o recommend.o recommend.c< cc -Os -Wall -MD -W -I./include/ -c -o ropen.o ropen.c< cc -Os -Wall -MD -W -I./include/ -c -o sckif.o sckif.c< cc -Os -Wall -MD -W -I./include/ -c -o service.o service.c< cc -Os -Wall -MD -W -I./include/ -c -o settings.o settings.c< cc -Os -Wall -MD -W -I./include/ -c -o split.o split.c< cc -Os -Wall -MD -W -I./include/ -c -o strary.o strary.c< cc -Os -Wall -MD -W -I./include/ -c -o submit.o submit.c< cc -Os -Wall -MD -W -I./include/ -c -o tag.o tag.c< cc -Os -Wall -MD -W -I./include/ -c -o util.o util.c< cc -Os -Wall -MD -W -I./include/ -c -o xmlrpc.o xmlrpc.c< cc -Os -Wall -MD -W -I./include/ -c -o select.o select.c< ar -cvq libshellfm.a autoban.o bookmark.o completion.o feeds.o getln.o hash.o history.o http.o interface.o md5.o pipe.o play.o playlist.o radio.o readline.o remend.o ropen.o sckif.o service.o settings.o split.o strary.o submit.o tag.o util.o xmlrpc.o select.o< Overwrite the libpthead library by the built-in one:
...
We are now in the process of switching to Mongo DB 1.6.1 in order to use Sharding and Replicat Sets.
Yesterday, I found out that when Mongo was printing:
I opened a bug at Mongo (http://jira.mongodb.org/browse/SERVER-1637) and Eliot pointed me to a fs configuration change that could help.
We have now opted for XFS local disks (instead of 8 RAID-1 EBS disks in Ext3). XFS is supported by the kernel of the instance we use while Ext4 is NOT.
Today, our intern Wilfred is going away after 5 or 6 weeks of internship. He worked on monitoring the Google page rank of our pages, and of given keywords we want to follow at Fotopedia. Of course, he mainly did ruby code, with mongo, redis/resque and protoviz graphs.
We are now almost able to identify the progress of the rank of most of our page across time. This will be very useful in a near future.
...
Comme vous le savez peut-être, la dernière version d’Ubuntu intègre un système révolutionnaire de boot parallèle pour remplacer les vieux scripts rc.* qui existent sur nos vénérés serveurs depuis bien longtemps. Sur le papier les avantages d’Upstart (ca s’appelle comme ça) par rapport à rc.* sont multiples:
démarrage/arrêt des démons conditionnés à des évènements (réseau-up,démon foo-démarré, …) parallélisme du démarrage des démons (lié au premier point) monitoring des démons et respawn lorsqu’ils meurent pre/post-scripts facile à rajouter configuration aisée Bref, ça à l’air cool. J’y reviendrais à la fin.
...
Just wanted to share this small python code that naĂŻvely converts a signify parameter file into a RSS file that can be used in GMail with the Random Signature Appender lab feature.
It doesn’t support any magical option of Signify (alignment, variable replacement). However, current lab feature has limitation to 96 chars in signature. This definitively sucks.
...