Desgrange.net

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

lundi, février 8 2010

Post FOSDEM 2010

So last week-end I was at FOSDEM. First, it’s quite huge. Several thousand geeks in one location (if somebody hates open source, it’s the place to drop a bomb, lots of projects might also die afterward (I’m just saying that it’s not so cool on a risk management point of view, I’m not encouraging anybody to do such a bad thing ;-))). A lot of smart people, good ideas, interesting stuff to see, to hear and free WiFi everywhere (such thing would be illegal in France nowadays :-\).

As usual with conferences, goodies review. What do we get: - conference program (on paper) - a bag (made from biodegradable material)

That’s all good to me. Quite eco-friendy and nothing is unnecessary.

Here is the list of sessions I attended:

Welcome (FOSDEM Staff)

Quick history of the FOSDEM and of course the FOSDEM dance.

Promoting Open Source Methods at a Large Company (Brooks Davis)

Brooks Davis told us how they managed to bring some of the open source way of working in a big aerospace company. I find incredible that in a company working for aerospace (and even any company doing software) some developers are still not using any version control system.

Evil on the Internet (Richard Clayton)

Quick presentation of what “bad people” are doing on the internet and how it works, with live examples of phishing/fake banks/fake escrow websites.

Visit the AA419 website for more information.

Mozilla Europe/Mozilla Foundation (Tristan Nitot/Gervase Markham)

Some info on current status and future stuff at Mozilla. Some discussion about the ballot screen.

Personal note: the ballot screen will appear for every Windows XP/Vista/7 users how do not have installed any other web browser. This is a decision of the European Commission imposed to Microsoft. But what about people working at the European Commission? Are they going to see the ballot screen on their computers? Obviously, like in any company managing their computers, this is going to be blocked in order to keep the “homogeneity” and ease of system administration. Guess what? I am working at the EC (as external contractor). Since I’m a developer, I can install whatever I want^H^H^H^Hneed on my work computer so I don’t have the problem (and in fact since I’m doing a bit of web development I’ve all major web browsers installed). Anyway, I will see if my colleagues get some choice for their web browser.

FLOSS: a key to self-determination in Internet life (Mitchell Baker)

OK, I can’t really summarize but it was interesting. Free and open source software have values, freedom related ones (at least). To some extent we can see those values in how the internet has been built and we need to be sure that those values are still going to drive the future of the internet and even take a more predominant place.

Hackability (Tristan Nitot/Paul Rouget)

Do you want the internet to be a place only for for-profit companies to sell you their products? I hope not (if you do, what the hell are you doing here?). An important thing that will prevent that is to be sure that the internet is hackable. That mean we can do what we want with it, event if it was not designed for.

I would like to give an example of a hackable product by design: a Lego box. When you buy a Lego box, it’s shipped with a manual with one or two (sometimes more) patterns to build what Lego thinks you might want to build with. But obviously, it’s for fun, and Lego does not forbid you to do anything else with it, on the contrary, they encourage you to do stuff they didn’t think you could do with it… and it’s quite normal since Lego bricks are done to build whatever you want.

On the internet it’s quite the same. You have bricks. Different kind of bricks, versatile ones (bits and bytes) on top of which people have created more complex bricks (HTML, HTTP, SMTP, IMAP, XMPP, XML, CSS, JavaScript…) allowing you to do any kind of things. But there are some stuff that are not following that concept. Take Flash for instance, here you have the Logo box already mounted and you can’t unmount it, you can play a bit with it but not that much.

Paul did a demo showing that the web is hackable (changing the UI of a website and with the help of Firefox/Greasemonkey change how to interact with the website), that Firefox is hackable (switching from a tab to an other by shaking his wiimote!).

HTML 5 (Paul Rouget)

The “theorical” part of the presentation was done by someone else but I don’t have his name (sorry). Anyway, since most of the stuff I developed so far were web applications, I was quite interested in this presentation (and of course because I have been too lazy to check by myself what’s new in HTML 5).

