Greetings from the free side / T'as le bonjour du libre !

Aller au contenu | Aller au menu | Aller à la recherche

Computers / Informatique

Fil des billets - Fil des commentaires

mardi 14 octobre 2008

Mandriva Linux 2009.0 : upgrade successful

But not without glitches.

Here's how it went. I tried to remain in the position of a newcomer that has no clue about what a command line interface is, so even if I used a terminal a couple of times, it was just to check some stuff, not to fix it. I launched the mdkonline applet for the purpose of the upgrade (I always disable it because of it wastes too much memory to my taste).

Migration applet

Once launched, a notification popup appeared telling me there was a new distro available. If I record well, I clicked on the applet (and not on the popup), and was a bit surprised to be shown 2008.1 updates. I did those and waited a bit more. I was once again presented with the "new distro available" notification popup. I clicked again on the applet, and was presented the distro upgrade dialog.

'New stable distribution available

Note : I really hate Yes/No dialogs. Pretty please, Mr. Developer, use actions verbs on your buttons instead of Yes/No (with button icons would be even better) ! I the accepted the upgrade, and the new media sources were downloaded and updated. Using the Aria IP geolocation, the Free (french provider) mirrors were selected, and the upgrade process started downloading and installing the packages.

Here came the first problem : a curl error, because a package could not be downloaded. I think this happened because the mirror may have been a bit overloaded. So I had this error (no screenshot, sorry), and was presented this dialog.

Yep. The error detection code sucks : if a package download fails, it tells you the upgrade is finished.  A cat /etc/mandriva-release confirmed me that I still was using 2008.1. Here, even if the dialog recommended it, I feared that a reboot could do more harm than good, trying to boot a 2008.1/2009.0 hybrid. So I started again the upgrade, and had more errors.

aria error

First I had an aria error, because the mirrors lists were unreachable I think. Then a dependency error , due to the fact that the upgrade had been interrupted. The drakxtooks couldn't be updated because the perl-Gtk2-Webkit package was missing, and this message was blocking the whole update.

drakxtools can't install

Seeing no other alternative, I closed the session, to avoid rebooting. I tried to login : my login was refused ! With no other choice, I then crossed fingers and rebooted... A few seconds after, I was happy to see GDM and not a login prompt. I could log into my account, and started once again to upgrade. Then again, I had Aria errors and couldn't have the "Main updates" media.

media error

But still, the upgrade went on, with a (very) long packages download/install cycle. I hope Mandriva will do something about that, because it was one of the longest upgrades I had ever been through. Before that, I had always done my upgrades seldomly by reinstalling (to check the choices that were made for defaut applications), but most of the time, using the init 3/urpmi --auto --auto-select/init 5 technique (and not forgetting to upgrade the kernel too). Oh, by the way, during the install, I had a warning telling me my /boot partition was 99% full, but it caused no harm. I removed some old kernels since then, and everything's fine.

The "upgrade completed" dialog appeared once again, but this time, the icon showed was using the 2009.0 graphical style (which I don't really like, MCC icons were much nicer on previous releases - old doesn't mean it has to change).

Following the given advice, I rebooted, and started thinking that a "Close" button would have been better than the "Ok" one (yep. I find that even if a bit outdated, the HIG are still great).

Once my session opened, the update applet still tells that I can migrate to 2009.0 ! However, fixing my "Main updates" media problem (the main miror set by Aria had an MD5SUM error on the synthesis file for this media), was as easy as setting by hand a new mirror, and looking for updates. The only broken thing was my firefox panel icon, which had disappeared, since the icon had been renamed from firefox.png (2008.1) to firefox3.png (2009.0).

The good:

  • Nothing broken, I didn't have to use a single command line to repair it.
  • I could still surf on the web with Firefox while upgrading, even if at one point I lost the sound.
  • Suspend/resume works ! At last ! In 2008.1 the network chip didn't work after a after resume, it needed a reboot. This is now fixed.
  • I found the default desktop font under GNOME 2.24 nicer than in 2.22. Here's an example with the GNOME panel, but the result is even more flagrant in Firefox/Thunderbird. :

