Workshops in a Flying Saucer.

The Evoluon conference center in Eindhoven / NL. (image from Wikipedia)
I’ve been spending the last two days in this spacy
building
you can see on the photo, getting in
touch with 15 year-old pupils. The building has this distinctive “Thunderbirds are Go!” charme
you find in sixties Sci-Fi, but it’s certainly a nice building, spacy from the inside, but still
not to big to make it a huge boring exhibition hall.

There’s a “Technology Career Event” here in Eindhoven, which is
being attended by 2500 kids around the age of 15, all with at least some technical subjects at
school. I’m doing 30-minute Subversion workshops here with my colleague Donna. We’re explaining
how Subversion (and version control in general) works to the kids and have some demo machines set
up for them to try it out. The feedback is amazingly positive. The kids understand quickly how to
work with SVN, even if we’re not getting much further than touching the basics (commit, update,
resolve, diff). The understand that SVN is a solution to a broken workflow which is often email-
and/or USB-stick-based. Most of those kids haven’t heard of Free Software yet, but there certainly
are some who do. Moreover, quite a few of those kids have heard of Linux. We have three demo
machines here, one running Ubuntu, one Kubuntu (mine!) and one Windows XP. IBM is kindly hosting
us at their huge stand, so we’re next to “Raving Robots” all the time. I don’t get the impression
that the kids are less excited by subversion, it does make them think about how they work, and how
programming in teams works. There’s also the occasional ‘geek-kid’, knowing Linux, and being
susceptible to Free Software stuff and of course “CodeYard”. For those that don’t know CodeYard,
here comes the shameless plug:

CodeYard offers a controlled Free Software development
environment — documented in their mother tongue — and a community for
high-school-aged kids, free of charge. Its purpose is — depending on who you ask in different
order — to make computer science more popular among students, and to raise awareness for Free
Software.

It indeed is a good feeling to see those kids making First Contact (HA!) with Linux, KDE and Free
Software, and not being scared. (Didn’t get a single comment about “But I want Windows because I
don’t know this thing” or worse. In fact, it got some of them thinking and asking those questions
that show “I might try it”, otherwise, at least now they’ve heard of it and experienced that it
doesn’t eat their first borns (not that most 15 year-olds in the Netherlands have first borns, of
course).

Yesterday, during the idle time you have at this kind of events, I fixed most of the remaining CSS
issues with the brand-new Planet CodeYard, where
we’re collecting weblogs of CodeYarders, today is mostly spent talking to people here.

konsole tabs on steroids.

konsole with dynamic tab names.
In the category “little gems that make my life better” (which in fact is synonym for “Why
everyone would be better off with the Z-Shell”
), today I’m reading from my .zshrc file. Zsh has
those fine pre- and post-exec hooks. Those let you specify functions that are run before a command
is executed, and right after. I’m using a tabbed konsole all of the time, with some DCOP magic,
it’s easy to monitor your commands from another tab.
But let the .zshrc script speak:

# Define colors
BLACK="%{"$'\033[01;30m'"%}"
GREEN="%{"$'\033[01;32m'"%}"
RED="%{"$'\033[01;31m'"%}"
YELLOW="%{"$'\033[01;33m'"%}"
BLUE="%{"$'\033[01;34m'"%}"
BOLD="%{"$'\033[01;39m'"%}"
NORM="%{"$'\033[00m'"%}"

if [ "$KONSOLE_DCOP_SESSION" ]
then
        if [ `/usr/bin/whoami` != 'root' ]
                then
                alias ssh='konsolewrap  ssh'
                alias lftp='konsolewrap  lftp'
                alias sftp='konsolewrap  sftp'
                alias ssh='konsolewrap  ssh'
                alias su='konsolewrap su'
                alias ipy='konsolewrap ipython'
        preexec () {konsole-rename-cmd $1}
        precmd () {
            konsole-rename-path
            if [ `/bin/hostname` = 'luna' ]; then
                RPROMPT="${BLUE}[${YELLOW}%*${NORM} `battery`${BLUE}]${NORM}"
            fi
        }
        fi
fi
    

This involves two small scripts, konsole-rename-path and konsole-rename-cmd. Those basically
change the name of the tab with a dcop call. konsole-rename-path looks like this:

#!/bin/bash
# This small script renames the konsole tab to the current working directory

if [ "$KONSOLE_DCOP_SESSION" ]
then
    dcop `echo ${KONSOLE_DCOP_SESSION}` renameSession "`echo $PWD | sed s,^$HOME,~,`"
fi
    

This is konsole-rename-cmd:

#!/bin/bash
# This small script renames the konsole tab to the current command

if [ "$KONSOLE_DCOP_SESSION" ]
then
    dcop `echo ${KONSOLE_DCOP_SESSION}` renameSession "$1"
fi
    

konsolewrap is for commands like ssh, tabs get the hostname in this case:

#!/bin/sh
dcop $KONSOLE_DCOP_SESSION renameSession "$*"
exec $cmd "$@"
    

This can of course all be neatified, but it does the job pretty well. I can start a job in
one tab, switch to another, and I see the tabname change when the command is finished. This
is somewhat similar to the “Monitor for Silence / Activity” in konsole, but a bit more
flexible.

As you see, there’s also a variable set, RPROMPT. This produces a clock and the current
battery charge state. In colors and all.

battery(){
        CBS=`acpi | awk '{print $4}' | awk -F % '{print $1}'`
        if [[ ${CBS} -lt 35 ]] && [[ ${CBS} -gt 10 ]]; then
                echo "${YELLOW}${CBS}%%${NORM}"
        elif [[ ${CBS} -lt 10 ]] || [[ ${CBS} -eq 10 ]]; then
                echo "${RED}${CBS}%%${NORM}"
        else
                echo "${GREEN}${CBS}%%${NORM}"
        fi
}
    

Low battery value, and the right hand side prompt’s battery percentage goes yellow, then red.

KDE4’s konsole has a very similar feature built in, so less fiddling with scripts in the
future. :-)