HTML 5 syntax, very pragmatic. HTML has been slaughtered on so many web pages that web browsers are now very good at understanding the understandable. So of course, instead of imposing a drastic syntax (like XML based stuff requires usually) that nobody is going to apply, HTML 5 is quite “user friendly” (in the way that you can type whatever you want, it’s going to work (uppercase, lowercase, it doesn’t care, you don’t close your tags? not a problem…)). I think web browsers (except IE of course ;-)) are the perfect example of “be strict in what you send, but generous in what you receive”.

Anyway, lots of new tags like header, footer, aside, of course video, canvas

Paul did an amazing demo with a “simple webpage” turning out to be an interactive presentation with CSS transitions, video playing, 2D transformations, 3D ones… impressive.

Amarok 2.2 Rocking (Sven Krohlas)

I was an Amarok user for a long time but since I switched to the Mac it’s not the case anymore (even though Amarok runs on Mac). Anyway, the moodbar is back!

I haven’t played a lot with Amarok 2.x, but I don’t feel very comfortable with the UI. In 2.2 it’s a bit better. Maybe a part of the problem is that I don’t like KDE’s default theme.

It was a conference on free (as in free speech) softwares, but there are not only softwares that are free, there is also music. Go to Jamendo and listen/download a bit of music, you might discover good music under Creative Commons licenses (I recommend: Diablo Swing Orchestra and David TMX)

NoSQL for Fun & Profit (Tim Anglade)

A quick overview of what is NoSQL, no technical details, more a presentation for managers. Anyway, like lots of people I have suffered of SQL. For several reasons, first, it’s hard to find a project where a relational database is not badly used, a RDBMS can be very good at what it does (like PostgreSQL), it still needs to be used correctly, and secondly, because it was almost the only way “managers” did know about storing data. Who have never seen that kind of situation:

The manager: “On our new software we are going to use this programming language and that relational database.”

The developer: “I can understand that we need a programming language since we are going to write a software, but we don’t need a relational database for it.”

The manager: “Of course we need a relational database, every software use a relational database.”

The developer: “Well… no.”

The manager: “I’m the one deciding, you are only the mindless developer coding the stuff I ask so shut up.” (OK, maybe not that part)

Well anyway, NoSQL is a good idea to make sure that people know that we have choices on how we store data and that there are some ways better for some kind of tasks and others ways better for other kind of tasks.

Mozmill (Henrik Skupin)

A quick presentation of Mozmill, a tool used to do automated functional tests on Mozilla products (Firefox, Thunderbird…). Each version of Firefox in fact 225 versions of Firefox (75 languages on 3 platforms) and all of them should/need to be tested. It looks like at Mozilla they are not really in the test driven mindset (yet), and they are lacking of tests. Wait… sorry, when I say tests, I always think “automated tests”, it’s inhuman to make a person run a test suite manually, unfortunately to many people are paid for that. From what I understood they have some manual test suites for Firefox and fortunately they are trying to automate them.

You can see the mozmill generated reports for Firefox here: http://brasstacks.mozilla.com/couchdb/mozmill/_design/reports/_list/summary/summary

Towards GNUstep GUI 1.0 (Fred Kiefer)

GNUstep has been in development for ages and there is still no 1.0 version. So the question was “do we need to do one and if yes, what needs to be in”. Obviously, the answer for the first part is “yes” (so it will attract more developers, *BSD and Linux distributions will update their packages…). The second part of the question was not really solved. One proposition was to name the version 10.2 and has complete support of Cocoa 10.2.

L20n (Axel Hecht)

I’m not a specialist of internationalization (i18n) and localization (l10n), I know some issues regarding that but quite frankly, I didn’t really understood the presentation. It’s a bit more clear after a look on the l20n wiki. Sounds interesting to me since I think that the current way of doing (key/value) sucks a lot as soon as you have some non ultra-trivial stuff to do.

Étoilé: Where it is, where it’s going, why it isn’t there yet (Quentin Mathé/David Chisnall)

What have they done since the beginning in 2004? This is a project with few people but lots of ideas. One thing I find interesting is the CoreObject framework. Well in fact not the framework, but the ideas behind. From a user point of view, having to save your documents sucks. Why the default state is “in case of problem you are going to lose all your unsaved work” and not “in case of problem all your work is saved”? So here the idea is everything you change on your document is recorded, so you can do/undo/redo modification, close your document, open it again, ask to undo stuff you have done before… the history of your changes on the document have been saved all along.