Before :

After :

The bad:

  • The upgrade didn't happen flawlessly.
  • Mandriva really needs to take into account the basics of the HIG for every new dialog they create.
  • When there's a md5sum error on an hdlist file on a mirror, aria doesn't automatically try to use another mirror.
  • The whole process was painfully slow, despite my AMD 3000+ CPU and a 20Mb/s connection.
  • It seems that KDE users have much more trouble with the migration, which was to be expected with the huge changes from KDE3 to KDE4. Sorry for them :-(.

samedi 11 octobre 2008

L'expérience interdite...

Je me suis posé la question de savoir si je devais tenter une migration vers la Mandriva 2009.0 tout de suite. Après avoir vu la réaction d'Olivier, qui était aussi la mienne en début de soirée, je me suis dit que je devais essayer d'être plus couillu :-)

Allez, soyons fou, cette petite notiification me fait tellement du pied... Demain je me lance (c'est un peu tard pour ce soir), promis, et je vous dirai si vous avez des raisons de vous inquiéter ;-)

jeudi 9 octobre 2008

Mandriva Linux 2009.0 is released !

Here we are, Mandriva Linux 2009.0 has been released today ! Congratulations to everyone involved !

Download Mandriva Linux 2009.0 (bittorrent download) (make sure you choose 2009.0 and not 2008.1).

Download Mandriva Linux 2009.0 (direct download)

Read the errata

Read the release notes

mardi 30 septembre 2008

Mandriva on the boot time front

It's nice to see that Mandriva is working on shortening the boot time. Even if we're not at a 5 seconds boot (which, I agree with fcrozat, is unreal - what people should ask for is flawless resume instead), I've seen on some of his bootchart graphs a 10% speedup which is cool. As it's been a long time since I didn't use bootchart, and tried it again and benchmarked my Mandriva 2008.1/GNOME system, in case it's useful for someone.

Here it is:

 

lundi 8 septembre 2008

Pas de Mandriva dans Capital...

Il y a quelques semaines, l'émission Capital de M6 était venue tourner des images du Gdium dans les locaux de Mandriva, pour leur sujet sur les netbooks. Manque de chance, il semble (j'ai raté le reportage) que les images soient passées à la trappe, et que Linux n'ait pas été cité une seule fois dans le reportage... alors que c'est un facteur de baisse de prix, et que c'est une des raisons du succès de ces machines.

Mise à jour:

Extrait du reportage :

"il a rendez vous dans le temple de l'informatique parisien. C'est un endroit où les passionés d'ordinateurs mettent leur nez un peu partout, à la recherche de pièces rares..."

Je vous le donne en mille, ce temple où l'on trouve des "pièces rares", c'est Surcouf... Au bout de 4 minutes de reportage, les journalistes avouent déjà qu'ils n'y connaissent rien, et passent le reste du temps à comparer un netbook à un portable traditionel, façon "ah bah oui, une smart, ça roule moins vite qu'une berline". Effectivement, c'est peut être pas plus mal qu'on ait pas entendu parler ni de Mandriva ni de Linux...

mercredi 23 juillet 2008

Revue du netbook Acer Aspire One

Voilà une revue du Acer Aspire One sur LinuxFr. Le point litigieux (l'écran trop brillant) évoqué par Xate dans mon dernier billet sur les netbooks a été soulevé, voici ce qu'en pense alouali, le rédacteur de l'article :

J'avais une petite angoisse sur l'écran brillant et les reflets, mais finalement l'écran est suffisamment lumineux et contrasté pour que ce ne soit pas une gêne, même pour moi qui travaille dos à la fenêtre.

Par contre un point que l'on m'a confié informellement (non, je ne cafterai pas mes sources ;-) ) est la mauvaise qualité des BIOS d'ACER, par exemple pour l'ACPI. Cela tendrait à supposer que ce joujou pourrait ne pas fonctionner sous une autre distribution si ACER a pris certaines libertés avec les "good practices" du BIOS. Et bien coup de bol, le testeur a aussi utilisé une Mandriva Flash, et n'a pas rapporté de problème trop grave, si ce n'est la résolution par défaut en 800x600 au lieu de 1024x600. Il a aussi pris le soin de déclarer la configuration matérielle de l'Acer Aspire One sur hardware4linux. Qu'il en soit remercié :-)

