I hate MITK, I hate CMake

Today I have been working on a Gentoo ebuild for the Medical Imaging Interaction Toolkit (MITK). After some hours of bug-huntingit seems I have been able of crafting a set of ebuilds for it and its dependencies. Now the beast is building (it is an enormous package, which is not a Good Thing™) and everything seems good. I wonder why developers sometimes insist in used totally b0rked tools like CMake, which adds extra dependencies (unnecessarily) at build time, and which are a pain to setup programmatically in an automated build system.

Also, I still do not understand why developers include copies of the used libraries instead linking against system-provide ones… moreover, included copies are most times identical to those installed by the system packages! This way packages using their own copies will never benefit from upgrades done to system-wide ones, e.g. security fixes.

I will rest now, all this packaging shit got me totally tired. If you want to use the ITK / MITK packages in your Gentoo box, you can use the overlay we have at our office. But be warned: everything may blow up in your face, so please be careful. Suggestions are welcome. Rants not. Period.


Fideos de Arroz

Ayer hemos comido con auténticos y genuínos fideos de arroz chinos. Al contrario que con el experimento de los tallarines, esta vez he sacado unas fotillos para ilustrar el proceso, así que sin más dilación paso a detallar como preparar fideos de arroz con revuelto de setas para tres personas.


  • 300-350 gramos de fideos de arroz.
  • 150-200 gramos de setas. Si son setas chinas mejor, aunque yo he probado con champiñones y el resultado es bueno.
  • Cuatro lonchas de panceta, de aproximadamente un centímetro de grosor.
  • Dos huevos.
  • Un pimiento verde.
  • Sal.

Primero se cuecen los fideos con agua muy abundante (vienen con mucho almidón) y un puñadito de sal. Los fideos han de echarse en el agua una vez ésta esté hirviendo. Sacarlos del fuegoy escurrir antes de que se cuezan totalmente. Es decir, que estén «al dente».

Fideos de Arroz I

Para preparar el revuelto, se lavan las setas y se trocean, y también se trocean la panceta y el pimiento en taquitos. Se pone aceite en una sartén, y se echan primero a rehogar los pimientos, y un poco después las setas y la panceta, para que el pimiento quede pochado. Finalmente se escalfan los huevos y cuando esté el revuelto hecho se saca de la sartén.

Fideos de Arroz II

Para cada comensal se echa un chorrito de aceite en la sartén (que quede una capa de unos dos o tres milíetros de aceite, para que no se peguen los fideos), para rehogar la pasta junto con el revuelto. Sazonar con albahaca o nuez moscada al gusto.

Fideos de Arroz III

Una vez rehogada se sirve en un plato normal y corriente 😉 Si uno es diestro con los palillos, puede comerse con tales instrumentos de deglución, aunque algunos preferirán el tradicional tenedor.

El resultado ha sido bastante mejor que el de los tallarines, ya que en esta ocasión además el plato ha contado con el beneplácito de Saverbrunn, aunque algunas mejoras se nos han ocurrido para el futuro:

  • Salar un poco más los fideos.
  • Poner también cebolla en el revuelto.
  • Usar pimiento rojo además del verde.
  • Brotes de soja en el pimiento.

Bueno, esto es todo de momento desde el frente cocineril.

OSL site up & running

The Free Software Office (OSL, «Oficina de Software Libre») of the University of A Coruña, where I work, made public its website last friday. It was about time… 😉 I hope you will like our mascot, it was drawn by me, as well as the logo for the ESCoBA
project. The site runs an instance of the MoinMoin wiki engine with a heavily customized theme based upon Widget, with some fancy JavaScript effects. I am sure it does not work well with Internet Explorer (the site was tested only with Mozilla and KHTML derivates), but I hope compatibility and fanciness will be enhanced some day. Stay tuned! 😀

gtk-doc Speed Sucks

I’m a proud user of Gentoo GNU/Linux. Contrary to popular belief, having to compile all the system is not a drawback but an interesting feature which enables the user to unleash the full power of
deciding how the system will behave. Some weeks ago I enabled the USE-flag “doc” for some Gtk and Gnome packages because that enables building the reference manuals for programming with the libraries – and you can browse them with the handy Devhelp application!

Issuing an “emerge –newuse pygtk” provoked a (rather logical) Gtk rebuild, which has not ended yet. The library itself compiles quite fast about fifty minutes in background, while working) but generating the ocumentation is taking more than two hours! I don’t know wether it can be improved or not, but man, this timing is awful…

The Browser Pit

I do some web programming from time to time, and some things still annoy me. You may already know that, but there’s a nifty group of people which does publishes interesting information about Web standards: the World Wide Web Consortium. Fortunately there are great web browsers nowadays. Unfortuntely, others are not as good… Today I got totally tired of fixing my code so it worked with Internet Explorer, and it was totally correct and standards code!

The sad thing surrounding Explorer is that a lot of people is still using it. Because they use Windows, and it comes with «the beast» built-in. Most people doesn’t care about which browser they are using, because they only think «hey, let’s surf the Internet a bit», so they tap on that icon in the desktop whose name contains the magic word «Internet» without ever noticing that there are more than a single browser out there. Of course, as they don’t know that thay can’t wonder wether there are alternatives.

So the guys at Redmond are not only promoting Explorer: they are making users more stupid than ever.