Such ideas are not new, we have been talking about that for decades (well, not me, I’m talking about it only for years, I’m not that old ;-)), but mainstream operating systems are still not implementing it.

Women and Mozilla (Delphine Lebédel)

Quick presentation of WoMoz.

Nepomuk (Sebastian Trüg)

Recent operating systems are now indexing datas so it’s fast and easy to search for stuff on your computer. Nepomuk is a “semantic” way of doing so (using RDF and so on).

Several functionalities are similar between Nepomuk and what I think Étoilé’s CoreObject do. But Nepomuk is based on “standards” like RDF and SPARQL.

Mozilla Panel Discussion (Mitchell Baker/Tristan Nitot/Mark Surman)

A discussion on Mozilla’s mission. Lots of questions about privacy. I confirm, Mozilla’s people have the right mindset (at least the mindset I like) and I’m glad that they are caring about the Internet.

Write and Submit your first Linux kernel Patch (Greg Kroah-Hartman)

A live example on what you need to do and how to do a patch for the Linux kernel.

That’s all

There are several presentations I would like to went to but we still have not invented a device giving us ubiquity.

I now have a lot more thinks to thing about, I may write down some of my thoughts here soon.

Anyway, a big thank you to the FOSDEM staff for organizing all that, to all the speakers and finally to all the people attending the event.

mercredi, février 3 2010

FOSDEM 2010

FOSDEM (Free and Open Source Software Developers’ European Meeting) 2010 is happening this week-end (6-7 february) in… Brussels! At ULB, about 10 minutes by foot from home. So guess what? FOSDEM 2010

I never had the opportunity to assist FOSDEM before, so this time I’m not going to miss it.

I haven’t look at the planning seriously yet, there is a huge amount of stuff going on there, it’s going hard to make choices. At least I have seen that Mozilla is presenting some stuff, I hope I will be able to see Tristan at last (though I’m not sure it’s really fulfilling to listen to someone I always agree with (well, I’ve been reading his blog for several years now and I don’t really remember not agreeing on something)).

This reminds me I should find a way to start sharing with the community. I have been using open source softwares for years, on my day to day work, what frustrates me the most is each time I’m struggling with proprietary softwares (which I tend to avoid) while I know that the same problem with an open source software would have been solved much more easier (because of the help of the community and the availability of the source code).

So, are you coming?

lundi, février 1 2010

<video>, H.264, Theora, Firefox and patents

Some quick thoughts…

In HTML5 there is is new video tag allowing to embed a video in a web page as we do for a picture. As for the img tag (for pictures), the W3C (who defines HTML) does not say which format should be used for the content itself. So in a img tag you can put PNG, BMP, JPEG, GIF… whatever you want, as soon as it is recognized by web browsers.

Internet Explorer does not support video, Firefox supports it but reads only videos encoded in the Theora format, Chrome and Safari support the tag but read only H.264 encoded videos.

Technically, for the moment H.264 seems to be better than Theora. But Theora is an open format while H.264 is crippled with patents and using it requires paying huge royalties (depends of what kind of license but some people are talking about 5 million dollars).

I don’t remember seeing any “official” position from Mozilla why they do not support H.264 in Firefox, but from people working at Mozilla, they usually provide good arguments like:

  • the web is based on open, free and patent-free standards (this is very important, changing that will fragment the web)
  • they would prefer doing more useful stuff with 5 M$ than paying for a codec
  • supporting H.264 is not a good idea since it will be valid only for the version distributed by Mozilla, not the one embedded in your Linux distribution for example

I completely agree with that.

I wonder why lots of people on the internet would like Mozilla to support H.264 while they don’t ask Google and Apple to support Theora. For images, they are all able to read different formats, while should they be limited to only one video format? Google and Apple have nothing to pay in order to support Theora (except their developers to include it).

The other thing, why MPEG LA (licensing H.264) does not make H.264 a patent/royalty-free codec? OK, because MPEG LA was created to collect fees for patents covering MPEG technologies.