mardi 24 juin 2008

Micro Hebdo n°531 sur les ultra-portables (netbooks)

Ah Micro Hebdo. Le premier (et seul) magazine informatique auquel j'ai été abonné, quand j'étais encore sous Windows.

J'ai fini par acheter Micro Hedo n°531 (encore en kioske demain), en vu d'un voyage en train où j'avais du temps à tuer. Bon, le public de ce magazine est clair : le Windowsien débutant ou moyen qu iveut avoir des trucs pratiques. En général ils sont assez objectifs. Ils ont même essayé Linux de temps en temps, (si, si, et même Mandriva Linux, avec quelques bêtises en prime). Bon, c'est clair par contre qu'on y parle plus de logiciels gratuits que de logiciels libres.

Dans ce numéro, donc, on parle des ultra-portables à moins de 400 euros. Evidemment j'ai traqué l'utilisation de Linux dans ces bestioles. On y parle du futur Gdium Liberty 1000, qui utilise une Mandriva Flash rebaptisée pour l'occasion "Mandriva G-Linux". Par contre (honte à eux) ils oublient complètement que le Airis Kira 740 est aussi disponible avec Mandriva Linux (alors que tous les articles sur le sujet en parlent depuis bien 2 mois) !

Les autres modèles testés:

Eh bien le résultat des tests a l'air sans appel: le modèle d'Acer enfonce les autres au niveau prix (299€), poids (le seul à moins d'un kilo avec le PC by Surcouf) et rapport qualité/prix. De plus, il offre une capacité de 10Go de SSD dans la version Linux, et 8Go pour la version Windows.

Là où ça devient intéressant c'est qu'on peut choisir une version avec disque dur plutôt que SSD (bon, je préfère la SSD pour ce type de machine). Pour un disque de 80Go , on en a pour 20€ de plus dans la version Linux, et 70€ de plus pour la version Windows. Vous me suivez ? On a deux machines identiques sous Windows et Linux, avec 50€ de différence. Idem pour le MSI Wind U100: 50€ de plus pour la version Windows, à matériel identique. Il semble donc qu'il y ait un certain consensus : une licence XP en OEM se négocie dans les 50€. Prenez des notes pour la prochaine fois où on vous proposera 20€ pour le Windows de votre tout PC portable tout neuf (avec l'envoi du portable à vos frais bien sûr).

Pour conclure, vu les caractéristiques du Acer Aspire One, et la politique d'ACER de soutien à Linux, c'est le type de machine qui peut détrôner l'EEEPC d'Asus.

lundi 16 juin 2008

Windows, Linux, thoughts

Almost 5 years have passed since I erased my Microsoft Windows partitions to switch to Mandriva Linux (Mandrakelinux 9.1 at that time). And I never regretted it. However, I try to keep myself informed of what happens in the Windows world, just to be able to help relatives when they're in trouble. So I keep an eye of all the stuff I don't use on Linux: anti-spywares, anti-adwares, anti-viruses, anti-everything.

Yesterday, I had a Windows box to cure. Randomly, some Internet Explorer windows would pop up, and bring the whole machine down to its knees, eating a few hundred megabytes of memory, and causing lots of swapping. I could download Firefox, then killed all the iexplore.exe processes, and was able to browse the web to find a new antivirus and antispyware to see what was going on. Using Firefox, no ads appeared.
All this made me remember why Windows is a nightmare to maintain.

Here's what I was painfully reminded:

