France Inter c’était mieux avant ?

Depuis qu'il n'y a plus Guillon j'avais arrêté d'écouter France Inter le matin.

Mais voilà que j'apprend qu'il y a quelque chose d'interéssant le matin pour aller au boulot <http://www.dailymotion.com/video/xfet2e_gerald-dahan_fun>, et en même temps j'apprend que c'est fini !?!

Merde, j'arrive toujours en retard !

En même temps, pour un humoriste, se faire virer de France Inter ça devient un peu une consécration, une récompense, un « label qualité ».

Imaginer la scène, façon Victoires de la musique, César, ou autre :

Présentateur : « Sont nominés pour être virer de France Inter les humoristes [blah blah blah], Gérald Dahan pour son billet sur Michèle Alliot-Marie, et [blah blah blah]. »

P : « Et le lauréat est… »

P : « Gérald Dahan ! pour son billet sur MAM donné sur France Inter le 27 Octobre 2010. »

P : « Mais laissons la place au lauréat. »

Gérald Dahan : « Merci, merci beaucoup… Wahou… Je ne sais pas quoi dire… »

GD : « Je voudrais remercier France Inter, pour la confiance qu'ils ont mis en moi ; et tout particulièrement Philippe Val sans qui je ne serais pas là aujourd'hui. »

GD : « Ce titre à un goût particulier, puisqu'il vient récompenser une longue carrière au moment le plus improbable. »

GD : « Être récompensé ainsi quelques mois à peine après Stéphane Guillon et Didier Porte… c'est… inimaginable, et je n'en reviens toujours pas.. »

GD : « Merci à tous, merci P. Val et longue vie à France Inter. »

Musique

Standup ovation de la salle

Publié dans regular | Commentaires fermés sur France Inter c’était mieux avant ?

Identifying constant disk writes on Mac OS X

A couple of month ago, I noticed that I was having a constant stream of disk write of about 1MB/s on my MacBook (as seen in Activity Monitor.app). That would eventually drain my battery faster when running unplugged.

First thing to do was to identify the culprit, the process, that generate those writes.

As I'm not familiar with the BSD sub-system internals, I Googled and found a list of DTrace one-liners that proved to be handy:

– http://www.brendangregg.com/DTrace/dtrace_oneliners.txt

The first one:

# dtrace -n 'io:::start { printf("%d %s %d",pid,execname,args[0]->b_bcount); }'

It shows you the names of the process doing I/O operations.

From the result I immediatly spotted a process from Postgresql that was generating a fair amount of I/O while no queries/vacuum where running.

Now, I know the source might be in Postgresql, but what was happenning? what files were concerned by theses I/O?

I needed to know what files where opened, so this DTrace gave me the next answer :

# dtrace -n 'syscall::open*:entry { printf("%s %s", execname, copyinstr(arg0) ); }'

This one prints the name of the files being opened by the running processes :

  0  18514              open_nocancel:entry postgres global/pg_database
  0  18514              open_nocancel:entry postgres pg_stat_tmp/pgstat.stat
  0  18514              open_nocancel:entry postgres pg_stat_tmp/pgstat.stat
  1  17728                          open:entry mdworker /.vol/234881026/52307726//Contents/PkgInfo
  1  17728                          open:entry mdworker /opt/local/var/db/postgresql84/defaultdb/pg_stat_tmp/pgstat.stat
  1  17728                          open:entry mds .
  0  18514              open_nocancel:entry postgres pg_stat_tmp/pgstat.stat
  0  18514              open_nocancel:entry postgres pg_stat_tmp/pgstat.stat
  0  18514              open_nocancel:entry postgres pg_stat_tmp/pgstat.stat

From this output, I found that it would be related to the pg_stat mecanism.