And the nasty idea, why Mozilla does not make a Firefox Europe Edition? In Europe, software patents are not allowed (kind of, it’s not really clear, it looks like quite often software patents are granted while they are not respecting european legislation). Doing a Firefox version including H.264 but distributed only in countries that do not allow software patents could be interesting. First in Europe, it may clarify what the status of software patents is, then it will hassle the MPEG LA and finally it may show to the US and US companies that they are not dominating the world and imposing their rules everywhere (and maybe make them change their patents laws (yes, sometimes I’m overly optimistic ;-))).

lundi, janvier 25 2010

Losing 2 disks on a RAID-5 array

Today I was quite disappointed when I saw that my RAID-5 array had suddenly lost 2 out of 4 drives. As you may know, losing 1 drive on RAID-5 is OK, losing 2 is not ok at all, it usually means that you have lost all your data.

In fact, my failure today was due to some electrical problems. If you are following this blog you know that my RAID drives are plugged to the server (Debian GNU/Linux) using USB, which is an extremely bad idea (don’t do that at home ;-)). And to add more on my stupidity, in order to reduce power consumption I changed my hard drives to laptop hard drives and have them powered through the USB hub… which was not plugged to the UPS. So today there was a power failure at home and since the server’s USB was not providing enough power, two drives went off.

Since nothing was being written when it occurred, I know that the content on every drive was still good, but mdadm reported the array as degraded and reading was not really possible anymore.

So, what to do in that case? From what I have seen, the first thing is to stop the array, then to try to reassemble it with various options (but do not try to re-add the “failing” drives). Obviously I did some mistake… So, if at some point mdadm --assemble with any kind of options does not work, re-creating the array might be your last solution. At least it worked for me.

But be careful, when creating the array, you have to provide the same options (chunk size…) as it was before, and you have to keep the drives in the SAME ORDER. And when you have drives on USB, the order is a bit random (maybe I should have looked at each disk’s UUID and write the order somewhere).

So I re created the array with the following command (DON’T FORGET “—assume-clean” otherwise mdadm will start re-synchronizing your disks and it’s something you may not want):

mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 --assume-clean /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1

After doing so… it was still not working. Why? Because I didn’t gave the right disk order! With 4 drives I have something like 24 different possibilities. How to find out if it’s the right one? Well, that’s quite easy, you should be able to mount the disk ;-). Doing a fsck might also be a good idea (don’t forget the -n option as you don’t want to write on the drive until you are sure that it’s the correct order).

I was quite lucky since I found the right one on the second try.

Related posts:

RAID 5 software sous GNU/Linux La panne Moving a RAID array Restoring your RAID array

mardi, janvier 12 2010

Fitness

If you are living near Bristol (England) and looking for a personal trainer, I recommend you Nathalie.

It’s never to late to start taking care of yourself and having fun at the same time!

samedi, janvier 9 2010

Enjoy the silence

ixelles_neige.jpg

lundi, janvier 4 2010

Post XP Day BeNeLux 2009

As we say in french “mieux vaut tard que jamais”, here is my post about XP Day BeNeLux 2009.

In November I went to XP Day BeNeLux as expected. First time in Benelux, second time this year (after XP Day France 2009) and the fourth time in total.

The thing that I have seen already in France is the shift to Lean and in fact at XP Day Benelux, there was no sessions about eXtreme Programming!

If you read this blog quite often you know that I don’t really like goodies, and XP Day Benelux is now a reference to me. When you get there they give you a small time table with all the sessions and some cards to take notes. That’s all I need when going to a conference, nothing more, nothing less. But in fact there was also a amazingly wonderful gift ;-), a small white board with a pen to write on it (and since it took me several months to get real white board at work, I used the one given at XP Day in the meantime).

A space for programmers’ training: lessons from the coding dōjō experiment

Emmanuel did a quick history on how the coding dōjō idea came to life, what is the purpose of it, rules to respect, etc.

What I remember from that session:

  • It’s like kata in martial arts, a way to learn how to resolve automatically and elegantly a problem by doing it over and over again. So when you face a similar problem in real life you can tackle it right away with a proper solution instead of doing a quick and dirty hack.
  • It matters that things are done the right way, and coding dōjō help learning to recognize and understand why something is beautiful or not. I think, unlike what people usually say, that beauty is not subjective only (see this post on theory of centers for instance).
  • Lots of ideas on how to organize and maintain a coding dōjō.