Finding what is wrong is extremely time consuming. If you're not the person who installed the program, you have no way to know from what the "add/remove programs" tells you, what a program really does. No description. No file list. Nothing. So you can't just uninstall everything that has a name you don't know/like. You're then left to hours and hours of scanning, in the hope that you chose the right tools, and that they will detect the annoying software that causes the problem. Well in fact, it didn't happen. Neither the antispyware not the antivirus could catch it.

What was utterly annoying, was the fact that I left the computer on the whole night to let the antivirus perform a complete scan, but that this piece of sh*t just stopped at 35% to show a popup asking me what it should do with the virus it had found (in a quarantine zone of an older antivirus). I really would have preferred it had scrolled the whole disk and asked me afterwards, or that it had taken a temporary decision for me just to ask me all the questions at the very end. But no. You have to stay if from of the antivirus, or come regularly during the 4 hours it will scan the 146GB of data stored on the disk. Nice.

So, after a few hours of scanning the hard drive, I got sick of that and stopped the scans. Looking at the name on the popup's title bar, I could find a clue to determine from the configuration panel what was the name of the annoying crapware. That was an MSN Messenger addon. Uninstalling it, everything went fine again. Well, excepting the normal Windows "rot" problem. Having to wait for so long to just have my computer started would make me mad. That makes me think that for 90% of normal Windows users, Linux would indeed start quickly enough. A freshly installed Windows box boots faster, but after 2 months of installing/uninstalling software, Linux wins hands up.

Sometimes, I think of what the Linux distros landscape would be if it reached a critical mass, like 20% of the desktop world. Will those threats shatter my tranquility again ? People using a computer just install every software they can find, and Linux won't change that I think. So even if using only Free Software protects me, third party vendors will start distributing crapware to inexperimented users, and all this will start over again...

For the moment, I enjoy just being a dumb user that just wants something that works. And Linux distros are currently good at that, even if I think they're still too focused on what in new instead of what is bug-free. But overall, these last 5 years have been a much funnier experience using Free Software. Software that you use, and make you feel that there's real people behind it. And that they care about you. The biggest difference I see between these two worlds now is that in the Windows/proprietary world, by default, you can't trust that new software you haven't heard about before. In the Linux/Free Software world, by default, you trust it, because having the source, even if you don't read it, is a mark of trust. Hope this will never change.

dimanche 1 juin 2008

It's big, it's white, it's hairy

It's Big Buck Bunny !

Enjoy !

mardi 22 avril 2008

Mandriva positioning on the Linux market

Here's an insightful vision of the current Linux distro's market, from Dave Neary, former member of the GNOME foundation board.

I don’t want to pick on Mandriva, but it’s true that right now they’re aiming for the general consumer, the enterprise desktop and the enterprise server, and are not competing particularly well with the front-runners in any of those markets.

And I agree with him. Even if there was some good progress on the general consumer market, the short/mid/long-term strategy is still unclear...

PS: I also noticed that the free (as in beer) mention about Mandriva One disapeared from the french download page... I'm pretty sure it was there before...

mercredi 9 avril 2008

Next step to rule the world : done

Yup, Mandriva Linux 2008.1 Spring has been released today. What is amazing is that it's been released on time, which hasn't been the case for years !

I've started testing it quite late in this development cycle (RC2), but I still was able to find a few annoying bugs, which were corrected on time, thanks to Mandriva's hard working team. While I was a bit disapointed with 2008.0 (and 2007.0), what I saw pleased me, ans I really think this release is Mandriva Linux at its best (200X.1 releases seem to be better at Mandriva).

Everything you should know about it is here:

And the most important : the link to download Mandriva Linux with your prefered bittorrent client (Transmission in my case).
Many thanks to everyone who worked on this release. Now Enjoy !

mardi 1 avril 2008

Pidgin connection errors with jabber

I barely use pidgin (and jabber even less), but today, I was just fed up of having the same connection error. I'm using the 2.2.1 version, shipped with on Mandriva 2008.0. The problem is that I had an SSL certificate error each time I would try to connect to jabber.org. The solution from the french Ubuntu forums I found was overkill: recompile and install pidgin 2.4.0. Fortunately, I found on the Arch Linux forums a much better solution, which might be helpful for people having the same problem :

