Anonymat sur l’internet

Comme en France on aime bien faire des lois sur tout et rien, voici une proposition de loi pour supprimer l’anonymat sur l’internet. L’idée est que les blogueurs doivent fournir leur nom, adresse email (je n’ai pas bien saisi si ils doivent aussi fournir leur adresse physique ainsi que leur numéro de téléphone).

Le but étant de facilité le droit de réponse aux personnes qui auraient éventuellement été mises en cause dans un billet d’un blog. Comme d’habitude en France, on aime bien emmerder l’ensemble de la population en permanence pour peut-être (et c’est loin d’être certain) résoudre un problème qui arrive de temps à autre et qui ne touche presque personne.

Bref, une loi de plus contre la liberté d’expression. Vous trouverez quelques arguments contre sur ce billet pour la défense du droit à l’anonymat sur l’internet.

Si vous aussi vous êtes contre ce genre de lois, n’hésitez pas à laisser un commentaire sur la page citée ci-dessus.

Edit 2010/06/05:

Une vidéo édifiante du sénateur à l’origine de cette proposition de loi:

Posted in Uncategorized. Tags: , , . No Comments »

Esa Holopainen / Tuomas Holopainen

4 years ago I was wondering if they were from the same family and I had some troubles finding the answer and it turned out that they are not related to each other. See this interview of Amorphis singer (it’s in french).

I blogged about it at that time but I’m still seeing some people looking for that information (here, there). So let’s share the information for the lost souls looking for the answer of this extremely important question (the answer is not 42):

Esa Holopainen and Tuomas Holopainen are not from the same family.

Posted in Uncategorized. Tags: , . 1 Comment »

MozillaDeveloperPreview 3.7 alpha 4

Few weeks ago Mozilla released an alpha version of Firefox and I decided to try it. It’s MozillaDeveloperPreview 3.7 alpha 4.

I did a quick comparison for startup time between Firefox 3.6.3 and this preview. My firefox opens with 3 windows and a total of nearly 20 tabs:

3.6.3 3.7a4
First window displayed after 30 s 15 s
Completely loaded after 75 s 45 s

This new version starts much faster, but it’s still not fast enough for me. I like Safari on Mac because it starts very very fast, but when Firefox is loaded, it’s fast… while Safari freeze for few seconds from time to time.

  • Shutdown is also much faster.
  • Page rendering seems faster than Firefox 3.6.3.
  • Client identification (with SSL certificate) does not work anymore.
  • Acid 2 test passed.
  • Acid 3 test: 94/100.

There is something that has not changed yet, on my Mac Firefox is still using between 15 and 20 % of the CPU while it’s open, even when I’m not looking at Firefox (and it does not looks like any of the pages that are open is doing some fancy CPU eager things).

The WordPress plugin I’m using against SPAM not prevent me to login when using this preview version :-/.

Moving to WordPress

I started blogging a long time ago using COREBlog on Plone on Zope (if I remember right), then I moved on dotclear 1 with some friends, then I opened my own blog again using dotclear 2… and now I’m using WordPress.

Why moving from dotclear to WordPress? First of all, my linux server moved to PHP 5.3… with is not supported by dotclear yet. So I had to install an alpha version of dotclear that supported it… kind of. It was a true alpha version (meaning lots of stuff were not working anymore, if you used to navigate on my blog you may have noticed that). And I feel a bit like dotclear is on the dying side (maybe it’s not true, but that’s my feeling). I don’t know if it’s related by the departure of the creator of dotclear (Olivier Meunier) last year, maybe they are adjusting from that change, but in the mean time, dotclear is not moving fast enough and I had to do something about getting my blog working.

I know, since I’m a developer, I could have helped dotclear guys supporting PHP 5.3, by fixing some bugs… I don’t remember PHP a lot but it’s a quite simple language, I should have been able to help quite quickly I think. But I’m also lazy and I did wanted to try WordPress since some people recommended it to me.

So, this is my first post written with WordPress, and it’s quite nice, the interface is quite good but I have to admit that it’s far from being perfect too.

Installation

