Back home / debugging

I’m now back home after a couple of weeks of lots of traveling. I first was 4 days in London, visiting my sister, then was 5 days at home, sick with a flu most of the family got while in London, then last weekend to beautiful Salamanca for a conference at the University. Back home on Sunday, still a bit sick, and on Monday flied back to Stansted for a 2 days visit to Michael, for some debugging and bug fixing fun.

So, in this 1.5 days of fun action at Michael’s, I’ve learnt a few useful bits:

  • Some useful tools, like LD_DEBUG, pmap, fuser, c++filt
  • Technique: this was the best part of it, since Michael is what we could call a superhacker, so watching him debugging stuff to look for a problem’s cause is very helpful (even though you can’t read everything he writes, since he does it so quickly 🙂 ), and he has some nice habits in his technique that should help me a lot, now that I’ve learnt them, in my bug hunting work.
  • I had an idea about writing scripts using lots of these tools for our users to use them for reporting super-useful bug reports, so will be writing a little bit about that as soon as I start looking at it.

While visiting Michael and his wonderful wife and daughters, I had the opportunity to meet my sister and family on Tuesday for dinner, since they were visiting Cambridge that day, where they will be moving soon, so I will have the opportunity to visit both my family and Michael (for more debugging and technique learning fun) more often.

GUADEMY 2008

Last weekend I’ve been in Valencia for the II GUADEMY, organized by PoLinux (the Linux Users Group of the Universidad Politécnica, where the event took place).

The purpose of this II GUADEMY was to really serve as a starting point for further sharing between free desktops (it’s true it was just about GNOME and KDE, although I’m sure we could easily get other free desktops in), and I really think that it has succeeded. There were some core KDE and GNOME developers around, even though lots of GNOME/KDE Spanish developers were missing (where were you?), and even though not big decisions have been made, I feel that this is the beginning of a new era in free desktops sharing. Of course, it’s a very long trip what we just started, but seeing people from both desktops willing to cooperate as much as possible means we (the people that believe in further sharing) are not that wrong 🙂

So, here are my conclusions from what I have seen/heard during this weekend with lovely weather and very little sleep in Valencia:

  • We are sharing some stuff now, much more than a few years ago (HAL, DBus, PackageKit, WebKit, poppler, fd.o specs, etc), but we still have a lot of duplication (duplicated screensaver / power management / login manager / etc cores, with lots of security and other issues).
  • People generally agree in sharing code, but sometimes in the form of “here’s our implementation, based on our technologies, use it if you want”, which doesn’t work. There were complains about how GIO was written without taking KDE’s KIO people into account, and about KDevelop new code, which didn’t take into account Anjuta’s people. So, we need to fix this.
  • We need a process to determine what to share, as Will said in our talk, and, from what I got from Vincent‘s talk, Freedesktop.org is in need of an official board that can establish a formal process for accepting standards and implementations, and also it needs to get more KDE people involved so that it’s not seen as a GNOME-only thing. It seems to me the natural way would be to fix fd.o’s situation and use it for further sharing.
  • The whole Saturday morning was dedicated to talk about the GUI toolkits’ future, with Carlos Garnacho, Holger Freyther and Javier Fernández from igalia. It was really interesting to see what the future might bring us, since free GUI toolkits need not only to cope with better look&feels, but also with different devices, given the mobile device market is making a lot of use of our technologies.
  • Some further examples of things that could be shared: an indexing/metadata system, PIM data access and management.
  • I missed Sunday’s talks, since my bus was leaving at 11AM, but I’ve heard there were some joint conclusions in the last session, so let’s see if someone that attended publishes them.
  • Vincent didn’t want to believe me, but really, normal Spaniards don’t usually go to places like Los Bestias 🙂 (details from Jos). I wouldn’t really recommend it to anyone, except for stag parties (if you ever go to this kind of parties), but it was fun to see something different, we laughed a lot during the dinner. Fortunately, we arrived a bit late, so we just had to listen to the Karaoke for a few minutes, after that, it was shut down.
  • Not related to GNOME/KDE, but I convinced a couple of more people to use their GPSs to record their travels and send them to me for uploading to the OpenStreetMap database, even though one of those guys’ GPS suffered a disgusting accident 🙂

Just wanted to end up with a big congratulation to the organizers, they managed to do a great conference, with core international speakers, even though the planning started quite late. Now looking forward to GUADEMY III, which might perfectly take place, why not, in the joint GUADEC/Akademy in 2009.

You can see the slides of my talk here. These don’t include Will’s plan for code sharing process, which I guess he’ll publish soon.

Summer of Code 2008