rm ~/.purple/certificates/x509/tls_peers

Enjoy :)

mercredi 26 mars 2008

Favorite command after a clean Mandriva Install...

urpme -a mono

mardi 11 mars 2008

GIMP + GREYCstoration = magie

Un chaton, ça ne reste pas un chaton longtemps. En plus c'est con ces bêtes là, ça ne pose pas pour la photo, ça ne sourit pas. Alors quand les premières photos sont ratées, et que depuis le bestiau a grandi, il ne reste plus que l'informatique pour sauver les choses... C'est là qu'interviennent GIMP et son plugin GREYcstoration. Les images parlent d'elles mêmes:

L'original :

original

Après balance automatique de blancs :

balance automatiuqe des blancs

Après débruitage par GREYcstoration :

débruitagepar GREYcstoration

jeudi 21 février 2008

Lazyweb: of the good usage of GSource...

I'm currently writing an application that has two backends.

  • In live mode, I acquire images from several cameras.
  • In replay mode, I read pre-recorded images from the hard drive.

As I want to switch between these 2 backends transparently, I thought of using two implementations of a custom GSource. It seemed to be what I need: a way to send and react to asynchonous events. In my case, I want to notify the application that the images are in the memory, and ready to be processed.

However I'm a still a bit puzzled about how GSource works, and I found the documentation a bit obscure to people unfamiliar with the arcanes of the glib main loop. The timeout and idle sources don't give me enough information. The other examples use polling of file descriptors, but I have nothing to poll here. I've even checked out The Official GNOME 2 Developper's Guide, but no GSource there. I had not much result in the gtk-apps-devel mailing list, nor the french GTK forums.

I'm at the point where I'm not even sure that GSource meets my needs, but I wanted to avoid as much as possible exposing the acquisition backend. There will be multi-threaded stuff for live acquisition (the cameras I'm using only provide a blocking API, sigh..), but they're not required for the replay mode.

Do you think a custom GSource is the way to go ? It seems it's the only way I can connect to glib's main loop to receive asynchronous events (excepted from timeout and idle sources). Could someone please explain me a bit in which case(s) using GSource is recommended ? Thanks for reading.

lundi 28 janvier 2008

Breaking news: Nokia is trying to buy Trolltech

Will it be for the best or the worst ?

http://www.nokia.com/A4136001?newsid=1185531

mardi 11 décembre 2007

Process wakeups on GNOME 2.18

Learning from the past

Yesterday an old (1.5 year) blog entry of Ryan Lortie on cpu and battery consumption came to my mind. He tested some GNOME applications and saw that some of them caused way too many kernel wakeups, which prevents the CPU from entering in low consumption states. So, as just by curiosity (ang ecological concerns), I wanted to see if there's some improvements on this area on the GNOME desktop.

As Ryan talks about Ubuntu Dapper Drake in his post, I suppose he was testing ye old GNOME 2.14. As a comparison, I ran my tests on GNOME 2.18 under Mandriva 2007.1. I then will be able to compare the figures to GNOME 2.20 when I'll install Mandriva 2008.0 (I'm lacking some time for this at the moment).

Some stuff he pointed out:

gnome-power-manager wakes up twice per second to do something
battery applet wakes up once per second to do something
clock-applet wakes up once per second to update the time even when seconds aren’t shown
gajim wakes up 10+ times per second for some unknown reason
at-spi-registryd wakes up more like 20+ times a second (?!?)
gss seems to talk to x11 once per second (presumably to ask if anything has happened). i don’t understand why it has to do this so often.

I don't use some of the stuff he tested. So I tested gnome-power-manager, the clock applet and gnome-screensaver (gss) as he did.

The test method

A test that doesn't explain the test method is irrelevant. What I did is that I used strace for 10 seconds like Ryan did, but using an interesting option of strace (-c) to have a nice summary of the system calls that were used during the observation period. For example the gnome-screensaver process was spied using:

strace -c -p $(pidof gnome-screensaver) & sleep 10; killall strace

