The embarrassment in Afghanistan

The recent debacle surrounding the arrest and threat of death penalty for
the man in Afganistan who converted from Islam to Christianity
is nothing less than an embarrassment for the nations involved in the deposing of the Taliban government. While this embarrassment is more easily explainable in terms of the Afghan invasion being a more direct response to 9/11 and thus there was less time for planning a post-war Afghanistan, it does raise some questions on how such things are handled. George Bush wanted to set up Afghanistan and Iraq as shining democratic examples, but seemed to forget that a democracy is more than just allowing elections. And its not that there was a lack of experience with how to establish a democracy in a conquered nation, as it was done in both West-Germany and Japan after World War 2.

I googled a bit and I found this section from the Potsdam declaration, which was the document setting the terms for Japanse surrender.

We do not intend that the Japanese shall be enslaved as a race or destroyed as a nation, but stern justice shall be meted out to all war criminals, including those who have visited cruelties upon our prisoners. The Japanese Government shall remove all obstacles to the revival and strengthening of democratic tendencies among the Japanese people. Freedom of speech, of religion, and of thought, as well as respect for the fundamental human rights shall be established.

After the war the allied forces put clear directions of the writing of the new constitution. In Afghanistan it seems that apart from demanding a system based on elections there wasn’t any such guidance given. And it seems just as little guidance has been given in Iraq.

I am not sure how its been possible to screw up so completely twice in a row, but I guess part of the problem was ‘selling’ the wars as freeing the peoples of said nations. I guess that when you come in as a liberator as opposed to a conquerer its harder to impose your rules on the freed. Nontheless I am sure that the US government had a lot of negotiation options with the northern alliance before the Afghan invasion and maybe that would have been a good time to demand that a post-war constitution that was based on the same values and principles as was demanded of Japan, as shown above. Instead we got Taliban-light .

GStreamer based Media center software

I came accross GMediaRender last night which is client for upnp based media servers, like the Intel Viiv systems for instance. We plan on integrating support for this functionality in our Elisa Media Center software so its nice to see others also looking into this area with GStreamer.

I also managed to put up some photos I took of our new office. Any free software people visiting Barcelona should be sure to pay us a visit at the World Trade Center.

Adding my blog to Technorati for the fun of it –
Technorati Profile

Java and GNOME

Found a Belle and Sebastian album on emusic today which I was to download with eMusicJ
and I got told there was a new eMusicJ version out. While downloading using that I noticed that with latest stable JRE the GTK+ theme support in Java seems to have improved as eMusicJ was using the same theme that the rest of my GTK+ apps are and the application actually did look like it belong. Nice to see Java provide a native look and feel beyond the 3 hardcoded themes in earlier versions of Java.

Update: Opps, it was not updated theming in Swing that did this, the reason for the nice integration is that eMusicJ uses SWT (like Eclipse) not Swing. Thanks to Michael Sheldon for correcting me. Better GTK+ theme support comes in Swing 1.6 :)

Transcoding to Ogg

Jacub Steiner requested a gst-launch script for transcoding to Ogg, so with a little help from Wim I updated the script I did for 0.8 to 0.10. So you can now transcode2oggt from here and use to to transcode your video files to Ogg Theora using this syntax ‘transcode2oggt inputfile.xyz /full/path/outputfile.ogg’

Pitivi Non-linear video editor

Continuing my blogging on Pitivi today. After some requestes today from various users Edward switched over to using the GStreamer uri handlers instead on relaying directly on gnome-vfs. This means that even if you don’t have gnomevfs installed Pitivi will work if you have a plugin available that handles the needed uri’s for file reading. So even if you only have filesrc for instance things will keep working.
I kept on updating the Pitivi website a bit today, adding for instance a link to the Python GStreamer API docs written by Gian Mario Tagliaretti.

Any users out there who want to help us test Pitivi and make it really robust be aware that the best way to create a log to attach to a bug report is to run Pitivi like this ‘GST_DEBUG=python:5 pitivi > bugtext.txt 2>&1’. Then reproduce the bug and close Pitivi, bzip up the generated .txt file and attach it to a report in bugzilla.

GStreamer bug count

