kvandale 0.4.

kvandale 0.4.
I’ve prepared a new release of kvandale
(TPFAK, “the program, formerly know as kgnuvd”), a KDE frontend for the online Van Dale, the
famous dutch dictionary. The changelog’s highlights of this release are

  • a new name,
  • i18n support,
  • automated installation

… and a couple of small other improvements.

You can download it here, bugreports are
welcome, feedback is appreciated. :-)

Ow, and I got rejected at Google’s Summer
of Code
. Bummer, but as I already saw, there’s a lot of
improvement to be expected from the accepted developers. Go go go!

umount: /data: device is busy.

new fuser frontend of mountconfig
Most of you know that under Linux, you can’t unmount a device if it’s still “in use”. Less
of you know that there are tools that actually deal with this. Most notably “lsof”, which
lists open files on a directory or devicenode. There’s also “fuser” which can even kill all
the processes that are using files on a specific device. The latter should be used with care, of
course.

Using guidance’s mountconfig,
you’re likely to encounter the same problem at some point – and that’s exactly what last week’s
coding efforts tackle. Umounting a device that’s still in use will now launch the dialogue shown in
the screenshot, identifying what’s preventing you from unmounting the device so you can deal with
these applications. The rude might choose to kill processes, but they have been warned.

Coming up next: Will the user interface survive Simon’s critical review? :-)

Hamburg, Linux.

Hamburg's haven
Me and a couple of friends visited a friend Hamburg last weekend, and we – of course – had a
lot of fun. Arrived late friday evening we took the whole saturday to visit the
“Landungsbrücken” and a little later “Strand Pauli”, a beach bar in St.
Pauli, it was all lots of fun and relaxation. On sunday we went to a lake to go swimming but had to
return in the afternoon already due to tight working schedules.

On a more technical note, I read with much excitement an e-mail by Andrew
Morton
, one of the top linux kernel hackers. He asks for some discussion about which features to
merge into Linus’ tree (the official “vanilla” linux kernel) during the 2.6.13 development
cycle. My personal favorites are:

inotify
Inotify is a kernel feature that can notify userspace programs of changes to the
filesystem. It’s especially useful for search engines that can reindex information incrementally,
i.e. only the bits that have changed, but has lots of other users aswell. Only imagining my locate
program would always use an up-to-date index every time I use it sounds really cool, but there’s a
lot more to it.

FUSE
Filesystem in userspace. It makes things such as SSHfs, EncFS, GmailFS and lots of others It might at some point even become a drop-in replacement for KIO. (In
fact, there’s already a KIO-FUSE gateway.)

reiser4
A new filesystem with lots of features which is also supposed to be very fast. I
did some benchmarking some time ago, it looks
promising.

Xen
A virtualization layer allowing you to run different systems on the hardware of
one, sharing resources.

Things like Inotify, FUSE and Reiser4 could mean a lot to desktop-linux.

Ow, and google extended the Summer of
Code
, they are now issuing 400 instead of 200 stipends, so statistically my chances have
doubled. :-)

Error messages and re-educating users.

What just came to my mind when reading a report of a user who had problems switching from
Windows XP to Linux is that a lot of switching users have to be re-educated with respect to reading
error messages. I see lots of people who seem to have developed a reflex to click away error
messages as fast as possible. While that might be a useful strategy on Windows, these people should
consider actually reading errormessages since they in most cases tell what’s wrong. That seems to be
quite bad about Windows – useless errors messages.

So my advice of the day for newly converted users: Read the error
messages
rather than trying to get rid of them as fast as possible. They might aswell tell
you what’s wrong and what you can do about it. Besides, asking someone to help you only saying
“It showed some error!” is not likely going to help.

akademy, whine and other feel-good stuff.

Good day today: Handed in an essay about the constitution of the
European Union
(written in dutch) and went through my “inbox for hardcopied mail” which
is mostly annoying stuff that has to be done but is pretty much empty now. Tonight Chris visited me to have dinner here, which was also quite
good: lambfilet, spinach and mashed potatoes with cheese. I bought a bottle of Zinfandel, which most probably won’t survive the
night. :-)
Also, I booked flights to Spain to attend Akademy
2005
and visit Christine near Alicante, it boils down to two weeks of vacation I’m really
looking forward to. Finally I did some coding mostly abstraction layer stuff for displayconfig.

Had a really good day though, and I’m feeling that way. Next weekend I’ll visit world press photo exhibition in Amsterdam and check out a
friend’s new place in Scheveningen, house-warming.

kde-pim meeting.