Strace is attached to the spied process in the background. We then wait for 10 seconds and stop strace so that it can give us the amount of systems calls performed during this timeframe. The application were not being actively used while the test was performed, and I stopped mouse/keyboard input during the test, just waiting until it ended.

gnome-screensaver

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
   nan    0.000000           0         1           ioctl
   nan    0.000000           0         2           gettimeofday
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                     3           total

We immediately can see that poll is still called once per second, so either this is a bug that has not been corrected, or this can't really be worked around.

Update: The previous numbers were wrong it seems (weird, I had tested it twice, but the numbers I get now are completely different). The problems reported by Ryan have already been corrected.

gnome-panel

With the seconds in the clock applet not displayed:

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
   nan    0.000000           0         1           ioctl
   nan    0.000000           0         2           gettimeofday
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                     3           total

With the seconds in the clock applet displayed:

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
   nan    0.000000           0        30           read
   nan    0.000000           0        20           write
   nan    0.000000           0        20           time
   nan    0.000000           0        31           ioctl
   nan    0.000000           0        62           gettimeofday
   nan    0.000000           0        30           poll
   nan    0.000000           0        10           stat64
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                   203           total

It's easy to see that enabling the seconds on the applet causes an explosion of the number of calls. That's 3 poll calls per second ! Sound quite abnormal to me, especially the amount of other calls this option generated...

gnome-session

Looks fine.

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
   nan    0.000000           0         1           ioctl
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                     1           total

devhelp

It was in the background, but there's still too many calls for an application that was not being used.

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
   nan    0.000000           0        11           read
   nan    0.000000           0         1           write
   nan    0.000000           0        32           ioctl
   nan    0.000000           0         6           gettimeofday
   nan    0.000000           0        11           poll
   nan    0.000000           0         1           futex
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                    62           total

gnome-terminal

Waaaay too many calls. We here have 4 poll calls/second. The blinking cursor may be a cause (I'm aware a patch for this was made for OLPC). I also know Behdad once committed a patch adding a timer to prevent gnome-terminal from trying to refresh too many times the screen. The goal was to accelerate the display of information. Don't know if the extra calls are related to this, however.

Update: ok, I must have been drinking, everything is normal.
I tested the gnome-terminal that was running strace, so I was getting the calls for executing strace... The good way is for example to test it from an xterm. Another one like this and I jump out of the window.

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
   nan    0.000000           0         1           ioctl
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                     1           total

mixer_applet2

The mixer applet is one of the worst offenders! This is a known bug which is being worked on. Hope to see this included in GNOME 2.22.

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
   nan    0.000000           0        99        99 read
   nan    0.000000           0       169           ioctl
   nan    0.000000           0       296           gettimeofday
   nan    0.000000           0       169           poll
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                   733        99 total

timer-applet

Even when not used, this applet does way too many calls... There's room for improvement here.
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
   nan    0.000000           0        34           ioctl
   nan    0.000000           0        67           gettimeofday
   nan    0.000000           0        34           poll
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                   135           total

trashapplet

Looks fine.

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
   nan    0.000000           0         1           ioctl
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                     1           total

mdkapplet

Mandriva's memory-hungry updates surveillance applet seems to be CPU friendly...

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
   nan    0.000000           0         2           ioctl
   nan    0.000000           0         4           gettimeofday
   nan    0.000000           0         1           poll
   nan    0.000000           0         1         1 stat64
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                     8         1 total

gnome-power-manager

Ryan saw gnome-power-manager wake up twice per second in GNOME 2.14. It seems things got worse, as I had it wake up thrice per second, on AC power.

% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
    nan    0.000000           0        40           read
    nan    0.000000           0        40           write
    nan    0.000000           0         2           time
    nan    0.000000           0        29           ioctl
    nan    0.000000           0        53           gettimeofday
    nan    0.000000           0        29           poll
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                   193           total

Conclusion

Well, there's quite nothing to conclude. These numbers are just here so that people can easily test and compare with their GNOME version, and eventually find more culprits. I think I'll update them on each GNOME Release, so we can see if the plan to conquer the world with power-friendly software works out. Just as a remark, developers who use timers at the second scale should consider using the g_timeout_add_seconds call that was added in glib 2.14, as it allows to group processing of wakeup requests. So if your application can depend on glib 2.14, go for it.

lundi 26 novembre 2007

Tacle en règle (?)

Si vous ne l'avez pas encore lu, lisez le dernier billet de Murray Cumming. J'attends. Bon, il semble qu'il y a réellement un problème entre ces deux là, et le fait que Jeff soit candidat au Foundation Board justifie un peu ce message, bien que la forme est assez "extrême". Ce qui est moins justifié c'est que Murray dit "des gens", sans qu'on sache combien ils sont à trouver que Jeff fait du mauvais boulot, et surtout, que les commentaires soient fermés (ce qui j'imagine va créer un droit de réponse par blog interposé).

