Microblog : A very long article Wikipedia article on the orientation of toilet paper [7 jun à 22:52] [R]

Mardi, 24 avril 2007

Firefox Vs. Mozilla

Traduction: [ Google | Babelfish ]

Catégories : [ Informatique ]

I installed yesterday Firefox 2.0.0 on my desktop computer, which is a silent, low consumption computer based on a Via C3 processor (1GHz, 256 MB RAM). Guess what? When scrolling down a long page (the main page of this blog), Firefox was slower than Mozilla 1.7.5 which I have used for years. Mozilla was scrolling down more or less smoothly, using up to 70% of the CPU time, whereas Firefox was not smooth at all, using 100% of the CPU most of the time. Firefox maybe an advanced browser, but definitely not a lightweight one whatever some people may claim. I think I'll stick to plain old Mozilla for still some time.

[ Posté le 24 avril 2007 à 22:01 | pas de commentaire | ]

Mardi, 27 mars 2007

Nerd Score

Traduction: [ Google | Babelfish ]

Catégories : [ Informatique ]

I found a nerd test on Tinou's blog, so of course, I had to take it. Looks like I'm quite a nerd…

I am nerdier than 93% of all people.

[ Posté le 27 mars 2007 à 15:28 | 3 commentaires | ]

Geek Score

Traduction: [ Google | Babelfish ]

Catégories : [ Informatique ]

Damn, they had a geek test on the same page, so of course, I had to take it too.

My computer geek score is greater than 100% of all people in the world

[ Posté le 27 mars 2007 à 15:28 | 1 commentaire | ]

Dimanche, 17 septembre 2006

Dirty Things to do in Perl

Traduction: [ Google | Babelfish ]

Catégories : [ Informatique ]

I just wanted to rename a bunch of files so that the new names are numbers like 1, 2, 3, 4… I could have written a short script doing that, but I wanted to see if rename was able to do it. Well, this works:

rename 's/.*/sprintf "Image-%02d.png", ++$main::i/e' *.png

(The original story is much worse: I wrote main::$i which of course did not work, so I took a look at the rename script, and noticed that I could use a variable which is already defined. I chose $verbose, which is initialized to 0 normally, but to 1 when the -n option is in use, hence the need to write ++$verbose when used with -n or -v and $verbose++ otherwise. Then I wrote this story about it, and only after that I noticed my mistake…)

[ Posté le 17 septembre 2006 à 01:08 | pas de commentaire | ]