As usual I used the debian package, which is already an improvement over dotclear since there is no dotclear debian package. On the downside, I encountered several bugs that seems to stupid to be there. And looking on the internet, they are known bugs, but not fixed. For instance:

  • You can’t specify an absolute path for your upload folder (which is what is done by default by the debian package… so uploading anything was not possible until I changed the path)
  • When you try to install a theme or a plugin using the admin interface, WordPress checks if it’s authorized to write files first, if not WordPress allows you to upload it through FTP. That’s nice except that the script checking authorization is bugged (and that FTP is a protocol that should died but that’s an other story ;-) ). The script checks that the user executing it is the owner of… the script file! instead of checking that it’s the owner of the theme/plugin directory. Since they do the things right in debian, the script is owned by root but executed by www-data (apache’s user). So I had to change the owner of the script to make it work.

Migration

In WordPress tools, there is a script to import data from dotclear… which does not really work. Maybe it was done for dotclear 1, or my alpha version did have a lot of changes but obviously there was a lot of differences between what the import script was excepted and what my dotclear database looked like. I customized it a bit so it was able to import my posts and comments but I had some encoding issues (mostly solved), and of course I had to upload again all the pictures, audio files and videos… It took me several evenings to do the migration. Maybe I should have done it all by myself without using the original script.

After the import, the comment count was not set on the blog posts and I saw that other people had the problem (comment count not matching the actual number of comments) at some point for a reason or an other and the solution I saw was usually a small PHP script looping on each post and executing the same SQL query. So here is the same solution but with only one SQL query, no PHP involved:

UPDATE wp_posts SET comment_count = (SELECT count(*) FROM wp_comments WHERE wp_comments.comment_post_id = wp_posts.id);

Usage

I just started using it. For the people reading my blog from the RSS feed, check out the new URL. On the overall it looks quite simple, but there are some stuff I don’t really like. For instance I have to use categories. So I put everything in the “Uncategorized” category. On dotclear I was able to say that I don’t want to use categories. Tags are way much better than categories… and they are optional.

The visual editor is quite good but the HTML editor is a “simple HTML” editor, not showing the full HTML, and switching from one editor to the other change the HTML code you may have write, and sometimes you don’t want to. For instance putting audio and video tags (HTML 5 tags) in an XHTML 1 page… is not really allowed, and switching from the HTML editor to the Visual editor simply remove them :-( . There is no wiki syntax, I can understand that choice but I was a bit used to it.

The plugin and theme system work quite well (except for the bug I talked about earlier). For the theme I chose Garland-revisited, which is a copy of Drupal‘s default theme (I used Drupal once and I had to customized the theme for the website but I love their Garland theme, so here is a way to have it ;-) ).

I also like the idea of having fixed pages. And I should start by filling the “about” page. That’s all for today, I still have a lot of stuff to configure.

BIFFF 2010 : Suite

Comme prévu, les séances du BIFFF auxquelles j’ai assisté ont été plus calmes que celles de la “nuit fantastique”.

J’ai vu les films/animés suivants :

  • 20th Century Boys 2 et 3 : J’avais bien aimé le premier épisodes, les 2 et 3 un peu moins. Ça traine un peu en longueur, dans l’ensemble il ne se passe pas grand chose, c’est un peu trop creux.
  • Higanjima : en bon petit frère, Akira va essayer de retrouver son frère sur une île oubliée et surtout infestée de vampires. Ici les vampires ne craignent pas le soleil et pour les tuer ils faut écraser leur tête. J’ai trouvé ça un peu cheap, rien d’exceptionnel, un film qu’on peut oublier.
  • Fullmetal Alchemist : Brotherhood (épisode 1) : ben… dans la lignée de FMA. Apparemment ils refont une série pour coller au plus près du manga.
  • Dance in the Vampire Bund (épisodes 1 & 2) : Est-ce que les vampires existent ? La réponse en live lors d’une émission de télé posant cette question et pendant laquelle des vampires font leur entrée… j’ai pas trop accroché.
  • Durarara!! (épisodes 1 & 2) : Mikado laisse sa campagne et débarque à Tōkyō où il retrouve un de ses amis, qui lui explique les gens à fréquenter et ne pas fréquenter et croise le “Black Rider”, le motard sans tête. J’ai trouvé ça plus intéressant que la série précédente.

