Geek & Computer

Computer related posts.

Entries feed - Comments feed

3 November 2008

Update to Vista SP1 (follow up) Failure 0x800F0826

Here I am, updating some old posts, that I had forgotten about...

Vista Update post

The first one is an update to a one-year-old post about a problem: during Vista SP1 update

Remembering the Issue

The issue was that:

And then Vista tells me it couldn't install my computer because error 0x800F0826.

And I was thinking of waiting for final release to fix it... Of course, it didn't work.

This happens when Vista Ultimate is used on a multiboot machine.


The solution was to give back the bootloader to Vista Bootloader and not Grub. So, configure again the Vista Bootloader and write changes to disk.

Then reboot and update to Vista SP1.

Reinstore Grub as your main Bootloader using the usual tools :D

16 April 2008

Dotclear 2.0RC in may!

As you might know, this blog runs with dotclear2.

The Dotclear 2 development was more than slow, but they seemed to catch up lately:

Dotclear 2 announce

This is good news.

11 March 2008

[FR]Firefox 3 beta4: ameliorations des performances

This is a French translation of this article on Firefox 3.

Firefox 3

Firefox 3 se prépare et approche de la release. La béta4 et sortie et fonctionne!

J'ai essayé de faire quelques benchmarks sur la bête, en me focalisant sur les performances JavaScript et la consommation mémoire.

Méthodologie des tests Javascript:

Le javascript a été utilisé et testé avec le test sunspider javascript lancé 5 fois, sur un Firefox tout neuf, tout beau.

Les tests ont été lancés en utilisant Firefox 2, Firefox 3 beta3 et Firefox 3 beta 4.

Les tests ont été lancés sous Windows XP et Linux, en utilisant 3 machines différentes.

  • Thinkpad T61p Core2 Duo 7500, avec 2GB de RAM
  • Dell Pentium 4 3,4 Ghz, avec 1GB de RAM
  • HP Celeron 2Ghz, avec 512 de RAM

Résulats des tests Javascript

Ces résultats sont une moyenne des 5 résultats de chaque test..

Les résultats montre une accélération nette allant de x3 à x5 en passant de Firefox 2 à Firefox 3!

En ne prenant en compte que la migration Firefox 3 beta3 à Firefox 3 beta4, on atteint entre x2 et x3!

Je ne vais détailler que les résultats moyens sur la machine la plus lente et la plus rapide, sous Windows XP afin de ne pas rallonger ce post.

Machine la plus rapide

  • Firefox 2 : 15688.1ms
  • Firefox 3 beta3 : 10016.8ms
  • Firefox 3 beta4 : 5158.4ms

Speedup : 304%

Machine la plus lente

  • Firefox 2 : 51456.1ms
  • Firefox 3 beta3 : 27556.2ms
  • Firefox 3 beta4 : 10923.8ms

Speedup: 471%

Méthodologie des tests mémoire

Sous Windows XP et Linux, j'ai ouvert un Firefox tout neuf et ouvert 4 onglets:


Ensuite j'ai refermé le browser et ouvert beaucoup d'onglets (20).

J'ai surveillé la consommation mémoire une fois qu'elle se soit stabilisée.

Résultats des benchmarks mémoire

Je n'ai pas été impressionné par les résultats, car j'ai trouvé que Firefox 3 beta 4 consomme environ 10% de plus en mémoire que Firefox2 sous Windows et Linux en utilisant le premier test sur la machine la plus rapide. (56Mo vs 50.5Mo).

Dans le deuxième tests, avec tous les onglets, la mémoire est environ identique, mais pas moindre...

Par contre, en utilisant Firefox 3 pendant longtemps, je n'ai pas eu d'explosion de la consommation mémoire à 400Mo ou plus. Je suis en train de bosser à essayer de reproduire ce leak de Firefox 2.