Ma question : certains d'entre vous connaissent bien l'un ou l'autre (voire les deux) d'entre ces messieurs (Dodji, Vincent, les autres ?), avez vous un point de vue sur la question, un éclairage particulier ? N'étant pas membre, je n'ai pas le droit de vote à cette élection, donc sur ce plan là je suis neutre. Mais j'aimerais savoir comment l'abcès a pu grossir à ce point avant qu'il ne crève. Le logiciel libre ce n'est pas le monde des bisounours, certes, mais comment peut on en arriver là ? Que les propos de Murray soient justifiés ou pas, je suis choqué...

Compte rendu de l'install party Mandriva Linux 2008

Comme je le disais dans mon dernier billet, j'étais à l'install party Mandriva à la Cité des Sciences de Paris. C'était malheureusement un peu trop calme à mon goût :-(

Bon, il y a tout de même des points positifs, notamment le fait que j'ai pu voir une bonne partie de l'équipe de Mandriva. L'équipe technique était venue en force : Frédéric Crozat, Pascal Terjan et Olivier Blin ont fait le déplacement. Ce qui m'a permis d'avoir Fred pour 25 minutes de direct sur Radio ici et Maintenant. J'étais assez content que le direct que soit bien passé, et Fred a trouvé les questions assez intéressantes et bien choisies. Si quelqu'un a enregistré le passage, prévenez moi ;-)

J'étais venu en tant qu'installateur, mais je n'ai pas eu beaucoup de temps pour les installations en fait. Je n'ai eu de contacts qu'avec 2 personnes. La première avait un portable avec une Mandriva 2007.0 et voulait essayer la 2008.0 avant de l'installer. Facile, vu que la machine est compatible, je ne devrais pas avoir de problème. J'essaie le live cd de Mandriva, la Mandriva One: plantage immédiat. La bonne blague. Au bout de moment, je me rends compte que ce n'est pas un lecteur de CD externe USB, mais firewire. Et là c'est le drame : c'est une régression connue qui affecte la Mandriva 2007.1 et 2008.0. Impossible de démarrer sur un périphérique firewire.

Après mes passages radiophoniques de 14H et 15H50, j'ai un dual boot à préparer. Comme ça fait longtemps, je suis un peu rouillé, mais ça devrait pas être bien sorcier, même s'il est un peu tard. Juste un petit problème: la personne n'a pas défragmenté ses partitions, et il faut faire de la place sur le disque dur... C'est parti pour 45 minutes d'attente. Une fois la défragmentation finie, je ne suis pas chaud pour redimensionner les partitions avec une One, car il a 440Mo de RAM, et le démarrage du live CD est assez lent. Je redimensionne les partitions avec GParted, à partir d'un System Rescue CD, plus rapide. Tout se passe bien.