You can find if there is a coding dōjō near you on the coding dōjō website.

I never went to a coding dōjō but it’s really something I would like. I spent 3 years in Paris knowing there was a coding dōjō and never went to any session, and now I’m in Brussels and there is no coding dōjō (I also still have to visit the Eiffel Tower and the catacombs). I think Emmanuel did one on Monday evening but I had to leave quite early so I was not able to attend it.

The Toyota way management principles for sustained lean and agile

All the information shown in this session are available.

I already went to a presentation of the Toyota way by Pascal but this session was more dense, so I can’t say that I remember something in particular. The first time I didn’t get that all the practices/values/etc. were linked together so Lean works better as a whole (see the first page of the Toyota Way handout).

What I learned from burning down my house

This session was about how a crisis can be a good thing and help moving to a more agile/lean way of working. What I learned from it: I need a crisis at work! ;-)

User stories and estimating for enterprise agile

Not really what I was expecting, a bit of it was a presentation of their product. Anyway, there was still some interesting stuff to listen to.

Agile politics

This one was a game showing that we all are playing politics in a way or an other. Helps understanding why and when politics are happening.

Solve conflicts without compromise

In that session I learn (and already forgot :-( ) a “tool” to help solving conflicts by asking simple questions in a specific way. Very interesting and it surely requires a lot of practice (the “coaches” were amazingly better than me at asking the good questions the right way).

The yellow brick road - agile adoption through peer coaching

This one was an agile fairy tale by Portia. This game simply reveals to yourself that you already know how to solve the problems you encounter and it’s very powerful.

Misc
  • good
    • Lots of interesting things to learn.
    • New ideas to think about.
    • Saw amazing people.
    • Beer.
  • not so good
    • There was some Aikido sessions but I didn’t attend any of them.
    • I was not able to stay after the dinner.
    • It was raining.
    • I did not spoke/share with a lot of people.
    • Some sessions were not that good.

lundi, décembre 7 2009

Goodbye TB

A long time ago (2004?) I bought a LaCie Bigger Disk Extreme 1TB. At that time it was quite a huge hard drive (by size and capacity), biggest single disks were about 250GB (given the size I supposed that the LaCie was made of 4 250GB disks in some RAID-0 or JBOD array).

IMG_0001.jpg

IMG_0002.jpg

So five years later (last week) it died. But even now, losing 1TB of data is a bit disappointing. Hopefully there was not much important data on it (I store important data on a RAID-5 array or on a TimeMachined part of my Mac).

So, what to do with a dead disk? Dismantle it of course.

First unscrew the back panel:

IMG_0003.jpg

IMG_0004.jpg

Push the content / pull the case:

IMG_0005.jpg

IMG_0006.jpg

Unscrew everything else:

IMG_0008.jpg

So yes, there was 4 Maxtor MaXLine Plus II 250GB hard disks inside. I already tested 2 of them, one is dead, the other one is fine. I hope only one is dead so I will be able to reuse 750GB of the original 1TB.

In the overall I think it’s the third hard drive dying this year. Last year it was two mother boards. Why electronic hardware is so unreliable lately? (and I try to do my best to take care of it but it looks like it’s not enough, hardware is still failing at some point)

I still have somewhere an old Victor computer from the 80s (I can’t find it on the internet, but it’s not a Victor 9000) and it’s still working (at least last time I plugged it in).

lundi, novembre 16 2009

Des CD

IMG_0243.jpg

J’ai du avoir mon premier CD vers 1996, 13 ans plus tard à force d’achats, de magazines, de conférences, de pilotes de matériels, de graver tout et n’importe quoi, j’en ai maintenant un petit stock dont une bonne partie dont je souhaiterais me débarrasser.

Bien évidemment, il ne s’agit pas de les mettre à la poubelle pour qu’ils finissent incinérés ou que sais-je encore.

Le mieux bien évidemment est de les réutiliser. Certaines personnes les accroches au bout d’une ficelle dans leurs cerisiers pour faire peur aux oiseaux, d’autres comme support de bougies… Malheureusement, je ne vois pas quelle utilisation je pourrais en faire.

Par le plus grand des hasards j’ai eu l’occasion, il y a quelques années, de donner un grand nombre de boîtiers “crystal” pour qu’ils soient réutilisés d’une façon à laquelle je n’aurais pas pensé : en œuvre d’art.

art.jpg

(Œuvre de Monique Deyres, Instants donnés, Église du Chuzeau, Isère, 2003)

Si je ne peux pas réutiliser mes CD et DVD (et je ne compte certainement pas donner mes vieux CD de backups ;-)), il reste le recyclage, 90 % d’un CD est recyclable. En France les CD et DVD ne font pas partie de la liste des déchets d’équipements électriques et électroniques (DEEE). Du coup des sites se sont développés pour revaloriser les CD et DVD usagés. Il semblerait que 1 tonne de CD/DVD vaille entre 400 et 600 €, ce qui peut donc être intéressant pour une entreprise de recyclage (une étude a été faite en 2005 par un étudiant de l’École Polytechnique Fédérale de Lausanne).