Firefox 3 est beaucoup plus rapide dans sa gestion du Javascript, un peu mieux dans sa gestion de la mémoire (consomme plus avec peu d'onglets mais semble leaker un peu moins) et dans l'ensemble semble plus rapide (peut être juste un feeling).

Selon mes tests, Firefox 3 est plus rapide qu'Opera, que IE7/IE8beta1 dans sa gestion du Javascript.

Moralité: Utilisez Firefox 3, c'est que du bon.

Firefox 3 beta4: Performances improvements.

Firefox 3

Firefox 3 is in the works, approaching the release. The beta4 is out and runs.

I tried to benchmark it a bit, especially on JavaScript performance and memory consumption.

Javascript Testing: Methodology

The javascript has been used with the sunspider javascript test that was run 5 times, on freshly installed firefox.

The tests were run using Firefox 2, Firefox 3 beta3 and Firefox 3 beta 4.

The tests were done on Windows XP and Linux, using 3 different machines:

  • Thinkpad T61p Core2 Duo 7500, with 2GB of RAM
  • Dell Pentium 4 3,4 Ghz, with 1GB of RAM
  • HP Celeron 2Ghz, with 512 of RAM

Javascript Testing: Results

Those results are an average of the complete 5 times tests.

The results show a 5x to 3x speedup in Javascript performance from Firefox 2 to Firefox 3!

From Firefox 3 beta 3 to Firefox 3 beta 4, the speedup is between 2x and 3x.

I will detail the results for the fastest and the slowest machine on Windows.

Faster machine

  • Firefox 2 : 15688.1ms
  • Firefox 3 beta3 : 10016.8ms
  • Firefox 3 beta4 : 5158.4ms

Speedup : 304%

Slower machine

  • Firefox 2 : 51456.1ms
  • Firefox 3 beta3 : 27556.2ms
  • Firefox 3 beta4 : 10923.8ms

Speedup: 471%

Memory Benchmark: Methodology

On windows XP and Linux, I opened a fresh browser and opened


Then I reclosed the browser and opened many many tabs.

I monitored the stabilized memory consumption.

Memory Benchmark: Results

I wasn't impressed by the results, because I have found that Firefox 3 beta 4 takes around 10% more memory than Firefox2 on Windows and Linux on the first test on the faster machine (56MB vs 50.5MB).

On the second test, with many more tabs, I have found that the memory is usually around the same, but not really better.

On a long way use, I didn't have any huge memleaks with Firefox using 400MB of RAM quite suddenly, but I am working on it to make it do that too :D


Firefox 3 is way faster in Javascript handling, a bit better in memory consumption, (it takes more memory but seems to not leak like a madman) and overall it seems faster to load pages (just a feeling), compared to Firefox 2.

According to my tests, it is faster than IE7/IE8beta1, Opera 9.5 in Javascript performance.

Then GO and USE it.

27 February 2008

MacBook install: triple boot: linux, windows, Mac OS

This details the installation of a MacBook white, shipped in the beginning of 2008.

Set up Mac OS X


First before anything, update to the latest MacOS X.5.2, and all the necessary downloads... Reboot as many times as needed


Then, install VLC, Firefox 3 béta, Adium and Xcode if you need it.


Quite easy, so far, no ?

Install Windows XP

Be sure to have your Windows XP SP2 CD and a legit license number.


Go to spotlight, look for Boot Camp assistant or find it from your Applications folder.

  • Run it.
  • Prepare a disk space for Windows ( 16GB is ok, I think )
  • Quit and re-run it.
  • Install Windows with your CD Rom inside.
  • Reboot and wait during all the Windows installation that is long and needs a couple of reboots. Mine did fail once, for no obvious reasons.

Windows XP

Once you have your complete Windows XP installation, you will see a Boot Camp icon on your task bar. Keep it.

  • Put the Apple OS X CD-ROM in, and let it do all the installation of the drivers. It may require some reboots, but at the end, you have a very new and completely functional Windows XP!
  • Reboot
  • Do your Windows Update and reboot and again, and reboot, and again... Until nothing appears there.
  • Launch the Boot Camp assistant and Default Mac OS HD

Mac OS again

Reboot to mac OS. Be pleased.


This should work with any distribution and was tested with Debian and Ubuntu


  • Go to Applications/Utils and launch Disk Tool
  • Split and resize the main partition in order to have a new partition that you name Linux and format in HFS. (16GB here)
  • Check everything.

Reboot on linux

  • Put your linux live CD and reboot
  • Press `C` to boot on the CD
  • Launch your live-CD and install linux.


During the install I deleted the new partition and added two in place:

  • One root partition /
  • One swap 1GB
  • Finish everything, reboot

You should be careful to install your grub in your linux partition and NOT in the MBR, to let reFit do it correctly.


On Mac OS X, install rEFIt and configure it quite quickly.

Reboot and use rEFIt to boot on linux using the "option" key.

Configure linux

You have all you want working except the wireless... Which is a Broadcom BCM4328

sudo apt-get install ndiswrapper-utils-1.9

Find in your Windows partition your wireless drivers:

sudo su

cp -r /media/Windows/WINDOWS/DRVSTORE/bcmwl5_**/ /root/

mv bcmwl5_*** bcmw

cd bcmw

ndiswrapper -i bcmwl5.inf

ndiswrapper -l

ndiswrapper -m

modprobe ndiswrapper



Uncomment what is needed in your sources.list.



If you have any issues, like not having the linux partition shown anymore, reinstall grub on your linux partition with a live-CD.

26 February 2008

New laptop: MacBook

A new laptop

I am not used to having a Mac with me, but this time has changed.

For my work on VLC, someone helped the VideoLAN project and gave us some new laptops to improve the Mac OS version. I just got one of those, when I was at the FOSDEM.


I have one of the white Macbook, 13.3" with a 2.2Ghz proc and 2Gb of Ram, running Leopard.

I upgraded to X.5.2 and Xcode 3.0. I installed VLC, Adium, FFX 3b3 and removed some Microsoft Office crap.


I have very gladly impressed by the product, the finition and the OS X.

However, the keyboard is not that good and the keymap horrible. \ ~ | are more than difficult to produce, and the Terminal is very bad, especially if ou want to achieve pgUp, pgDown, End, Home in VIM, in the Terminal.

Else, it seems to be as good as a Linux DE, and has nice coverflow stuffs, and many tools like SVN installed by default. The background image is ugly but I like the 3D dock.


more later :D

- page 2 of 4 -