Samedi il y avait pas mal de cosplayers au BIFFF, toujours sympa à voir. Je ne me suis pas trop attardé là-bas, mais dans l’ensemble l’ambiance au BIFFF à l’air plutôt cool et décontractée.

BIFFF 2010 : Nuit Fantastique

Du 8 au 20 avril se tient le Brussels International Fantastic Film Festival à Tour et Taxis (attention, site en Flash).

Je suis allé à la nuit fantastique, 4 films diffusés entre minuit et 8h (et un cour métrage en entrée) :

  • Paris by night of the living dead : (le court métrage) petit film de zombies, du gore comique, divertissant.
  • Daybreakers : 95 % de la population s’est transformée en vampires, donc forcément pénurie de sang. En voyant au générique de début la présence d’Ethan Hawke et Willem Dafoe, je me suis dit que finalement ce n’était peut-être pas un “petit film” et du coup ça a relevé mes attentes… et c’est bien dommage, parce que le film n’a rien d’exceptionnel. Autant l’idée de départ est intéressante, autant le film ne l’est pas vraiment.
  • Vampire Girl vs Frankenstein Girl : film japonais… volontairement mauvais. Vous savez que quand un japonais veut faire quelque chose, il essaye de le faire le mieux possible, et là dans la catégorie mauvais film gore, il est très fort. Des litres de sang qui giclent à la moindre écorchure (et oui, il faut le savoir, le corps humain contient un bon millier de litres de sang sous 20 bars de pressions), des effets spéciaux fait sur le coin de la table, des dialogues minimalistes, des clichés énormes… bref, si vous n’êtes pas amateur du genre (et apparemment il y en avait beaucoup dans la salle (renseignez-vous les gens avant d’aller voir un film)), voilà 85 minutes insupportables pour vous ;-) .
  • Macabre : film indonésien. Du classique, un groupe de jeunes ramènent une fille perdue et désorientée (après s’être faite soit-disant volée) chez elle… dans une maison isolée… où ils sont gentiment reçu par la famille de la demoiselle. Ils ne vont pas refuser l’hospitalité et vont bien rester à manger… S’en suit bain de sang, couteaux, tronçonneuse, et des gens qui finalement ont du mal à mourir. Un concentré de classiques, plutôt réussi.
  • Ghost Machine : quelle idée de jouer à un jeu vidéo en immersion totale dans une ancienne prison désaffectée et surtout hantée ? Un mauvais mélange d’eXistenZ et Ring (ou n’importe quel film où il y a un fantôme qui veut se venger). Résultat pas terrible.

Première fois que j’assiste à un festival comme celui-là. C’est un peu déroutant, autant je m’attendais que dans la salle il y ai des gens qui gueulent (ce sont des films d’horreur, donc les “NON ! Pas par là !” ou les “Attention ! Derrière toi !”, c’est un peu obligé) mais à ce point là non. C’est un peu trop.

Le problème principal à mon avis étant une partie du public qui assiste à des films parce qu’ils n’avaient rien d’autre à faire, donc dès que c’est du film un peu moins “classique” (comme “Paris by night of the living dead” ou “Vampire girl vs Frankenstein girl”), ces personnes là décrochent et foutent le bordel. Pour “Paris by night…” qui est un film français, heureusement qu’il y avait les sous-titres en anglais, je n’arrivais pas à entendre la piste sonore tellement il y avait de bordel.

