LCE, power consumption and version control systems?

I’m travelling back from LinuxConf.EU right now. The
conference was very well organised, taking place in the beautiful Cambridge. My talk went pretty
well. For me it was the first time I relied on KDE 4 not letting me down, I did the presentation
from a KDE 4 desktop, using okular. Glad to tell you it didn’t let me down. :-)

Most of the talks were very technical and largely related to kernel-like stuff. No wonder that,
there were quite some kernel developers around, some of which I got to give me some insight what we
as desktop and their upstream can do better.

Most notably, I’ve talked with Arjen van der Ven about power consumption. Arjen advised to do
regular checks with powertop and see who’s the worst offender in waking up the CPU. He mentioned
that 2 wakeups per second is a good value and that we should be aiming for that. (Not having a
recent enough kernel on my notebook right now, I can’t check how KDE 4 does with respect to that
right now.) He also mentioned that the worst offenders are not-aligned timers, so if we use timers
at all, they should all be aligned with each other so that multiple timer events don’t wake up the
CPU more often than necessary. I understand that there’s work in plasma going on to accomplish that,
and that there’s also a patch for Qt lying on a desk somewhere in Oslo which does this for the whole
of Qt. Would be nice if that could make it in quickly. Arjen noted that there’s also related work in
glibc going on.

On monday night at Duxford Imperial War Museum, I did an interview
with Linux User & Developer Magazine. Make sure you don’t
miss the next edition if you want to read it.

Yesterday, I chatted with Linus about version control systems, especially the difference between git
and subversion. Important aspects are that git does not do well with binary data (especially not if
it changes frequently), it’s just not designed for that (no surprise here). There also seem to be a
couple of performance issues when importing very large repositories (such as KDE).

My major gripes on the whole VCS issue are the following (take git as an example for any distributed
VCS here):

  • Switching from a centralised VCS to a distributed model makes some changes in our social
    structure necessary. In a way, a centralised VCS repository is also some sort of social glue that
    keeps us focused on one authoritative codebase. We should prevent forking (the bad version) — this
    will do harm to our community. Also, I do understand that a centralised way of using git is
    possible, but that’s not quite the point here. Also remember that we do not even have maintainers for
    all the module in KDE.
  • Contributors will inevitably have to adjust their personal workflow. We should make
    absolutely sure that this does not increase the barrier to start contributing to KDE.
  • Using two VCS in parallel can harm the community. If you really want to use git, make sure
    your code is available for others, sync with our SVN repo on a regular basis. I’ve already seen
    people using git and not caring about updating the copy in SVN. This hurts our development process,
    especially while we want to get KDE 4.0 ready for consumption.
  • Consider that switching important tools such as our VCS is a huge step that doesn’t come
    without costs. It might even be a disruptive change to how we work as a community. We should not
    tinker with our tools more than necessary.
  • Switching VCS before we are well underway in the 4.0 release cycle is a stupid
    thing
    to do. One major challenge at a time is already enough for us.

That said, I do see potential benefits from using git. Most of them have been pointed out
by others already. My concerns and thoughts go out more into the social aspects. Git (or any other
distributed VCS for that matter) might perfectly fit how we (should) collaborate as a project. It
might make new ways of creating kick-ass software possible for us, just like it did for other
projects, such as Linus’ baby.

Revolution or Hype?

Yesterday, in a press inquiry which ended up in my mailbox (as most KDE press inquiries do), I got asked whether
KDE4 will be a revolution, or if it’s just a hype. While there certainly is quite a hype around KDE4, the answer
is not quite so simple. Let me try to explain.
The Free Desktop and KDE have come a long way during the last years. There have been various huge changes in KDE’s
social structure, in it’s infrastructure and of course in the sourcecode itself. I’ve split this into three different
areas where I think a shift in paradigm has taken place.

Target Groups