KWin, fglrx and AIGLX.

I upgraded my notebook to Kubuntu Gutsy last week. In the end, I decided to
cleanly install it since I had made quite
some modifications to (mostly powermanagement-related) pieces, and I wanted to sync with the current state of
the art of fellow Ubuntu developers.
It has been a bit of a bumpy ride, and I have yet suspend to get working again, some debugging is needed there.
I’m suspecting the ipw3945 driver and fglrx.ko to not play nicely, so that’s left for further investigation.

I have now installed the newest fglrx driver (42.3) which includes brand-spanking new support for AIGLX. KWin
from KDE4 works now on that machine. Hooray! (No Xgl tricks needed.) I didn’t get the driver to compile with
a 2.6.23 kernel, but I heard the support for this is already in the pipeline. It would really be nice if those
things wouldn’t be held back. I guess that’s me really waiting for a driver for ati chips that is developed in
the open, so hopefully the newly released specs and driver will fix that within a reasonable timeframe.

KWin (running with this new AIGLX support) still appears to suffer from some performance problems, application
resizing is slower than in Kwin3 (but
feels better than in Beryl where I really find it annoyingly slow). I understood that there are also some problems
with knotify4, but dfaure should have already fixed that. Transparency in konsole works smoothly. I find the shadows
of windows not perfect yet, they seem to be painted when the application still fades in and create a dark
background and a less smooth transition. Also, the edges look a bit artificial to me, maybe some more blur towards
the outer edges would do good here. (Lubos, Rivo!? :-))
I really do like the sliding animations when changing virtual desktops. (Bonus point for making that one respect
the ordering of desktops on pager plasmoid :> ) Also the expose effect with its “find as you type” is really a
useful thing. Big thanks for that!
Another thing that struck me in a positive way is kickoff. It works really well, feels snappy, the search feature
rocks compared to the ‘classic’ menu. I had tried kickoff in KDE 3 some time ago, but it didn’t seem to be my cup
of tea. I’m astonished how this addition makes the new desktop really a useful and intuitive tool.