Après j’ai du tomber au mauvais endroit dans la salle, à ma gauche il y avait une paire de personnes venu avec des annuaires téléphoniques et qui ont passé presque toute la nuit à déchirer des pages, en faire des boulettes et les envoyer sur les rangs devant eux. Pendant l’entre-acte et 5 minutes au début du film où pendant certaines scènes qui le méritent, OK, mais en permanence non. S’ils ne voulaient pas voir les films fallait pas venir. Sinon derrière moi j’avais un groupe d’adolescent… et le problème avec les ados en quête d’identité c’est que ça veut se faire entendre (i.e. ça gueule) alors qu’ils n’ont rien à dire (i.e. ils lancent des vannes pas drôles, tout le temps les mêmes, aux mauvais moments) et bien sur ils manquent d’un petit peu de culture… dire des trucs comme “je comprend pas le mandarin” pendant un film japonais, se foutre des japonais dans un film où on vient de voir que l’action se passe à Jakarta, ou gueuler “Et les sous-titres !” à chaque fois qu’il manque les sous-titres (en français et flamand) alors que les sous-titres en anglais sont bien affichés…

Pour les autres films que j’ai prévu d’aller voir, ça devrait mieux se passer (ce n’est pas tout à fait la même catégorie de films).

Flash vs HTML5 video

There was an article about performances comparison between Flash and HTML5 for reading videos.

The conclusion is that there is no clear winner. But I think it’s the wrong way to look at the problem. Adobe had years to improve performances of Flash for that task, HTML5 is not released yet and web browsers are at their first implementation of it.

As usual in software development, you have to make it work first, then make it right and finally make it fast. So obviously most of the web browsers are not yet at the “make it fast” part, so we can expect better performances in the future.

We can also see that being locked in one technology held by one company is bad. There is no concurrence, so for years Adobe was not stressed to make Flash better. They started trying hardware acceleration few month ago when they realized that they were going to lose market share because of HTML5. They finally got some competitors.

So I think HTML5 is going to be good for web browsers, for Flash, for the web and for people. Anyway, I’m still in favor of getting rid of Flash on the web.

Posted in Uncategorized. Tags: , , . No Comments »

Magic Mouse

My current mouse was not good at scrolling, so I decided to buy Apple’s Magic Mouse. Yes, my “old” mouse is still working, so I should not have bought a new one (but in fact I’m still using it).

As usual with Apple, it’s a nice piece of hardware and as usual with Apple, it’s sucking in some ways.

It’s a beautiful mouse, with its complete surface being tactile. I bought it because my previous mice was not scrolling correctly. Does the magic mouse does the job correctly? Yes. Scrolling is very nice. And with the momentum option activated it’s even better.

Some people are complaining because the edges are a bit too sharp, in fact I didn’t noticed it before reading it, but yes, a bit smoother would be better.

Some other people are complaining that the cursor’s movements on the screen are not fluid. I had the same problem from time to time and the simple solution was to have the mouse closer to my laptop, I reduced the distance from 1 meter to 50 cm. Yes it’s lame, it’s bluetooth, I experienced the same problem with an other bluetooth mouse. And bluetooth is also slow, it introduce a latency in cursor’s movements that you can feel when switching from a wired mouse to a bluetooth one, but it’s small enough to go unnoticed after few minutes.

An other thing is that you can’t do the nice gestures you can do on the trackpad. You can download MagicPrefs which enables lot’s of gestures, but in fact I found it quite awkward and difficult to do most of the gestures on the mouse.

Forget about gaming. Of course this mouse is not designed for hardcore gamers, even for gamers at all. The simple fact is you can’t do left and right click at the same time (you were thinking about jumping and firing at the same time in QUAKE LIVE? So that’s why I’m still using my old mouse when I want to play).

But to me, the major problem is that the mouse is way too slow. And it looks like a lot of people think the same.

Event when putting the track speed to the maximum, the magic mouse is still a bit too slow. Interestingly, when removing the drivers, the mouse is way much faster but no more scrolling or gestures… which was the point of buying this mouse. MagicPrefs allows you to increase the speed a bit, looks like MouseZoom do the same as well. But I don’t really like the idea to have to install an extra software to increase the speed. I should be able to set it directly somewhere. Some people are giving some commands like this one:

write -g com.apple.mouse.scaling -float 5.0

It seems that it’s the value written in the system when changing the track speed. In the System Preferences the max value seems to be “3”. So with this command you can set it to a higher value. But each time you have to log out and log in!