This is probably the one that has the most to do with the question. KDE is
about to enter the mainstream market. KDE4 will not be for geeks and
enthusiasts only, but for a very wide range of users. Those new users (casual
computer users, no IT experts) have different perception of software, and
they’re generally not willing or able to fix small problems, while our
current userbase (early adopters from a marketing POV) can fix minor glitches
themselves. Now let’s have a look what KDE 4.0 will be: First stable version
of our frameworks and libraries, a first set of applications we think meet
our standards. As every dot-oh release, there will be glitches (we are
perfectionists, but we also need to release early, release often). So 4.0
might not be perfect in every single aspects, it *will* need some polishing.
We hope, however, to reach the quality of what currently is KDE 3.5 early in
the release cycle.

Technological

Sound handling and hardware management are two examples that are now being done
in a central place. Software and users need to get used to this. This means
that not every application will take full advantage of all those new
frameworks since they’re just too, well new. Also, being able to make use of
search, semantic desktop features, complete new visual possibilities, easy
access to multimedia and all the goodness the pillars of KDE 4 provide will
set some developers to think what is possible now, it enables creativity
because it makes it easier to integrate all those things in one application.
I’m pretty sure we’ll see some very innovative new applications of those
technologies popping up in the course of the next release cycle, a lot
probably post 4.0. More than once, last weekend someone who was not working
on KDE yet would ask me if his idea of a new application or way to organise work
would be possible to implement. In all cases, with the new technologies it would
even be relatively trivial. This, on the one hand says a lot about the applicability
of our technologies, but also that we’re able to attract new people and that those
people will bring a lot of new and exciting ideas into KDE.

Community

The community has grown a lot during the last 2 to 3 years. We’ve not only
lots of new developers, but also completely new parts of the community. See
the usability people, usability is a process embedded in our development
process now. The Marketing Team is also rather new, and working with the
developers. The KDE community is really growing from a Free Software project
into a Free Culture project and thereby becoming a broader set of qualities.
At the same time, our developer community is
growing, we get lots of new developers and developers shift also into the class of
critical core developers. KDE is a *very* healthy community as it stands.

Bottom line: There’s a hype around KDE4 and we hope we can live up to that. During
the last years, the KDE community has gone through an evolution and is now a mature
and healthy Free Culture project that is about to revolutionise the computing experience.

update:
Computerworld has
published the interview
.

Running KDE4.

Running KDE4.
There was a complaint that it wasn’t possible to run a KDE 4 session, so I thought that it isn’t that bad and tried.
I’m now typing this from a KDE 4 session, here’s my findings: composite works well, I do have transparent windows.
Konsole also works well. Kate also works, I don’t see any immediate problems (above all, it certainly doesn’t crash
on my machine). Marble looks nice (not a major component, but still). Plasma has some applets on the desktop (I don’t
need much, but no problems there). A basic taskbar provides access to open applications. The only Xinerama glitch
I’m seeing is that menues opened appear on the other screen. Not a big deal,
certainly nothing that makes working impossible. KRunner doesn’t start at the moment, but as that one always worked
well for me, I doubt that it’s a long-standing problem, and I assume it’ll be fixed quickly. I’m running kontact
from my KDE3 session, though. (I love my mailbox and I’m not sure how well PIM works already. :-)) Okular, dolphin
and the likes show no problems. And according to powertop, it doesn not even screw up your battery life, it seems.

So Dirk will be tagging beta2 today, and that’s really the time where a lot of the developers should at least
parttime use KDE4. Otherwise we’ll never have it stable. And don’t we all love seeing progress? Do we even remember
having the “Ah that one is fixed now, too” feeling every single day? :-)

Hanging out at FrOSCon.

