Archive for the ‘Uncategorized’ Category

Intel pushing Linux even further

ACPI has always been a problem for the Linux kernel. Be it suspend and resume, power management, screen brightness or any other function provided by ACPI; it never really worked for and with Linux. The reason for that is the immense size of the ACPI specification. And the fact that almost ever manufacturer has a private interpretation of said standard.

The solution for Linux, up to now, was to stop being Linux and pretend to be Windows, e.g., emulate all the bugs and implementation details of Windows’ APCI implementation and hope that it somehow works. Most of the time it did. Sometimes it didn’t. And instead of blaming the manufacturers and Microsoft for not adhering to the standards, Linux was blamed for trying to implement the ACPI standard to the letter.

However; this is – hopefully – going to change. For Intel released a new firmware interface (providing all the functionality of ACPI), with a reference implementation for – you guessed it – the Linux kernel. And whereas the APCI standard (version 4.0 was released only recently) spans over 727 pages (http://www.acpi.info/spec.htm), the new firmware interface (http://simplefirmware.org/) needs only 9 pages in its current incarnation (draft 0.6).

Now SFI is not going to change the world overnight. But I hope to see SFI gaining traction within the next three to five years. I’m crossing my fingers.

The End of the Pax America?

As a read a report about the lastest BRIC meeting , I was wondering if I this might be the end of the Pax America.

Ready – Set – Fight

Now it’s official; for the first time ever Microsoft sued another company over patent issues related to the use of Linux. Now we’re really in the ‘Fight’ stage of Ghandi’s old saying: “First they ignore you, then they laugh at you, then they fight you, then you win.” Tomtom was sued for the use of the FAT file system in some of its devices. Apparently there are some patents related to the inherent filesystem-management of Linux. I’m curious how these hold up in court.

Why 2008 Will Be The Year Of The GNU/Linux Desktop – seriously. I mean it. Really.

Don’t take this article too serious. I had a lot of fun writing it. I do believe that GNU/Linux is coming to the desktop in 2008, however.

When I first started to work with GNU/Linux, now almost eleven years ago, I’d never would have guessed that it would become such a large part of my life one day.  I liked the idea; communal developed software. Collaboration on a whole new level. Software not developed by a company, but by enthusiasts. It had something rebellious and subversive. I just fell in love with it.

Back than, GNU/Linux (and the BSDs also) was merely a toy for me. Something fresh, something new. Something completely different. But after I had set up my first servers, had started using October Gnome as my desktop environment, I started digging deeper. Into the internals of the system. Into the Source.

I always considered myself to be a fairly good coder. Not excelling, but competent. And because of that I recognised the quality of that code. I realized that that those little pieces of code were the works of mad genious artists. Pure, elegant C, honed to perfection.

I was convinced that it would – one time – rule the world.

Yet I always fooled myself about GNU/Linux’ problems. Back then, getting X to run was a task of days, at least on the hardware at my disposal. The desktop environments were clumsy and counter-intuitive, the applications limited and ugly, for they were written with either CDE or Tcl/Tk. Most didn’t even have a graphical user interface and were limited to the console. XMMS was okay for playing MP3 files, but even watching a move was a daunting task. Those were the dark ages, when the Knights of the Light only had started their quest for freedom and equality.

Even back then there have always been Prophets of The Dawn. Reiterating the old prophecy that this, yes, this very year would come to be known as the Year Of The Linux Desktop. I always used to simile at them and give ‘em cookies. They were cute, somehow. Breaking the Mighty Power of the Forces Of Evil would be the task of a generations. The desktop market was fixed in the hands of Microsoft, a convicted monopolist. An unpleasant necessity. Breaking that power would be a task for giants.

While I was promoting GNU/Linux in my surroundings, providing installation setup, first private, than commercial, the Amazing Power Coders were out there. Doing good wherever they could. And one by one, Linux’ weaknesses were being addressed, scrutinized, judged and attacked with the fury befitting a wildcat.

Things have changed. GNU/Linux has changed. X.org, KDE, GNOME, Linux and all the other pieces of software composing the free software desktop have ripen well. It’s functional software, mostly slim and elegant, sometimes even beautiful.

Today I saw an advertisement for the Asus EEE PC, printed by a large consumer electronic store (Mediamarkt). This is the first time, that a GNU/Linux product has been advertised by that company. A company that has no ideology whatsoever. Besides making money. In the last few month no week passed by without the announcement of yet another GNU/Linux desktop/consumer product. Mostly ultra-lowcost ultraportable. Because these are the areas where GNU/Linux shines like a twinkling star.

And there is more. In two weeks there will be an anniversary. The anniversary of “GNU/Linux preinstalled on the desktop machines of a major hardware vendor”. It’s almost been a year since Dell announced to ship desktop and consumer products with Ubuntu pre-installed. HP followed shortly thereafter. And although neither Dell nor HP are making huge profits by selling GNU/Linux machines, both still provide the option. Even after a year.

With the rise of those consumer machines GNU/Linux got a lot of advertisement. And suddenly people I never talked to before about GNU/Linux start asking questions. They ask for support, for guidance and help. Some even offer to pay. Finally.

And the disbeliever, the skeptic inside, is falling silent.

So, now hear my prophecy, as I am joining the ranks of the Enlightened; The GNU/Linux desktop is coming. 2007 saw the end of the beginning. 2008 will feel the torrent.

GTK+ 3.0: Getting serious.

GTK+ has come a long way. From its humble beginnings as “The GIMP ToolKit”, it is now used in a plethora of applications. In fact, GTK+ is very popular. GNOME, one of the leading desktop environment on Unix systems, uses GTK+ almost exclusively. The Gimp is built upon GTK+, of course. And there are many commercial software developers like Adobe, NVidia and VMware that decided to use it as a base for their products.

Still, there are several shortcomings with GTK+. Development of the 2.x series started back in 2002. Since then, GTK+ has ripened and aged. It has aged well, but still: its age shows.  Throughout the 2.x cycle, several years now, the developers have kept GTK+ ABI compatible. This keeps application developers depending on GTK+ very happy:  they can be sure that code linked to an older version of GTK+ continues to work with newer releases. Packages released back in 2002 will continue to work with new library releases. That’s great, because no third-party application developer likes to rebuild and repackage the whole product line, just because a new version of the underlying libraries got released and all the distribution start packaging that version. It causes work and trouble. And for commercial/proprietary developers that means costs.

The commitment not to break ABI made a lot of people very happy. But it also put very tight constraints on the GTK+ developers. It’s not that easy to add new features and remain ABI compatible. Minor features, yes. But as soon as you want to make radical improvements and need to change the exposed data structures, you run into serious trouble. It just not possible beyond a certain point.

On the 2008 GTK+ Hackfest in Berlin, Imendio’s GTK+ hackers presented their vision [1] of GTK+’s future and the reasons why they think that GTK+ has to make a step forward, embrace change and break ABI compatibility. Other GTK+ developers [2] have also voiced their opinions, listing parts of GTK+ that need serious love, but state that they don’t require breakage.
Whether or not these are the things that will mark the road to GTK+ 3.0, almost all of them need attention. And give hints to the shape of things to come.

Theming:
Theming is one major aspect of GTK+ that needs a serious overhaul. Theming in GTK+ sucks and blows big time. The initial concept of how theming works in GTK+ stems from the very first releases and never received serious love. As a result it is very difficult to do fancy graphic things in GTK+ or to make custom widgets that fit into the rest of the desktop. The funny look of Evolution’s tree headers in some themes is one symptom, but every developer with the need to write custom widgets is looking for a hard time.
There have been several suggestions on how to do that, some of them involving CSS-style theming [3]. CSS would be nice, for sure. But even the ability to paint one widget to mimick another would be a huge gain. Application-specific theming and custom layouts? Delicious.

Animations:
Although it is possible to create animations in plain GTK+, it’s not very easy to do. Out of the desire to create fancy interfaces in the image of the iPhone interface arose several GLib/GTK+ inspired libraries; Clutter, Pigment and Moonlight. All of those have drawbacks, however: Clutter doesn’t use the GLib event system, Moonlight is written in C++ (a no-go for a GTK+ library) and Pigment is in a very rough state. Still, there are very solid plans to what extent a scene-graph library might interact with GTK+ and what requirements such a library has to fulfill [4].

Canvas:
GTK+ has no standard Canvas. There is a GnomeCanvas, but it’s deprecated, not very popular and lacks some key features, like drawing GUI. Many developers resort to plain Cairo when it comes to custom graphics, but Cairo is lacking a way to draw GUI elements also. Nothing gained. There are some possible candidates [5] for a possible GTKCanvas, but none of them seems to be the right candidate. And then there is the question, if a specialised canvas is a good idea at all.
This problem might be solved with the emergence of the aforementioned scene-graph library; instead of introducing a specialised library for custom paint operations, make that library the standard way.

OS integration:
GTK+ is not limited to X11 systems anymore. There are many GTK+ applications that have been ported to Windows and enjoy a surprising popularity there; Inkscape for example has a significant Windows user base. And OS X gets more important with every passing month. Some of these applications make extensive use of operating system features. Up to now, GTK+ featured only a limited set of functions to provide access to operating system functions, but the first solutions addressing this problem are starting to appear [6].

Introspection:
One of the GTK+ buzzwords of the last few month has been introspection. Introspection allows to, well, inspect an object, its methods, public members and its inheritance. This is not only very comfortable for debugging, it also allows for very easy bindings: automated bindings for your favourite programming language? Here it comes. It might still be a while until all parts are in place, but already the results are amazing [7].

It might still be a long time until GTK+ 3.0 gets released. And in any way; GTK+ 3.0 won’t be about adding new features. There are still some mistakes of the past lumbering in GTK+. Exposed private structues, public members that get manipulated directly: things like these have to be fixed before a GTK+ 3.2 can start adding features [8].  But with some of the features, especially a scene-graph, window-independent widget placing and over-rideable paint methods for GTK+ widgets, GTK+ is starting to look very interesting again.

[1] Imendio’s GTK+ 3.0 vision
[2] Gtk+ Hackfest 2008: Day one and a half
[3] GUADEC 5 Notes
[4] New Theme API
[5] Canvas Overview
[6] libgtkhotkey 0.1, Portable Hotkey Integration
[7]
Future of GNOME language bindings

[8] GTK+ 3.0: Enabling incrementalism

The wind of change?

Lessing ist einfach unglaublich.

Als Lessing bekannt gab, dass er sein bisheriges Streben, die fundamentale Neuinterpretation des Urheberrechtes, aufgeben werde, da er sich zu Grösserem berufen fühle, war ich ein wenig skeptisch. Lessing sagte, er habe erkannt, dass das Urheberrecht zwar ein zwichtiges Thema unserer Zeit sei, dass es aber Probleme gebe, die behoben werden müssen, damit es überhaupt erst Wandel geben kann. Was Lessing damit genau meinte, war mir nicht wirklich klar. Um so erstaunter bin ich nun, da ich weiss, was in den vergangenen Monaten in seinem Kopf vorgegangen ist.

Lessing plant nichts anderes als die fundamentale Neuerfindung der amerikanischen Demokratie. Zum ersten Mal in der amerikanischen Geschichte soll die Politik vom Einfluss des Geldes abgeschottet werden. Der “Sanfte Korruption”, die in den Vereinigten Staaten von Amerika so zum alltäglichen Geschäft gehört, soll mit Hilfe von Moral und Ethos Einhalt geboten werden. Lessing präsentiert eine “Change Congress”-Kampagne, in der sich, die teilnehmenden Kongressleute sich unter Anderem dazu verpflichten, kein Geld von Lobbys anzunehmen.

Wenn man daran denkt, dass einer der verprechensten Präsidentschaftskandidaten, Barack Obama, den Einfluss von Lobbys ebenfalls negativ einschätzt, so ergibt sich daraus eine Interessante Aufstellung; sowohl im  Kongress, wie auch im “Oval Office” könnten innerhalb von sechs bis acht Jahren Leute sitzen, die sich aus moralischen Überlegungen  gegen den Einfluss von Wirtschaftsverbänden in der Politik vorgehen.

Wäre es möglich? Wenn ja, so könnte dies Amerika tatsächlich in ein neues Zeitalter bringen. Undwahrscheinlich, aber nicht unmöglich. Ob das auch in Europa geht?

Das Schweizer Bundesgericht entscheidet – gegen den Benutzer

Wie das Schweizer Bundesgericht entschieden hat, ist es illegal, parallel-importierte DVDs in der Schweiz vor dem offiziellen Kinostart zu vermieten oder zu verkaufen, da es darin eine Beeinträchtigung des Aufführungsrechtes des Urhebers sieht. Den Verband “ProCinema”, der die Klage gegen Genfer “Vidoeclub” angestrengt hat, wird dies freuen. Zumindest vorerst. Denn dass dieses diese Entscheidung weitrechende Konsequenzen haben wird, scheint der Verband übersehen zu haben.

Über die seltsame Auslegung von Besitzrechten im Zusammenhang mit geistigem Eigentum (Mein Buch; ich kann es lesen, verleihen, verkaufen. Meine DVD; ich darf sie schauen, aber nicht verleihen, nicht verkaufen?) will ich mich gar nicht auslassen. Vielmehr mache ich auf die Kurzsichtigkeit dieses Vorgehens aufmerksam; wieder einmal versucht sich hier ein Industriezweig mit Hilfe von Gesetzen gegen die Entwicklung der Technik zu wehren. Und dass dies schlicht und einfach sinnlos ist, hat die Vergangenheit schon zu oft bewiesen.

Mit dem Aufkommen von DVDs und den dedizierten Nachfolgern HD-DVD und BlueRay-Disk hat der Konsument erstmals Zugriff auf hochauflösendes Bildmaterial. Zusammen mit den immer billiger werdenden Projektionsgeräten ist das Heimkino keine Utopie mehr. Dieses Heimkino will genutzt und gefüttert werden, Vorzugsweise mit dem neusten Filmmaterial. Bis anhin war es möglich, gewisse Filme schon vor dem Kinostart in Buchhandlungen zu beziehen (Beispiel; English-Book-Shop Zürich). Und natürlich gibt es da immer noch das Internet; auch Amazon und andere Online-Händler führen Filme in ihren Listen, die auf den Schweizer Kinostart immer noch warten. Wird der English-Book-Shop Zürich nun die DVDs aus dem Verkauf ziehen, da sich nur jene Sachen gut verkaufen, die gerade im Kino laufen? Wird Amazon seine Schweizer Listen bereinigen?

Wissen will frei sein, denn es liegt in der Natur von Wissen, es will sich verbreiten. Und genau aus diesem Grund funktionieren die künstlich erzeugten Absatzmärkte für audiovisuelles Unterhaltungsmaterial nicht mehr, denn das Internet ermöglicht es, alle künstlichen Schranken mit spielender Leichtigkeit zu durchbrechen. Mein lang-erwarteter Block-Buster ist in den USA gestartet, läuft in der Schweiz aber erst in zwei Monaten an? Herunterladen. Mein DVD-Verleiher hat die neuste DVD nicht im Handel, im Kino habe ich ihn aber schon gesehen? Herunterladen. In dieser Zeit, in der wir auf Tempo und Reaktionszeit konditioniert werden – schneller, grösser, neuer, besser – ist die Geduld des Konsumenten höchts beschränkt. Und mit dieser Einschränkung der Geduld sinkt auch die Bereitschaft, auf die neuste Unterhaltung zu verzichten.

Die Frage ist, wie die Konsumenten auf die Entscheidung des Bundesgerichtes reagieren werden. Werden sie dies achselzuckend hinnehmen? Werden sie auf ausländische Amazon-Listen ausweichen? Oder werden sie die gewünschten Inhalte einfach unlizenziert aus dem Internet herunterladen? Wahrscheinlich alles, je nach Gewohnheit, je nach Vorliebe. Das Nachsehen haben die Video-Verleiher. Und die heimische Kino-Industrie, denn auf kurz oder lang wird die Kundschaft diese Lektion (“Wenn du etwas schauen willst, hole es aus dem Internet”) sicher lernen. Die Kunden ins Internet und zu den Internet-Stores zu drängen ist so etwa das Dümmste, was der Cinema-Verband hätte machen können.

Mittelerdefest und Wien

Das Mittelerde-Fest 2007 ist vorbei. Wie auch die letzten Male war es wieder äusserst interessant und faszinierend. Viele neue Gesichter, aber natürlich auch viele alte Bekannte. Die Musik war gut, die Shows überzeugend, Forzarello ungeschlagen. Schon alleine für die beiden hat sich die Anreise gelohnt. Ungewöhnlich; ich habe mir einen Sonnenbrand geholt, meine Stirn ist am Abblättern….

Die letzten drei Tage war ich in Wien bei einer Benmark-internen Documentum-Schulung. Wien ist eine äusserst schöne Stadt, das muss ich zugeben. Vor allem die Altstadt, in der ich auch das Hotel habe und in der sich das Office befindet, ist voller Mini-Läden mit den unterschiedlichsten Sortimenten. Es scheint mir chaotischer als Zürich, aber das ist vielleicht nur der Schein.

Heute Abend geht es zurück in die Schweiz, morgen bin ich dann auch schon wieder bei der CS.

Offener Brief an das Schweizer Fernsehen

Dass das Schweizer Fernsehen einen Teil ihres Programmes auch online anbietet, finde ich toll. Was ich jedoch nicht so toll finde, ist die Wahl des Formates. Das RealMedia-Format ist proprietär und nur für eine beschränkte Anzahl von Betriebssystemen verfügbar. Da das Schweizer Fernsehen ein öffentlich-rechtlicher Sender ist, sollte der Zugriff auf das Programm jedoch auch einer möglichst breiten Bevölkerungsgruppe zur Verfügung gestellt werden.
Die ausschliessliche Verwendung von RealMedia läuft dem jedoch direkt zuwider. Es würde mich daher äusserst freuen, wenn Sie ihr Programm auch in offenen Formaten zur Verfügung stellen könnten. Als Möglichkeit präsentier sich die Kombination von Ogg Vorbis/Ogg Theora.

Ogg Vorbis (Audiokompression) und Ogg Theora (Videokompression) sind beides frei verfügbare Formate. Ihre Verwendung unterliegt keiner Beschränkung, sie können kostenlos und gebührenfrei benutzt werden. Aufgrund ihrer Quelloffenheit und freien Lizenzen, unter welchen die beiden Formate zur Verfügung gestellt werden, stehen die Formaute für sämtliche Betriebssysteme und Formate zur Verfügung. Die Verbreitung des vom Schweizer Fernsehen produzierten Videomaterials würde daher nicht mehr von den Entscheidungen einer Drittfirma abhängen.

Die Würfel rollen…

Kennst du dieses Gefühl; du gibst deine Arbeit ab, lehnst dich zurück und fühlst dich vollkommen ausgeliefert. Das Roulett dreht sich, die Würfel purzeln, die Bowling-Kugel rollt. Aber du hast keine Kontrolle mehr, keine Möglichkeiten mehr zur Einflussnahme. Alle Chancen, irgendetwas am Ausgang zu ändern sind verstrichen, genutzt oder ungenutzt. Jetzt kannst du nur noch zuschauen und abwarten.

Genau so geht es mir im Moment. Die letzten Sachen, die ich noch zu erledigen hatte, sind jetzt in der Prüfung. Ich selbst kann nichts mehr daran ändern. Sicher; ich habe ein gutes Gewissen, ich habe (meist) gute Arbeiten abgegeben und bin immer am Ball geblieben. Aber dennoch bleibt dieses ungewisse Gefühl, diese Unsicherheit… Was wenn?

Ich hasse dieses Gefühl. Dieses Ausgeliefert-Sein. Diese schicksalsergebene Abwarten. Nur zuschauen können, ohne eine Möglichkeit zur Einflussnahme. Wie ein unbeteiligter Zuschauer daneben stehen, obwohl man doch auf direkteste Art und Weise betroffen ist. Ich hasse dieses Gefühl.

Next Page »