Olivier's Adventures in Wonderland

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

mardi 26 mai 2009

Moovida 1.0 is out

Good news everyone!

After a very intense design and code sprint, we finally released Moovida 1.0, formerly known as Elisa. A lot has changed in this release.

The name of course, meant to better reflect the spirit and image we want to give to the project: it is fun (to use and to work on), it is moving (fast), it targets a wide audience (from your little brother to your grand mother).

The visual appearance of the whole thing is a revolution in itself: designed from the ground up with ease of use, professional look and consistency in mind, it offers a much better media experience and a world of possibilities for us to build upon and extend its functionalities.

A huge number of bugs were fixed, overall performances improved and the code was cleaned up a lot.

The last two weeks were very intense, we had a tight deadline to stick to and I think we managed quite well considering the constraints. Kudos to Florian and David who invested an incredible amount of time and energy in this milestone, and of course to the whole team: the result we achieved is a great piece of team work.

A lot remains to be done, and we are already hard at work on fixing critical bugs to make this release as stable as possible, introducing new features, polishing some parts of the UI that didn't get as much love as would have been needed, communicating, planning... In a word, making moovida better every day.

Don't hesitate any longer, try it out, you will love it. A Windows installer is available on our website, and Ubuntu packages (for Hardy, Intrepid and Jaunty) are in our PPA. Questions, suggestions and bug reports are more than ever welcome: Moovida is your media center, we need your feedback!

I will be speaking of Elisa^W Moovida at GCDS in July: desktop integration and fancy UI experimentations with 3D interfaces will be on the table. GNOME and KDE folks, see you there!

dimanche 19 octobre 2008

Bicing Barcelona

One of the things that make life easy in Barcelona is its efficient public transportation system. Living in the suburb, every morning I take the train to go to work. When I arrive at Plaza Catalunya, I am almost there but there is still a good 20 minutes walk to go to the World Trade Center. That would be without Bicing, the community bicycle program that allows me to get a bike with my RFID card, cycle down the Ramblas and drop it at one of the stations next to the entrance of the WTC. Well, in theory...

Like many good ideas, Bicing is a victim of its own success. In the morning, a hell of a lot of people use Bicing to commute to work, and as there is quite a lot of people who work in the WTC, the two stations, with merely 60 spaces, are very early full of bikes. The solution comes in the form of vans that patrol the city, collect bikes from the full stations and repopulate the empty ones, to equilibrate the flow. Unfortunately the action of these vans is not fast enough in rush hours, and in the morning it is not uncommon to have to wait for quite some time before the van, awaited as the messiah by a dozen of commuters, shows up.

So I came up with the idea of collecting data about the stations I am interested in as a user. This data would, hopefully, help me predict in a reliable manner when and where I am sure to find some space to park a bike, so as to adapt and optimize my morning routine (that is, which train I should take). Bicing provides on their website a map of the city with the stations and the availability of the bikes in real-time. They are using Google Maps' API to build this map, and although the result is quite fancy, everybody seems to agree it is not really usable because too small (and really slow). There are some alternatives provided by users, more usable but still not quite what I am looking for. Until Bicing decides to provide an open API, let's scrape some data!

To the point directly, the two questions to answer are:

  1. Where to get the data from?
  2. How to get it?
Once this is answered, it is just a matter of writing a quick script that will do the job. Now, here are the answers:
  1. http://bicing.com/localizaciones/localizaciones.php
  2. A regular expression: exml.parseString\('(.*)'\);, and an XML parser
In fact when one browses the map and clicks one station to get the information about the availability of the bikes, the data is not updated real-time. One has to reload the page for fresh data. And all the data is stored as XML in a piece of Javascript, in a call to this exml.parseString method.