sitting outside enjoying the summer at the KDE-PIM meeting
I paid a visit to the KDE-PIM
meeting
in Annahoeve in the south of the Netherlands last night (photos). It was a very nice evening:
The food was terrific (asparagus, salmon, icecream with strawberries), there was even white wine, a
Chardonnay which I liked (normally I prefer red wine), it was cool to meet a bunch of hackers and
playing “Konijntje, Konijntje” was fun (although I didn’t really know the rules).
And
Simon and I did some hacking on the guidance preview widget for displayconfig. When I had just put
the notebook away, danimo told me that QCanvas (which I was using) would be gone for good
in Qt4. It seems to be a good idea to drop the QCanvas stuff already and use a QPainter. I’ll
probably have more time to work on guidance during the next weeks, because I finished my exams for
this summer and only have to write one paper in the course of the upcoming week.
Meanwhile I’m
pondering if I should go to aKademy in late August,
plane tickets are not getting cheaper …

bughunting.

one of the bugs - history ;-)
Downloaded a PyKDE snapshot tonight in the hope to get the PyKDE / PyQT / Python 2.4 toolchain running in order to get a more clear idea
of problems loading guidance programs into kcontrol.
Finally got all the python 2.4 stuff to work, but according to apt there are still a couple
of things dependent on python 2.3, which I wanted to remove completely. Ow well…

I the course of compiling PyKDE, I encountered a compile error which was caused by refering
to a long gone qlist.h, removed that, stuff compiled, sebas was happy. Sent that as a patch to the
PyKDE mailinglist, hoping it’ll help someone, maybe it’ll even make it into the next release.
Finally I could get back to work on guidance, and I had my toolchain updated so I
could be a little more sure that the more obscure bugs can be fixed by myself and will not at some
point just vanish by installing a binary compatible package and noticing that three weeks later,
still not knowing what had been wrong.
The rest of the evening I tried to get clear what was
causing the problems, it boiled down to my system having been confused by our installation script.
Apparently not everything was quite ready for python 2.4. Well, now it should be. And then I found
the root of a problem which I was seeing for more than a month and which crashed the kcontrol module
upon switching to Administrator Mode. Not too interesting, boiled down to stricter type
checking which is generally a good thing.

Well, fixed a couple of bugs which had me bothered for quite some time already, which is
good. Let’s hope they don’t break too much … Ow, and last week it became more clear that we’re
making a good chance to get guidance into Kubuntu soonish,
which is very exciting. :-)

alsa software mixing.

A thread on the Linux kernel mailing list
drew my attention since it deals with a problem that had me annoyed for a long time: Not being able
to have two applications playing a sound at the same time on my notebook, which has an Intel AC97
Soundchip. The alsa kernel drivers do not support multiple streams on hardware that doesn’t do it,
so there hasn’t been software mixing available in kernel. The upcoming release of alsa however does
support these kind of advanced features *ahum*. Lee Revell promises:

This problem is fixed with the upcoming ALSA 1.0.9 release - dmix will
"just work".  It's been a big area of development lately.

I have been playing around with my alsa configuration a little in order to see if the
bits suggested there would work for me – and indeed – I now can have XMMS running and mplayer using
my sound chip (with the snd_intel_8x0 kernel driver) at the same time. The dmix setup didn’t pose to many problems
to me, but you can of course just wait until your favorite distributor does it right for you.
Now let’s push the skype– and [insert random software that
still doesn’t support alsa here]-
developers to use alsa since the OSS layer and also the alsa
OSS emulation don’t support all that shiny dmix magic. Mixing is done in userspace, so not using
alsa-lib means no fun.

peace ‘n stuff.

green again
I’ve been reading the yearbook of peace and security 2004 for the last few days
and it’s all quite depressing.

Israel is building a wall which causes great poverty in
Palestine and doesn’t really help to stop the violence on both sides. While the
International Court of Justice confirmed that Israel is breaking international law, The US
support Israel in building that wall.
Genocidal actions in Sudan have been nearly ignored by the
international community and the situation showed once again that noone is willing to help you,
unless it’s in the country’s direct national interest.
Central Asian states are becoming
increasingly unstable because of lack of water, corruption and religious extremism. At least there
seems to be a lot of oil beneath their ground so the US are already there, discussing with Russia
and China who’s going to have which part of the pie.
Not too surprising, in the
Netherlands
, the experienced threat of terrorism is as high as never before, while
the real level of threat is relatively low. Still, it’s the impact of terrorism that counts and the
dutch people seem to be very vulnerable in that light. Probably this is one of the countries where
terroristic incidents are the most efficient. :-(

On a positive sidenote, looking out of my window, the trees are fully green again and
the sun is shining on a more and more regular basis. Guess I shouldn’t forget that I must be pretty
damn lucky as long as I live in a secure and stable political environment …