Skip navigation.

Since July 2009, I am classifying the content of my personal blog into several sections, to target several categories of people who visit this web site.

Blog in English:
For everybody: stuff that I write that may (or may not) be of interest to anybody who happens to stumble upon this personal web site.
For friends: what's going on in my life: stuff that would only interest close friends.

Blog en français:
Pour la famille et les amis: mon blog personnel pour ceux qui me connaissent bien. En retour, je suis toujours ravi de recevoir des nouvelles de la famille et des amis, donc n'hésitez pas à m'écrire.
Pour tous: mon blog en français d'intéret général. Cependant, j'écris plus en anglais, donc voyez ci-dessus.

Aide pour l'administrateur de site Drupal.

Problème de scanning

J'essaye depuis plusieurs mois de préparer le livre de Bon Papa Lemaire afin de le publier sur le net.

Une connaissance m'a fait un test scan d'une page, mais on avait choisit le mauvais format, donc mes essais d'OCR (reconnaissance optique de characatères) n'ont pas été fructueux.

Extract audio from .avi file on Kubuntu and finding which package a file in

To extract the audio from an .avi video file, use the command:

mplayer video.avi -vc dummy -vo null -af resample=44100 -ao pcm:file=ripped-audio.wav

Make sure that the program oggenc is installed. I didn't know which package this program was, so I searched and found this nifty tool for Ubuntu: apt-file

Install it and update its internal database:

# apt-get install apt-file
# apt-file update

Then using this tool to search for oggenc told me I could find it in the vorbis-tools package:

$ apt-file search oggenc

Compile OCR Tessaract on Kubuntu

As some of you may know, I am trying to scan a whole book written by my grandfather, as I plan to publish it on the internet. It is a very inspiring book which could change our society.

So, first thing first, I need to scan the whole book and use an Optical Character Recognition (OCR) software as a first step to put it into HTML form.

This is the main documentation wiki for Ubuntu OCR.

I only had a test scan in .pdf format to test with, so I followed the instructions to use GIMP to transform it into a TIFF (.tif) file.

Ubuntu Linux: Recover images from your digital camera flash card

I mentioned earlier that after my last trip to Hong Kong and the aviary in HK Park, a silly manipulation mistake caused me to lose my most prized pictures, close up shots of exotic birds.

Très gros tremblement de terre à l'instant

Il y a eu un très gros tremblement de terre il y a quelques minutes. Comme d'habitude dans ces conditions là, le site internet de la météo nationale qui publie les informations officielles sur les tremblements de terre est submergé de requêtes et est difficile d'accès.

J'étais assis à mon bureau, donc j'ai senti la première vague de secousses assez moyenne. Cho venait juste de finir son cours et était debout, et ne s'était apperçue de rien au début, mais a commencé à crier lorsque les gros chocs ont commencés. Le bâtiment entier tremblait.

Berlin, 20 ans après

C'est bien sûr avec beaucoup d'émotions que je regarde, en différé, la retransmition de la célébration du vingtième anniversaire de la chute du mur de Berlin.

En 1989, je suis allé à Berlin pour un long week end. Le mur est tombé le Jeudi soir. J'ai appris la nouvelle le vendredi; samedi j'étais en route pour Berlin, arrivé le Dimanche au petit matin.

C'était une semaine un peu folle, un voyage fait sur un coup de coeur. Je m'associe de tout coeur et en pensée au bonheur des Allemands, alors que je suis moi même, aujourd'hui, au pied du Mur de Bamboo.

Web site migration

It seems I am more and more often responsible for migrating a web site from one host to another. Here is very general outline of the things the person I am working for needs to know.

Choosing a host

Personally, I like to use the services of companies who have ethical and caring practices. Unfortunately, I have not yet found my "ideal" hosting company, one that completely shares my values and combined with a complete technical offering at a reasonable (although not necessarily the cheapest) price.

My favorite part of Hong Kong

Honk Kong is an exiting, legendary city, known for its extravagant skyscrapers surrounding the bay of HK island.

HK is the subject of many breathtaking photography. A friend even sent me the link to a day time view of Hong Kong turning into night time. Wait for the two images to load and then slowly move your mouse from the top to the bottom of the picture. Nice.

Tremblement de terre... le premier en dix ans qui...

Il y a encore eu un tremblement de terre il y a quelques minutes. Celui-ci est le premier depuis le grand tremblement de terre de 921, il y a tout juste dix ans, qui m'a fait vraiment peur.

J'étais devant l'ordinateur lorsque cela a commecé à trembler, d'abord un peu, puis beaucoup plus violemment.

MySQL: changing data dir

I wanted to change the location of the datadir for mysql. I had some troubles accomplishing this and the solutions I saw online were not fully accurate, so for the record, here is how I achieved this.

I installed Kubuntu 9.10 in my new computer, and wanted to move my old database data from my old computer. Also, I wanted to change the datadir to /home/mysql/ instead of the default /var/lib/mysql/.

Stop the mysqld server:

/etc/init.d/mysql stop

edit my.cnf:

vi /etc/mysql/my.cnf
// set:
// dir   = /home/mysql

Syndicate content