a sunflower
Arrived in Bonn / St. Augustin yesterday, where on Saturday morning FrOSCon
kicked off. This is the second time the local user group organises this conference and I must
say that this is certainly one of the most relaxed conferences I’ve ever been to. Highlights include good
drinks to keep you running (Go Mate!), couches,
wifi available already before the conference started,
good beer and a lot of nice gimmicks such as the bouncy castle. The atmosphere is very friendly, quite
some KDE-related peeps here, especially Amarok and KDE friendly projects such as Kubuntu, Sidux, Skolelinux
FreeBSD and inevitable the FSFE. The conference is quite a bit more busy than it was last year, and last
one of the gods that make the weather decided to put up sunny, not to hot and above all dry skies on top
of this conference. During my idle time, I talked a bit with Olaf about using Javascript in website and how
this can be done in a way so it’s accessible for everyone. I’ll probably work a bit on websites during this
weekend to make it so. Talk is cheap.

Friday, after arrival, we took on the task of making sure the BBQ works and the beer is of high quality,
I’m glad to announce that both failed none of our tests, so we were rather safe for saturday night — same exercise.
photos. My talk on Saturday about KDE4 went really
well, a double lecture hall packed with people
(probably the biggest one here), the organising team’s estimate is 400-450 people attending this talk, I was able to
go through most of the new frameworks (“pillars”), such as Solid, Phonon, Plasma, Oxygen et al, talk a bit about
our community, demo what’s currently there and finally answer quite some interested questions. People were really
positive of how far we’ve come with KDE so far, and there’s lots of people waiting eagerly for KDE4 while most
seem to understand that stable and cool software doesn’t develop itself. I’ve talked to quite some people and it’s
amazing how our stuff gets people to think. I’ve heard the questions “do you think it would be possible to implement
[insert amazing idea here] with that?”, the answer has more than once been “Yes, in fact, I think it’s quite easy
because that’s what the frameworks are made for” — workflow improvement ideas are quite popular. This is to me a
good indication that we’re underway very well, and that we’re poking into people’s imagination.

This morning, I had another talk scheduled, “CodeYard – bringing Free Software development into Highschools”. While
the audience was much smaller, the audience was interested in what we’re doing and received the talk really well.
After that, I took advantage of Torsten showing up here in St Augustin presenting Marble, then sat down at a couch
in the Chiilout area, mainly to finish this blogentry and upload photo’s. That didn’t happen until two hours later.
Turned out there’s a Canadian sitting next to me, named Zak Greant. I knew his name from the FLOSS foundations
list, he’s a staff member of the Mozilla Foundation. We talked about topics such as Free Software adoption (no
really!) sneakers, college drop-outs (see my crack dealer
blogentry
) and generally had a relaxed time.
Zak shared some interesting insight in how the Mozilla Foundation works, and how it’s related to the Mozilla
Corporation and how he sees the software ecosphere developing after becoming mainstream. We also chatted a bit about
business ethics. I seem to have this strange talent to always pick the one Canadian out of the masses, good thing
they’re generally enjoyable folks. :-)

Summering along

a sunflower
I’m on a train right now to Darmstadt, where BasysKom
kindly hosts a meeting of the KDE e.V. Board of Directors. Adriaan is on the same train,
Cornelius and Klaas will be arriving tonight, Aaron as well, albeit a bit later. He’s coming
in from Oslo which saves him one jetlag.

The main purpose of this meeting is — apart from the really administrative stuff such as
registering the board at the court — how we can speed up the process of getting an
employee to handle administrative work for the KDE e.V.. That should give us, the board
some more room for developing projects and looking into the future. Besides, it’s a waste
if really good developers (not me, mind you) are bogged down with administrative legwork for
a couple of hours every week.

Last weekend, I’ve been to Haldern Open Air, a smallish
(i.e. 6k people) festival in the west of Germany. I was with Kim and met a couple of my friends there
(friends from the time before I moved to the Netherlands). We spent the days barbequeing,
drinking beer, listening to music and relaxing. The weather just turned into summer when we
arrived there, perfect for camping. The festival is in a very rural area, we
literally camped between cows (and their leftovers), one of which got a new calf on Saturday morning.
I’ve also taken some time to make photos, most notably sunflowers.