I wrote a quick Python script that retrieves the data, parses the XML and populates a list of stations with the available information (name, GPS coordinates, bikes available and free spaces). It is licensed under the GPLv3, well documented and available as a bzr branch on Launchpad at: lp:~osomon/+junk/bicing (you can also browse and download the code at http://bazaar.launchpad.net/~osomon/+junk/bicing/files).

Now I need to find how to make the most of this data. I was thinking of regularly polling for a given set of stations over a given period of time, storing the data and then drawing a graph, to better understand the data. I will probably publish my findings in a next article, stay tuned!

vendredi 17 octobre 2008

Roadtripping Andalucía

Malgré un titre prometteur mi-anglais mi-espagnol, une fois n'est pas coutume c'est en français que je recommence à écrire. Je n'ai pas trouvé de traduction accrocheuse pour roadtripping (ça sonne bien non?), car c'est bien de ça qu'il s'agit : un peu plus de 2500km en voiture, pendant deux semaines sur les routes d'Andalousie, à la découverte de la région.

Dimanche 14 septembre 2008 : Sabadell - Tarragona

Pour s'échauffer, une première étape très tranquille et un premier arrêt chez mes amis Jordi et Camille, fraîchement revenus de Nouvelle Calédonie, à Tarragona. En plein coeur de la Catalogne, nous déjeunons d'un copieux boeuf bourguignon accompagné d'un non moins copieux gratin dauphinois! Ballade dans Tarragona, sans rien calculer nous sommes arrivés le premier jour des fêtes de la ville qui pour l'occasion est en effervescence, nous assistons donc à un concert de rue en buvant la boisson locale qui coule à flot pendant une semaine : la mamadeta.

Tarragona

Avec Jordi et Camille, à Tarragona.

Lundi 15 septembre 2008 : Tarragona - Cabo de Gata

Cap sur l'Andalousie et la province d'Almería. Après une journée de route, nous arrivons au camping de Cabo de Gata en début de soirée. Le lendemain matin, changement de camping, nous déménageons à las Negras, un joli petit village sur la côte est du cap. Le Cabo de Gata est un parc naturel, la côte est très bien protégée et donc sauvage, les paysages y sont grandioses : un désert montagneux qui se termine en falaises qui plongent dans la Méditerrannée. Après-midi détente à la plage du Playazo, quasi déserte en cette saison. Le jour suivant, nous décidons de visiter l'intérieur des terres en voiture, ce qui nous vaut une mémorable traversée de la sierra de alhamilla et ses virages à n'en plus finir. Nous arrivons finalement à la célèbre playa de los muertos. La nature majestueuse y est malheureusement défigurée au nord par une immonde centrale thermique. Le soir nous assistons aux fêtes du village de Níjar, sorte de banquet populaire d'un autre temps où tous les villageois, du plus vieux au plus jeune, sont habillés en costume traditionnel andalou (robes colorées pour les femmes, chemise, chapeau et bottes de cavalier pour les hommes). Le lendemain, après une matinée farniente au Playazo qui nous a décidément vraiment plu, nous reprenons la route.

El Playazo

Coucher de soleil au Playazo.

Jeudi 18 septembre : Cabo de Gata - Pitres

Après le bord de mer, la montagne. Nous faisons étape au camping de Pitres, dans les Alpujarras de Granada (versant sud de la Sierra Nevada). Les villages perchés de ces montagnes sont, comme les fêtes de Níjar, d'un autre temps. Un ingénieux système de canalisations et de fontaines, hérité des Arabes, les alimente en eau de montagne. Tous ces villages subissent actuellement un profond changement de population, les enfants du cru ayant presque tous fui pour la ville, et les nouveaux arrivants étant pour la plupart des étrangers qui viennent chercher l'air pur. On peut même trouver dans les parages des communautés de hippies qui vivent au plus proche de la nature. Le bureau de tabac du coin d'une petite place de Bubión et son unique ordinateur valide nous permet de nous connecter à internet et d'acheter des entrées pour la visite de l'Alhambra et pour un concert de la Biennale de flamenco de Séville. Pour cause de pas de choix dans la date, changement d'itinéraire : nous passerons d'abord par Séville, puis Cordoue, pour terminer par Grenade. Quelques superbes promenades dans la nature plus tard, et un déjeuner dans un restaurant où le chef irakien nous explique le secret de l'hummus, nous voilà en route pour la capitale de l'Andalousie, Séville.

Capileirilla

Vue sur les Alpujarras depuis Capileirilla.

Samedi 20 septembre : Pitres - Sevilla

Arrivés pas franchement tôt à Séville, nous avons tout juste le temps de trouver une pension (le centre ville en regorge) et de reprendre la voiture pour aller au concert Rock Andaluz, un hommage aux visionnaires qui il y a trente ans commencèrent à mélanger le rock et le flamenco. C'est pour moi une découverte complète, je manque de culture mais les groupes comme Pata Negra, Cai, Tableton, Imán Califato Independiente, m'ont bien plu. Couchés vers 4h30 du matin, nous ne commençons notre promenade dans Séville que tard le lendemain, pour visiter la Cathédrale et sa célèbre tour, la Giralda, seul vestige de la mosquée qui occupait l'endroit avant la reconquête, la Plaza España, le parc Maria Luisa, et passer de nuit au pied de la célèbre Torre de Oro qui garde la rive est du Guadalquivir. Le lendemain, retour à la civilisation oblige, matinée shopping de rigueur, puis visite du quartier gitan de Triana de l'autre côté du fleuve, et nous terminons la journée à la Carboneria, célèbre tablao où nous assistons à un spectacle de flamenco. Le mardi avant de reprendre la route, nous visitons le Real Alcázar, palais-forteresse des rois musulmans puis chrétiens.

Sevilla

La Giralda vue depuis le Real Alcázar.

Mardi 23 septembre : Sevilla - Córdoba

Arrivés en fin de journée à Cordoue, l'ancienne capitale du royaume arabe dans la péninsule, nous nous installons dans une pension tenue par un personnage doté d'un débit de paroles incroyable. Toujours un bon mot ou une histoire à raconter, au bout de 5 minutes d'attention constante je suis épuisé! Moment détente avec un passage par le hammam, une expérience inoubliable, puis dîner de tapas dans le quartier juif. Notre étape à Cordoue étant courte, la matinée suivante est consacrée à la visite de la célèbre Mezquita, la mosquée-cathédrale. Construite par les musulmans c'est un lieu de prière et un labyrinthe de colonnes immense et d'une beauté envoûtante. Après la reconquête par les rois chrétiens, contrairement à leurs habitudes, les nouveaux maîtres des lieux décidèrent de ne pas détruire la mosquée, mais de construire une cathédrale dans la mosquée. L'histoire dit que l'empereur Charles Quint, qui avait autorisé les travaux, se repentit en voyant le résultat, admettant que l'édifice gothique en plein centre de la mosquée avait brisé l'harmonie du lieu. Il n'en reste pas moins que ce complexe, seul du genre au monde, fait rêver en évoquant des splendeurs d'un autre temps.

Córdoba

La Mezquita.

Mercredi 24 septembre : Córdoba - Granada

Arrivés à Grenade en fin de journée, nous nous installons dans une pension aux portes de l'Albaicín, le quartier arabe. La journée de jeudi est consacrée au repos et à la visite de l'Alhambra l'après-midi. Cette imposante forteresse qui domine la ville fut construite par les rois musulmans et abrite plusieurs palais d'un raffinement extrême et des jardins luxuriants. C'est au sommet de la plus haute tour, la torre de vela, que les rois chrétiens Isabelle et Ferdinand firent hisser leurs drapeaux en 1492 comme symbole de la fin d'une reconquête longue et sanglante. Comme partout en Andalousie, de massifs édifices gothiques (ici un palais, une église et un couvent) côtoient les arabesques, dans un mélange architectural étonnant, presque dérangeant. Du souvenir de cette journée je déplore l'afflux touristique et les informations très compliquées et contradictoires sur les contraintes de la visite, et j'envie un diplomate américain, Washington Irving, qui dans les années 1820 séjourna dans l'Alhambra à l'époque où le tourisme n'avait pas encore été inventé, et y écrivit ses célèbres Contes de l'Alhambra. La journée du lendemain est consacrée à une grande promenade dans la ville et dans l'Albaicín. Depuis le mirador de San Nicolás, où on peut écouter la complainte de quelques guitares gitanes, on jouit d'une vue d'exception sur l'Alhambra et son palais d'été, le Generalife. Nous décidons de renouveller l'expérience hammam pour le plaisir des corps, puis nous trouvons un bar où, conformément à la tradition (que je commençais à prendre pour une légende urbaine), pour chaque demi commandé on vous sert une copieuse assiette de tapas. On y resterait toute la nuit!

L'Alhambra

L'Alhambra. Imposante, majestueuse, envoûtante.

Samedi 27 septembre : Granada - Sabadell

Une journée complète dans la voiture, de midi à minuit, en passant par les petites routes andalouses avant de rejoindre les grands axes autoroutiers. Et retour au bercail, des souvenirs plein la tête. L'Andalousie est magique.

jeudi 5 juin 2008

News from Elisa

I still don't have internet at home and little spare time during working hours so I'm blogging asynchronously. Reminds me of the good ol' days when I was writing my mails at home, then pushing them on a USB stick to send them from wherever I could find a connection... A lot of things happened since last time I wrote about Elisa and my work at Fluendo Embedded.

I have been working on re-designing and implementing the new elisa.fluendo.com, the old website being a customized wordpress, quite inadapted, neither easy to tweak nor to maintain. Not to speak about the contents and this terrible download button which I could not locate the first time I visited the website, back then as an interested potential contributor. The idea was to deliver a true community website with a professional design, and I think that to some extent we kind of managed that. The feedback is pretty good so far. David, our designer, has been working hard at sketching and Guido and I have been working equally hard at implementing it. After two weeks struggling with CSS theming, my conclusion is that CSS, in their current implemented version (2.1), suck. And their implementation in that piece of crapware that Microsoft dares to call a browser sucks incredibly more. To the contrary, coding the backend has been lightning fast and pure pleasure, using Django, of course.

In parallel, we have completed the transition from subversion to bazaar for source code versioning, the migration from Trac to Launchpad for bug tracking and from Trac to MoinMoin for the wiki. We are now using extensively Launchpad and the blueprints system to write specifications. And we have set up a public Bundle Buggy instance (which we were already using privately) to track merge requests and enforce a review process that ensures better code quality.

Meanwhile, the whole team is focused on our next release, Elisa 0.5. The new REST architecture has already proven to be as flexible as expected, yet there are lots of features we need to implement before we can release anything. We are currently designing the brand new user interface from scratch with strong usability constraints, implementing the widgets needed, writing new resource providers (Flickr, Amazon, Youtube, Shoutcast, ...), writing an efficient database backend and a new player, among other things.

Next news from the world of Elisa with the next release, stay tuned!

mercredi 14 mai 2008

A big step towards Elisa 0.5

The last weeks have been quite busy workwise, and I'm proud to announce that we finally released a first glimpse of what Elisa 0.5 is going to be.

What was formerly known as the new REST architecture is now officialy the 0.5 development series. Elisa 0.5 is a complete rewrite of the core of Elisa to overcome all the problems encountered with the old architecture and make it easily extensible. The plugin system was already in place, but with the new architecture we made it much easier to write new plugins, including pieces of UI, which formerly required nasty hacks and a significant integration effort.

This early release is of course intended for developers, it is not by any means a stable version, it is not packaged and it does not even have the basic Media Center functionalities. But everything needed to start playing with it is present.

If you cannot wait to get your hands on it, check out the bzr branch from launchpad:

bzr branch http://bazaar.launchpad.net/~elisa-developers/elisa/0.5 elisa

You will need a development branch of pigment for the python widgets, see http://elisa.fluendo.com/contribute for instructions on how to get started.

We are aware that so far Elisa's weak point was the lack of documentation, and we have put special efforts in improving this. The API documentation has been updated, and two brand new tutorials will help you write a plugin from scratch.

We have changed a lot of things in the development process of Elisa, and I must say it is a real pleasure to work on this project. We are now using Launchpad in conjunction with bzr to manage our source code. All the bug reports from the Trac are being migrated as I am writing. Working with bzr branches allows a tremendous gain in efficiency and code quality: before merging a branch into the main development branch, the changes have to be reviewed by at least two other developers. The whole review process is tracked by a Bundle Buggy instance (currently private, but the reviews happen on the elisa-commits public mailing list). Code quality has been reinforced with the arrival of a QA manager in the team, we now have better and more relevant tests, and code coverage statistics.

The most exciting is to come though, because we can now start writing the real Media Center features, and trust me, we are not short of ideas!

A quick word on the win32 port, our Windows team deserves it, they invested a lot of efforts into porting to Windows the 0.3 branch (formerly known as trunk). An alpha release with an installer for XP and Vista is now available, we expect to deliver a stable version in June!

Stay tuned for more exciting news and surprises, the coming weeks should not be disappointing.

lundi 14 avril 2008

Never say...

... to a proud Catalan that Catalan is just a mix of Spanish and French. He might not take it very well.

What I meant, really, is: to my clumsy ear it vaguely sounds like a mix of Spanish and French. It does.

But well, as all Catalans know, French is only Catalan badly spoken. Or was it the contrary?

mercredi 9 avril 2008

Benvinguts a Barcelona

No internet at home :-(

I know, I should be ashamed. I mean, I have been in Barcelona for more than a month now, and I still haven't managed to buy/borrow/hack an internet connection. Tonight I had planned to finish hacking on this http_client plugin for Elisa, but stupid me, I didn't check whether I had all the necessary packages installed on my laptop. And I don't (my kingdom for a python-twisted-web2 package!). So it's going to be long-delayed blogging instead, reading and getting some sleep, it will do me good.

Now for the news about life, work and related stuff: life is good down here in Barcelona! Really. I live in a small flat in the very centre of Barcelona, in el Raval, which I share with two Spanish girls, Carmen and Belen, both very nice (sorry mates, no pictures, my camera is broken again, a drunk friend of mine wanted to show me how she was perfectly able to handle it...). Hay un muy buen rollo en casa, and I get to practice my spanish more than at work. The flat is located in a very lively street with lots of small shops, groceries, bakeries, bars, pakistani restaurants, and I really enjoy getting lost in all the small streets in the surroundings and discovering hidden places. In the mornings I walk to work, it takes me 20 minutes to cross el Raval and the port to get to the World Trade Center, where the offices of Fluendo are.

It has been already more than a month that I work for Fluendo Embedded on the Elisa media centre project, and time flies. The project is really exciting, and I'm working with a very motivated team. We were 10 when I arrived, we are now 14, and we even have a dedicated graphist, a QA manager and a Windows team! The goal is quite simple: make Elisa rock. To many extents it already does, but there is still a lot of work, and we have a huge TODO list with tons of killer features. Elisa 0.3.5 is already in the main repository of Ubuntu Hardy, and we are currently working hard on the next release based on a new core architecture, I'll have the occasion to write more about it as I am now fully involved in this part of the code.

In my spare time I'm enjoying the day and night life of Barcelona, I'm going to start looking for capoeira classes again (I really need to do some sport) and I now have a catalan girlfriend with whom I spend a lot of my spare time, and I really enjoy it. All this leaves me with little time to hack on personal projects, but it's definitely something which I need to do more (who said sleep less?), pyexiv2 is not dead, and I also plan to build apps on top of it once I'm happy with the current draft API.

I hope to find more time to write on this blog, mostly technical articles and related thoughts, if you have read until this point, stay tuned!

PS, to the Antibes crew: I miss you guys! When are you coming to visit me? And will I still receive the mails for the CocktailOnTheBeach™ parties?

lundi 21 janvier 2008

Things I'm gonna miss...

Went snowboarding this week-end.

Auron

With such a good snow, I had almost forgotten I live 250 metres from the beach...

Fort Carré

jeudi 3 janvier 2008

Playing with GStreamer

I recently got to appreciate the possibilities offered by GStreamer when I started playing with my new toy and the videos it records.

Nothing to say about the videos themselves, except that the quality is really good, with a maximum resolution of 640x480, sound (mono), and a maximum length of 10 minutes, more than enough for short video clips. Not that I shoot lots of video clips, but I do from time to time and for the sake of archiving them I needed to fix the rotated videos (a really bad habbit of mine to shoot with my camera rotated 90° clockwise), and of course store them in an open format that I'm sure can be decoded even in 50 years.

For this purpose, GStreamer seemed like the perfect tool. By default the videos, once transferred to my laptop, open with Totem (with GStreamer as a backend). There was the first glitch: no sound for my videos in Totem, and as a side effect, the video would sometimes not play (but sliding a little bit would trigger it correctly). However, both VLC and MPlayer could successfully decode both the video and the sound. A quick look at the console output of MPlayer showed that indeed the sound is not decoded by FFmpeg, which kind of explains why GStreamer cannot decode it:

ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
VIDEO:  [avc1]  640x480  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [imaadpcm] IMA ADPCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 177.1 kbit/25.10% (ratio: 22136->88200)
Selected audio codec: [imaadpcm] afm: imaadpcm (IMA ADPCM)
==========================================================================

Whatever the imaadpcm audio codec is, I could not find any GStreamer plugin (good, ugly or bad) to decode it. So the solution I came up with was to use MPlayer to extract the audio track to PCM uncompressed sound and then use the GStreamer magic to encode it in the suitable format (namely Vorbis) and remux it with my video into an Ogg container, previously encoded to a suitable format itself (namely Theora).

Here is how to extract the audio track using MPlayer (will be dumped to a file named audiodump.wav):

mplayer -vc null -vo null -ao pcm -benchmark video.mov

Here is how to play the extracted sound using gst-launch:

gst-launch filesrc location=audiodump.wav ! wavparse ! osssink

I won't go into details on how to use gst-launch to build and test GStreamer pipelines, the man page is a good pointer to start, and there exist a bunch of good tutorials. Here is a slightly more complicated pipeline that encodes the extracted audio track to Ogg Vorbis:

gst-launch filesrc location=audiodump.wav ! wavparse ! audioconvert ! vorbisenc ! oggmux ! filesink location=audio.oga

Next step is to extract and decode the video:

gst-launch filesrc location=video.mov ! qtdemux ! ffdec_h264 ! xvimagesink

We can now play both the video and audio parts in sync:

gst-launch filesrc location=audiodump.wav ! wavparse ! osssink filesrc location=video.mov ! qtdemux ! ffdec_h264 ! xvimagesink

Almost there, now let's encode everything and stuff it into an ogg container:

gst-launch filesrc location=audiodump.wav ! wavparse ! audioconvert ! vorbisenc ! oggmux name=muxer muxer. ! filesink location=video.ogv filesrc location=video.mov ! qtdemux ! ffdec_h264 ! theoraenc ! muxer.

Now rotating the video is just a matter of adding a videoflip element to the pipeline (can you guess where?), and the quality of the resulting video can be adjusted with the properties of the vorbisenc and theoraenc elements.

With the help of a simple shell script gathering these elements and placed in my $HOME/.gnome2/nautilus-scripts/, I can rotate and re-encode my videos with a simple click in Nautilus. Easy!

Now the next step would be to add relevant metadata to the videos, such as the author, the place where it was shot and the date and time. Unfortunately, according to Wikipedia, "Currently, there is no official standard for including metadata in Ogg containers [...] Metadata must currently be included in the codec. There is fairly good software support for Vorbis metadata — often referred to as comments. But software support for Theora and FLAC comments in Ogg containers is very limited." Yes, it sucks... The solution is to go with the Vorbis comments, but it does not seem feasible to set tags using only gst-launch (or did I miss something?): one needs to develop a GStreamer application, using for example one of the numerous bindings. Needless to say, I'm going for the Python one!

mercredi 2 janvier 2008

¡Feliz año nuevo!

Happy new year! Bonne année! Bon any nou!

To many extents 2007 has been a wonderful year for me.
I've seen a summer on the French Riviera, enjoyed the sun, the sea and the beach parties.
I graduated my MSc in England, I visited my friends in Czech Republic and practised my wakeboarding style in Spain.
I practised intensively my spanish, learnt italian and even took salsa classes!
I've met many great people, some of whom are and will remain very close friends, wherever I or they go.
And it ended with a big party with almost all my old friends from high school in Normandy, and as far as I'm concerned I don't know any better way to conclude such a rich year!

2008 is here already, and it's very promising. For me it's going to be the spanish year: in March I'm moving to Barcelona, where I'm going to work for Fluendo Embedded on the Elisa media center project. And I know I'm going to love it: I'm really excited about the job and I can't wait to start, and Barcelona is a wonderful city for what I know of it (yeah, true, mostly night life...).

No list of new year's resolutions, but one aim: enjoy. Enjoy friends, enjoy work, enjoy passions, and enjoy every single moment, because after all that's what it's all about, isn't it?

And write more. Maybe. Stay tuned :)

dimanche 1 avril 2007

Unchain my mailbox (baby let me be)

Puisque je me suis remis à bloguer, j'en profite pour vous gratifier d'une réaction à chaud sur un sujet qui commence à me courir sur le haricot. Un coup de gueule quoi, mais pesé, puisque ça fait longtemps que ça me démangeait. Les chaînes de mail...

Par pitié, un peu de jugement et d'esprit critique! Je suis déjà suffisament spammé (une vingtaine de spams par jour sur deux boîtes mail, et je pense que je ne m'en tire pas trop mal, surtout qu'avec un peu d'entraînement, Thunderbird ne laisse rien passer), pour que mes amis n'en rajoutent pas une couche.

