Planet Libre-entreprise.org

August 25, 2010

Frédéric Péters

Shell Yes! — 1st Issue

Some would have named it OMG! GNOME SHELL! but Jon gave an excellent "Shell Yes!" talk at GUADEC (the videos, they are coming!), and that title is really nice so I decided to reuse it.

Many things are happening in and around the shell, but rare are those with the time to follow whatever happens in the git repositories, wiki pages, mailing list, or IRC channel. So here I am, I don't promise something very regular, this won't be the "weekly shell news", but whenever I get a stack of news, I'll try to post…

An initial design proposal for the date panel has been posted to the wiki : current time is always visible on the top bar, but expanding this panel gives additional information on world time and appointments.

/captures/gnome-shell-datetime.png

The calendar widget shows days with appointments in bold and slightly lighter type. Current day is prelit with the same glow background as active items in the top bar. Selecting a day replaces the agenda on the right with one specific to that day. The panel uses a two column layout with a dotted line separator to avoid menu entries to span across very wide space.

Sean Wilson has been playing with CSS, creating a few alternative themes, even if themability is not a goal at the moment, this shows how well the technologies are suited to graphic experiments. It has been proposed to Sean to look into application startup animation, hopefully he will come with something really nice.

Codewise it has been a complicated ride since GTK+ 3 removed many GDK drawing functions, that were used by librsvg, Mutter and others, but things are getting in shape again, and we should be back to the normal situation where building and testing the Shell is easy.

This also delayed the new design, presented at GUADEC, as Florian put that branch to rest during the breakage, he is now getting back to it, with platform stability coming back we will sure get it soon.

by Frédéric Péters at August 25, 2010 07:42 AM

August 23, 2010

Easter-eggs

Disable IPv6 autoconfiguration at startup

On a LAN with IPv6 autoconfiguration enabled (using a radvd service for example), it is often needed to set static addresses for servers and so deactivate IPv6 autoconf on them.

With Debian 5.0 at least, it should be as easy as adding:

pre-up sysctl -w net.ipv6.conf.eth0.autoconf=0

in /etc/network/interfaces. But it doesn't works, because unless you set up some IPv6 adresses before in the init process, the ipv6 module is not loaded and so net.ipv6 doesn't exist. To fix this, just explicitely add ipv6 in /etc/modules...

Same things happens if you wan't to disable RA with net.ipv6.conf.IFACE.accept_ra=0

by Emmanuel Lacour at August 23, 2010 12:51 PM

August 18, 2010

Julien Danjou

Emacs, Google Maps and BBDB

Today's fun idea was to put all my contacts stored into BBDB on a Google Maps' map, using my Google Maps extension for Emacs.

With the help of a few lines of Lisp glue:

