Author Archive

Quote of the day

If you’re selling anything, there are three kinds of people out there: those who will buy from you, those who might buy from you, and those who will never buy from you. It’s not cost-effective to try to shut down the third group, and there’s a word for unpaid use by the second group: “marketing”.

From On Selling Art, by Tim Bray.

2006-01-01 08:45:44+0900

miscellaneous, p.d.o | Comments Off on Quote of the day

Happy New Year !

Bonne Année !
明けましておめでとう!
Feliz año nuevo !
Feliç any nou !

2006-01-01 07:59:10+0900

miscellaneous, p.d.o | 1 Comment »

Upgrade

I just upgraded to WordPress 2.0. The change in the backend is really impressive, and the upgrade very easy.

I still should spend some time with the custom theme, though...

2005-12-31 07:45:30+0900

p.d.o, website | Comments Off on Upgrade

Merry Christmas

Joyeux Noël
メリークリスマス
Feliz Navidad
Bon Nadal

2005-12-25 09:43:38+0900

miscellaneous, p.d.o | Comments Off on Merry Christmas

Quote of the day

Anyone can speak Troll, all you have to do is point and grunt.

2005-12-22 19:35:19+0900

miscellaneous, p.d.o | Comments Off on Quote of the day

Which Superhero are you ?

Your results:
You are Spider-Man

Spider-Man
75%
Green Lantern
65%
Superman
60%
Batman
50%
Robin
47%
Supergirl
45%
Hulk
40%
Iron Man
40%
The Flash
35%
Wonder Woman
20%
Catwoman
20%
You are intelligent, witty,
a bit geeky and have great
power and responsibility.

Click here to take the "Which Superhero are you?" quiz...

2005-12-21 06:50:21+0900

me, p.d.o | Comments Off on Which Superhero are you ?

Firefox 1.5, branding

Firefox 1.5 has been released by Eric in unstable, with a package name change, thus I provide a new branding package.

As for compatibility with plugins and extensions (#341682 and #342788), the patch is ready and should go in with the next upload. Stay tuned.

2005-12-18 09:55:26+0900

firefox, firefox-branding | Comments Off on Firefox 1.5, branding

Revision Control

Seems there's been a lot of talking about revision control systems on p.d.o, recently. I am no SCM guru, and until quite recently, all I knew was CVS and its drawbacks, main one being that you lose file history whenever you rename, or even worse, move, it.

Then a few years ago I tried out svn and I liked the way it used similar command lines as cvs, while giving me what I missed the most in CVS. But SVN has its drawbacks too.

A few weeks ago, I took a look to different distributed SCM solutions. I gave a try to tla and baz waaaaay too different from CVS and svn, bzr, looking very promising and amazingly simple, and svk, compatible with svn, and bringing a brand new world to svn users.

And I made my choice : svk. Its compatibility with svn made the conversion painless, I could just use my svn repositories without any modifications. And I can now track my local changes on alioth's svn repositories while offline. The fact that there's no .svn/CVS/whatever directory inside a checkout can also be quite useful. As a bonus, svk is a much faster than svn to handle a repository, which can seem odd, svn being written in C while svk in Perl and using parts of svn...

2005-12-14 11:10:23+0900

miscellaneous, p.d.o | Comments Off on Revision Control

pbuilder and ccache

Isaac, there is actually a cleaner way to do the same as your hook. Just add the following to your .pbuilderrc file :

export CCACHE_DIR="/var/cache/pbuilder/ccache"
export PATH="/usr/lib/ccache:${PATH}"

EXTRAPACKAGES=ccache
BINDMOUNTS="${CCACHE_DIR}"

That will need bug #341453 to be fixed first, though, but if you set both BUILDUSERID and BUILDUSERNAME it will work out of the box (with the default configuration, PATH is not preserved because of the bug).

Note that you can also set HOOKDIR instead of using the --hookdir command line argument, thus not needing your wrapper.

2005-11-30 19:06:36+0900

debian | 1 Comment »

Hard Disk’s hard life

I knew that hard disks had a limited time-life park/unpark-wise, but I didn't know that was that bad. I always thought that because of ext3's commit every 5 seconds, disk would never spin out and park the head. I was wrong. It seems that whether or not the disk is accessed, every put here the time it is for your disk minutes, it does park and unpark the head. Well, at least on laptop disks, because it seems this is not the case for desktops.

My 3 year-old vaio, which is now this web server, has a Load_Cycle_Count of 580465 for 9775 Power_On_Hours, which is about 1 load cycle per minute.
My 1 year-old vaio, has a Load_Cycle_Count of 83718 for 4043 Power_On_Hours, which is about 1 load cycle every 3 minutes.

While I managed to actually stop the load cycles to occur on the older vaio, with hdparm -B254, nothing actually stopped it on the newer one. I tried to change some other parameters with hdparm -S but nothing did work. I still have to take a look at the BIOS, though.

Now, the question is : why the fuck are the heads parked/unparked every little while even when accesses occur ? Is it a conspiracy so that laptop disks won't last forever ?

Well, at least, I've never experienced a hard disk failure in 12 years of using computers with hard disks. For how long ?...

[Note: the Dell laptop provided by my company, running Windows XP (which also has a somewhat journalled filesystem and commits the journal every few seconds) has around 24000 load cycles for about 800 hours of use, which is 1 load cycle every 2 minutes, so this is not a Linux issue.]

2005-11-24 18:42:58+0900

miscellaneous, p.d.o | 8 Comments »