Il y a beaucoup de types de chaînes par mail, allant du "répondez à ces 47 questions pour trouver l'amour" aux sollicitations pour sauver un bébé atteint d'une maladie rare, en passant par les parodies (celles-là aussi me gonflent). Vous croyez vraiment qu'AOL et ZDNet vont donner des sous à chaque fois qu'un mail est transmis (en plus du fait qu'il est techniquement impossible de tenir un tel compte), ou que Ericsson va vous offrir un téléphone portable ? Aïe... On ne vous a pas mis au courant ? Le père Noël n'existe pas. Désolé pour cette cruelle déconvenue. Moi aussi je suis tombé de haut quand je l'ai appris, mais j'avais 7 ans.

J'ai reçu aujourd'hui un mail dont le contenu ressemblait à ça :

----- Message transféré ----
S'il vous plait faites le suivre !
merci d'avance.

avec, en pièce jointe, le fichier FAIRESUIVRE.doc.

Formidable! D'une part on ne me demande même pas de le lire, il faut faire suivre... D'autre part, aucune information sur le contenu de ce document, on croit donc les gens assez stupides pour l'ouvrir sans se méfier (et malheureusement on n'a pas tort).

Pour que l'exemple soit complet, il fallait bien que j'ouvrisse ledit document (oh le bel imparfait du subjonctif!), or gmail offre une fonction bien pratique qui permet d'afficher un aperçu d'un document Microsoft Word au format HTML. En substance, car je ne vais pas reproduire le document en entier ici, cette chaîne fait partie de la deuxième catégorie, c'est un appel au secours pour aider à sauver la petite Noëlie, 1 an, atteinte d'une leucémie rare. L'originalité dans cette chaîne, c'est qu'elle est partie d'un fait réel et d'une bonne intention. Et c'est finalement le plus terrible : cette chaîne est apparue en novembre 2003, Noëlie est décédée le 1er juin 2004, et le mail circule toujours, déformé et dans différentes versions.