(google-maps-static-show
 :markers
 (mapcar
  (lambda (address-entry)
    `((,(concat
         (mapconcat
          'identity
          (elt address-entry 1) ", ") ", "
          (elt address-entry 2) ", "
          (elt address-entry 3) ", "
          (elt address-entry 4) ", "
          (elt address-entry 5)))))
  (mapcan
   (lambda (record)
     ;; We need to copy the returned list, because mapcan will modify it later
     (copy-list (bbdb-record-addresses record)))
   (bbdb-records))))

we can make that:

It's really simplistic, but I did not need more to have fun. :-) This could be extended to set a specific marker and/or color for each contact, with a legend. I'll let that as an exercise for my readers.

Flattr this

by Julien Danjou at August 18, 2010 12:00 AM

August 15, 2010

Julien Danjou

Updating muse-el in Debian

The Debian package of Emacs Muse was maintained by Michael W. Wolson, who is also the upstream author of that software.

He announced months ago that Muse needed a new upstream maintainer. That's not something I'm willing to do, since I really think Muse has been superseded by Org mode nowadays.

However, I'm still using Muse to maintain this blog with my muse-blog extension, since Org still lacks some infrastructure to maintain and publish a blog.

Therefore, I adopted the Emacs Muse Debien package and updated it to the latest version!

Flattr this

by Julien Danjou at August 15, 2010 06:43 PM

August 10, 2010

Julien Danjou

Update on rainbow-mode

rainbow-mode had a big success and good feedbacks when I released it for the first time a couple of months ago.

Several users asked to me request its inclusion into Emacs. Therefore, some days ago, I proposed to merge it inside Emacs trunk. My request has been denied, but the mode has been added to the Emacs 24 package repository.

In the mean time, I've added support for hsl() and hsla() support, and added CSS 3/SVG color names.

Flattr this

by Julien Danjou at August 10, 2010 12:00 AM

August 05, 2010

Frédéric Péters

Radio Esperanzah! 2010

Cette année encore, l'association Autres-M-Ondes et plusieurs radios, dont Panik, organisent une radio éphémère sur le festival Esperanzah!; même dispositif que ce qui était utilisé pour radio RMLL, en plus gros, vingt personnes, deux studios, captation des concerts, etc.

Studio encore vide

Studio encore vide, Floreffe, 5 août 2010

De mon côté je m'occuperai encore, pas tout seul heureusement, du montage des interviews, cartes blanches et cie, et des concerts, et on publiera un maximum de tout ça en podcasts au fil des jours sur le site de radio Esperanzah!.

by Frédéric Péters at August 05, 2010 10:36 AM

August 02, 2010

Frédéric Péters

My GNOME Contributions

I am all with Leonardo, it's good to have "volunteers" as the first contributor to GNOME.

After Dave gave his talk at GUADEC my comment was "this is a partial view, commits are not everything", I was certainly not thinking about Canonical involvment then (but about this article (in French) on gender and computer). Anyway, we do value contributions in code more than the rest, and I believe we should pay attention to this, and be sure we give the same value to the work being done by translators, designers, artists, bug triagers, etc. (I acknowledge this sounds like "yada yada yada").

But what about my GNOME contributions? Maintaining JHBuild? Developing library.gnome.org? Helping in the release team? Perhaps I am particularly unlucky but none of those found their ways into Dave's report. Too bad, but to be honest I was aware of that beforehand as Dave contacted me as he thought there was perhaps an error in his count, because my commit level was much lower than what he expected :)

Last but not least, another of my numerous uncounted contributions is the weekly commit digest, and this could well be the one that gave me the more thanks at GUADEC, I really appreciate it, and while I once thought of stopping at the hundredth issue, I will most certainly continue them for a while. Thank you all.

by Frédéric Péters at August 02, 2010 06:12 PM

July 29, 2010

Frédéric Péters

GUADEC days

Long days at GUADEC... Discussing with many teams about how they feel for September, with regads to their work, and the overall picture, and then release team meeting on Monday evening, where we reached a general agreement in favour of a delay. Then back to discussing this proposal, in the Hogeschool lobby, in the advisory board, getting more feedback, refining things.

More drafting of emails & slides on Wednesday morning and finally we took the opportunity of Vincent "Building a strong post-3.0 GNOME story" talk to get the word out.

So if you haven't seen it already: GNOME 3.0 in March 2011.

We love the Release Team postit

People are loving the release team, get your sticker at the infodesk (thanks Ryan)

This was not easy, and it was especially difficult for me as I have been running GNOME Shell for months, experiencing all the progress, also because I have been so insistent with so many people to have their modules ported to GTK+ 3.

Of course it's not wasted work (I'd feel so bad if it was), and we actually need to have more modules getting a --with-gtk={2.0,3.0} configure flag (look at this commit in gcalctool for an example), and ported to GSettings (the target date is sill September), etc.

There are still two days to discuss things here, if you have any comment just grab Vincent, Andre, Olav, Karsten, Fred or myself.

by Frédéric Péters at July 29, 2010 07:17 AM

Julien Danjou

Porting D-Bus to XCB: story of a failure

Even if I recently stated I lost some of my faith in XCB, I still sometimes hack things to add support for it.

These last days, I've worked on a D-Bus port from Xlib to XCB. The port was quite straight forward, since there's only a little piece of D-Bus using X, which is dbus-launch.

I though D-Bus was a good candidate, since it's part of the Freedesktop initiative. Therefore, I was expecting a warm welcome and some enthusiasm from a fellow project.

My contribution got one useful review, and a cold reply from Thiago Macieira (a KDE/Qt/Nokia developer):

No, sorry, I don't agree.. I've just checked and my Solaris machine doesn't have XCB. Please do not remove the X11 code. You may add the XCB code, but you cannot remove the X11 code.

This is not really the kind of answer I expected, actually. I then reworked the code to please Thiago, and added some #ifdef to add XCB support to D-Bus, with a fallback to libx11 where XCB would not be available.

Havoc Pennington replied:

Given that libX11 now uses xcb as backend, I don't understand the value of porting to use libxcb directly when there isn't an issue of round trips or other stuff. It will just make #ifdef hell, while the X11 API is an API that works on both xcb and non-xcb platforms. Maybe people should be thinking about porting xcb to non-Linux platforms? The X protocol should be the same on other UNiX, so xcb in theory ought to work fine if you just compiled it on Solaris/BSD, same as GTK or dbus or Qt would work fine.

The last part "Maybe people should be thinking about porting xcb to non-Linux platforms?" is still unclear to me, even though I asked Havoc to explain what he meant.

Finally, Thiago refused to merge the patch:

[…] thanks for the patch, but like Havoc I am unsure of the value. We can't drop the X11 codepaths now because too many systems exist without XCB. Adding the XCB codepaths only made it more complex, even though you did a good job.

I can't disagree with that conclusion: using both XCB and X11 make the code unreadable for little gain. That's why I did replace libx11 by XCB directly in the first version of the patch. On the other hand, D-Bus people does not seems to really care about making their software evolve in the right direction, even if that requires users to upgrade their systems.

I think D-Bus using and depending on XCB would have been a good point to push adoption of XCB. Unfortunately, it seems you can't even rely of projects of the same initiative (i.e. Freedesktop) to work together to make things a little bit better.

After 5 years of existence, XCB is still not so obvious to people, and making it adopt is going to be a challenge for the next years. The upside is that new X.org 7.6 will bring XCB with it, as part of the katamari.

Flattr this

by Julien Danjou at July 29, 2010 12:00 AM

July 24, 2010

Frédéric Péters

Building GNOME 2.31

I started a draft of this post ten days ago, it started with "For the first time in many months there are now 223 (out of 245) modules building correctly on one of the buildbot slaves", we are now at 234 modules (ouf ot 247), also I wrote we were in a better shape than ever, and this still holds true, and this is despite the ongoing technology transitions (GTK+ 3, GSettings, GApplication...).

Reaching a low number of build failures is really important, as it makes it possible to know about all of them in details, to notice changes, and to react quickly. The current situation is as is:

  • libproxy is failing looking for some mozilla js header (reported against jhbuild as bug 623768, I would set it up with --disable-mozilla but it's a cmake module and I don't know if it can be switched off…
  • evolution is failing on the deprecation of GtkNotebookPage (bug 624534), ditto for gdl (624636).
  • glade3 has almost been ported to GTK+ 3, the remaining part is to get the toplevel project widgets rendered in offscreen windows, Juan Pablo Ugarte is working on this (bug 594957)
  • cheese, the 3.0 branch has just been merged and it depends on the mx clutter toolkit, this is just temporary and Filippo Argiolas will include the necessary code directly Cheese soon.
  • libchamplain still need to be ported to GTK+ 3, but this requires clutter-gtk, Emmanuele Bassi wrote "the plan is to release clutter-gtk 1.0 depending on gtk3.0. whether this plan actually comes together depends on me finding a week of time for fixing clutter-gtk for 1.0, or people helping me", so go and propose your help…
  • telepathy-glib fails when building its vala part as vala didn't support the latest changes in gobject-introspection, bug 624772 tracked this and it has been fixed, so telepathy-glib will be fixed when a new vala release gets out. In turn this will also fix the folks and empathy modules.
  • gnome-color-manager is failing due to a missing libgudev on the build slave, unfortunately installing it from a distribution package will also install glib development packages, and this could mess things.
  • there is some linking error with gnome-shell, with missing symbols around gjs, or mozjs, but I couldn't find anything obvious, and it builds fine locally, so I didn't dig far.
  • glibmm has an error for a few errors, around gdbus, probably an API change not yet reflected.
  • and last, hamster-applet looks like it is missing some file, but it is using was as build system, and this discouraged me last time I looked.

Of course you're welcome to set up and maintain your own buildbot slave (unfortunately at the moment it requires to have a fixed IP address (bug 621236), just hop in #build-brigade, send an email to build-brigade-list@, or find me at GUADEC :)

See you!

by Frédéric Péters at July 24, 2010 02:39 PM

July 17, 2010

Labs

June 28, 2010

Julien Danjou

M-x google-maps

Since I have started to use Org-mode, I though it was missing something to have appointment locations on a map. Of course, it's easy to get a LOCATION property from an entry, and then browse-url on Google Maps.

But it is too easy for me, so once again I said: challenge accepted! I will bring Google Maps into Emacs!

After several hours of work, the google-maps-el project shows a map!

It fully implements the Google Static Maps API and the Google Maps Geocoding API.

You can type M-x google-maps and type some place to see it marked on map. Of course you can do much more, as seen in the screen shot above.

I've also completed all of this with a small org-location-google-maps which simply show a Google Maps' map for the location of an event in Org mode by pressing C-c M-l in an Org buffer or in the Org agenda.

Flattr this

by Julien Danjou at June 28, 2010 12:00 AM

June 23, 2010

Frédéric Péters

Vino Preferences as Control Center Panel

On a sleepless night, without much reason, just getting my head on something, what to do but hacking on the future of GNOME? Here I come, with a port of Vino preferences to the new control center.

Vino Preferences as a Control Center Panel

This has been filed as bug 622544.

by Frédéric Péters at June 23, 2010 11:01 PM

June 20, 2010

Emmanuel Saracco

Sortie de wbmclamav 0.13

wbmclamav est un module webmin pour gérer Clam Antivirus.

June 20, 2010 02:02 PM

Labs

wbmclamav 0.13 released

Updated for new clamav 0.96.1. Old versions of ClamAV are not supported anymore

by Emmanuel Saracco at June 20, 2010 01:24 PM

June 16, 2010

Julien Danjou

Announcing rainbow-mode

While customizing Emacs this last weeks, I had the need to customize also the color theme.

Color themes are always a pain in the ass to edit, because you're supposed to read color strings like #aabbcc and guess what colors they represent.

This is why I wrote rainbow-mode, a minor mode for Emacs that will highlight strings that represents color, using the color they represent.

This support hexadecimal syntax, HTML color name, X color names and rgb() CSS syntax.

Flattr this

by Julien Danjou at June 16, 2010 12:00 AM

June 14, 2010

Emmanuel Saracco

June 12, 2010

Frédéric Péters

I am attending GUADEC

I still need to register and book a place, but I am going, and I'll play along...

Who are you and what do you do? Frederic Peters, release team member, commit digest editor..., my jobs in GNOME are well known (or easy to find, at least), therefore I'll have a few words about my second hobby, which is participating to Radio Panik a local (Brussels) radio station, where I play a sysadmin, "radio engineer" (pushing faders!), and occasionnaly babble in a microphone.

/photos/friture-martin-small.jpeg

The best fries of Brussels were made by Martin, May 26th 2010

How did you get into GNOME? It was a long time ago, I was developing a GTK+ 1.0 (or .2?) application, the GGAD (GTK+/GNOME Application Development) book by Havoc was published, I converted it from whatever format it was to Docbook, missed the first GUADEC in Paris because I was a student without a calendar in my pocket (oops, it was last week), then I did other things but finally came for good to the community in 2005, hacking on jhbuild and a build server, then it was GUADEC in Vilanova and that was great.

Why are you coming to GUADEC? Because we had so many nice things in Brussels already this year (FOSDEM, UDS, LGM) that it's time to get out of the country. Also I didn't go to the last two editions, and that serie has to stop.

In 1 sentence, describe what your most favorite recent GNOME project has been. Without a moment of hesitation, that would be GNOME Shell. I've done a lot of GNOME booth and the shell is really the thing that brought back interest and curiosity (!) in the public. And that's wonderful.

Wet chairs, in Paris

In Jardin du Luxembourg, Paris, June 2nd 2010

Will this be your first time visiting the Netherlands? I believe last time was on the road back from Debconf3 in Oslo, in 2003, a tire exploded, that was a terrible car crash (no casualties). I am coming by train this time.

by Frédéric Péters at June 12, 2010 04:46 PM

June 09, 2010

Julien Danjou

Desktop notification support for Emacs

This last weeks, I've worked on implementing the Desktop Notification Specification into Emacs.

It allows sending desktop notification in a very simple way.

(notifications-notify
    :title "You've got mail!"
    :body "There's 34 mails unread"
    :app-icon "~/.emacs.d/icons/mail.png"
    :urgency 'low)

It supports the protocol signals (NotificationClosed and ActionInvoked) and the two main methods (Notify and CloseNotification).

The methods specification are implemented entirely (hints, replaces, actions, icon, etc).

The signals are supported via callbacks function provided on the notification creation.

It have been merged into Emacs trunk today.

2010-06-09  Julien Danjou  <julien@danjou.info>

        * net/notifications.el: New file.

This also allowed me to discover, raise and fix a bug in the D-Bus binding of Emacs, which will be probably fixed in trunk soon.

Flattr this

by Julien Danjou at June 09, 2010 12:00 AM

June 07, 2010

Julien Danjou

Announcing erc-track-score

A couple of months ago, I've started using ERC to hang out on IRC. I've read all the pages on EmacsWiki about it, just to see how far I could customize it.

I must admit that I was not disappointed, even if I expected to be. It's quite a nice software, and once well configured it's more convenient that my old irssi setup.

While browsing EmacsWiki, I read an interesting idea about channel scoring/temperature on the erc-track page. The idea is to see if it's worth jumping to an IRC channel to see what people are talking about.

Challenge accepted!

I sat up and started to dig though ERC source code to find the information I needed about variables and functions.

I finally did write something nice, which I called erc-track-score. And yet another piece of software I wrote for my lovely Emacs!

How does it work? Ha-ha, I was sure you would ask. You're so predictable, dude! Read the following, and you'll know everything you ever wanted to know about it since the moment you read the title of that blog entry.

Which probably turned you on.

Nasty you.

First of all, the score of a channel starts at zero. Zero means "seriously, don't bother, nothing is happening here".

Upon each new message arrival, the score is incremented by 1. If a new message contains a keyword, your nickname or is sent by a pal, the score is increased by configurable values, by default between 2 and 20 points, depending on the match type. On the other hand, when a message is send by some fool, the score is decreased by 1 by default.

Obviously, if the score is going negative, you really should not jump to the channel.

Finally, the score is permanently and slowly brought back to 0. By default, the score is decreased by 1 point every 10 seconds.

Overall, reading the score should gives you a good idea of the channel temperature.

I'm still not sure what is the best formula to compute the score, but so far the default values seem quite good. We'll see.

Flattr this

by Julien Danjou at June 07, 2010 12:00 AM

June 01, 2010

Julien Danjou

Thoughts and rambling on the X protocol

Two years ago, while working on awesome, I joined the Freedesktop initiative to work on XCB. I had to learn the arcane of the X11 protocol and all the mysterious and old world that goes with it.

Now that I've swum all this months in this mud, I just feel like I need to share my thoughts about what become a mess over the decades.

When I was unborn…

…the Toto band were releasing their song "Africa" and some smart guys were working on a windowing system: the X Window System (this is its full name) which therefore has a (too) long history. The latest version of its protocol, the 11th one, has been designed in the 80's. You can learn more about the history in the Wikipedia article about X.

In 2010, we still listen disco music and we still use various protocols designed in the 80's and even before X. Music have evolved, protocols have evolved, and so did X11.

The problem is that X11 did not evolve that well. The guys at MIT-and-some other-places-with-very-smart-people-in-it created X version 1 in 1984, and updated it until X version 11 (the one we're still using) in 1987. Eleven version in 3 years, that was following the "release early, release often" model. But I don't know why, it just stopped to happen for the last 23 years1.

I don't know what changes have been made in the first 11 major versions of the X protocol, but I'm rather sure we should have deserve a couple of major version updates this last 2 decades.

In my humble opinion, X11 was not designed to live 23 years. But hey, I'm not blaming anyone here: I was 4 years old and playing Lego ® when they released this latest version of the X protocol, so there is little chance I'd have done something better.

1. That's not totally true: they added (and then deprecated) many extensions.

We won't fix. We'll work-around.

That is probably one of the guideline of the X protocol for the last years. And don't misread me: I'm not bashing anyone thereafter.

Since the X11 protocol was aging, the X guys started to add extensions. They added tons of them over the years. This, in application of one of the early principles of X:

It is as important to decide what a system is not as to decide what it is. Do not serve all the world's needs; rather, make the system extensible so that additional needs can be met in an upwardly compatible fashion.

All of them with no exception were added because, bad luck, the X11 protocol did not anticipated the things that happened in the last 23 years, like video, OpenGL, multiple monitors, or the pleasure to draw oval windows. Some of this extensions are still in use, while some of them have been dropped.

While this is not a bad thing to extends the protocol, it seems like a bad thing to try to fix the protocol with for example the XFixes extension, even with all the good intentions Keith Packard might have in his greatness.

Actually it's even worst than you think

The X11 protocol (without extensions) defines about 120 types of requests: create a window, move a window, etc.

Nowadays, there's at least 25 % of them which are useless: usage of server-side font, or the drawing of squares and polygon, are unused by any modern application or toolkit. All of this is superseded by requests from extensions, like the XRender one.

The handling of multiple monitors displays has totally been screwed up. X11 has been designed to work in Zaphod mode (independent monitors). But Xinerama, and nowadays XRandR have replaced it up: recent X servers (released after ~2007) does not support Zaphod mode anymore, even if it's a core piece of the X11 protocol.

Worst: on many requests, there's limitation or design flaws, like described in this document: Why X Is Not Our Ideal Window System by DEC researchers.

We'll add more broken standard on top of that

Following its early principle, X does not define policies but only mechanisms, which seems like a good thing,

Consequently, people started writing specifications to determine a number of stuff and dogmas: ICCCM. That was 22 years ago in 1988. It's useless to add that many things in this specification are now obsolete, useless, or that it misses many modern stuff.

I was not the only one to think that. The people from what will be the major desktop environments, KDE and GNOME, saw that too in the 90's while I was learning to count. So they wrote EWMH, another standard that comes on top of ICCCM and extends it with nifty features like maximization, full screen mode, etc.

The problem is that this standard has also been written by narrow-minded people who at that time, were working on GNOME or KDE (and maybe others). This desktop environments were having and still have some strong concepts of how should work a desktop: "it should have work-spaces", "a window is only on one workspace", "we only see a workspace at a time", "you do not have multiple screens", etc.

Dude, we don't care: we have toolkits!

This vision of how the desktop should work have now been written in marble in all applications and libraries implementing EWMH, like GTK+ or Qt.

Nowadays, everybody forgot about all of this standards. Toolkits have implemented this, circumvented the X11 protocol limitation and flaws, and nobody wants to look back.

Like all standards, obviously some people implemented them badly. This had some side effects, like OpenOffice acting like a pager.

We don't look back? Worst, we forgot where we came from!

With all these layers of bad designed standards, the desktop continued to evolve for more than a decade. They continued to add more standard, the more recent ones being based on D-Bus like the Desktop Notification Specification or the latest Status Notifier Specification developed by KDE.

The Status Notifier is a new implementation of the good old system tray based on XEmbed, using D-Bus instead of the X11 mechanisms, and adding the possibility to show the system tray with something else than icons.

This specification draft saw an important issue and design flaw raised by Wolfgang Draxinger in this thread on the XDG mailing-list. What Wolfgang points out, is that X is network-oriented, and D-Bus is not. Therefore, making the Status Notifier specification to use D-Bus to pass system tray messages around is a bad idea, since running a X application from host A on host B will draw the system tray on the wrong host!

Apparently, reading the thread, this does not fear some of the KDE people:

of course this is a bizarre corner case not worth much thought. at least that's what you'll think until you actually run into it yourself (be it because you are testing something or because you are setting up some weird kiosk environment).

What Oswald describes as a corner case is an actual common use case for many of us. Of course, YMMV.

From my point of view, this is a step back in the wrong direction. But we can conclude that the network part of X is now worthless, to at least KDE.

I used to believe in XCB

When I joined Freedesktop, it was to work on XCB, the X C Binding. XCB is a nice, clean, 21st century technology based API to play with the X11 protocol. Its code is auto generated based on XML file describing the protocol.

In comparison, Xlib is 80's obfuscated code with almost no comments and hard-coded things. Only a few people can understand some of its corner like its i18n or XKB implementations. And all its code is synchronous.

For people not knowing it yet, X is a network protocol where you send request (like a GET in HTTP) and then get a response. Xlib forces the application to wait for the reply to its request, so the application is blocked until the X server sends the reply to the request. XCB on the other hand does not block and allows the application to send a batch of requests, do some other stuff in the mean time, and then gets the replies.

It's like your Web browser would send one request at a time to a Web server, and would wait until you downloaded all the images one by one to display the page.

In cases where X and all its clients are on the same host, the latency is small and not really visible, therefore the gain for XCB to be asynchronous is small. On slow network however, the gain can be huge, as proved in the rewrite of xlsclients with XCB by Peter Harris.

One of the long standing goal of the XCB folks is to kick-out Xlib, to increase speed and hides latency in X11 applications. That requires to port many libraries, because almost none of them (Cairo being an exception) supports XCB.

From where I stand, I don't really see if the work is worth it now. The desktop world is trusted by GNOME and KDE, meaning GTK+ and Qt. It seems none of this toolkits are interested to work on XCB, neither on the X protocol. They probably put hard effort in bypassing X limitation and flaws, and they now sit on top of crap of workarounds and broken-by-design-standard implementation. It seems to me they don't want to go back in the layers and improves things.

They're too high to go back down and they don't see what the gain would be.

Enlightenment with its EFL was the first toolkit to have an XCB back-end with the work of Vincent Torri. Unfortunately, the back-end is not maintained and nobody cares about it. Last time I tried it, it did not compile at all.

X12 ?

There's a page called X12 on the Freedesktop wiki, listing all the things that should be fixed some days. Unfortunately, the list continues to grow up an no one talks about working on X12.

On the other hand, there's a handset of people trying to work when they will have time on XKB2, the second version of the "let's-try-to-fix-up-the keyboard-part-of-the-protocol-we-wrote-23-years-ago-a-second-time" extension.

To me, it does not seem X12 will happen in the next decade neither.

Alternative ?

Do we got alternative to X ? There's Wayland, but it's far from being usable. There's DirectFB, but that's not very portable. None seems candidate to replace X some days to me.

Anyhow, none of the main toolkits around support this alternative. GTK+ once supported DirectFB, but as far as I know, it is not supported nor works nowadays, as stated by Josselin Mouette. This is why recent versions of the Debian installer have migrated to X for the graphic part, thanks to Cyril Brulebois work.

Conclusion

XCB has been around for more than half-a-decade, and very few people showed interested in it. As far as I can see, nobody is interested to use the X protocol and everybody tries to encapsulate it in some higher-level API as soon as possible to stop seeing it. This leads to poorly written application and toolkits, with a lot of ugly hack.

All of that also means that starting to write applications and graphical toolkits based on XCB would be a very interesting project, but that would lead to spend too much time learning to circumvent the X protocol flaws, things that have been done in years by predecessors like Qt and GTK+.

Major toolkits implementations have almost nothing to win in going back in the dark water of X. I guess most of their folks prefer to work on shiny 3D effects based on your GPS location, rather than redefining better basis for everyone.

The manpower available in the X world is very small. Debian lacking of X maintainers is just the summit of that. There is very smart and very competent and skilled guys in the X world, as you can see by simply reading blog posts on Planet Freedesktop for example (me excluded). Unfortunately, there's not enough of them to cover all the things involved in X: input devices, graphics devices, new protocol extension specification and so on. The X server is really late, and it seems most of the developers prefers to work on the server itself than on the protocol behalf. Which is understandable.

I'm curious to see where all of that will lead in the upcoming years. I've been walking in the X world hallways for about 3 years now, and I feel desktop alternatives to KDE and GNOME will all die sooner or later. The time were you could choose between a dozen "modern" window managers has passed away.

After all, maybe that is simply Darwinism applied to computer software.

Flattr this

by Julien Danjou at June 01, 2010 12:00 AM

May 25, 2010

Emmanuel Saracco

May 24, 2010

Julien Danjou

Making startup-notification XCB native

I'm trying to work on XCB this week. And today I've started to accomplish the second step of a long term goal: making an X11 only library using XCB as its primary interface instead of Xlib.

Last year, I had extended the API of startup-notification to support XCB as a back-end. This had been made possible by factorizing some code, duplicating the X11 code and translating it into equivalent XCB.

Today, I've accomplished the second step, being dropping the Xlib code inside startup-notification to keep only the XCB one.

For this, I used the x11-xcb library, which is available when Xlib is compiled with XCB as its transport, which is nowadays the standard.

This library provides the function XGetXCBConnection, which can convert a Display pointer to a xcb_connection_t pointer. Consequently, it's now possible to write and execute XCB based code and being compatible with Xlib.

I've made some benchmark of my work for the occasion, in order to measure what the gain is.

The first table described 1000 launches of a fake application (a modified version of the startup-notification test suite actually). The X server is local (the latency is very minimal then). The gain is computed between the same back-end type for the total time. Full XCB is the "version" I'm working on.

Version - Back-end User time (seconds) Kernel time (seconds) Total time (seconds) Gain
0.10 - libx11 3.20 7.42 12.989 -
0.10 - libxcb 2.76 7.36 12.414 -
Full XCB - libx11 2.74 7.50 12.380 4.6 %
Full XCB - libxcb 2.72 7.16 12.037 3.0 %

The user time and kernel time are provided but are not really interesting. XCB does not offers a big gain in CPU execution time, but is more about latency. Anyhow, there's always a gain with XCB.

This second table describe the same test but running only 100 times over a slow network.

Version - Back-end Total time (seconds) Gain
0.10 - libx11 76 -
0.10 - libxcb 35 -
Full XCB - libx11 72 5.2 %
Full XCB - libxcb 33 5.7%

The gain is relatively small, about 5 %. But anyhow, there's still a gain. Note that the difference between the execution time of the same test written in XCB and Xlib is just huge. I've tried to optimize the Xlib test, but I did not manage to win more seconds.

In conclusion, considering that startup-notification is only used when an application launches another application, the perceivable gain might be even smaller. But anyhow, I think it's worth it.

Flattr this

by Julien Danjou at May 24, 2010 04:05 PM

May 22, 2010

Frédéric Péters

Premier cri du studio volant

C'était déjà samedi passé, à dix-sept heures, criée publique sur le parvis de Saint-Gilles, première pour la crieuse, et première aussi pour nous qui sortions le studio volant. Et un double succès, d'ailleurs la crieuse remet le couvert aujourd'hui.

Une grosse demi-heure de transmission en direct du parvis vers Radio Panik (avec juste un petit couac technique à un moment), sans électricité, avec côté matériel : un netbook (HP mini, merci Sophie), une interface audio (M-AUDIO MobilePre USB, merci Domaine Public), un micro (Shure SM 58, merci Panik), un pied (merci quelqu'un), quelques câbles et un routeur wifi posé pas loin (merci le Verschueren). Et côté logiciel, aucune surprise, une Ubuntu des plus 10.04, jack et ses amis, darkice, et un vieil iptraf des familles pour surveiller l'upload.

La crieuse

La crieuse, Bruxelles, 15 mai 2010

Enfin voilà pour un billet vite-fait, il y aura d'autres sorties, et on est preneur de toutes idées d'utilisation pour ce studio volant.

by Frédéric Péters at May 22, 2010 09:19 AM

May 19, 2010

Julien Danjou

Announcing muse-blog

Digging into the fabulous world of Emacs and Lisp, I wanted to use it to build my personal Web site and my blog. I already moved from ikiwiki to Emacs Muse for my HTML pages some weeks ago.

Muse provides an extension to maintain a journal, called muse-journal. Unfortunately, it was far to fulfill all my needs, and I decided that it would be a good exercise to write a better extension.

Consequently, I started to wrote my own extension, which I named muse-blog.

And this is now what is used to build this blog. :-)

Flattr this

by Julien Danjou at May 19, 2010 03:00 PM

May 17, 2010

Emmanuel Saracco

Voyage Tours - Dompierre-sur-Mer

Mise en ligne du journal de bord de mon voyage à vélo Tours - Dompierre-sur-Mer, près de La Rochelle.

May 17, 2010 05:34 PM

Julien Danjou

Entering the Emacs world

In February 2009, my friend dim tried to force me using Emacs. I know a couple of people using it and Gnus for reading their mail, and it always made me curious.

At that time, more than a year ago, Emacs 22 and Gnus did not seem usable from my point of view.

But around mid February, with the help of dim, I tried again to start using Emacs.

Actually, this was not something new for me. I (very basically) used Emacs between 2000 and 2006. In 2006, when I finished the university and started working at Easter-eggs, I met a couple of vim enthusiasts. They taught me how to use it in various ways, and I started to know more about vim than Emacs, so I switched.

This time, I started by configuring it, but reading the manual and also learning a bit of Lisp. It took me several weeks, but step by step I learned many, many things. And I must admit, I liked it.

I've configured and starting to use some very important mode, like Gnus, Muse, the famous Org mode or even ERC.

I'll probably talk about various Emacs related things in the near future, since I already wrote more than a thousand lines of Lisp in the last 2 months.

Anyhow, I'd just conclude by asserting that my new Emacs/Gnus/Org/ERC setup beats my old vim/mutt/nothing/irssi to the death with a baseball bat. :-)

by Julien Danjou at May 17, 2010 04:36 PM

May 14, 2010

Frédéric Péters

What should Ubuntu do? (to be nice to me)

First disclaimer: those recent posts were triggered by my participation to the first day of UDS, and I think it is great to have such an open event. Despite my criticism I still believe Ubuntu has been great for Debian, GNOME, and free software in general.

Second disclaimer: I understand being nice to me has not been identified as a major goal, but still, why not?

So what should Ubuntu do? And being nice to me is not the sole rationale, there are more substantial tings: exposure to more developers (which will help adoption by application authors, and bring bug reports and patches), asserting interest in the evolving GNOME platform, and assuring a comfortable transition to GNOME Shell, when time will have come.

This is just four ideas I scribbled down, in no way limitative, or fruits of a long reflection:

  • Push indicator packages into Debian;
  • Create a patch against GNOME Shell to have indicators in the panel;
  • File bug reports with the Mutter changes done for Unity;
  • Make GNOME Shell and Seed compatible.

by Frédéric Péters at May 14, 2010 09:56 AM

May 13, 2010

Frédéric Péters

GNOME and Operating Systems (and where my pleasure is)

It's not rare to hear people talking of Debian as a "meta-distribution", a "supermarket of packages" where distributions can pick the bits they want. Is this something happening to GNOME? Is it a problem?

Pleasure...

I manned the booth at FOSDEM, and the booth at Solutions Linux; at FOSDEM we had the event box computer running GNOME 2.28, and Nokia phones running Maemo exposed. And we got questions on those; in March at Solutions Linux we he had installed GNOME Shell on the event box computer, we had no phones, and I had so much more pleasure talking about the future of GNOME when demonstrating the Shell than a phone.

... and Operating Systems

On Monday there was a plenary session by the Canonical design team, and one of the point was that they were building an operating system, not just assembling bits, they were designing an operating system. Which is by the way exactly the thing William Jon McCann tried pointing to Fedora members on their desktop mailing list not so long ago.

So distributions are evolving into operating systems, what will GNOME do? what will GNOME become? I have no answer, sorry :)

by Frédéric Péters at May 13, 2010 06:25 AM

May 12, 2010

Frédéric Péters

UDS Day One (and only one)

On Monday I went to the first day of the Ubuntu Developer Summit, as it is taking place next to Brussels. It was quite nice, I had great pleasure meeting old acquaintances and new persons, especially Rick Spencer, who is managing the desktop effort, and Tomeu Vizoso, of Sugar, introspection and python fame.

Mostly I went there uninvited, curious about their plans relative to GNOME 3, and a big answer was given in the initial Mark Shuttleworth keynote, "Gnome Shell is for Desktops, Unity is for Netbooks", and "we will be packaging gnome shell in 10.10 but the schedule doesn't allow for it to be the default".

During the day I got to talk about how much I wanted for Ubuntu users to be able to experience the desktop we are building (there should be a GNOME Shell session available, and daily builds), how I feared having desktops diverging too much, and how I long for cooperation (I am especially thinking about app indicators). But to be honest I am not sure I convinced people of the importance of going upstream, and not to be passive into that (in places there is a "upstream will anyway reach to us as they see how cool we are" sentiment).

Anyway that wraps it up for me, as I can't make it any other day.

by Frédéric Péters at May 12, 2010 09:44 AM

May 06, 2010

Frédéric Péters

On proposed modules

I would have done a spin-off of the Fer and Xan weekly comic but I failed to orient the speech bubbles correctly, so here I am typing text instead.

There is a webpage, How to propose modules for inclusion in GNOME, it has been read by maintainers, and they followed up with module proposals sent to the desktop devel list.

The release team is meeting soon to decice on modules, and I would like to remind those maintainers that the page has a "Judgement Criteria" section, and the first item is: "Willingness and ability to follow release rules and release schedule."

So far I didn't see any of the module popping up for 2.31.1 on our FTP server.

(Yes I know the call for tarballs was sent late, I would suggest every module maintainer to subscribe to the schedule calendar)

Thanks.

by Frédéric Péters at May 06, 2010 12:29 PM

May 02, 2010

Emmanuel Saracco

F.A.Q. vélo de randonnée

Création d'une Foire Aux Questions orientée vélo de randonnée.

May 02, 2010 10:00 PM

April 30, 2010

Emmanuel Saracco

Parution d'articles dans le magazine « Souffle »

Le magazine papier Souffle sort un n°3 spécial vélo. Il contient 3 textes de mon cru.

April 30, 2010 02:21 PM

Frédéric Péters

Sur pilote automatique

Il y a déjà deux semaines c'était Paris puis Rennes pour le premier Breizh Entropy Congress, deux jours d'ateliers et conférences tirant dans tous les sens, cerf-volant, crêpes, robots..., super chouette et grand merci à John pour l'hébergement, mais déjà TGV et vite fait Laval Paris, travailler deux jours, retour à Bruxelles, courses, lessives, radio et tout aussi vite reparti, Marseille, merci Marie!, DjangoCong, câbles, micro, prise de son, lundi au soleil et retour Bruxelles, release GNOME, radio, dépannages divers, nuits imprévues, etc.

Demain, férié !

Et au placard cette idée de comparatif des deux événements, qui aurait eu en vrac : bière bretonne d'un côté vs bière belge de l'autre, conf "Mozilla communities et les femmes dans Mozilla" vs slide avec fille dénudée (<sigh/>), grand ciel bleu vs temps désolant les Marseillais, etc.

by Frédéric Péters at April 30, 2010 01:20 PM

April 19, 2010

Emmanuel Saracco

March 26, 2010

Infos Pratiques

Historique simplifié des fiches co-marquées

Un nouvel historique des fiches comarquées de Service-publc vient d'être mis en ligne sur historique.comarquage.fr.

Cet historique, dit "simplifié" contient uniquement les modifications effectuées par les rédacteurs dans le texte des fiches. Les autres modifications (sur les meta-données, les actualités, etc) sont ignorées.

L'historique complet reste disponible.

by Emmanuel Raviart at March 26, 2010 11:19 AM

March 25, 2010

Frédéric Péters

Plaisir nocturne

/captures/deleted-google-account.png

(en même temps c'est pas comme si je l'utilisais)

by Frédéric Péters at March 25, 2010 09:37 PM

March 17, 2010

Infos Pratiques

Historique des fiches co-marquées

Plusieurs collectivités utilisatrices de Comarquage.fr nous ont demandé à être informées des changements effectués chaque jour par la Dila sur les fiches de Service-public.fr.

Voici un premier prototype d'une solution.

by Emmanuel Raviart at March 17, 2010 04:26 PM

March 03, 2010

Emmanuel Saracco

Publication papier du recueil de poèmes "L'abyssal envers"

Publication papier du recueil de poèmes L'abyssal envers aux éditions ILV-Edition.

« Ses yeux raclent la pierre d’une caresse animale
Ses mains battent l’invisible pour attraper le temps
Ses pieds qui tambourinent en instruments rageurs
Font remonter de terre les vers du voyageur »
Les vers du voyageur

Fiche - Commander

March 03, 2010 08:20 PM

February 28, 2010

Valéry Febvre

Mon Best Of Podcast

La liste de podcasts que j'écoute actuellement :

by valos at February 28, 2010 10:23 PM

Actu Podboy

Une nouvelle version 1.4.0 est dispo.

6 versions sont passées depuis mon dernier billet. Pas bien :-(

Résumé des changements depuis la version 1.2.0:
  • Les podcats peuvent être renommés
  • Les URL des podcats peuvent être modifiées
  • Les téléchargements peuvent être interrompus
  • Ajout de la possibilité de passer en mode multi-sélection dans les listes
  • Améliorations dans l'analyse des flux des podcasts et dans la vérification des mises à jour
  • Quelques secondes gagnées au démarrage (environ 4 secondes)
  • 3 nouveaux réglages dans une nouvelle section "Display": finger size, scaling factor et orientation

by valos at February 28, 2010 03:08 PM

February 16, 2010

Frédéric Péters

Une après-midi de dégel

En se promenant on pouvait croiser les dernières descentes en luge de l'année,

...

Mais aussi une orange sur la glace,

...

Deux chats amoureux,

...

Et un bien étrange bourgeon.

...

by Frédéric Péters at February 16, 2010 08:16 PM

February 13, 2010

Emmanuel Saracco

Sortie de gurlchecker 0.13

gURLChecker est un vérificateur graphique de sites web pour GNU/Linux et autres systèmes POSIX. Il fonctionne sur un site entier, une page locale ou un fichier de signets.

ChangeLog

  • Vérification des signets Google Chrome
  • Vérification des signets Opera
  • Correction d'un problème dans la gestion des fichiers de signets distants
  • Suppression des noeuds XML d'une manière plus orthodoxe
  • Réorganisation du code de gestion des signets, et nettoyage

February 13, 2010 04:39 PM

Labs

gurlchecker 0.13 released

- Added support for Google Chrome bookmarks check. - Added support for Opera bookmarks check. - Fixed a problem with remote bookmarks file handling. - Now remove XML node using the right way. - Code reorganisation, and cleaning.

by Emmanuel Saracco at February 13, 2010 04:31 PM

Emmanuel Saracco

Sortie de wbmclamav 0.12.1

wbmclamav est un module webmin pour gérer Clam Antivirus.

ChangeLog

  • Correction d'un problème avec le renvoi d'emails quand un port est spécifié
  • Correction d'un problème dans le script de purge de la quarantaine
  • Grosse simplification du script de purge de la quarantaine

February 13, 2010 03:43 PM

Labs

wbmclamav 0.12.1 released

- Fixed a problem on resending email when port is specified. - Fixed a bug in quarantine purge script that was resulting in total quarantine deletion instead of deleting only files >= to a given number of days. - Big simplification of quarantine purge script.

by Emmanuel Saracco at February 13, 2010 03:30 PM

February 06, 2010

Emmanuel Saracco

Sortie de gurlchecker 0.12.1

gURLChecker est un vérificateur graphique de sites web pour GNU/Linux et autres systèmes POSIX. Il fonctionne sur un site entier, une page locale ou un fichier de signets.

ChangeLog

  • Evite l'utilisation de la fonction gtk_widget_set_visible() pour préserver la compatibilité Gtk+ 2.18

February 06, 2010 10:12 AM

Labs

gurlchecker 0.12.1 released

Avoid using gtk_widget_set_visible() function to preserve Gtk+ < 2.18 compatibility.

by Emmanuel Saracco at February 06, 2010 09:57 AM

February 04, 2010

Frédéric Péters

FOSDEM 2010, in a hurry

Just like Vincent wrote there is a flurry of activity this weekend in Brussels, thanks to FOSDEM, in fact there is even some people already here today, it will be nice to meet all of you.

I just got confirmation from the t-shirt producer (tip top print): they will be ready tomorrow, thanks a lot to them, if you ever need t-shirts printed in Belgium, they are really friendly.

There is a GNOME event in a bar on Saturday evening, it will happen at « La Porte Noire » (The Black Door) where there is a great collection of Belgian beers, and other beverages (with a special attention to all of you whisky lovers). (and there is the FOSDEM party on Friday evening, at the Delirium Café, where there is also lots of different beers (noticed a pattern?)).

The address and more details are on http://live.gnome.org/Brussels2010/Attendees

See you!

[imagine a "I'm going to fosdem" button here]

by Frédéric Péters at February 04, 2010 11:34 AM

Marseille, vite fait

Du 20 au 23 janvier, c'était semaine radios libres à Marseille, c'était très bien, il y avait plein de gens.

Vieux port

Marseille, 21 janvier 2010

Merci tout le monde, et tout particulièrement à Marie pour l'hébergement.

by Frédéric Péters at February 04, 2010 11:04 AM

January 30, 2010

Labs

gurlchecker 0.12 released

- Added check for Firefox bookmarks (sqlite3 database support). - Added massive delete of all bad links. - Ask confirmation before deleting a link. - Fixed a problem with local file detection. - Added CSV export. - Rewrote connect_thread() method to avoid use of deprecated gethostbyname() function. By the way, it made network management far much stable. - Fixed HTTP header detection with SSL mode. - All extensions can now be managed by user in settings dialog. - Display filters are now cumulative. - Added a FILE protocol filter. - Force all dialogs to be centered. - Some work on libglade new XML. - Some main treeview popup fixes. - Fixed problems with links refresh. - Fixed a problem with main window reactivation after a scan suspend. - Better management when gurlchecker have been built without SSL support. - Fixed a problem with software license in about dialog. - Fixed a problem with HTTP location and HTML META refresh. - Speed optimization. - Security check is now available for bookmarks projects too. - Fixed logic and GUI problems with cookies management. - A huge number of memory leaks fixes. - Code cleaning.

by Emmanuel Saracco at January 30, 2010 03:14 PM

Emmanuel Saracco

Sortie de gurlchecker 0.12

gURLChecker est un vérificateur graphique de sites web pour GNU/Linux et autres systèmes POSIX. Il fonctionne sur un site entier, une page locale ou un fichier de signets.

ChangeLog

Beaucoup d'évolutions et de corrections dans cette nouvelle version. Les principales sont:
  • Export CSV
  • Vérification des signets Firefox
  • Suppression massive des mauvais liens
  • Vérification de la sécurité des signets
  • Nouvelle méthode de filtrage pour le résultat du scan
  • Réécriture de certaines méthodes réseau
  • Corrections HTTPS et HTTP
  • Un très grand nombre de corrections de fuites de mémoire

January 30, 2010 08:30 AM

January 13, 2010

Valéry Febvre

Nouveautés Podboy

Deux versions (1.1.0 et 1.2.0) de Podboy ont été publiées depuis le dernier billet. Désolé pour la flemme.

Les développements ont été principalement axés sur des demandes utilisateurs.

Changements de la version 1.2.0 (du 12-01-2010)
  • New feature: show details of episodes in page "Downloads" (like in page "Episodes").
  • New feature: update only the selected podcast in page "Downloads".
  • New feature: episodes can now be tagged as "Ignore" in page "Downloads". All episodes with status "ignore" will be skip when the downloading of all episodes of a podcast will be requested.
  • New feature: import of a list of podcasts via an OPML file (new button "Import" in the page "Podcasts")
  • Fixed occasionnaly incorrect display size of podcasts covers.
Changements de la version 1.1.0 (du 02-01-2010)
  • Unplayed episodes can now be identified by a yellow star.
  • Unplayed/played status of episodes can be manually toggled via a new entry named "Toggle Played Status" in the oversel button "Actions" of page "Episodes".
  • Add possibility to show details of episodes before to play them via a new entry named "Show Details" in the hoversel button "Actions" of page "Episodes".

J'ai également travaillé sur le support des fichiers en format OGG. Malheureusement ce ne fût pas sans certaines déconvenues.

  • Sur mon ordi portable, ca marche parfois mais j'ai très souvent des segfaults au démarrage de la lecture. étant donné que ça marche très bien en ligne de commande avec gst-launch (gst-launch-0.10 filesrc location=/path/to/file.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! alsasink ), je penche pour un bug dans le binding Python.
  • Sur le FR, c'est diffèrent. Pas moyen de jouer quoi que ce soit. Il semble y avoir un bug dans le pipeline "oogdemux". Même en essayant en ligne de commande avec gst-launch, c'est toujours la même erreur (j'utlise la distribution SHR-unstable):
ERROR: from element /GstPipeline:pipeline0/GstOggDemux:oggdemux0: Internal data stream error.
Additional debug info:
gstoggdemux.c(3251): gst_ogg_demux_loop (): /GstPipeline:pipeline0/GstOggDemux:oggdemux0:
stream stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.

Les versions de Gstreamer sont les mêmes: 0.10.25

Podboy Downloads 6

Podboy Episodes 2

Podboy Episodes 4

by valos at January 13, 2010 07:06 AM

January 08, 2010

Labs

Mise à jour Fusionforge 4.8.1 -&gt; Fusionforge 4.8.2

L'application vient d'être mise à jour, n'hésitez pas à signaler tout problème... (au passage correction d'un bug généré lors de la mise à jour précédent, produisant une liste vide pour l'assignation des trackers.

by Emmanuel Lacour at January 08, 2010 03:48 PM

January 06, 2010

Infos Pratiques

L'API de Wikipedia

Pour constituer un annuaire libre pour les collectivités, dans le cadre du co-marquage, un bot récupère la page Wikipedia de chaque commune de France.

Pour réaliser ce bot, il a fallu utiliser l'API fournie par Mediawiki. Et ce fut une excellente surprise : la documentation est bonne, les fonctions de l'API fournissent elles-mêmes leur documentation et elles peuvent être testées simplement avec un navigateur web. Un exemple à suivre.

by Emmanuel Raviart at January 06, 2010 07:41 AM

January 04, 2010

Frédéric Péters

Voyage en Italie

Quatre semaines, du 6 décembre, au 4 janvier, dans le sud de l'Italie, en Calabre et en Sicile. Le premier soir, un peu de vocabulaire, j'ai appris « alla spina »; je ne pense pas avoir vu de pompe à bière de tout le reste du séjour.

Cathédrale de Palerme, et clémentines

Cathédrale de Palerme

À Palerme il faut absolument faire des photos des petites rues, avec du linge qui pend, et des marchés, avec leurs étals de citrons.

Plage de Cefalù

Cefalù

Décembre par plus de vingt degrés (24° le 30 décembre à Messine), c'est agréable.

Entre Villa San Giovanni et Messine

Traversée de Villa San Giovanni à Messine

Les transports en commun ont une certaine réputation de retards, on ne les a pas trop vécus. Et c'est génial d'aller en ferry à Messine pour moins cher qu'un Arts-Loi — Gare du Midi avec la STIB.

L'Etna

L'Etna, depuis Acireale

De la Sicile, les gens connaissent l'Etna et bien peu les arancini; ils ratent quelque chose. Cela dit en faire l'entièreté du repas de Noël, c'est peut-être pousser un peu.

Scilla, un côté

Scilla

J'ai été pendant trois semaines captivé par l'existence d'une rue Cesare Battisti à Reggio, avant de réaliser qu'il devait s'agir d'un homonyme. Par ailleurs j'ai découvert que le travail de fin d'études de Fanny Ardant est intitulé « Anarchisme et surréalisme ».

Palizzi

Palizzi Superiore

Edward Lear, artiste et poète anglais, a été fasciné par les villages dans la montagne calabraise, et Palizzi en particulier; le gars m'ayant pris en stop — alors que je n'en faisais pas —, en est très fier; il adore son village.

Un grand merci pour l'accueil à Mikaël et Évangéline à Reggio, à Bastien à Palerme, et à Sophie "même si j'ai fait un peu ma chiante (mais toi aussi un peu alors ça va :)".

by Frédéric Péters at January 04, 2010 11:12 AM

December 28, 2009

Infos Pratiques

Combien de mairies ont un site web ?

L'annuaire de l'administration recense 6486 mairies ayant un site web.

L'annuaire de l'AMF en compte 9615, dont 4671 ne figurent pas dans l'annuaire de l'administration.

Quant à Wikipedia, un "bot" a permis d'en recenser 2719, dont 425 n'apparaissant pas dans les 2 précédents annuaires.

Au total, au moins 11582 (6486 + 4671 + 425) communes françaises ont donc un site web.

by Emmanuel Raviart at December 28, 2009 09:29 AM

December 26, 2009

Emmanuel Saracco

Publication du morceau Simple Dream

Publication du morceau Simple Dream.
Enregistrement et mixage avec Ardour.

December 26, 2009 06:16 PM

December 25, 2009

Emmanuel Saracco

Sortie de wbmtranslator 0.7.1

wbmtranslator est un assistant de traduction pour les modules webmin/usermin.

ChangeLog

  • Correction d'un problème avec la détection de l'UTF-8. À présent, toutes les langues devraient apparaître dans les listes, et la traduction UTF-8 peut être gérée.
  • Correction d'un problème de validation de l'email lors de l'envoi de l'archive des traductions.

December 25, 2009 05:42 PM

Labs

wbmtranslator 0.7.1 released

- Fixed a problem with UTF-8 detection. Now all languages appear in lists, and UTF-8 translation can be managed. - Fixed a problem with email validation when sending translation archive.

by Emmanuel Saracco at December 25, 2009 05:29 PM