It’s good to see many things falling into place right now, and experiencing the progress that is currently being
made towards a release. For some, it turns rather stressful at times. Dealing with high expectations, a lot of
feedback that is not always equally useful (hello, armchair developers!) can be daunting. Nevertheless, the
critical point of the development cycle leading up to KDE 4.0 lies well behind us. Putting this into context,
we’re now pretty close to having our work in a state where we can actually use it, take advantage of it and
have fun with it — and make it a smooth release.

Happy B-day where applicable!

Happy Birthday KDE! As we all know, I am exactly 20 years older than KDE, meaning I’m turning 11111 today,
while KDE is turning 11. (Please gracefully note that I spare you the boilerplate bits about
the history of KDE by refering you to the slides that are up on
that spot of the IntarWeb.)
That’s a lot of ones. More numbers include 1970 (the vintage year of the bottle of
Colheita
Kim gave me, love!), 13 (the number of beers I had last night), 1 (the number of glasses of wine I had), 0 (the
number of hangovers I’m suffering) and 42 (d’oh).
Now I don’t claim that yesterday’s party (given by a couple of girls I know, 3 to be exact) did improve my
clarity of thinking, but at least nobody
mistakes me for,
say, Elvis, or Johnny Cash. (While I certainly would be flattered.) But no t-shirt for me.
So the train I’m sitting in right now brings me to Eindhoven, the so-called City of Lightbulbs (or something,
it’s the hometown of Philips). At Fontys Hogescholen, today there’s the second day of the second edition of
T-DOSE. The organisers were thoughtful enough and schedule my talk on KDE4
(no surprise there) late in the afternoon. Next weekend, I’ll be killing time over in Krefeld / Germany at
Ubucon. Back to
Turning Accessors into Mutators.

Now listening: Depeche Mode – Playing the Angel

Congrats, Kevin!

Kevin's kake.
Dr Kevin, I am very happy you’ve finished your
Phd. A traditional online cake has been prepared to celebrate! Hooray!

I’m currently hanging out in Weybridge near London, working on a proposal for a new EU project. Sirius
is hosting the meeting, Mark Taylor hosts myself (thanks, dude!). Yesterday’s travel was not exactly
uneventful, a suspected
suicide bomber caused some delay which I turned into some time chatting with the Italian girl travelling on
the adjacent seat and having coffee at Waterloo station. Arrived in Weybridge, the “merchants of chaos” got
me wireless access, cider and good Indian food. Today and tomorrow will mostly be spent on churning out huge
amounts of texts that make huge amounts of sense. What else is new?

On recent Anti-KDE blogs.

Being an avid reader of blogs in the Free Software world, and especially in the Free Desktop
world, lately, I see there is an increased amount of blogs that try to put KDE in a bad light.
Today’s example on
Iain Holmes blog made me realise that it’s time to
publicly ask people to stop exhibiting this pattern in the public.

This kind of sidekicking other Free Software projects puts you and the
community (GNOME in this case, but it universally also applies to KDE, the Freedesktop and the
Free Software community) as a whole in bad light. While it’s probably fine to
make an ass out of yourself, please don’t apply the same logic to others. Therefore, if you
consider bitching about The Other Desktop (be it KDE, GNOME or whoever else’s offering) in
public forums, please keep the following in mind (and don’t expect me to list new things here):

  • Trying to ridicule other Free Software people’s work is counter-productive to
    the cause of getting more people to use Free Software.
  • Stating bad things and forgetting about the background for convenience reasons shows
    only one thing well: You’re too narrow-minded to see the big picture, and you don’t do any
    effort to try to really understand the thing you’re bitching about. In 99.9% of the cases,
    the world is not as black-and-white as you are so conveniently trying to put it.
  • It also puts your community into bad light, and it makes collaborating for those who
    are less narrow-minded much harder. Don’t throw sticks between your own people’s legs.
  • It doesn’t help the adoption of Free Software and the Free Desktop at all,
    in fact, it shows that you’re immature.
  • It might provoke the same kind of reaction from the other side, leading to a vicious circle
    of mud-slingering with the consequences I’m outlining in this post.
  • Diversity is one of the principles of Free Software, your pattern of behaviour shows a deep
    lack of understanding of this concept.
  • Remember what today might be a funny and smart post, it can be tomorrow’s reason for an employer
    to not consider your application because of a lack of vision, understanding and diplomacy in dealing with
    diversity. (Replace “employer” with “potential girl-friend” at will.) Don’t shoot yourself in the
    foot.
  • The Free Software cause is best served by being open-minded, collaborating with each other and
    being honest and positive about your own and other’s achievements.