Sauf que l'install party est terminée et que dans l'état actuel, je ne suis pas sûr que son Windows retrouve ses données. Repassage sur Mandriva One pour ne pas me prendre la tête en ligne de commande à transférer ses données d'une partition à une autre. J'apprends d'ailleurs à ce moment là que ses données n'ont pas été sauvegardées (ils ne lisent pas les décharges qu'ils signent ou quoi ?). Je vais donc pour faire un copier-coller pour transférer ses données sur une nouvelle partition: impossible. Je me dis que c'est un problème de droits... je monte les partitions en écriture, mount me dit bien qu'elle sont en lecture-écriture : toujours impossible. J'apprends alors par Olivier que ntfs-3g n'est pas activé par défaut dans la 2008 à cause d'un bug de dernière minute. Traduction: moi y en a pas pouvoir écrire sur partition Windows du monsieur. Sic. Je finis au System Rescue CD, en ligne de commande bien gorrette, les doigts tremblants, pensant aux données que je pourrais perdre au passage... Regardez monsieur, c'est convivial Linux, non ?

Bon, au final, les données sont transférées, j'ai libéré 20 Go sur le disque et le Windows n'y a vu que du feu, et redémarre frais comme... heu... un truc pas frais (j'hallucine en voyant le temps de démarrage du bousin). Heureusement, la Mandriva One m'avait permis de vérifier que le matériel était bien détecté (sauf le wifi, je n'ai pas essayé), et le bureau 3D a fonctionné tout de suite. Le jeune homme qui avait déjà jadis tenté l'installation d'une Fedora 8 pourra donc faire son install à la maison sans trop de problèmes à priori.

Bilan de l'install party: 2 personnes entre mes mains, 0 Linux installé. Je pense que je peux améliorer ce score :-p

mardi 13 novembre 2007

I'm a Radio Star

Oui. La célébrité. Le succès. La gloire. Toutes ces choses sont à ma portée à présent. Parce que le 24 novembre, si tout va bien, je serai sur les ondes. Mais ne t'en fais pas, toi le français de la France d'en bas, je ne t'oublierai pas. Quand j'aurai besoin qu'on me descende mes poubelles, c'est à toi que je penserai.

En effet, le 24 novembre, quand je serai à la Cité des Sciences et de l'industrie pour l'install party Mandriva Linux 2008, je pourrais bien passer sur radio ici et maintenant dans l'émission Hot-line. Cette émission, diffusée chaque dimanche de 14H à 16H permet aux utilisateurs d'appeler pour avoir un coup de main dans la résolution de leurs problèmes liés à l'informatique. Je suis tombé par hasard dessus dimanche dernier, et voyant que l'on y parlait aussi logiciel libre, le présentateur conseillant Linux à tout va, j'ai pris un peu de temps pour écouter l'émission. Et rigoler un coup aussi.

J'ai alors compris ce que devaient ressentir les techniciens de hotline, et j'ai béni le ciel de m'avoir épargné ce sombre destin. Celui de tomber sur des gens qui sont sous Linux, qui veulent développer leur site web sans savoir ce qu'est le FTP, et à qui quand on pose la question "quelle est votre fournisseur d'accès internet" répondent "Mandriva"... Je vous admire messieurs (et mesdames) les hotliners. Autre exemple: ce monsieur qui hésite à installer Mandriva Linux. Il a Windows et Ubuntu sur son disque dur. L'outil de partitionnement de l'installateur Mandriva le met en garde, lui dit de faire attention, d'être bien sûr. Notre ami empli de courage continue tout de même, frémissant de son audace. Et là, quand le partitionneur lui demande s'il veut effacer toutes les partitions, il se dit qu'il dirait bien oui, "pour voir". Jetons un voile pudique sur la triste scène qui suit.

Bref, après avoir écouté tout cela, j'ai participé au chat du site, et comme l'animateur le lit en même temps, il a pu relayer l'annonce de l'install party Mandriva. J'ai fini par appeler pour donner plus d'informations... Mes 5 minutes de gloire en direct à la radio :-). Il m'a finalement proposé de faire 5 minutes en direct de l'install party, à laquelle je m'étais inscrit en tant qu'installateur. Bon, je n'ai pas encore eu la confirmation, donc on verra bien ce qui se passe.

Si vous voulez être de la fête, vous pouvez :

- page 2 de 5 -