The GStreamer team is continuing the effort to push the GStreamer bugcount down. Todays search gave me 137 open non-enhancement bugs to GStreamer while the entrypoint to get back on the top 15 buggiest projects in GNOME bugzilla is currently 161 (Galeon). The battle continues!

Pitivi Chapter 2

Took my own suggestion from yesterdays blog and did some work on the Pitivi non-linear editor today. So for any aspiring hackers out there be aware that the task of adding a window manager decoration appicon is now done :). I also took the chance to do a little work on the website, by improving the description text there and adding a favicon to the page based on the great menu icon done by Andreas Nilsson. I also filed some bugs on issues I discovered. My goal is that the next version of Pitivi is stable enough that when people ask for an easy way to create Theora files we can point them to Pitivi. No more gst-launch pipelines or ffmpeg2theora.

The death of a bug

After a long and steady period of bugfixing on GStreamer 0.10 we know have so few bugs that we are out of the GNOME Bugzilla Top 15 buggiest projects list. With Tim being on second place in the top bug closers ranking. One of the reasons we managed to push our bug count down so quickly is because a lot of the bug reports we got over the last months have not only pointed out the problem, but also included patches which of course makes things much easier. So a big thanks to both new and old GStreamer contributors.

The Farsight and Telepathy RTP work for GStreamer seems to be taking shape too these days. Philippe’s blog entry about getting Google Talk working with the Telepathy, Farsight and GStreamer stack was very encouraging. Combined with the work being done to enable RTSP in playbin I think we are going to have a very complete RTP story with GStreamer within the next 3-4 months, with both working conferencing applications and working RTSP streaming support in applications. Will of course be some time before we support ‘all’ protocols and formats, but the most common ones should be covered.

In regards to format support in GStreamer there has been some requests for a 0.10 version of the Windows dll loader, pitfdll. There has been a ready and working version in Sourceforge CVS for quite a while now, and which is just blocking on Ronald getting around to making a new release. For those wanting/needing it please grab the CVS snapshot and give it a spin.

Pitivi

Pitivi is really looking sweet these days. It is now ported to GStreamer 0.10 and the stability and performance increases compared to the GStreamer 0.8 version are just incredible. Currently it lets you transcode for instance Quicktime movie trailers to Ogg’s and also glue different videos together into one clip. More advanced editor features being worked on, but the core of Pitivi is now up and running well. Of course a lot of polish here and there is needed, in order to support both more input and output files properly, make the GUI look nicer etc. This means it is a great time for people interested to get involved in the Pitivi project. Being done in Python it should be easy for new people to grok the codebase and there are lot of little things that new people could have a go at to get started, ranging from writing a patch to add a window manager icon to Pitivi, improve the logic for thumbnailing to decrease the chance of getting a black thumbnail, enabling more output formats (anyone interested in helping with getting Matroska ouput working?) and so on. Since a lot of the work going forward is just enabling features available from GStreamer and gnonlin you should be able to add a major feature to Pitivi with just a few hours of work and testing. So grab the latest Pitivi version, join the Pitivi mailing list and either send in your first patch or ask Edward (bilboed) for suggestions for things to get you started hacking pitivi. If just a couple more people get involved Pitivi should be a killer application for GNOME 2.16.

More on cheap GUADEC flights

Noticed that Sterling Airways have restarted their direct flights between Oslo and Barcelona now. This means that people coming here for GUADEC should check out both Sterling and SAS for their tickets. SAS have been quite cheap recently actually so I am not sure if the new Sterling tickets are big savers, but it never hurts checking.

A long weekend in Norway

So I went back to Norway for the weekend. My main reason for going was to cheer up my mother who had been sick and undergone as lot of testing lately as the doctors feared for a while that she had gotten cancer. While back I also used to the chance to connect with some of my friends in Norway again.

I re-discovered is that doing stuff in Norway do cost a shitload of money. One night I went out with Kjartan Maraas and Owen Frasier-Green. We ate pizza, had a few beers and played snooker for a few hours. In the end the evening cost me almost 200 Euro, and that was for just me alone. Considering that my airplane ticket to Norway cost me almost 200 Euro sort of sets things in perspective :)

Anyway I think the trip back to Norway worked out well. That I felt like I returned after a two month vacation when stepping into the Fluendo office today probably means I had an eventful four days in Norway :)

Battlestar Galactica