I edited the `postgresql.conf' file and disabled the stat collection by setting:

track_activities = off
track_counts = off

Then, after restarting postgresql, the continuous flow of writes was gone.

Thank you DTrace!

Publié dans regular | Commentaires fermés sur Identifying constant disk writes on Mac OS X

La journée s'était écoulée exactement comme s'écoulent toutes les autres journées. J'avais passé le temps, je l'avais doucement tué grâce à mon art de vivre primitif et farouche. […] Ce spectacle était fort agréable, à l'instar de la lecture de vieux ouvrages, du repos pris dans un bain chaud, mais tout compte fait, la journée n'avait pas été vraiment exaltante, vraiment radieuse, elle ne m'avait apporté ni bonheurs ni joies.

Le loup des steppes (ISBN 2-253-00293-3), p. 41, Herman Hesse

Publié dans quote | Commentaires fermés sur

Links shorteners

Off course I like my links lengthened and in their bare naked flesh! Why hide their long, messy, twisted characters? That's what they are, and they do it well.

It's a pleasure to look at a well formed URI. You start with the usual and boring HTTP protocol handler, then you step on a first unusual colon slash slash that makes you stop. Now you can watch at the hostname composed of the local part, the domain and the bottom TLD. The hostname tickle your imagination and is already a promise of what awaits you. Then you are in for a long serie of chars, slash, chars, slash, chars, slash… that rhythmically guides you and stops you, then make you start again, and stop, and restart. This goes on and on, till you reach the end and it explodes in a colourful and synaesthetic experience with images moving all around, pleasing your eyes, and sound flowing like the sea on the sea-shore, pleasing your hears.

Why would you deprive me from such a pleasure?

Publié dans regular | Commentaires fermés sur Links shorteners

5 millions ? milliards ?

Toute cette histoire me fait penser à celle d'une prostitué qui prendrait 3 ans ferme alors que son proxénète ressort blanc comme neige.

Publié dans regular | Commentaires fermés sur 5 millions ? milliards ?

En principe, pour toujours et encore toutes choses j'étais du même avis que mon patron. Je n'avais pas fait de grands progrès pratiques au cours de mon existence tracassée, mais j'avais appris quand même les bons principes d'étiquette de la servitude. Du coup avec Baryton, grâce à ces dispositions, on était devenus bien copains pour finir, je n'étais jamais contrariant moi, je mangeais peu à table. Un gentil assistant en somme, tout à fait économique et pas ambitieux pour un sou, pas menaçant.

Voyage au bout de la nuit (ISBN 2070360284), p. 421, Louis-Ferdinand Céline

Publié dans quote | Commentaires fermés sur

async/defer JS script execution

Link: async/defer JS script execution

Publié dans link | Commentaires fermés sur async/defer JS script execution

Les choses auxquelles on tenait le plus, vous vous décidez un beau jour à en parler de moins en moins, avec effort quand il faut s'y mettre. On en a bien marre de s'écouter toujours causer… On abrège… On renonce… Ça dure depuis trente ans qu'on cause… On ne tient plus à avoir raison. L'envie vous lâche de garder même la petite place qu'on s'était réservée parmi les plaisirs… On se dégoûte… Il suffit désormais de bouffer un peu, de se faire un peu de chaleur et de dormir le plus qu'on peut sur le chemin de rien du tout. Il faudrait pour reprendre de l'intérêt trouver de nouvelles grimaces à exécuter devant les autres… Mais on n'a plus la force de changer son répertoire. On bredouille.

Voyage au bout de la nuit (ISBN 2070360284), p. 458, Louis-Ferdinand Céline

Publié dans quote | Commentaires fermés sur

Open external links in currently running browser

Link: Open external links in currently running browser

Publié dans link | Commentaires fermés sur Open external links in currently running browser

La grande fatigue de l'existence n'est peut-être en somme que cet énorme mal qu'on se donne pour demeurer vingt ans, quarante ans, davantage, raisonnable, pour ne pas être simplement, profondément soi-même, c'est-à-dire immonde, atroce, absurde. Cauchemar d'avoir à présenter toujours comme un petit idéal universel, sur-homme du matin au soir, le sous-homme claudicant qu'on nous a donné.

Voyage au bout de la nuit (ISBN 2070360284), p. 418, Louis-Ferdinand Céline

Publié dans quote | Commentaires fermés sur