If you have to do it only once, it may do the trick. But here I come to an other problem. Let’s imagine I want to play on some games requiring a “classical” mouse, I need to change the tracking speed to a lower value for the “gaming” mouse and when I’m not playing anymore, change back the value… with the command line, and logging out, then logging in…

I already talked about it, but why operating systems are designed for only one mouse and one keyboard?

Have a look at this (from Mac OS X System Preferences):

What do you notice? We can configure several displays, but only one keyboard, one mouse and one trackpad… One mouse and one trackpad? Those are two point and click devices, aren’t they? So in a way we can have two different pointing devices with different settings, so why limiting this difference by “kind” (mouse/trackpad) and not by plugged devices?

Only few people are using more than one of these devices? OK maybe, and most people are also using only one display… and most people I know using a laptop as their main computer plug an external keyboard, so they have the laptop keyboard (and trackpad) and the external keyboard (and mouse) and usually laptop keyboards and standalone keyboards are different and may require different configurations. And of course the case when pair programming.

Mice and keyboards are not dead yet (they are not going to be wiped-out by touchscreens and virtual keyboards before long (in the end they may, but not before at least a decade or two)). So please, you people writing operating systems, would you be nice enough to handle that problem?

Conclusion

After few days using the Magic Mouse, I can say that I found it being a nice device in general, a very good mouse for common usages, not suitable at all for games and way too slow (a fix for that should be trivial to release).

Electrabel

Electrabel et Sibelga

Pour les français qui me lisent, Electrabel est l’équivalent d’EDF mais en Belgique (et qu’Electrabel appartient à GDF Suez).

Ce que je souhaite d’une société qui me fournit un service comme Electrabel, c’est que ce service me soit rendu et que je n’en entende pas parler. Et je dois dire que jusqu’à récemment Electrabel n’aurait pas pu faire mieux. Puis j’ai commencé à avoir des coupures d’électricité quand je consommais un peu plus d’électricité que ma moyenne (genre quand ma machine à laver est en route).

Je me suis tout d’abord dit que ça devait être un problème électrique et j’ai essayé de trouver quel appareil était en cause, mais j’ai fini par découvrir qu’il n’y avait pas un appareil particulier source des coupures, à moins que le compteur électrique lui même ait un problème.

Et là je me suis rappelé que quand même, ça faisait longtemps que je n’avais pas entendu parler d’Electrabel, jamais reçu de facture papier (ce que j’aurais du remarquer plus tôt vu qu’en Belgique ils aiment encore beaucoup le papier et les factures électroniques ils ne connaissent pas trop), dans le doute je regarde mon compte en banque, jamais rien n’a été prélevé… bizarre vu qu’à l’ouverture de ma ligne ils m’avaient indiqué quel montant j’allais payer par mois.

Après appel chez Electrabel (il faut appeler entre 8h et 9h le matin pour être certain de ne pas trop attendre sur le service téléphonique, mais dans tous les cas vous êtes obligé de subir 25 redirections dans leur serveur vocal) et donc je tombe sur quelqu’un qui me dit qu’il fallait peut-être que je paye mes factures, je ne suis pas contre, mais j’aurais bien aimé les recevoir pour les payer. Et effectivement Electrabel m’a bien envoyé les factures, mais pas à mon adresse :-\. Donc en 6 mois, chez Electrabel, il n’y a personne qui s’est dit : “C’est bizarre, cette personne là ne paye pas alors qu’on lui envoi les factures à une adresse qui ressemble beaucoup à l’adresse où l’électricité est consommée mais qui n’est quand même pas la même, peut-être devrait-on envoyer un courrier à l’adresse où on sait qu’il y a effectivement quelqu’un qui consomme l’électricité pour savoir quel est le problème ?”. Donc non, personne n’a fait ça, d’ailleurs certainement personne ne s’est posé la question vu que ça doit être des procédures automatiques. À la place j’ai eu des lettres de mise en demeure (à ce qu’il parait), avec les frais qui vont avec, et un limiteur a été posé sur mon compteur.