After returning from the Board meeting in Darmstadt, I’ll be at home for two nights and then
going on vacation for roughly a week. We’ll first get on a night train to Vienna, stay there
for a couple of days and then travel on to Bratislava. Vacation time is much needed, although
my travel schemes currently won’t make you believe that. After the vacation, I’ll be speaking
at FrOSCon about KDE 4 and
CodeYard
. After that, I’m at LinuxConf Europe in Cambridge, and short thereafter on
another week of vacation in Portugal, mainly for the wine. End of September I’ll either travel
to Brussels for a EU FP6 Concertation Meeting or to Berlin for a week of hacking on SQO-OSS.

long walks and parties.

Last week, in Nijmegen there were the
Vierdaagse
,
according to Wikipedia the largest marching event in the world. Roughly 40.000 people walked
for four days, every day between 30 – 50 km, depending on age and some other things. Only
~3000 did not make it. Those days go together with the “Zomerfeesten”, a week-long festival
in the whole city centre, attracting 1 Million people throughout the week, with a peak on
Friday, the finishing day of the Vierdaagse.

Friday was also the day when Kenny (our great aKademy overlord from Glasgow) came to Nijmegen,
as a part of his vacation. I’m not sure he was prepared for a city full of people partying,
30 – 40 stages in the whole city and the celebrations starting around noon. He’s chosen the
busiest day of the year to visit this city. =)

After aKademy, I was quite exhausted for roughly a week, and I had to catch up on other work
which has been left undone for the week before. I’m quite up to speed with all activities
again now. Today was mostly dealing with administrative stuff for the e.V., such as preparing
travels for the next months and hotel booking for the Board meeting we’re holding at the
beginning of August in Darmstadt.

My TODO list for the next days includes some aKademy aftermath (merchandising, logistics mainly)
and sorting out businesscards status. I’ll also do some more hacking on the
Battery plasmoid, but
that is really freetime / evening activities.

Writing Free Software is even better than dealing crack.

On the way back from Glasgow to the Netherlands, a 13 hour trip (after a technical problem
on the high-speed track between the Lille and Brussels even longer), I read
quite a bit. Adriaan got a copy of “Freakonomics”, a book by Steven D. Levitt and Stepen J.
Dubner, which I am now reading (he finished it while I was snoring 40m under the sea in the
Chunnel).

One of the chapters deals with the question “Why do drug dealers still live with their
moms?”

The answer to this question is that most drug-dealers can hardly make a living from their
“earnings” and that their incentive to choose dealing crack as their profession is the
perspective of becoming a top-notch drug dealer (small chance) and then earning a lot of
money. Of course, the chance to die in the process is much higher than actually succeeding.
(The chance to die while dealing crack is even considerably higher than the chance to die
when you’re on death row in a texan prison.)
The reason for choosing crack-dealer instead of “some other well-paid profession” is that
succeeding in crack-dealing is quite visible in their environment, whereas famous writers
(for example) have close to no visibility — hence more choose to get into the drugs
business.

Now you wonder what this has to do with Free Software? I think there’s an analogy that also
applies to
what we’re doing. Having students see that you can become successful (in whatever way)
by writing Free Software, so increasing the visibility of “Free Software developer” being
a profession, rather than a hobby and a good way to make a living should — following this
analogy — motivate folks to actually become Free Software developers.

Combine this with the situation that there’s actually a lack of Free Software
developers (at least in the KDE ecosphere, I know quite some companies who are looking for
competent Free Software developers they could hire).
Working on KDE gives you a track record and shows that you’re actually able to write good
code, work in a team, have technical understanding and a sense for accomplishing something.
I even dare saying “If you’re working
on KDE and are able to contribute in a meaningful way, you’ll almost certainly get a good
job in this industry.”
For some of us it might be obvious, lots of people have interesting and well-paid jobs in
the Free Software industry. The key is communication. Communicating that actively solves
various problems
at once: new apprentices, a healthier job market and of course more people participating
in Free Software projects. This is by the way also what I’m actively communicating to our
CodeYard students.