Ça fout une claque, non ? A tous les gens qui consacrent quelques minutes par jour à faire circuler ces choses, je vous suggère de prendre quelques minutes pour aller lire l'article concernant Noëlie sur hoaxbuster.com. Là vous aurez fait quelque chose d'utile.

Et à l'avenir, un peu de jugeotte avant de cliquer plus vite que votre ombre, utilisez votre cerveau et hoaxbuster.

Post-scriptum : si malgré tout le suivi de chaînes de mail vous démange, que vous êtes accroc, alors prière de me supprimer de votre carnet d'adresses à tout jamais. Merci d'avance.

dimanche 25 mars 2007

Une famille libre

Il semble que mes efforts pour communiquer mes préoccupations inform-éthiques dans mon entourage ne soient pas complètement vains, malgré mes arguments pas toujours très au point.

Ma maman et mes soeurs étaient depuis un certain temps déjà des utilisatrices enthousiastes de Firefox et Thunderbird. Aujourd'hui je suis très fier de ma p'tite soeur qui vient d'acheter un ordinateur portable. Pas tant pour l'achat d'une machine, bien qu'en soi ça soit une bonne chose, on est toujours plus motivé pour apprendre sur son propre joujou. Non, je suis fier d'elle parce que son premier réflexe a été de chercher une machine sans Windows Vista. Pour acheter une machine sans Windows aujourd'hui, à cause du problème de vente liée, la seule solution consiste à acheter un Mac. Windows d'accord (enfin pas le choix), mais alors Windows XP (un moindre mal à côté de Vista, même si j'imagine que le XP en question est la version SP2 avec le CLUF plein de DRM). Et devinez quoi? A la FNAC, pas moyen d'acheter une machine sans Vista. Le rouleau compresseur Microsoft est en marche, pas de doute.