Vous vous souvenez que j’ai perdu 2 disques de mon RAID-5 suite à une coupure d’électricité ? Ben c’était la coupure nécessaire pour poser le limiteur… Merci Electrabel.

Suite à ma discussion avec la personne d’Electrabel il semblerait que l’interface du logiciel qui permet de rentrer les informations sur les comptes client, et donc les adresses, fait de la complétion (ce qui en soit est plutôt sympa). Donc lorsque la personne a tapé mon adresse de facturation, une rue existante dans ma commune commençant par le même nom que la mienne a été certainement suggérée en même temps que ma rue mais la personne a sélectionné la mauvaise. Là ma question est : “Pourquoi l’adresse de facturation n’est pas la même adresse que celle de distribution de l’électricité par défaut et que l’opérateur doivent effectuer une opération pour indiquer que ce n’est pas le cas et la changer ?”. Ça ferait déjà gagner du temps à l’opérateur, j’imagine que la plupart du temps ces deux adresses sont les mêmes, et surtout ça éviterait de rentrer des informations erronées (avec les conséquences que ça peut avoir).

Bref, vu que c’était une erreur de leur part, je n’ai pas payé les frais supplémentaires, ils ont noté mon adresse correctement et on a pu procéder à la régulation de mon compte (ça m’a quand même pris 2 ou 3 jours à devoir les appeler pour chaque étape). Restait plus que faire enlever le limiteur…

C’est là que ça devient marrant, sauf pour moi. Déjà c’est à moi de prendre rendez-vous avec Sibelga, société qui a le monopole de la gestion du réseau électrique sur la région Bruxelles-Capitale. Quand j’achète quelque chose en ligne, ce n’est pas moi qui contacte La Poste pour leur dire d’aller chercher le colis où je l’ai acheté et le livrer chez moi, c’est le cyber-marchant qui s’en occupe. Donc ça ne marche pas comme ça entre Electrabel et Sibelga. Ce qui est bien stupide vu qu’Electrabel fait une demande d’intervention auprès de Sibelga (mais ça ça prend déjà au moins une bonne journée) et que je dois ensuite appeler Sibelga… mais pour quoi faire alors ? Et bien prendre rendez-vous bien sur…

Enfin… “rendez-vous” est un bien grand mot. J’appelle, “un technicien passera dans 2 jours entre 7h30 et 16h30”. Oui bien sur… c’est qui qui est au service de qui déjà ? Bref, impossible d’avoir un vrai rendez-vous, donc le technicien passe et je ne suis bien évidemment pas chez moi à glander toute la journée juste pour ses beaux yeux et personne ne lui ouvre (bizarrement pour la pose du limiteur il n’y avait pas eu de problème). Deuxième passage idem. Et là après 2 passages Sibelga abandonne, je dois rappeler Electrabel, pour qu’ils refassent une demande auprès Sibelga, que je rappelle encore le lendemain pour que le technicien passe encore pas avant 2 jours.

J’ai donc passé 3 semaines avec le limiteur installé avant que le technicien n’arrive à rentrer.

Quand on fournit un service de ce niveau là, je crois qu’il serait bon de changer de boulot, ou au client d’aller voir la concurrence… à ben non c’est pas possible… ce sont des monopoles, il n’y a pas de concurrence… (pour Electrabel il y a un peu de concurrence, mais c’est limite inexistant).

Si jamais des gens d’Electrabel/Sibelga lisent ce blog (ce qui n’arrivera certainement jamais), voici quelques conseilles sur lesquels réfléchir :

  • Supprimez le serveur vocal, quand j’appelle je veux quelqu’un tout de suite, et quelqu’un qui puisse m’aider sur quasiment toute la procédure, pas une personne qui me redirige vers une autre pour me rediriger vers une troisième (pour le coup le serveur vocal est plus efficace).
  • En tant que client prenant un service auprès d’Electrabel, je ne veux avoir de contacts qu’avec Electrabel, je n’en ai rien à secouer de savoir que vous utilisez Sibelga pour les opérations techniques sur le réseau, c’est votre affaire, pas la mienne.
  • Soyez plus rapide. Vos demandes d’interventions envoyées à Sibelga par batch 1 fois par jour, c’est un peu la loose, faudrait décoller un peu de l’informatique des années 80.
  • Je suis le client, vous fournissez un service, ce n’est pas à moi d’être à votre disposition, c’est plutôt le contraire. Donc si rendez-vous il doit y avoir pour une intervention de 15 minutes, je veux bien bloquer 1h de mon temps, pas plus.