L’association CDmoi, en Lorraine, assure la collecte et la revente à des société de recyclage des CD et DVD. Il y a aussi la société Coldisk sur l’île-de-France.

En ce qui concerne la Belgique, j’ai lu sur certains sites web que certaines déchetteries disposent de conteneurs pour les CD et DVD. Cependant l’agence régionale de propreté m’a indiqué qu’il n’existe pas de filière pour le recyclage des CD/DVD/Cassettes/Disquettes (et donc de les jeter avec les ordures classiques si je n’ai pas moyen de les donner/réutiliser).

Si quelqu’un à une idée, je suis preneur. Pour le moment je vais me contenter de les stocker…

Quelques idées en vrac :

  • Produire moins de CD/DVD. On en trouve de partout, même dans les paquets de céréales. Avec du matériel informatique il n’est pas rare de trouver 2 ou 3 CD, pourquoi ne pas tout mettre sur un seul ?
  • Le tri sélectif c’est bien, ça sensibilise les gens, mais je me demande dans quelle mesure c’est efficace. Ne serait-ce pas plus simple d’embaucher des gens pour faire le tri des déchets lors de leur arrivée dans les usines de traitement ? (le tri serait certainement mieux fait et systématique)

lundi, novembre 9 2009

Restaurant japonais : Hama-Shin

Depuis ma déception précédente j’ai essayé un autre restaurant japonais à Ixelles, le Hama-Shin.

Population

J’y suis allé en sortant du travail, et à 19h il n’y a pas grand monde encore dans les restaurants, d’ailleurs j’étais le premier client. Quelques personnes supplémentaires sont arrivées pendant que je mangeais, une seule personne japonaise. Bref, je n’y suis pas allé au bon moment pour voir quel type de population fréquente ce restaurant.

Ambiance

Bof. C’est une ancienne maison transformée en restaurant comme on en voit beaucoup, donc de base pas japonais du tout. Quelques tableaux style japonais accrochés aux murs et c’est à peu près tout.

Nourriture

La partie la plus importante :-). Je ne sais pas si le restaurant a une spécialité mais la carte est plus étendue dans la section sushi/sashimi/maki que pour le reste, j’ai donc opté pour le menu avec un assortiment de sushi/sashimi/maki.

En entrée j’ai eu une soupe miso (ça c’est toujours bien), des brocolis vapeur avec une sorte de mayonnaise (pas mauvais) et du calamar (ou du poulpe ? un truc avec des tentacules, plutôt bon).

Suivi donc de l’assortiment de sushi/sashimi/maki. Niveau quantité j’ai eu largement assez. Pour le reste, ça dépendait un peu des poissons, le thon était pas mauvais, le saumon un peu moyen et les autres poissons pas top. Rien d’exceptionnel donc mais dans l’ensemble c’était clairement mieux qu’au Yamayu Santatsu.

Prix
  • Le menu : 35 €
  • Une Asahi : 4 € (la Owa est à 5 €)
Conclusion

Restaurant japonais correcte, un poil trop cher quand même.

Remarque
  • Sur la facture du restaurant il est écrit “Restaurant Yamayu Santatsu S.P.R.L.”, une filiale du Yamayu Santatsu ?
  • Leur lecteur de carte bancaire lis la piste magnétique et pas la puce (il y en a beaucoup comme ça en Belgique, hallucinant)

- page 1 de 8