Those who look behind this kind of posts wonder about the real reasons for this
immature and harmful behaviour. My personal guess is that there’s a fear of others outrunning your
pace of innovation (which is absolutely normal in competitive innovation, sometimes A leads,
sometimes B does, in total both win in terms of speeds compared to being the only player).
Then, there’s an uncertainty how to cope with this in a collaborative fashion (there’s a lot of
potentially shared technology in KDE4, you know?). The net result is doubt for those who
consider trying a Free Desktop — they’ll just wait until the community shows it’s mature and
working as one on a good user experience.
That’s the people you’re scaring away, yet it’s by far largest part of the desktop market. Remember,
there’s one vendor monopolising the market, by concentrating your effort on
the other Free Desktop, you’re trying to fight for a 3% – 6% slice of the market (which probably
aligns much better with your offering, and thereby it has much less of a competitive advantage.
That is “interesting”, “unique” and “challenged”, but probably not very “smart” from a marketing
point of view.).

So here’s my call to weapons:

People of the Free Software community, discourage this kind of counter-productive behaviour
and fight for a wide community of freedom-lovers that grows beyond trying to downplay other’s
achievements.

On a positive note, I do know that this kind of behaviour is not the common
case in either community. In fact, I’ve worked together really well with people from other Free
Software projects (including GNOME) in the recent past. Unfortunately, only bad news is news, so
this is what gets picked up by the media. And unfortunately, it needs a lot of people not peeing
in the pool to see a pattern of a nice bunch to make up for one rotten apple.

Beta 3 delayed one week

Again, I’m acting as messenger of the Release Team. It has just been decided that the Beta 3
will be out one week latet than originally planned. This is mainly due to some changes in how
plasma work that we’d like to see in the new Beta. Highlights of that will be a working panel
implementation. In other news, Robert Knight is working on kickoff, which will probably also
be part of the next Beta.

This does give you, the developer of a component the possiblity to make sure your bits work
well before Wednesday next week, when Dirk will be tagging Beta 3. Please make sure that you
don’t break anything and have your code reasonably stable. Do delay unsafe code
changes (which probably shouldn’t be happening at all in the first place) to after tagging
and work on stability. Last time, Dirk (as part of the Release Team) had to spend a
considerable amount of time to make things compile, that should not be necessary this time.

In the meantime, the
list of showstoppers for KDE 4.0
is taking shape. While it’s not
complete yet, it provides some good pointers to where the Release Team would like effort
directed. Fixing those bits makes it possible to release KDE 4.0.

Now listening: Manu Chao – La Radiolina

Development Priorities

The KDE Release Team has a list with things that need to happen before we can get KDE 4.0
out of the door. I feel it’s a good idea to share this with the wider community as much as
possible. We need to get our noses aligned and head for 4.0. This will be a huge effort, but
on the way to the finish line for 4.0, we’ll need to focus on the following things:

  • Workspace Plasma
  • Color configuration (I understand this is already in)
  • Oxygen style (More help is need in polishing)
  • Konqueror
  • Dolphin
  • KMail
  • Kate
  • Printing (i.e. kprinter)
  • Sound

The Beta Cycle will continue until these critical components are determined
to be functional (i.e. the “Minimum Requirements”). Our hero David Faure put it very nicely:

Let’s fix the damn code before we think about betas and parties :-)

The Release Team is contacting people in charge of those components to give more detailed
information about the status and what to expect.

We shoud encourage people to work on those priority items instead of other things which can
be deferred into the 4.0 cycle. Getting 4.0 out of the door will be heavy lifting, now is
time to show that we can function as one community with one
shared goal. So if you want to see KDE 4.0 released (and I boldly assume we all do), help with
fixing the bits above.