Et les autres

Malheureusement, l’incapacité chronique à fournir un service de qualité est monnaie courante. Voici quelques exemples qui me sont arrivés récemment :

  • Arrêt de mon abonnement UGC Illimité, j’appelle, on me dit qu’il y a 2 mois de préavis (oui 2 mois, je m’attendais plus à un truc du genre s’il reste plus de 15 jours dans le mois en cours alors l’abonnement est arrêté dans le mois courant sinon le mois suivant) mais surtout, il faut que j’envoie ma demande par courrier recommandé avec accusé de réception. Mais c’est quoi cette fixation sur la papier ? J’ai la personne au téléphone, pourquoi je ne peux pas le faire là ? Déjà que je trouvais ça nul d’avoir à appeler parce que je ne trouvais pas comment le faire depuis le site web, mais non c’est pire, il faut que j’envoie une lettre !
  • Transfert d’un compte bancaire de la banque A vers la banque B en utilisant le formulaire pré-rempli fourni par la banque B. Devinez quoi ? Mon numéro de compte de la banque B sur le formulaire fait par la banque B n’est pas complet ! Donc forcément la banque A me renvoi gentiment mon courrier en me disant qu’il manque des infos. Je téléphone à la banque A pour fermer le compte directement puisque de toute façon il n’y a plus rien dessus, mais non pas moyen, il faut que j’envoie un courrier (encore) avec 15 papiers dedans (vu qu’au passage ils se sont rendu compte qu’ils n’avaient pas la bonne adresse (j’ai juste déménagé 2 fois entre temps) et qu’il faut un justificatif de domicile (alors que je suis en train de fermer mon dernier compte chez eux)).
  • La palme d’or revient à Orange. J’appelle le 700, le numéro à faire pour parler à un conseiller, et en l’occurrence pour fermer mon compte, là je tombe sur un serveur vocale me disant : “Ce numéro n’est plus en service, veuillez dorénavant composer le 700.”.

Rions un peu, j’ai aussi eu plusieurs fois des problèmes avec La Poste (en France), mais apparemment je ne suis pas le seul.

Login/Password autocomplete

A feature I really like in most web browsers, is the ability they have to “remember” my login and password for a given website. And I like the way Firefox does that, by displaying a non-intrusive notification bar at the top of the page while loading the page:

(I don’t like the way Safari does, by putting a modal window. So I have to already answer if I want to save my credentials before being sure that I entered the right ones)

I really like this feature for several reasons. I think it’s more secure than having to type my password. Some people may disagree, but to me, having that feature allows me to set a different password on every website I have an account on. Without that feature I will use the same password everywhere which is a very bad idea. If I use the same password everywhere, if somebody finds out what my password is, he will have access to all my accounts. And this is way much more easier than you may think:

  • lots of websites does not do the login procedure on a secure connection so intercepting data is not that difficult, especially with non-secure WiFi / free WiFi access points
  • lots of websites/companies store your password in plain text in their databases, so mostly anybody working in that company at some point in time may see your password (and I’m not kidding, I’ve seen that myself several times (If I was a bad guy, which I’m not by the way ;-) , I would already be the owner of thousands of emails/logins/passwords))

An other reason why I think using the web browser’s password manager is more secure is because if at some point a malware installs a key-logger on your computer (which is not unusual on Windows computers), each time you type your password it’s a chance more for the key-logger to record it.

And of course, web browsers save your passwords in a crypted file (and not in a plain text file as some people do, which is also not really secure). To me, the biggest downside of this feature is that I can’t log in a lot of websites if I’m not using my computer because I don’t remember my passwords.