For the first time, I am mentoring a student for this year’s Google Summer of Code, who will be working on a GNOME client for the openSUSE build service.

Mario (ie, the student) seems to be a very motivated person, so I’m willing to see the results of his work this summer, and to have another future contributor to openSUSE and GNOME.

As for the mentoring itself, following Federico’s mentoring HOWTO should make things easier for me, so I hope to do a good job. More news about the project as things progress.

Merluza a la gallega

Some more healthy food cooking for your taste pleasure. This time, we’re going to do Merluza a la Gallega (or Hake Galizian style). I personally find hake quite tasteless, so it needs to have some kind of sauce or something that gives it more taste, so the a la gallega part is the way to go.

You need (for 2 people):

  • 1 onion
  • Hake filets. They can be frozen, as in my case, but of course, it’s probably better if you buy them fresh:
  • Hot Paprika:
  • Potatoes

And here’s how to do it:

  1. Boil the potatoes with their skins:
  2. Chop the onion and fry it:
  3. Once the potatoes are soft (don’t touch them, just try with a fork 🙂 ), peel them and cut them into slices:
  4. Once the onion is poached, put half a spoon of floor and fry. This is for making the sauce thicker:
  5. Then, put the potato slices all over and pour some paprika all over:
  6. Then put the hake filets:

    and cover with water
  7. Final step is to just wait until the hake is soft:

And these easy steps (it will take less than 1 hour to do it, and this is counting the time the potatoes need to be boiled down, which is quite long, during which you can continue hacking 🙂 ) make for some healthy food:

Desktop effects activation (compiz)

The discussion about how/where to put the activate-desktop-effects thing in the appearance capplet seems to not reach a good solution for all distros, at least for now, so, while waiting for a good solution for all upstream, and since in openSUSE desktop effects means compiz, I added a patch to the simple-ccsm openSUSE package to activate compiz directly from the same place where it is configured.

So, the ‘Desktop Effects’ icon in the GNOME control center:

starts now simple-ccsm, which contains a check box to activate/deactivate compiz.

The old ‘Desktop Effects’ capplet (aka gnome-xgl-settings) will soon die, since gnome-xgl-switch script has been moved to the XGL package, and the hardware database is already on a separate package.

Desktop effects activation

After having implemented the same functionality already available in Fedora and Ubuntu (different implementations of the Desktop Effects tab on the appearance control-center applet) for openSUSE, it is time to come to a common solution for all distros to remove their need to add this functionality. An initial patch is available here.

Still lots of things need to be discussed and clarified, so if you care about activating desktop effects in GNOME, GNOME Control Center mailing list.

New colleague at work

Yesterday was the first day with Vincent Untz as a member of the openSUSE GNOME team. For those who don’t know him, he’s one of the top-involved persons in upstream GNOME, having been part of the Foundation board, the release team, and maintainer of several modules, etc, etc, so his role on the team will help a lot in making openSUSE and GNOME better.

Looking forward to see what he helps us getting to.

Hack week II

Last week was Hacking week at openSUSE, so here’s a summary of what I did:

  • I moved all my OSM-related packages to the Application:Geo repository in openSUSE’s build service. And I added a couple of packages I needed to build maps for my GARMIN GPS unit: mkgmap and osmosis, which have helped me in making the first 100% free map of Spain for GARMIN GPS units 🙂 Of course, the map is incomplete (compared to the P2P’ed maps GARMIN users in Spain use), but this should probably get more people to contribute to the maps. Here are some screenshots of the maps on a Que PDA (thanks to Miguel Blanco):
    que-osm-spain que-osm-barcelona que-osm-madrid que-osm-madrid-sol
  • I lost lots of time at the beginning of the week trying to make Mapper (a fork of maemo-mapper to provide more OpenStreetMap-oriented features) work, fixing some build problems (patches are upstream now) and packaging it. It still doesn’t work very well though, crashing a lot, but this will improve soon.
  • I started working on a GNOME client for the openSUSE build service. Most of the time was spent doing tests with Python in general and the OSC Python API in particular, so the result is not that fantastic, but at least I’ve got now a good base from where to continue the work. You can find the (clean) work in my git repository:
    git clone http://www.gnome.org/~rodrigo/git/osc-plugins.git

    gosc.png

Mapping party in Zaragoza

Unfortunately, due to going to Brussels for FOSDEM, I won’t be able to attend, but just in case people are interested, here is the news: the Spanish OpenStreetMap crowd are organizing a mapping party in Zaragoza, where they will probably finish (or at least almost) a complete map of the whole city. If you are close and want to learn how to contribute the maps, it’s a great opportunity.