AMD’s new promises

If AMD will open specs in a way sufficient for developing a new driver (and start of the
development by providing a reference driver, this is indeed very good news. Some sources
even say that a first version of the new, free driver they’re promising will be released
next week. I’ll happily download the source code once I’m back from vacation. :-)

Rumours that I’ve read all over the place include interesting bits which do make
it looks like it’s all a grand masterplan, and one that works well with the Free Software
development model as well. Rumours are that the people (among which Dave Airlie who has
shown in the past that he is dedicated to getting this high priority item in the Free
world fixed.) who have earlier been working on reverse engineering existing drivers.
Phoronix (an ATI friendly website) is of course all raged about all this news.

At the same time, the closed fglrx driver seems to be recovering from a long period of
minimal feature additions. For now, ATI promises large performance improvements for the
imminent 8.41 release and AIGLX support for October. This hopefully means short term that
a lot more machines that will run KDE 4 will be able to use a composited environment. Longer
term it means that the out of the box experience will be much better (imagine the driver
being merged in main line Linux and BSD!). Also it means that *you* decide when to throw
away that old video card (not a vendor deciding when to stop supporting it for newer kernels)
and maybe even the long-awaited stable support for suspend/resume.

ATI now following Intel’s way of working with the community rather than around it means
that NVidia will have to think how to rearrange its “Open Source strategy” so it fits better
with a community-driven development model — although the immediate pressure on them is
a bit lower due to better driver quality and shorter ‘time-to-user’. “Following” in this
context means that that ATI requires — just like Intel — some sort of NDA for those who
want to look into the specifications.

An interesting bit is that the often-cited ‘AMD representative’ at the Kernel Summit in
Cambridge is Chris Schlaeger, a long-time KDE developer. Congrats, Chris!

Update: It seems that AMD has released large parts of their specification without
strings attached. Kudos to those who made it happen!

New Release Schedule

The KDE Release Team has worked on a revised release schedule during the last week, and now it’s
a fact. While a first version of the renewed schedule had already made it on the development lists
there were still some problems open with it. If you’d pick the worst week of the whole year, it
would be around 20 December, which was the release date in the previous version of the revised
schedule. We’ve now shifted the release date of KDE 4.0 to December 11th. Tagging of this release
will take place on 5 December.

The new thing in the release schedule is not the slightly earlier date, but it’s the overall
strategy has changed. Just like KDE is becoming more and more a meta-project, there is also an
ongoing discussion what KDE is anyway. It’s a community of Free Culture people, a Desktop
Environment (a term that noone outside the geek world understands) and a development platform. And
that’s what we’re releasing. So here’s how it looks like in the new world order. First, the Desktop:

  • October, 2nd: KDE 4.0 Beta 3
  • October, 19th: Total Release Freeze
  • October, 30th: KDE 4.0 Release Candidate 1
  • November, 14th: KDE 4.0 Release Candidate 2
  • December, 11th: KDE 4.0

Since a releasable desktop builds on libraries and tools that are sufficiently stable, and since we
feel very good about the current state of kdelibs and everything that is a bit further down the
stack, we’ll be releasing a KDE Developer Platform already at the end of October,
together with the first release candidate. This developer platform (sort of an SDK) contains
libraries and tools to build and run KDE applications (but no applications themselves). By doing
this, we want to make it easier for third party developers and ‘casual developers’ (those who don’t
have time compiling kdelibs and the other needed bits) to work on KDE 4.0 applications and port
existing applications to KDE 4.0. This is all part of a grand master plan which is all about making
KDE development easier and more fun. This effort is of course spearheaded by Techbase, our portal to all the knowledge about KDE software and
development. Techbase has in very short time become an invaluable tool for the whole community and
lower the barrier to enter KDE development.

Enough rambling, here’s the deal: KDE 4.0 is now planned to be released on December
11th
. The KDE Development Platform will be given birth (yeah, it really is our
baby!) on October 30th. The Development Platform contains kdesupport, kdelibs, kdepimlibs and
kdebase/runtime.