So there is something I really don’t like when surfing the web, is when I use websites where, for some reason, Firefox/Safari does not ask me to remember my password. Until recently I didn’t checked why, I was supposing that the login form was done in a way that web browsers did not recognized it as a login form (maybe because of an intensive use of javascript). But it looks like I was wrong on that, and that there are people stupid enough to call “feature” the ability of a website to prevent your web browsers to store your credentials.

From what I have seen so far, several web browsers disable the auto completion/password manager when the attribute autocomplete="off" is set on a form or input field. First of all: this attribute IS NOT STANDARD. It’s not part of any HTML/XHTML specification. It seems it was invented by Microsoft for Internet Explorer a long time ago (why bad ideas always come from the same guys? ;-) ).

There is a page on Mozilla’s developers website explaining how works the autocompletion and how to turn it off, and the page on autocompletion attribute on MSDN website.

The second point is: ok, Internet Explorer has this stupid feature, why other web browsers have also implemented it? The final decision has to be done by the user, not some manager of a website who thinks that he knows what you want better than you.

The only point I see where it may be useful, is that it also works for forms other than login forms. For login forms your web browser always ask you if you want it to store your login and passwords in a secure place. For other forms, the web browser remembers everything, in a place that may not be secure, and without asking you anything, which might be quite bad when filling a payment form with your credit card number. At this point, what would be useful, is a way to say to the web browsers that some data in the form are sensitive information (so the web browser may ask you if it should remember those data, and in that case put them in a secure place).

If you have followed until here, my point is: the autocomplete attribute sucks, it does not solve any problem and annoys me.

How to make those broken websites behave correctly again?

Several possibilities:

  • use a web browser that does not understand the autocomplete attribute (I don’t know which ones)
  • if you are using an open source web browser that supports that attribute, remove the support from the sources, compile, enjoy (that’s one of the freedoms of open source)
  • if you use Firefox, use Greasemonkey

First time I heard about Greasemonkey was several years ago, but for some reasons my neurons did not connect together at that time and I did not realized the power of this Firefox plugin, until I saw Paul’s demo at FOSDEM. Since then, I love that plugin. Simply said, this plugin allows you to fix websites :-) . First thing I did after installing it was to fix my bank website, which was forbidding me to go straight to the login page and was also forcing me to open the login page in an other tab/window. Greasemonkey allowed me to fix that with one line of code (really only one line, and a simple one in that case). Greasemonkey also has a lot of user contributed scripts for several websites (from that I found one fixing the download links on Jamendo (in order to download directly the OGG Vorbis version of an album (which is not possible from the website) and without opening a stupid download window)).

Something I love, on the scripts website, is the following sentence, at the bottom of the website: “Because it’s your web”.

How to fix the autocomplete attribute with Greasemonkey? My first try, was with my company’s Outlook Web Access (yes, unfortunately there are some people/companies actually paying for that), and guess what? Somebody already did a script for that: Allow Browser To Save Outlook Web Access Password.

So I was wondering: “do I have to do a script on every website that use autocomplete="off"”? I ended up, a few minutes after, with that script (note: I don’t know javascript at all, any comments to improve this script is welcomed):

// ==UserScript==
// @name           Turn ON autocompletion
// @namespace      http://desgrange.net
// @include        *
// ==/UserScript==
(function() {
	function turnAutocompleteOn(element) {
		if(element.hasAttribute('autocomplete')) {
			element.setAttribute('autocomplete', 'on');
		}
	}
 
	for(formKey in document.forms) {
		turnAutocompleteOn(document.forms[formKey]);
	}
 
	var inputs = document.getElementsByTagName('input');
	for(var i=0; i<inputs.length; i++) {
		turnAutocompleteOn(inputs.item(i));
	}
})();

It’s a bit brutal, on every pages you visit, it looks for all forms and all input tags having the autocomplete attribute and set it to “on”. I don’t know how often this autocomplete attribute is used, so I don’t know yet the side effects of doing that on every pages (that’s why I have not put this script on http://userscripts.org yet).