<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>bits4life</title>
	<atom:link href="http://blog.export.be/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.export.be</link>
	<description>Bits and bytes for your daily life.</description>
	<lastBuildDate>Thu, 12 Nov 2009 10:55:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use misterhouse to send SMS messages to your mobile on events.</title>
		<link>http://blog.export.be/2009/11/use-misterhouse-to-send-sms-messages-to-your-mobile-on-events/</link>
		<comments>http://blog.export.be/2009/11/use-misterhouse-to-send-sms-messages-to-your-mobile-on-events/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 12:58:32 +0000</pubDate>
		<dc:creator>nixo</dc:creator>
				<category><![CDATA[misterhouse]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=252</guid>
		<description><![CDATA[I am using misterhouse to drive my home automation system in my house. One of the things I like is to receive alerts on certain events. For example when it starts raining and one of the windows is left open I like to know.  A good way to receive alerts is via SMS messages on [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="voipbuster" src="http://www.voipbuster.com/images/logo.gif" alt="" width="86" height="52" />I am using misterhouse to drive my home automation system in my house. One of the things I like is to receive alerts on certain events. For example when it starts raining and one of the windows is left open I like to know.  A good way to receive alerts is via SMS messages on my mobile phone.  I started coding so that misterhouse can sent SMS alerts.  In the misterhouse code there was already some code to use a service at www.smsboy.com Because I am using voipbuster for my VOIP needs I changed the code for that.<span id="more-252"></span> Below is the code that creates an Item to use for sending SMS messages .</p>
<p class="textbox">use strict;<br />
# -----------------------------------------------------------------------<br />
# SMS module for Misterhouse<br />
# Uses your voipbuster account http://voipbuster.com to send an SMS message to your mobile.<br />
# Originally written by Stuart Grimshaw &lt;stuart@smgsystems.co.uk&gt;<br />
# Changed by Nico Lembrechts for use with voipbuster.com &lt;nicoatyow@gmail.com&gt; http://yow.be<br />
#<br />
# (17/04/2009)<br />
#<br />
# It's trivially simple to use, just add the .pm file to either your code<br />
# directory, or the Misterhouse lib directory. Until the module is integrated<br />
# into the next release (and until you upgrade to it) you need to add the<br />
# line:<br />
#<br />
#       use voipbuster_SMS_Item;<br />
#<br />
# somewhere in your code.<br />
#<br />
# To create the object use:<br />
#<br />
#       new voipbuster_SMS_Item(&lt;username&gt;, &lt;password&gt;, &lt;from_telephone_number&gt;, &lt;to_telephone_number&gt;);<br />
#<br />
#       $SMS_voipbuster = new voipbuster_SMS_Item("username", "password", "+32161234567", "+324961234567");<br />
#<br />
# and to send a message use the line:<br />
#<br />
#       $SMS_voipbuster-&gt;send("Window left open and it is raining now.");<br />
#<br />
# -----------------------------------------------------------------------<br />
package voipbuster_SMS_Item;<br />
use LWP::UserAgent;<br />
my $smsurl = "https://myaccount.voipbuster.com/clx/sendsms.php?";<br />
sub new {<br />
my($class)=shift(@_);<br />
my($self) = {};<br />
$$self{username} = shift(@_);<br />
$$self{password} = shift(@_);<br />
$$self{from} = shift(@_);<br />
$$self{to} = shift(@_);<br />
bless $self, $class;<br />
return $self;<br />
}<br />
sub send {<br />
my($self, $message) = @_;<br />
my $ua = new LWP::UserAgent;<br />
my $req = $smsurl.("username=$$self{username}&amp;password=$$self{password}&amp;from=$$self{from}&amp;to=$$self{to}&amp;text=$message -- ");<br />
my $res = $ua-&gt;get($req);<br />
die "Error at $req\n ", $res-&gt;status_line, "\n Aborting"<br />
unless $res-&gt;is_success;<br />
}<br />
sub set {<br />
my($self, $voip_user, $voip_pass, $voip_from, $voip_to) = @_;<br />
$$self{username}=$voip_user;<br />
$$self{password}=$voip_pass;<br />
$$self{from}=$voip_from;<br />
$$self{to}=$voip_from;<br />
}</p>
<p>This code is doing the actual work.</p>
<p>In the following code I create an Item</p>
<p class="textbox">use voipbuster_SMS_Item;<br />
# To create the object use:<br />
#<br />
$SMS_Nico = new voipbuster_SMS_Item("nicoatyow", "********", "+32496*********", "+324**********");<br />
# and to send a message use the line:<br />
#<br />
#$SMS_Nico-&gt;send("Mum called your home at 13:15") if $New_Minute;</p>
<p>Once the item is created you can use it in all your misterhouse code files. For example with my rain detector :</p>
<p class="textbox">
<p>if ($state = state_changed $rainsensor){<br />
print_log "Rainsensor is now $state";<br />
$SMS_Nico-&gt;send("ALARM !! It's raining and a window left open. ") if ($state eq ON) and state $window_open eq ON;<br />
}</p>
<p><img class="alignleft" title="voipbuster" src="http://www.voipbuster.com/images/logo.gif" alt="" width="157" height="96" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/11/use-misterhouse-to-send-sms-messages-to-your-mobile-on-events/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fixing Eclipse for Ubuntu Karmic Koala 9.10</title>
		<link>http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/</link>
		<comments>http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 15:44:15 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=328</guid>
		<description><![CDATA[Today I upgraded my Ubuntu installation to the newly released Karmic Kaola. Except for a couple of glitches during the upgrade process (maybe later more about this), I was able to login to my updated system about an hour later. I opened up Eclipse (running 3.5 - Galileo) to continue my Java development tasks. But [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-236" title="Eclipse Galileo" src="http://blog.export.be/wp-content/uploads/2009/04/eclipse48.png" alt="eclipse48" width="48" height="48" />Today I upgraded my Ubuntu installation to the newly released Karmic Kaola. Except for a couple of glitches during the upgrade process (maybe later more about this), I was able to login to my updated system about an hour later. I opened up Eclipse (running 3.5 - Galileo) to continue my Java development tasks. But very soon I noticed the upgrade introduced <strong>severe issues</strong> with my favorite IDE, most notably, the buttons on most <strong>dialog boxes</strong> could not be pushed anymore. Here's how I managed to fix it ....<span id="more-328"></span></p>
<p>The new Ubuntu release 9.10 brings version 2.18 of GTK+ to the desktop. GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, the GTK+ is suitable for projects ranging from small one-off tools to complete application suites.  In version 2.18, <a href="http://library.gnome.org/devel/gtk/2.18/gtk-migrating-ClientSideWindows.html" target="_blank">client side windows</a> are introduced which brings <strong>nicer redrawing and resizing</strong>, as demonstrated in the video :</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="432" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=5126552&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="432" src="http://vimeo.com/moogaloop.swf?clip_id=5126552&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Some applications - <strong>Eclipse</strong>, but also <strong>Acroread</strong> - assume that they can just operate on the X windows     corresponding to their GDK windows without ever telling GDK, which causes some widgets to exhibit weird behaviour. <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=287307" target="_blank">Bug 287307</a> was filed with the Eclipse foundation and this is<strong> fixed for the upcoming 3.6 release</strong>.</p>
<p>Fortunately, the GTK+ people provide a switch to turn off the client side windows. So to work around the bug with Eclipse pre-3.6, just make sure you set <strong>environment variable GDK_NATIVE_WINDOWS=1</strong><tt></tt></p>
<blockquote><p>#!/bin/sh<br />
export GDK_NATIVE_WINDOWS=1<br />
/home/koen/eclipse-galileo/eclipse</p></blockquote>
<p>Start coding <img src='http://blog.export.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
		<item>
		<title>Customizing the Trac workflow</title>
		<link>http://blog.export.be/2009/09/customizing-the-trac-workflow/</link>
		<comments>http://blog.export.be/2009/09/customizing-the-trac-workflow/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 16:19:00 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=306</guid>
		<description><![CDATA[




Trac is an enhanced wiki and issue tracking system for software development projects. It integrates your changesets in source repository, roadmap, continuous integration and much more. For a standard installation, tickets in Trac follow a basic workflow which you can see below. The problem with this state diagram is, that there is no explicit Q&#38;A [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<dl id="attachment_307" class="wp-caption alignleft" style="width: 77px;">
<dt class="wp-caption-dt"><img class="size-medium wp-image-307" title="Trac_Logo_512x512" src="http://blog.export.be/wp-content/uploads/2009/09/Trac_Logo_512x512-300x300.png" alt="Trac Logo" width="67" height="67" /></dt>
</dl>
</div>
<p><span>Trac</span> is an enhanced wiki and issue tracking system for software development projects. It integrates your changesets in source repository, roadmap, continuous integration and much more. For a standard installation, tickets in Trac follow a basic workflow which you can see below. The problem with this state diagram is, that there is no explicit Q&amp;A stage.  Developers close tickets, and testers re-open them. But when you are using <a title="Scrum methodology" href="http://en.wikipedia.org/wiki/Scrum_(development)">Scrum</a>, you want to finish your sprint with all tickets ready for testing.</p>
<p><img class="alignnone" title="basic workflow" src="http://trac.edgewall.org/raw-attachment/wiki/WorkFlow/basic-workflow.large.png" alt="" width="536" height="514" /></p>
<p>Luckily, this is easy to do in Trac since version 0.11 ...<span id="more-306"></span></p>
<p>Here's the diagram we would like to implement :</p>
<p style="text-align: center;">
<p><img class="aligncenter size-full wp-image-319" title="trac-workflow" src="http://blog.export.be/wp-content/uploads/2009/09/trac-workflow1.png" alt="trac-workflow" width="740" height="638" /></p>
<p>As you can see in the diagram, we also opted for a reviewing phase before going into Q&amp;A. This is a quick pre-testing by collegue-developers so the obvious bugs can still be fixed within the sprint. This way of working avoids that very obvious mistakes cause two sprints delay for important features/tickets.</p>
<p>Now go to your trac project directory -  /opt/trac/projects/&lt;my-project&gt; or the likes - and open up "conf/trac.ini". Pasting the following configuration section in there :</p>
<blockquote><p>[ticket-workflow]<br />
accept = new -&gt; assigned<br />
accept.operations = set_owner_to_self<br />
accept.permissions = TICKET_MODIFY<br />
leave = * -&gt; *<br />
leave.default = 1<br />
leave.operations = leave_status<br />
reassign = new,assigned,reopened -&gt; new<br />
reassign.operations = set_owner<br />
reassign.permissions = TICKET_MODIFY<br />
reopen = closed,qa,reviewing -&gt; reopened<br />
reopen.operations = del_resolution<br />
reopen.permissions = TICKET_CREATE<br />
close = new,assigned,reopened,reviewing,qa -&gt; closed<br />
close.operations = set_resolution<br />
close.permissions = TICKET_MODIFY<br />
ready_for_review = new,assigned,reopened -&gt; reviewing<br />
ready_for_review.permissions = TICKET_MODIFY<br />
ready_for_qa = new,assigned,reopened,reviewing -&gt; qa<br />
ready_for_qa.permissions = TICKET_MODIFY</p></blockquote>
<p>Now, run the following command :</p>
<blockquote><p>root@trac:/opt/trac/projects/# trac-admin /opt/trac/projects/&lt;my-project&gt;/ upgrade</p></blockquote>
<p>When creating a new ticket workfow, <tt>contrib/<span>workflow</span>/workflow_parser.py</tt> is supposed to  create <tt>.<span>dot</span></tt> files that <a href="http://www.graphviz.org/"><span> </span>GraphViz</a> understands to provide a visual description of the <span>workflow</span>. But i did not get it to work out-of-the-box so I've drawn the state diagram myself with <a title="Dia, open source diagrams tool" href="http://live.gnome.org/Dia">dia</a>.</p>
<p>This article still lacks a follow up on how to configure your roadmap so the sprint completion percentage is counted using the new ticket states. Soon to come !</p>
<p><span style="text-decoration: underline;"><strong>Follow up :</strong></span></p>
<p>To get your roadmap and statistics right, add this snippet to your trac.ini :</p>
<blockquote><p>[milestone]<br />
stats_provider = DefaultTicketGroupStatsProvider</p>
<p>[roadmap]<br />
stats_provider = DefaultTicketGroupStatsProvider</p>
<p>[milestone-groups]<br />
closed = closed, reviewing, qa<br />
closed.order = 0<br />
closed.query_args = group=resolution<br />
closed.overall_completion = true<br />
closed.label=Closed/QA<br />
closed.css_class = closed</p>
<p>in_progress = new,assigned<br />
in_progress.order = 1<br />
in_progress.query_args = group=resolution<br />
in_progress.label = In progress<br />
in_progress.css_class = new</p>
<p>active = *                           # one catch-all group is allowed<br />
active.order = 2<br />
active.css_class = new              # CSS class for this interval<br />
active.css_class = open<br />
active.label=New</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/09/customizing-the-trac-workflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Permalink rewrite fix for Wordpress</title>
		<link>http://blog.export.be/2009/07/permalink-rewrite-fix-for-wordpress/</link>
		<comments>http://blog.export.be/2009/07/permalink-rewrite-fix-for-wordpress/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 12:33:47 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=289</guid>
		<description><![CDATA[This site is powered by Wordpress running on Ubuntu. Some of you might have noticed we recently changed the permalink structure. Permalinks are the permanent links to the posts or categories in a blog site. Permalink can be used to link to your article or category by other blogs or sites, or to send a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-288" title="wordpress_icon_big" src="http://blog.export.be/wp-content/uploads/2009/07/wordpress_icon_big-300x267.png" alt="wordpress_icon_big" width="88" height="78" />This site is powered by Wordpress running on Ubuntu. Some of you might have noticed we recently changed the permalink structure. Permalinks are the permanent links to the posts or categories in a blog site. Permalink can be used to link to your article or category by other blogs or sites, or to send a link to your story in an e-mail message.</p>
<p>The permalinks now all have the structure /%year%/%monthnum%/%postname%/ where the previous the structure was /%post_id%. Permalink rewrites are based on the Apache Rewrite engine and there are a few caveats when changing the permalink structure. Here's a checklist to get you going...</p>
<p><span id="more-289"></span>First of all, you must make sure that the mod_rewrite module is loaded in your apache instance.</p>
<blockquote><p>root@export:/var/www/blog# apache2ctl -t -D DUMP_MODULES</p></blockquote>
<p>and check for</p>
<blockquote><p>rewrite_module (shared)</p></blockquote>
<p>If not, checkout the <a title="Apache Rewrite Module" href="http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html" target="_blank">apache document on rewrite engine</a> to enable this module in your apache instance.</p>
<p>Finally, make sure your virtual host configuration has :</p>
<blockquote><p>RewriteEngine On</p></blockquote>
<p>When changing the permalink structure in your Wordpress backend, it will generate a .htaccess file. This is what it looks like for our permalink structure :</p>
<blockquote><p># BEGIN WordPress<br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
&lt;/IfModule&gt;</p>
<p># END WordPress</p></blockquote>
<p>Normally, this is supposed to be the end of the story but when you receive a 404 surfing to your newly generated links, then verify the following two settings in your virtual host configuration :</p>
<ul>
<li> The <a title="http://httpd.apache.org/docs/1.3/mod/core.html#options" href="http://httpd.apache.org/docs/1.3/mod/core.html#options">FollowSymLinks option</a> enabled</li>
<li> <a title="http://httpd.apache.org/docs/1.3/mod/core.html#allowoverride" href="http://httpd.apache.org/docs/1.3/mod/core.html#allowoverride"><tt>FileInfo</tt> directives</a> allowed (e.g. <code>AllowOverride FileInfo</code> or <code>AllowOverride All</code>)</li>
</ul>
<p>Good luck!</p>
<p>PS: If you don't want to loose your pagerank for the posts that have incoming links using the old permalink structure, go checkout  "<a title="Permalink Migration" href="http://www.deanlee.cn/wordpress/permalinks-migration-plugin/" target="_blank">Dean's Permalinks Migration 1.0</a>". This will redirect the old permalinks to your new structure, and keep Google happy <img src='http://blog.export.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  It is available from the plugins menu in the Wordpress backend.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/07/permalink-rewrite-fix-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Chromium browser on Linux : Flash now working</title>
		<link>http://blog.export.be/2009/07/chromium-browser-on-linux-flash-now-working/</link>
		<comments>http://blog.export.be/2009/07/chromium-browser-on-linux-flash-now-working/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 17:43:10 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=273</guid>
		<description><![CDATA[UPDATE : for builds after 3.0.194.0, the directive  "--enable-plugins" is no longer activated by default, so you need to pass this option to enjoy flash.
UPDATE : Bad news : the latest updates (3.0.195.0~svn20090714r20617-0ubuntu1~ucd2~jaunty) break flash again
Good news for chromium-browser users on Linux.
As of today you can get Flash to work. Make sure you have the latest version [...]]]></description>
			<content:encoded><![CDATA[<p><strong><img class="alignleft size-full wp-image-274" title="Chromium browser" src="http://blog.export.be/wp-content/uploads/2009/07/images.jpeg" alt="Chromium browser" width="79" height="79" />UPDATE :</strong> for builds after 3.0.194.0, the directive  "--enable-plugins" is no longer activated by default, so you need to pass this option to enjoy flash.</p>
<p><strong><span style="text-decoration: line-through;">UPDATE : </span></strong><span style="text-decoration: line-through;">Bad news : the latest updates (3.0.195.0~svn20090714r20617-0ubuntu1~ucd2~jaunty) break flash again</span></p>
<p>Good news for chromium-browser users on Linux.</p>
<p>As of today you can get Flash to work. Make sure you have the latest version installed, pay special attention to the date and build (20090710r20374).</p>
<p>koen@d820:/usr/lib/chromium-browser/plugins$ apt-cache policy chromium-browser<br />
chromium-browser:<br />
Installed: 3.0.194.0~svn20090710r20374-0ubuntu1~ucd1~jaunty<br />
Candidate: 3.0.194.0~svn20090710r20374-0ubuntu1~ucd1~jaunty<br />
Version table:<br />
*** 3.0.194.0~svn20090710r20374-0ubuntu1~ucd1~jaunty 0<br />
500 http://ppa.launchpad.net jaunty/main Packages<br />
100 /var/lib/dpkg/status</p>
<p><span id="more-273"></span>Now, make a symbolic link to the flash library in your chromium plugins directory.</p>
<p>koen@d820:/usr/lib/chromium-browser/plugins$ sudo ln -s /usr/lib/adobe-flashplugin/libflashplayer.so</p>
<p>That's it. Go give it a try at YouTube.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/07/chromium-browser-on-linux-flash-now-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing your webcam in Ubuntu Jaunty</title>
		<link>http://blog.export.be/2009/07/fixing-your-webcam-in-ubuntu-jaunty/</link>
		<comments>http://blog.export.be/2009/07/fixing-your-webcam-in-ubuntu-jaunty/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 19:36:35 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=263</guid>
		<description><![CDATA[After more than two years running Feisty on my Dell Latitude D820, I finally decided it was time to upgrade my Ubuntu distribution to the latest release tagged Jaunty. I started to lack a couple of essentials like Firefox 3, Flash Player 10 and I wanted to get my hands on the Google Chrome browser [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-271 alignleft" title="ubuntu-jaunty-jackalope" src="http://blog.export.be/wp-content/uploads/2009/07/ubuntu-jaunty-jackalope-300x294.jpg" alt="ubuntu-jaunty-jackalope" width="100" height="100" />After more than two years running Feisty on my Dell Latitude D820, I finally decided it was time to upgrade my Ubuntu distribution to the latest release tagged Jaunty. I started to lack a couple of essentials like Firefox 3, Flash Player 10 and I wanted to get my hands on the Google Chrome browser too. Installation was super smooth and within 20 minutes I could login to my new system.</p>
<p>Now, the webcam issue : I have a QuickCam Messenger webcam, which is recognized correctly by Ubuntu, but it does not work with Skype or JMF (Java Media Framework) applications.<span id="more-263"></span></p>
<p>Here's my dmesg output :</p>
<p>[30850.333403] gspca: probing 046d:08da<br />
[30851.979243] zc3xx: probe 2wr ov vga 0x0000<br />
[30852.023239] zc3xx: probe sensor -&gt; 11<br />
[30852.023244] zc3xx: Find Sensor HV7131R(c)<br />
[30852.030593] gspca: probe ok<br />
[30852.030667] gspca: probing 046d:08da<br />
[30977.315326] zc3xx: probe 2wr ov vga 0x0000</p>
<p>koen@d820:/home/koen$ lsusb</p>
<p>Bus 005 Device 003: ID 046d:08da Logitech, Inc. QuickCam Messanger</p>
<p>I never had webcam issues with the previous Ubuntu releases.</p>
<p>Jaunty is using V4L2 and although drivers that are in the mainline kernel are often v4l2, many applications will only work with v4l1. Even v4l2 apps often don't work with v4l2 webcams as the webcams often have camspecific (compressed) pixelformats and most applications don't support all these.<br />
Skype for one does not work. JMF applications either. The image from the camera is green and black garbage/noise.</p>
<p>The solution is to preload the backward compatibility library for v4l to get it to work.</p>
<p>koen@d820:/home/koen$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype &amp;</p>
<p>If you want to setup system-wide and at startup, then create a file  /etc/ld.so.preload and put the path to this library in. Or use ld.so.preload-manager from the Ubuntu repositories to do this for you.</p>
<p>koen@d820:/home/koen$ sudo ld.so.preload-manager /usr/lib/libv4l/v4l1compat.so</p>
<p>Happy camming !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/07/fixing-your-webcam-in-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Eclipse Mylyn integration with trac using XML-RPC</title>
		<link>http://blog.export.be/2009/04/eclipse-mylyn-integration-with-trac-using-xml-rpc/</link>
		<comments>http://blog.export.be/2009/04/eclipse-mylyn-integration-with-trac-using-xml-rpc/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 13:59:51 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=255</guid>
		<description><![CDATA[Trac is a great project management tool. You get a project website with a wiki, your source repository and a ticket system.
Cool stuff, for instance :

If you write the name of a Java class in your Wiki, Trac will recognize this and link to your source repository.
If you checkin code into your SVN repo and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://trac.edgewall.org/" target="_blank"><img class="alignleft size-full wp-image-258" title="eclipse" src="http://blog.export.be/wp-content/uploads/2009/04/eclipse.gif" alt="eclipse" width="193" height="72" />Trac</a> is a great project management tool. You get a project website with a wiki, your source repository and a ticket system.</p>
<p>Cool stuff, for instance :</p>
<ul>
<li>If you write the name of a Java class in your Wiki, Trac will recognize this and link to your source repository.</li>
<li>If you checkin code into your SVN repo and use comments like #235, Trac will link your SVN comments to the right ticket.</li>
<li>Visualisation of the branches via revtree en mergeenhancer plugins.</li>
<li>and much more…</li>
</ul>
<p>They do eat their own dog food as the Trac project website is build with … Trac. I have Trac-0.11rc2-py2.5.egg running on my VPS. Today I’m trying to get Trac XML_RPC to work.</p>
<p>Ultimate goal : integration with <a href="http://eclipse.org/mylyn/" target="_blank">Eclipse Mylyn</a>.<span id="more-255"></span></p>
<p>I downloaded the plugin <a href="http://trac-hacks.org/wiki/XmlRpcPlugin#DownloadandSource" target="_blank">here.</a></p>
<p>This is a zip file with a 0.10, sandbox and trunk version in it. The documentation says you should install 0.10 so I did :</p>
<blockquote><p>root@koma:~# easy_install xmlrpcplugin/0.10/</p></blockquote>
<p>Edit trac.ini to enable the plugin :</p>
<blockquote><p>[components]<br />
tracrpc.* = enabled</p></blockquote>
<p>But when surfing to the project website, I get :</p>
<p>SystemError: Parent module ‘tracrpc’ not loaded</p>
<p>A <a href="http://trac-hacks.org/ticket/2922" target="_blank">forum post </a>reports the same problem and suggests installing the trunk version.</p>
<blockquote><p>root@koma:~# easy_install xmlrpcplugin/trunk/</p></blockquote>
<p>and this works. The project website is online and surfing to /login/xmlrpc on the project website returns the list of exported functions via the XML-RPC interface. And since <a href="http://trac-hacks.org/ticket/1075" target="_blank">ticket #1075</a> is fixed, Mylyn-Trac integration is supposed to work out-of-the-box.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/04/eclipse-mylyn-integration-with-trac-using-xml-rpc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link of the week : wabbit</title>
		<link>http://blog.export.be/2009/04/link-of-the-week-wabbit/</link>
		<comments>http://blog.export.be/2009/04/link-of-the-week-wabbit/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 14:06:16 +0000</pubDate>
		<dc:creator>nixo</dc:creator>
				<category><![CDATA[G1 Android]]></category>
		<category><![CDATA[Link of the week]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=246</guid>
		<description><![CDATA[I recently bought a nabaztag and discovered a cool app for my G1. Nabaztag is a "toy" rabbit with some elektronics onboard. It connects to the network with wifi and can receive commands to blink leds, speak text and move his ears. You can make it read your emails, the weather, the time etc ... [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="wabbit" src="http://wabbit.jsource.nl/sidebar.png" alt="" width="200" height="200" />I recently bought a <a title="nabaztag" href="http://www.nabaztag.com/en/index.html" target="_blank">nabaztag</a> and discovered a cool app for my G1. Nabaztag is a "toy" rabbit with some elektronics onboard. It connects to the network with wifi and can receive commands to blink leds, speak text and move his ears. You can make it read your emails, the weather, the time etc ... With <a title="wabbit" href="http://wabbit.jsource.nl/index.htm" target="_blank">the wabbit app for the google G1 android phone</a> you can send text to your rabbit or change the positions of the ears with your mobile. Big fun, nothing else <img src='http://blog.export.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/04/link-of-the-week-wabbit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Ganymede suffering from NoClassDefFoundError SWTResourceUtil</title>
		<link>http://blog.export.be/2009/04/eclipse-ganymede-suffering-from-noclassdeffounderror-swtresourceutil/</link>
		<comments>http://blog.export.be/2009/04/eclipse-ganymede-suffering-from-noclassdeffounderror-swtresourceutil/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 12:00:19 +0000</pubDate>
		<dc:creator>koma</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=231</guid>
		<description><![CDATA[Several users of Eclipse Ganymede out there  are reporting a java.lang.NoClassDefFoundError for class SWTResourceUtil. That's because some plugins (like the Hibernate Tools and Subversive) are still relying on the presence of this class that was present in older versions of Eclipse.
Here's how you can fix this.
Download the previous version of eclipse. I still have [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><img class="alignleft size-full wp-image-236" title="eclipse48" src="http://blog.export.be/wp-content/uploads/2009/04/eclipse48.png" alt="eclipse48" width="48" height="48" />Several users of <a title="Eclipse Ganymede" href="http://www.eclipse.org/ganymede/">Eclipse Ganymede</a> out there  are reporting a java.lang.NoClassDefFoundError for class SWTResourceUtil. That's because some plugins (like the <a title="Hibernate tools" href="http://tools.hibernate.org/">Hibernate Tools</a> and <a title="Subversive" href="http://www.eclipse.org/subversive/">Subversive</a>) are still relying on the presence of this class that was present in older versions of Eclipse.</p>
<p>Here's how you can fix this.<span id="more-231"></span></p>
<p>Download the previous version of eclipse. I still have my copy of Eclipse 3.2.2 laying around. In the plugins directory of your Eclipse installation, locate the workbench jar. For my Ubuntu installation of 3.2.2 I find it under this path : /usr/lib/eclipse/plugins/org.eclipse.ui.workbench_3.2.2.M20070119-0800.jar.</p>
<p>Browse to org/eclipse/ui/internal/util to locate the SWTResourceUtil.class file :</p>
<p><img class="aligncenter size-medium wp-image-232" title="screenshot-orgeclipseuiworkbench_322m20070119-0800jar-read-only" src="http://blog.export.be/wp-content/uploads/2009/04/screenshot-orgeclipseuiworkbench_322m20070119-0800jar-read-only-300x234.png" alt="screenshot-orgeclipseuiworkbench_322m20070119-0800jar-read-only" width="300" height="234" /></p>
<p>Extract the file from the jar file (a jar file is basically a zip file). Now locate the workbench jar file under the plugins  directory from your Ganymede installation. Here's where I find mine : /home/koen/eclipse-ganymede/plugins/org.eclipse.ui.workbench_3.4.2.M20090127-1700.jar</p>
<p>Now simply insert the SWTResourceUtil.class file in this jar at the same directory location of course.</p>
<p>Done <img src='http://blog.export.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/04/eclipse-ganymede-suffering-from-noclassdeffounderror-swtresourceutil/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link of the week : Institute of Computer Aided Automation</title>
		<link>http://blog.export.be/2009/04/link-of-the-week-institute-of-computer-aided-automation/</link>
		<comments>http://blog.export.be/2009/04/link-of-the-week-institute-of-computer-aided-automation/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 13:05:32 +0000</pubDate>
		<dc:creator>nixo</dc:creator>
				<category><![CDATA[Link of the week]]></category>

		<guid isPermaLink="false">http://blog.export.be/?p=227</guid>
		<description><![CDATA[I have installed an EIB based home automation system in my home. EIB (European Instalation Bus) is an open standard, but I found it very hard to find good documentation and tools for it. If you plan playing with this system a good starting point is the Institute of Computer Aided Automation. For the moment [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="EIB KNX" src="https://www.auto.tuwien.ac.at/templates/blue/images/asg-logo.gif" alt="" width="144" height="60" />I have installed an EIB based home automation system in my home. EIB (European Instalation Bus) is an open standard, but I found it very hard to find good documentation and tools for it. If you plan playing with this system a good starting point is <a title="EIB KNX home automation" href="https://www.auto.tuwien.ac.at/a-lab/home.html" target="_blank">the Institute of Computer Aided Automation. </a>For the moment I use the <a title="EIBD server" href="https://www.auto.tuwien.ac.at/a-lab/eibdtweety.html" target="_blank">EIBD server</a> to interface my <a title="KNX IP BAOS 770" href="http://www.weinzierl.de/e_main/e_main_ip_baos.html" target="_blank">KNX IP BAOS 770 EIB module</a> with misterhouse. This works great for me. If you are interested in more EIB related info, let me know. Maybe I write a post on this blog about my setup.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.export.be/2009/04/link-of-the-week-institute-of-computer-aided-automation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