So Edward managed to get me hooked onto Battlestar Galactica. I have seen the whole series and for season two I even checked out a couple of the podcasts done by the writer behind the show, Ron Moore.

Listening to those podcasts was kinda interesting as it gave me a impression of a person who cares about his show in ways very similar to how we care about our projects like GNOME and GStreamer. The similarities in feelings towards ones labour of love is of course one of those things which are in many ways obvious when you think about it, but having it confirmed by listening to such a podcast does make it more ‘real’. Another interesting parallel is the often difficult to manage relation with the community of strong feeling users. ‘Battlestar Galactica was great until you did X’ or ‘Battlestar Galactica would be great if only you did Y’, has a great similarity to ‘GNOME was great until you did X’ or ‘GNOME would be great if only you did Y’.

Anyway to make some specific comments on the Battlestar Galactica. I think one of the reason I like it is because they do fairly clever storylines and characters. Ron Moore and the others behind the show are smart people and it shows. That said, even if I think Season 2 is better than most other current television made it do feel a little less good than the first season. The reasons for this is probably complicated, but Ron has pointed out in his commentaries that some of the episodes turned out less well due to time contraints. As they increased the number of episodes per season the time pressure increased leading to more glitches in the storytelling. For instance one thing they did better in season one than in season two (especially second half of season two) is keep some final truths from you. For instance take the ghostly ‘number 6’ that follows Gaius around. For a long time they held us from being able to conclude on wether she is ‘real’ or a figment of Gaius’s imagination. As long as she was only telling him about the past or about things a genius might have been able to deduce himself you where kept guessing. Some of the things that has happened during this season doesn’t rhyme very easily with that uncertainty but has instead ‘cemented’ her a bit as an actual entity. The same with Laura’s religious prophercy fulfillment where I feel they wanted it to be unclear for the viewer if there really is a supernatural prophercy at work or if it is just a person that belivies in the prophercies making them true by acting them out. There was items in this season pulling strongly towards the first option. Of course Laura being cured from her terminal disease did make things a bit murky again to the show makers defence.

Of course it is possible to ‘correct’ these items by adding things to story patching over the glitches in the storytelling making the ‘other’ option in both cases seem much less likely, but my general feeling is that the ‘stress’ of the higher episode count has simply given them to little time to think out each scene well enough to keep the option for multiple interpretations there. So while the Ron and Co. are smart, even smart people need time to think to come up with clever stuff.

Anyway, I still think its a fun show and will be tuning in for Season 3 in the fall.

Going to GUADEC? Want to go cheap?

Found this nice site today which lists all the low cost airlines going to Barcelona and which cities they connect to. A perfect guide for finding cheap tickets to go to Barcelona. GUADEC is starting on the 24th of June so its time to start making arrangements!

Also a good time to get moving on submitting your abstract if you want to do a talk or a presentation at this GUADEC.

Be sure to get here as this GUADEC looks to promise more GNOME and more beer than any GUADEC before it :)

New mobile phone

So I got my old phone stolen last week by pickpocket. My old phone was among the most expensive the operator was offering when I got it about 2 years ago. It had every feature you could dream of like Java support, bluetooth, tri-band, video and audio streaming, built in Radio, camera, support for email, slot for memory cards, mp3 playback support, themeable screen and more. Problem was I never ever used any of those features. So my new phone is the cheapest flip-top they had and it has no extra features at all. In fact it is even missing features I thought wasn’t considered a ‘feature’ anymore, like support for sending and receiving address book entries. So now I am doing on the painful job of trying to recreate my list of phone numbers as all my phone numbers got lost with the previous phone.

Paying people to post on Slashdot?

Was scanning through the slashdot comments on the RIM/NTP
settlement. Scanning through the comments I noticed that the people trying to defend the NTP patent litigation where strangely repetetive in the arguments. Like bringing up the same points in the same order in various posts. Hard to prove, but the postings seemed to alike to purely coincidental. So the question is if companies and groups trying to preserve the current patent regime (and probably other groupings) are now paying PR people to advocate their views on Slashdot and similar forums? Or maybe my own feelings on the subject made me see a conspirancy where there was none. Time to put on the tin foil hat :).
But I think the free/open source software community have become enough of a financial and political force for such things to start occuring, no matter if they actually did happen in this case.