Je m'égare. Deuxième motif de fierté : le premier réflexe de ma soeur, qui a voulu installer Firefox et Thunderbird à la place des logiciels par défaut honteusement mauvais que sont Internet Explorer et Outlook Express. Un petit coup de main (de fil en fait) pour la configuration de son compte mail, et tout fonctionne comme un charme.

Je lui ai également fait installer OpenOffice.org, et elle est motivée pour apprendre à changer ses habitudes, je pense donc pouvoir tabler rapidement sur une disparition de Microsoft Office de son disque dur, encore une très bonne nouvelle (pour moi, mais surtout pour le libre et pour l'intéropérabilité).

Enfin le point le plus important : ma maman et mes deux soeurs ont envie de passer au tout libre. Pour une migration sans douleur, l'ingrédient indispensable est le geek maison, bien pratique à toujours avoir sous la main. N'étant pas précisément tout près de la Normandie, je prévois donc de prendre une semaine de vacances dans un futur pas trop lointain pour installer Ubuntu sur les 4 machines concernées (deux postes de travail, deux portables) et surtout former les principales intéressées et répondre à toutes leurs questions.

Que du bon tout ça!

mardi 6 mars 2007

Free the software!

Heard twice in a few days software engineers who are working with free software (GNU/Linux, gcc, gdb, CVS, doxygen) everyday mix up free software with freeware.

People need education. Let's start with software engineers...

lundi 26 février 2007

FOSDEM 2007

I haven't been blogging for some time now (almost 5 months, wow) but I cannot resist making a report of what has been a fantastic week-end. I was in Brussels, Belgium, for three days, mostly attending the FOSDEM conferences and enjoying the rich and subtile flavours of belgian beers.

This was my first time in a free software summit, and I must say I am not disappointed! There was a huge number of beards per square meter and one could feel geekiness in the air. All these developers, ranging from the free software guru to the anonymous hacker (and I am one of them), these thrilling conferences, the no less thrilling conversations with other hackers, great ideas emerging from technical discussions, all of this was just great.

The week-end really started on Friday night, when I arrived at the youth hostel in the city centre where I met Guijemont. From there we headed towards the Roy d'Espagne, a famous pub on the Grand' Place, where the pre-FOSDEM Friday beer event is held before every edition, in a huge room full of hackers from all over Europe (and even further). Waitresses carrying big trays full of belgian beers were trying to keep up with our drinking pace, it must have been a trying night for them!

The serious stuff started on Saturday morning, in Université Libre de Bruxelles, with the first conference, Software patents in Europe by Pieter Hintjens. Then Jim Gettys gave an impressive presentation of the OLPC project, which is amazing. Knowing that making free software allows us, in a way, to make the world better is a great feeling.

After a lunch break, a round of all the stands (Mozilla, Debian, Gentoo, FSFE, Ubuntu, Google, FreeBSD, and many others) and bringing my modest donation to FOSDEM (I got a nice t-shirt!), back to the lecture and developers rooms with lots of interesting stuff: X.Org by Keith Packard (or how to explain the correlation between hacking on X and heavy drinking), What's new in GStreamer by Edward Hervey (whom I had met at a party in Barcelona), Linux Kernel by Andrew Morton, Django by Pim Van Heuven (or how to make web development sexy), and finally Gnome apps with Scheme by Andy Wingo (also seen in Barcelona). In the afternoon, Kaleo joined us, freshly arrived from Barcelona, and Toto also came from Lille. That was the Hull Dream Team reloaded!

It had been a rich day, and the best way to conclude it was in a pub around a few pints, after a well deserved dinner in a restaurant.

After a short night, the show went on with, again, lots of conferences. In the morning, I attended Security testing by Pete Herzog, Metasploit Framework by its main developer, H. D. Moore (very impressive features for security probing), and Elisa by Philippe Normand (Kaleo's project leader, also met in Barcelona). After a short lunch break, Kaleo has to leave to catch his flight back to Spain.

We then attended OpenOffice.org - OpenXML by Michael Meeks and the end of Miguel de Icaza's presentation of Mono, during which an asshole made pointless remarks in a terribly bad english, confusing Linux, open source, proprietary software, profit making... The living proof that, yes, in the free software world too, we have our lot of jerks (although this one was an award winning one, and I tend to think the proportion of such persons in such an event is very low, he was probably the only one). We stayed in the same lecture room for the presentation of GDB tracepoints and their use in kernel debugging, by Jim Blandy, and then Federico Mena Quintero's Profiling Desktop Applications. This guy is a real showman and he knows his topic, now I really want to hack on Gnome (if only days were more than only 24 hours...) !

What does an API look like ?

If you ever doubted it, here is the truth: APIs are like big green monster hidden in flower pots.

We finished with a presentation entitled Linux in embedded security devices by Jan Veldeman, a bit disappointing on the contents, but no regret as there were no other conferences at that time.

And that was it, in a flashlight FOSDEM 2007 was already over, my head was full of great stuff, ideas, projects, a little bit disorientated by the lack of sleep, we headed towards the bus stop under the rain.

Bye bye Brussels, see you next year! And thank you so much to the volunteers who organised all this so well and made it possible, you guys did a wonderful job!

samedi 30 septembre 2006

Transition

Fin

Un peu plus d'un an après mon exil en Angleterre, je reviens au pays. Départ prévu demain, train Hull-Londres puis Eurostar. C'est donc la fin d'une belle aventure, sans conteste la meilleure de mes années d'études (et la dernière, j'ai donc fini en beauté), et je dois avouer que j'ai le blues de quitter ce campus et tous ces gens qui pendant un an ont été mon chez-moi et ma famille.

C'était il y a un an, et ça me paraît des siècles, tant j'ai vécu et apprécié la vie à Hull. Petit bilan de cette année inoubliable à bien des égards. Je suis venu à Hull pour trois bonnes raisons :

  • Fuir Evry. Je n'ai jamais regretté mon choix de l'IIE, mais vivre un an à Evry et passer une seconde année à faire des aller-retours quotidiens entre Paris et Evry m'a sérieusement motivé pour partir. Loin. Changer d'air.
  • Apprendre à parler anglais. Soyons sérieux, à de rares exceptions près, l'enseignement des langues en France est totalement inadapté, et pour pouvoir prétendre parler couramment anglais sur son CV sans mentir éhontement, un an dans un pays anglophone n'est pas superflu.
  • Faire de la recherche. L'idée de passer une année complète à faire de la recherche dans un cadre universitaire me plaisait, et il y a un an je ne savais honnêtement pas si je m'orienterais vers un doctorat ou la recherche d'emploi par la suite.

Partir

A l'origine je ne suis pas vraiment un globe-trotter, en fait plutôt un pantouflard tendance charentaises. Partir un an à l'étranger, même si cet étranger est à deux heures d'avion, pour moi c'était donc une décision importante. Que je n'ai pas regretté une seule seconde! Ma découverte de l'Angleterre s'est faite dans des conditions idéales : vivre avec des étudiants internationaux en bordure d'un campus universitaire magnifique, que demander de plus? Changement d'air garanti!

Malgré notre proximité géographique avec les anglais, j'ai découvert un fossé culturel que je ne soupçonnais pas, et qui va bien au delà du cliché (pourtant terriblement vrai) d'une gastronomie quasi-inexistante. Je n'ai pas d'explication valable, mais le fait est que les étudiants anglais et internationaux se mélangent peu, voire pas. Et c'est bien dommage. J'ai donc rencontré beaucoup plus de gens du reste du monde que d'anglais cette année. Je n'ai jamais fait le tour du monde, la seule fois où je suis sorti d'Europe c'était pour aller à la Réunion, un DOM, et pourtant j'ai noué des amitiés avec des gens de partout dans le monde, en un an à Hull. Mon seul regret, c'est de n'avoir vraiment connu la plupart de ces gens que très tard, pour la plupart à l'occasion de l'International Welcome Week de septembre 2006. Mais je reste en contact avec eux, je reviendrai les saluer à Hull à l'occasion d'une ou deux house parties, et j'ai définitivement envie de voyager et de voir le monde.

Do you speak english?

Selon les standards scolaires français, j'ai toujours été considéré comme bon, voire très bon, en anglais. J'ai eu mon TOEIC avec un score de 975 sur 990. Et pourtant, quand je suis arrivé en Angleterre, j'étais comme tous les Français dans mon cas : complètement largué. Là où les Allemands, les Polonais, les Suédois, les Belges, et même bon nombre d'Asiatiques, parlent déjà couramment, comprennent bien et on un accent acceptable, les Français on un niveau déplorable. En un an j'ai fait des progrès considérables, surtout en compréhension des différents accents, en prononciation et en vocabulaire. Mais je suis encore très loin d'être bilingue.

Il y a sur le campus de Hull beaucoup de Français. Beaucoup trop, en fait. La plupart viennent pour faire du business, en provenance d'écoles de commerce. Ils viennent par gros paquets (jusqu'à 50 par an pour une école) et ont une fâcheuse tendance à rester en cercle fermé, à habiter ensemble, à faire des soirées franco-françaises, et à ne faire aucun effort pour parler anglais, même en présence de gens qui ne comprennent pas le français. Une attitude que je trouve insupportable. Même si certains sont des gens bien, j'ai tout fait pour les fuir, et croyez moi, ils donnent une bien mauvaise image de la France sur le campus.

Au début de l'année, j'ai brièvement eu un colocataire écossais. Je ne pipais pas un mot de ce qu'il racontait. Je serais curieux de voir à quel point je le comprendrais maintenant. Beaucoup mieux c'est sûr. J'ai pris goût à parler anglais, et je regrette juste de ne pas rester quelques années de plus afin de passer au niveau supérieur : bilingue. Globalement quand même, je suis satisfait de mes progrès qui me permettent, suivant la forme du moment, d'avoir des conversations plus ou moins complexes et abstraites avec un anglophone, et même parfois (quand je suis vraiment très en forme) d'adapter mon niveau de langage à l'interlocuteur.

La recherche

L'accord entre l'IIE et le département d'informatique de l'Université de Hull prévoit que chaque année 3 élèves de 3ème année viennent faire un MSc de recherche à Hull, sponsorisés par le département (tous frais d'inscription à l'Université payés, et lesdits frais s'élèvent quand même à plus de £3000). Les élèves de l'IIE semblent largement appréciés pour leurs compétences mathématiques et informatiques, et je ne peux que dire merci d'avoir eu une telle opportunité. Cette année, Florian, Guillaume et moi-même étions tous les trois dans le laboratoire de simulation et visualisation, laboratoire qui a une très bonne réputation en Angleterre, qui dispose d'un matériel de pointe et de l'appui financier conséquent de nombreux industriels.

Je dois avouer que j'ai été très déçu par le niveau de la plupart des gens que je côtoyais dans le labo. Les chercheurs de haut niveau se cachent bien, je ne les ai pas vus. Quant aux doctorants, au moins ceux de notre labo, ils ont trouvé une planque pépére et font le minimum syndical pour obtenir un PhD. Certains ne font même rien en attendant que pour remplacer leur PhD en perdition on leur propose un poste de développeur. Ce sont des doctorants en MSN, puisque c'est à cette activité hautement stimulatrice qu'ils consacrent leurs journées. Même une bonne partie du personnel n'est pas qualifiée... Une grande majorité des gens, toutes fonctions confondues, n'a aucun regard critique sur les outils qu'ils utilisent, et ça me paraît grave pour des informaticiens "de haut niveau". En fait la seule personne dans notre labo qui soit à la fois compétente et travailleuse, c'était James, mon deuxième superviseur. Merci James d'avoir relevé le niveau.

Niveau recherche, j'ai été très peu guidé alors que l'approche requise était complètement nouvelle pour moi (d'ailleurs on m'a à la fin fait remarquer que j'avais une approche trop "ingénieur"...). De même, si on m'en avait informé plus tôt, j'aurais pu influencer un peu plus le sujet qui m'a été attribué. N'ayant pas choisi mon sujet, et celui qui m'a été attribué ne m'intéressant pas vraiment, les conditions de travail n'étaient pas idéales dès le départ. La paresse et l'incompétence ambiantes aidant, je ne me suis pas tué au travail. Je ne le regrette absolument pas : j'en ai tout de même fait largement assez pour valider mon année avec les compliments de mes superviseurs, et ça m'aura permis d'utiliser cette grande quantité de temps libre pour avoir une vie sociale (j'ai rencontré du monde, j'ai fait du sport, de la musique, je suis beaucoup sorti, bref j'ai profité).

Début

La fin d'une période importante, puisque ça y est, j'ai terminé mes études. Et le début de la vie qu'on appelle active (c'est vrai que jusqu'à présent, je n'ai pas fait grand chose :-)). Nouvel exil, puisque je pars m'installer du côté de Sophia-Antipolis, où je vais travailler comme ingénieur développement logiciel pour Amadeus (je débute le 16 octobre). Et pour bien commencer, je vais mettre à profit ces quelques jours de vacances pour faire un tour de France des amis, en passant par Caen, Paris, Nantes, Bordeaux et Avignon avant de poser mon sac dans la région niçoise. Comme Tintin et Milou, Bob Morane ou Achille Talon avant moi, me voilà en route pour de nouvelles aventures!