Archives de l’auteur : me

Les mots « sensationnel », « impressionnant », qu’on emploie couramment aujourd’hui, sont de ces mots qui peignent une époque. Nous ne supportons plus la durée. Nous ne savons plus féconder l’ennui. Notre nature a horreur du vide. PAUL VALÉRY … Continuer la lecture

Publié le par me | Laisser un commentaire

Pluie et orage

Pluie et orage, le matin, en marchant le long d’une rivière.

Publié dans Uncategorized | Laisser un commentaire

Roland Garros

Terre ocre battue, Service et balle de match ; Bientôt les vacances.

Publié dans haïku | Laisser un commentaire

Chiffrage homomorphique

Je viens de lire un article sur Slashdot intitulé IBM Researchers Open Source Homomorphic Crypto Library qui me rappelle un autre article que j’avais précédemment lu sur ce sujet de chiffrage homomorphique Alice and Bob in Cipherspace. Le chiffrage homomorphique est une méthode … Continuer la lecture

Publié dans Uncategorized | Laisser un commentaire

How to dump the content of PHP sessions files

Here is a handy CLI oneliner to inspect the content of a user’s session file: # php -r ‘session_start();session_decode(file_get_contents($argv[1]));var_export($_SESSION);’ /path/to/php/session/sess_707484e735ad7aa9a108b23ad20cc46f

Publié dans system | Laisser un commentaire

Libération a 40 ans

Le 5 Février 1973 naissait le journal Libération. Le 5 Février 2013, Libération ressort la première édition du journal. Une phrase retient mon attention dans cette première édition : Qui d’entre nous, en lisant son journal du matin, n’a pas … Continuer la lecture

Publié dans Uncategorized | Laisser un commentaire

You can spend your whole life doing no more than preparing for the life and thinking. Terrance Hayes

Publié le par me | Laisser un commentaire

Locking in PHP to serialize execution of critical sections

Sometimes, execution of some code in parallel can lead to troubles: this is known as race-conditions, where parallel execution of some specific operations leads to corruption and/or unexpected results. In these cases, the solution is to use locking techniques to … Continuer la lecture

Publié dans Uncategorized | Laisser un commentaire

WDC WD1002FAEX-00Z3A0 with Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH)

Dear lazy web, Are there any known incompatibilities between Western Digital SATA disks (WD1002FAEX / Firmware version 05.01D05) and ICH9 SATA controlers? I have a remote server (don’t have physical access to it) with an ICH9 SATA controler and two different disks … Continuer la lecture

Publié dans system | Laisser un commentaire

Rollout your own DomainKeys-like signature verification in PHP

Reading documentation on DKIM I found it usefull to be able to distribute public keys through DNS to allow recipient to check signed content against it. So, here is a couple of DomainKeysSigner and DomainKeysVerifier PHP classes that implement the sign … Continuer la lecture

Publié dans code, system | Laisser un commentaire