I will be speaking at following conferences in the next three months:

Category: projects
I will be speaking at following conferences in the next three months:

Dear Lazyweb!
Does anyone know how I can teach GNU indent to cuddle opening function braces and the closing ')' of the argument list ? i.e.
int main(int argc, char* argv[]) {
}
instead of:
int main(int argc, char* argv[])
{
}
Any help appreciated!
So, you've always been annoyed by the fact that you have to load all those laptop, i2c, hwmon, hdaps Linux kernel modules manually without having spiffy udev doing that work for you automagically? No more! I just sent a patch to LKML which adds DMI/SMBIOS-based module autoloading to the Linux kernel.
Hopefully this patch will be integrated into Linus' kernel shortly. As soon as that happens udev will automatically recognize your laptop/mainboard model and load the relevant modules.
Module maintainers, please add MODULE_ALIAS lines to your kernel modules to make sure that they are autoloaded using this new mechanism, as soon as it gets commited in Linus' kernel.
For a fully automatically configured system only ACPI-DSDT-based module autoloading is missing. I.e. load the "battery" module only when an ACPI battery is actually around.
Jeff now started to use lennartpoettering for tagging his blog stories... AWESOME!
One of the major construction sites in GNOME and all the other free desktop environments is the VFS abstraction. Recently, there has been some discussion about developing a replacement DVFS as replacement for the venerable Gnome-VFS system. Here are my 5 euro cent on this issue (Yepp, I am not fully up-to-date on the whole DVFS discussion, but during my flight from HEL to HAM I wrote this up, without being necesarily too well informed, lacking an Internet connection. Hence, if you find that I am an uniformed idiot, you're of course welcome to flame me!):
First of all, we have to acknowledge that Gnome-VFS never achieved any major adoption besides some core (not even all) GNOME applications. The reasons are many, among them: the API wasn't all fun, using Gnome-VFS added another dependency to applications, KDE uses a different abstraction (KIO), and many others. Adoption was suboptimal, and due to that user experience was suboptimal, too (to say the least).
One of the basic problems of Gnome-VFS is that it is a (somewhat) redundant abstraction layer over yet another abstraction layer. Gnome-VFS makes available an API that offers more or less the same functionality as the (most of the time) underlying POSIX API. The POSIX API is well accepted, relatively easy-to-use, portable and very well accepted. The same is not true for Gnome-VFS. Semantics of the translation between Gnome-VFS and POSIX are not always that clear. Paths understood by Gnome-VFS (URLs) follow a different model than those of the Linux kernel. Applications which understand Gnome-VFS can deal with FTP and HTTP resources, while the majority of the applications which do not link against Gnome-VFS does not understand it. Integration of Gnome-VFS-speaking and POSIX-speaking applications is difficult and most of the time only partially implementable.
So, in short: One one side we have that POSIX API which is a file system abstraction API. And a (kernel-based) virtual file system behind it. And on the other side we have the Gnome-VFS API which is also a file system abstraction API and a virtual file system behind it. Hence, why did we decide to standardize on Gnome-VFS, and not just on POSIX?
The major reason of course is that until recently accessing FTP, HTTP and other protocol shares through the POSIX API was not doable without special kernel patches. However, a while ago the FUSE system has been merged into the Linux kernel and has been made available for other operating systems as well, among them FreeBSD and MacOS X. This allows implementing file system drivers in userspace. Currently there are all kinds of these FUSE based file systems around, FTP and SSHFS are only two of them. My very own fusedav tool implements WebDAV for FUSE.
Another (*the* other?) major problem of the POSIX file system API is its synchronous design. While that is usually not a problem for local file systems and for high-speed network file systems such as NFS it becomes a problem for slow network FSs such as HTTP or FTP. Having the GUI block for various seconds while an application saves its documents is certainly not user friendly. But, can this be fixed? Yes, definitely, it can! Firstly, there already is the POSIX AIO interface -- which however is quite unfriendly to use (one reason is its use of Unix signals for notification of completed IO operations). Secondly, the (Linux) kernel people are working on a better asynchronous IO API (see the syslets/fibrils discussion). Unfortunately it will take a while before that new API will finally be available in upstream kernels. However, there's always the third solution: add an asynchronous API entirely in userspace. This is doable in a clean (and glib-ified) fashion: have a couple of worker threads which (synchronously) execute the various POSIX file system functions and add a nice, asynchronous API that can start and stop these threads, feed them operations to execute, and so on.
So, what's the grand solution I propose for the desktop VFS mess? First, kick Gnome-VFS entirely and don't replace it. Instead write a small D-Bus-accessible daemon that organizes a special directory ~/net/. Populate that directory with subdirectories for all WebDAV, FTP, NFS and SMB shares that can be found on the local network using both Avahi-based browsing and native SMB browsing. Now use the Linux automounting interface on top of that directory and automount the respective share every time someone wants to access it. For shares that are not announced via Avahi/Samba, add some D-Bus API (and a nice UI) for adding arbitrary shares. NFS and CIFS/SMB shares are mounted with the fast, optimized kernel filesystem implementation; WebDAV and FTP on the other hand are accessed via userspace FUSE-based file systems. The latter should also integrate with D-BUS in some way, to query the user nicely for access credentials and suchlike, with gnome-keyring support and everything.
~/net/ itself can -- but probably doesn't need to -- be a FUSE filesystem itself.
A shared library should be made available that will implement a few remaining things, that are not available in the POSIX file system API directly:
Et voilá! Without a lot of new code you get a nice, asynchronous, modern, well integrated file system, that doesn't suck. (or at least, it doesn't suck as much as other solutions).
Also, this way we can escape the "abstraction trap". Let's KDE play the abstraction game, maybe they'll grow up eventually and learn that abstracting abstracted abstraction layers is child's play.
Yeah, sure, this proposed solution also has a few drawbacks, but be it that way. Here's a short incomprehensive list:
I guess I don't have to list all the advantages of this solution, do I?
BTW, pumping massive amounts of data through D-Bus sucks anyway.
And no, I am not going to hack on this. Too busy with other stuff.
The plane is now landing in HAM, that shall conclude our small rant.
Update: No, I didn't get a Caipirinha during my flight. That line I added in before publishing the blog story, which was when I was drinking my Caipirinha. In contrast to other people from the Free Software community I don't own my own private jet yet, with two stewardesses that might fix me a Caipirinha.
A while back there has been a lot of noise about the GNOME "platform" and what GNOME 3.0 should be. Personally -- while I certainly like the progress GNOME makes as a "platform" -- I must say that the platform is already quite good. In my opinion, what is lacking right now are more the tools and utilities that are shipped *with* the GNOME platform than the platform itself. More specifically there are a set of (rather small) tools I am really missing in the standard set of GNOME tools. So, here's my wishlist, in case anybody is interested to know:
<wishlist>
</wishlist>
I'd love to see proper Avahi support in the Nokia N800 (just think of proper file manager integration of announced WebDAV shares!), but until now Nokia doesn't ship Avahi in Maemo. However, there's now a simple way to install at least basic Avahi support on the N800. The INdT includes Avahi in their Canola builds. Hence: just install Canola and your N800 will register itself via mDNS on your network.
In related news: I am happy to see that Avahi has apparently been included in the just announced GNOME Embedded Platform.
I have just released new versions of a few of my packages:

Does anybody know what's going on with LinuxTag? I submitted a presentation proposal a few months ago. I haven't yet received an email whether my talk has been accepted or not. According to their website notification emails should have been sent out on march 13th. Which is nearly a month ago now. When I login to the "virtual conference center" I see that my paper is still "In Review". They didn't respond to my emails (twice).
Does anyone have an idea what is going on?
Does anyone know what I can do to get psfrag work with PostScript files generated from Gnumeric (i.e. Cairo) charts?
Oh, and why does Gnumeric insist on using .ps as suffix for exported charts, although the files written are perfectly valid .eps files and presumably everyone uses them as such?
Thanks!