wrapping up.

Things at aKademy are starting to wrap up. The last few days have been very intensive,
lots of talking, meeting new and old people, solving problems such as “Where’s a free bed
because the hostel has screwed up *again*?”, “Where the hell did DHL deliver the
merchandise?” (Certainly not to the address that was written on the packages, but to a
random motorcycle shop where the box sat for a week. DHL wasn’t reliable for us at all.)

Great progress has been made on current state the KDE4 desktop, to a state where most
applications work quite well, Plasma is taking shape, lots of people are writing
DataEngines and Plasmoids … it’s shaping up really nicely now and we’re starting to
reap from the effort that has gone into it over the past years. We’re still in the phase
where pieces fall into place.

One of the most important things to me at aKademy is the community. It’s simply great to
meet such a lot of nice people. While I’m really tired after a whole week of conferencing,
hacking, BoF’ing and ‘socialising’, I’m extremely excited by the current state of the
community. There’s both, old and new people who are working on all kinds of things, the
community is really healthy as it is, and everything looks very promising. I’m right now
compiling kdegames for tomorrow’s 13-hour-train trip, and I’ve downloaded some of the
videos of talks from last weekend that I’ve missed. Back home, I’ll catch up on sleep and
start working on the aftermath of aKademy.

Yesterday, Danny Kukawka of kpowersave fame, Kevin Ottens, the Master of Solid and I sat
together to discuss how powermanagement in KDE 4 should look like. We came up with a nice
architecture, having a policy agent (which is a new version of kpowersave), a plasmoid to
show current state of things and of course Solid providing us with most of the API that’s
needed for this. Powermanagement in KDE has not exactly been unified in KDE3, but as it’s
now, things look very promising for KDE4.

I’ll stop rambling now and prepare for the night activities, which is “taking the
organising crew out in order to thank them for their outstanding contribution to KDE. The
conference went very smooth. This doesn’t happen by itself but requires a huge amount of
work, discipline and dedication.

A huuuuuuge thank you to Kenny Duffus and his team!

releasing.

Father…ooh…oh…oh…
I see the world, feel the chill
Which way to go, windowsill
I see the worlds on a rocking horse of time
I see the verse in the rain
Ohh…ohh…ohh…ohh…

Pearl Jam – “Release”

Mark Shuttleworth talked about what he thinks is a sensible
release rhythm. While you probably all know his proposal, here’s what I’m thinking about
releasing every six months (or in regular intervals anyway) and synchronising our releases with
the release of other Free Software communities.

Right now, we can say very little about KDE4. We will have to see how KDE4 pans out. My expectation is that it’ll
prove to be a reliable and stable platform that will suffer from little regressions after 4.0 is out. That means that
we should be able to put out a snapshot every so often and use some weeks (6, 8 maybe?) to stabilise it. Time-based
releases are possible in this scenario, but we should ask ourselves if we want to release on a regular basis (and in some cases
postpone shipping some new feature because it would’ve needed three more weeks to finish and polish).

On the other hand, KDE3 releases were very reliable. If I recall correctly, we only slipped once or twice slightly due to a
security problem (which would affect time-bases releases in the same way). So practically, we have time-based
releases for some time already.

What we can do to make it easier for vendors to ship the next version of our software is making it clear what needs to be done
before a release. That would mean: “Here’s a list with what the next release will look like, if you want to make it happen
earlier, help us hacking”
This could be as easy as recording this in bugzilla, marking it as “showstopper” or “required
for x.y.z” and then make the query showing those entries easily accessible through, for example, a direct link.

As to a pulse and having Free Software communities release at the same point in time would
— from a marketing point of view —
be a very bad idea. It would mean two things: Press coverage for Free Software only once in a while,
and smaller projects being snowed
under by those that are doing better PR work. I’m actually wondering why this is brought up by Mark since Canonical’s
umbrella branding fails miserably in this respect — measured by the press coverage that a Kubuntu release has got during the
last cycles.