<?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"
	>

<channel>
	<title>Stacktrace.be blog</title>
	<atom:link href="http://stacktrace.be/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://stacktrace.be/blog</link>
	<description>by Frederik Heremans</description>
	<pubDate>Thu, 28 Jan 2010 07:30:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>How trackable is your browser?</title>
		<link>http://stacktrace.be/blog/2010/01/28/how-trackable-is-your-browser/</link>
		<comments>http://stacktrace.be/blog/2010/01/28/how-trackable-is-your-browser/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 07:30:12 +0000</pubDate>
		<dc:creator>Frederik Heremans</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://stacktrace.be/blog/?p=267</guid>
		<description><![CDATA[Check out project Panopticlick, they are investigating how a browser can create a unique fingerprint which enables users to be tracked, even with cookies disables or deleted&#8230; They also provide some tips to minimize the uniqueness of your browser.
My browser is estimated to have a fingerprint that conveys at least 16.08 bits of identifying information.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://stacktrace.be/blog/wp-content/uploads/2010/01/fingerprint.png"><img class="alignleft size-full wp-image-268" title="fingerprint" src="http://stacktrace.be/blog/wp-content/uploads/2010/01/fingerprint.png" alt="" width="72" height="100" /></a>Check out project <a title="EFF Panopticlick" href="http://panopticlick.eff.org/" target="_blank">Panopticlick</a>, they are investigating how a browser can create a unique fingerprint which enables users to be tracked, even with cookies disables or deleted&#8230; They also provide some <a href="http://panopticlick.eff.org/self-defense.php" target="_blank">tips to minimize the uniqueness</a> of your browser.</p>
<p>My browser is estimated to have a fingerprint that conveys at least <strong>16.08 bits</strong> of identifying information.</p>
]]></content:encoded>
			<wfw:commentRss>http://stacktrace.be/blog/2010/01/28/how-trackable-is-your-browser/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fun with Java: Log4j appender using notify-send on ubuntu</title>
		<link>http://stacktrace.be/blog/2010/01/18/fun-with-java-log4j-appender-using-notify-send-on-ubuntu/</link>
		<comments>http://stacktrace.be/blog/2010/01/18/fun-with-java-log4j-appender-using-notify-send-on-ubuntu/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 19:38:28 +0000</pubDate>
		<dc:creator>Frederik Heremans</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[log4j]]></category>

		<category><![CDATA[notify-send]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://stacktrace.be/blog/?p=244</guid>
		<description><![CDATA[I&#8217;ve discovered yet another -maybe quite useless- trick to combine java-development, JBoss AS and Ubuntu (or any other debian-based distro).
I created a very simple log4j-appender which used notify-send (commandline-tool for libnotify) to report errors. This way I will get a visual notification when something went wrong, immediately showing the class of the error and the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-246" title="notify-send-2" src="http://stacktrace.be/blog/wp-content/uploads/2010/01/notify-send-2.png" alt="" width="286" height="221" />I&#8217;ve discovered yet another -maybe quite useless- trick to combine java-development, JBoss AS and Ubuntu (or any other debian-based distro).</p>
<p>I created a very simple log4j-appender which used notify-send (commandline-tool for <a href="http://packages.debian.org/sid/libnotify1" target="_blank">libnotify</a>) to report errors. This way I will get a visual notification when something went wrong, immediately showing the class of the error and the message.</p>
<p>As an example, I use my favorite Application Server, JBoss AS, but any java-app using log4j (or commons-logging on top of log4j or slf4j-log4j) will do.</p>
<p><span id="more-244"></span></p>
<h3>Step 1</h3>
<p>Make sure notify-send is installed on your machine. You can check this by running this command in your terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">notify-send -i info &quot;Hello world&quot;</pre></div></div>

<h3>Step 2</h3>
<p>Place the notify-send-log4j.jar in the classpath of your application. In case of JBoss, it&#8217;s in the node&#8217;s /lib/ folder.</p>
<ul>
<li>Download <a href="http://stacktrace.be/blog/wp-content/uploads/2010/01/notify-send-log4j-1.0-snapshot.jar">notify-send-log4j-1.0-SNAPSHOT.jar</a> OR</li>
<li><a href="http://stacktrace.be/blog/wp-content/uploads/2010/01/notify-send-log4j.zip">Download notify-send-log4j.zip</a>, containing a tiny maven-project and build it yourself (so little code isn&#8217;t worth being checked in in SVN ;))</li>
</ul>
<h3>Step 3</h3>
<p>Configure Log4j to use the appender. For JBoss, the jboss-log4j.xml is found in the server-node&#8217;s /conf/ folder. Add a new appender, at ERROR-level using onlyOnceErrorhandler:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;appender</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SEND-NOTIFY&quot;</span></span>
<span style="color: #009900;">  	 <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;be.stacktrace.log4j.notifysend.NotifySendAppender&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;errorHandler</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;org.jboss.logging.util.OnlyOnceErrorHandler&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Threshold&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ERROR&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/appender<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Add the appender to the root-category:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;root<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;appender-ref</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;CONSOLE&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;appender-ref</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;FILE&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;appender-ref</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;SEND-NOTIFY&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/root<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<h3>Step 4</h3>
<p>Cause an error <img src='http://stacktrace.be/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><img class="aligncenter size-full wp-image-245" title="notify-send-1" src="http://stacktrace.be/blog/wp-content/uploads/2010/01/notify-send-1.png" alt="" width="277" height="173" /></p>
<h3>Step 5 (optional)</h3>
<p>If you&#8217;re using compiz, you can add a custom effect to the notification-popup. For example, use the &#8216;Burn&#8217;-effect when appearing (see screenshot on top of post):</p>
<ul>
<li>Open compiz-config</li>
<li>Open &#8220;Animations&#8221; in tab &#8220;Animate when opening&#8221;</li>
<li>Add new animation, use window-match: <em>(type=Notification)</em></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://stacktrace.be/blog/2010/01/18/fun-with-java-log4j-appender-using-notify-send-on-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Famfamfam missing flag-icons</title>
		<link>http://stacktrace.be/blog/2009/12/12/famfamfam-missing-flag-icons/</link>
		<comments>http://stacktrace.be/blog/2009/12/12/famfamfam-missing-flag-icons/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 12:27:32 +0000</pubDate>
		<dc:creator>Frederik Heremans</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://stacktrace.be/blog/?p=233</guid>
		<description><![CDATA[Everyone knows them I guess, the famfamfam silk-icons set. Completely free of charge and they look great! Mark James also created a set of flags (using ISO-3391-2), these can be found here.
When I was using the flags in an app, I noticed that (accoring to the XML&#8217;s I downloaded from iso.org containing all country-data) 5 [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone knows them I guess, the famfamfam silk-icons set. Completely free of charge and they look great! Mark James also created a set of flags (using <a href="http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2" target="_blank">ISO-3391-2</a>), these can be found <a href="http://www.famfamfam.com/lab/icons/flags/" target="_blank">here</a>.</p>
<p>When I was using the flags in an app, I noticed that (accoring to the XML&#8217;s I downloaded from iso.org containing all country-data) 5 flags where missing. One was Antarctica, but makes sense since it has no official flags. The other I created myself, trying to use the same &#8220;style&#8221; as the original ones, see below:</p>
<p><img class="alignnone size-medium wp-image-239" title="aq" src="http://stacktrace.be/blog/wp-content/uploads/2009/12/aq.png" alt="" width="16" height="11" /> : Antarctica (AQ)<br />
<img class="alignnone size-medium wp-image-234" title="gg" src="http://stacktrace.be/blog/wp-content/uploads/2009/12/gg.png" alt="" width="16" height="11" /> : Guersney (GG)<br />
<img class="alignnone size-medium wp-image-235" title="bl" src="http://stacktrace.be/blog/wp-content/uploads/2009/12/bl.png" alt="" width="16" height="11" /> :  Saint Barthélemy (BL)<br />
<img class="alignnone size-medium wp-image-236" title="mf" src="http://stacktrace.be/blog/wp-content/uploads/2009/12/mf.png" alt="" width="16" height="11" /> :  Saint-Matrin (MF)<br />
<img class="alignnone size-medium wp-image-238" title="je" src="http://stacktrace.be/blog/wp-content/uploads/2009/12/je.png" alt="" width="16" height="11" /> :  Jersey (JE)<br />
<img class="alignnone size-medium wp-image-237" title="im" src="http://stacktrace.be/blog/wp-content/uploads/2009/12/im.png" alt="" width="16" height="9" /> :  Isle of Man (IM)</p>
<p>Feel free to use these (was only 10 minutes of work anyway&#8230;):<br />
<strong><a title="Dowload flags" href="http://www.stacktrace.be/blog/wp-content/uploads/2009/12/famfamfam-flags-extra.zip" target="_blank">Dowload zipfile containing extra flags</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://stacktrace.be/blog/2009/12/12/famfamfam-missing-flag-icons/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Eclipse plugin development: Show custom MyLyn notification dialog</title>
		<link>http://stacktrace.be/blog/2009/11/09/eclipse-plugin-development-show-custom-mylyn-notification-dialog/</link>
		<comments>http://stacktrace.be/blog/2009/11/09/eclipse-plugin-development-show-custom-mylyn-notification-dialog/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 19:33:49 +0000</pubDate>
		<dc:creator>Frederik Heremans</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://stacktrace.be/blog/?p=225</guid>
		<description><![CDATA[Here&#8217;s an easy way to create a notification from inside eclipse (triggered by your own plugin), without any effort at all. MyLyn-core has a nice popup that looks great cross-platform, fades out and is visible outside the eclipse IDE, even when minimised (and also cross-desktop on ubuntu).


Using this popup is very easy:

Add org.eclipse.mylyn.commons.ui as dependency [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an easy way to create a notification from inside eclipse (triggered by your own plugin), without any effort at all. <a href="http://www.eclipse.org/mylyn/" target="_blank">MyLyn</a>-core has a nice popup that looks great cross-platform, fades out and is visible outside the eclipse IDE, even when minimised (and also cross-desktop on ubuntu).</p>
<p><a href="http://stacktrace.be/blog/wp-content/uploads/2009/11/popup-screenshot.png"><img class="aligncenter size-full wp-image-228" title="popup-screenshot" src="http://stacktrace.be/blog/wp-content/uploads/2009/11/popup-screenshot.png" alt="" width="344" height="182" /></a></p>
<p><span id="more-225"></span></p>
<p>Using this popup is very easy:</p>
<ol>
<li>Add <strong>org.eclipse.mylyn.commons.ui </strong>as dependency for your plugin (see screenshot below)</li>
<li>Create a class that extends the (internal) class <strong>AbstractNotificationPopup </strong>(org.eclipse.mylyn.internal.provisional.commons.ui.AbstractNotificationPopup), see code snippet 1. Note the &#8220;SupressWarnings&#8221; annotation, to get rid of the annoying compiler-warnings bugging us about &#8220;restricted&#8221; use&#8230; We know what we&#8217;re doing <img src='http://stacktrace.be/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li>You can show the popup the same way you should treat another Dialog<img src="file:///tmp/moz-screenshot.png" alt="" />, have a look at snippet 2.</li>
</ol>
<p><a href="http://stacktrace.be/blog/wp-content/uploads/2009/11/popup-dependancies.png"><img class="aligncenter size-full wp-image-229" title="popup-dependencies" src="http://stacktrace.be/blog/wp-content/uploads/2009/11/popup-dependancies.png" alt="" width="448" height="266" /></a></p>
<p>Code snippet 1</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">be.stacktrace.notification</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.mylyn.internal.provisional.commons.ui.AbstractNotificationPopup</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.swt.SWT</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.swt.graphics.Image</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.swt.layout.GridData</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.swt.layout.GridLayout</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.swt.widgets.Composite</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.swt.widgets.Display</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">org.eclipse.swt.widgets.Label</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">be.stacktrace.jfarse.Activator</span><span style="color: #339933;">;</span>
&nbsp;
@SuppressWarnings<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;restriction&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> MyNotificationPopup <span style="color: #000000; font-weight: bold;">extends</span> AbstractNotificationPopup <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> MyNotificationPopup<span style="color: #009900;">&#40;</span>Display display<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">super</span><span style="color: #009900;">&#40;</span>display<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	@Override
	<span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000066; font-weight: bold;">void</span> createContentArea<span style="color: #009900;">&#40;</span><span style="color: #003399;">Composite</span> composite<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		composite.<span style="color: #006633;">setLayout</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">GridLayout</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span>, <span style="color: #000066; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #003399;">Label</span> testLabel <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">Label</span><span style="color: #009900;">&#40;</span>composite, SWT.<span style="color: #006633;">WRAP</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		testLabel.<span style="color: #006633;">setLayoutData</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> GridData<span style="color: #009900;">&#40;</span>GridData.<span style="color: #006633;">FILL_HORIZONTAL</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		testLabel.<span style="color: #006633;">setText</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. &quot;</span>
				<span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;Maecenas nunc elit, vulputate vel sollicitudin nec, vehicula ut est. Sed diam risus, &quot;</span>
				<span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;dignissim eu sodales vitae, vestibulum et libero.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		testLabel.<span style="color: #006633;">setBackground</span><span style="color: #009900;">&#40;</span>composite.<span style="color: #006633;">getBackground</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	@Override
	<span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #003399;">String</span> getPopupShellTitle<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// Return a custom title</span>
		<span style="color: #000000; font-weight: bold;">return</span> <span style="color: #0000ff;">&quot;Stacktrace.be &quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	@Override
	<span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #003399;">Image</span> getPopupShellImage<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> maximumHeight<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// Use createResource to use a shared Image instance of the ImageDescriptor</span>
		<span style="color: #000000; font-weight: bold;">return</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">Image</span><span style="color: #009900;">&#41;</span> <span style="color: #003399;">Activator</span>.<span style="color: #006633;">getImageDescriptor</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/icons/information.png&quot;</span><span style="color: #009900;">&#41;</span>
				.<span style="color: #006633;">createResource</span><span style="color: #009900;">&#40;</span>Display.<span style="color: #006633;">getDefault</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Code snippet 2</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">...
 <span style="color: #006633;">MyNotificationPopup</span> popup <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> MyNotificationPopup<span style="color: #009900;">&#40;</span>window.<span style="color: #006633;">getShell</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getDisplay</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 popup.<span style="color: #006633;">create</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 popup.<span style="color: #006633;">open</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
...</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://stacktrace.be/blog/2009/11/09/eclipse-plugin-development-show-custom-mylyn-notification-dialog/feed/</wfw:commentRss>
		</item>
		<item>
		<title>JBoss Tools in Eclipse on Ubuntu 9.10 (karmic koala)</title>
		<link>http://stacktrace.be/blog/2009/11/02/jboss-tools-in-eclipse-on-ubuntu-910-karmic-koala/</link>
		<comments>http://stacktrace.be/blog/2009/11/02/jboss-tools-in-eclipse-on-ubuntu-910-karmic-koala/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 09:16:35 +0000</pubDate>
		<dc:creator>Frederik Heremans</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[eclipse]]></category>

		<category><![CDATA[jboss tools]]></category>

		<category><![CDATA[karmi koala]]></category>

		<category><![CDATA[libstdc]]></category>

		<guid isPermaLink="false">http://stacktrace.be/blog/?p=217</guid>
		<description><![CDATA[While upgrading to Karmic Koala (Ubuntu 9.10), my JBoss Tools eclipse plugins suite stopped working. Workspace log told me:
java.lang.UnsatisfiedLinkError: /opt/eclipse/plugins/org.mozilla.xulrunner.gtk.linux.x86_1.8.1.3-20070904/xulrunner/libjavaxpcomglue.so: libstdc++.so.5: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at org.mozilla.xpcom.internal.JavaXPCOMMethods.registerJavaXPCOMMethods
(JavaXPCOMMethods.java:57)
at org.mozilla.xpcom.internal.MozillaImpl.initialize(MozillaImpl.java:48)
at org.mozilla.xpcom.Mozilla.initialize(Mozilla.java:668)
&#8230;
XULRunner needs libstdc++5 and it seems that it&#8217;s removed from the Karmic repository when upgrading from [...]]]></description>
			<content:encoded><![CDATA[<p>While upgrading to Karmic Koala (Ubuntu 9.10), my JBoss Tools eclipse plugins suite stopped working. Workspace log told me:</p>
<p style="font-family: courier new">java.lang.UnsatisfiedLinkError: /opt/eclipse/plugins/org.mozilla.xulrunner.gtk.linux.x86_1.8.1.3-20070904/xulrunner/libjavaxpcomglue.so: libstdc++.so.5: cannot open shared object file: No such file or directory<br />
at java.lang.ClassLoader$NativeLibrary.load(Native Method)<br />
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)<br />
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)<br />
at java.lang.Runtime.load0(Runtime.java:769)<br />
at java.lang.System.load(System.java:968)<br />
at org.mozilla.xpcom.internal.JavaXPCOMMethods.registerJavaXPCOMMethods<br />
(JavaXPCOMMethods.java:57)<br />
at org.mozilla.xpcom.internal.MozillaImpl.initialize(MozillaImpl.java:48)<br />
at org.mozilla.xpcom.Mozilla.initialize(Mozilla.java:668)<br />
&#8230;</p>
<p>XULRunner needs libstdc++5 and it seems that it&#8217;s removed from the Karmic repository when upgrading from Jaunty. To get JBoss Tools back online, install the .deb file yourself from the jaunty repo:</p>
<p><a href="http://packages.ubuntu.com/jaunty/i386/libstdc++5/download" target="_blank">http://packages.ubuntu.com/jaunty/i386/libstdc++5/download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://stacktrace.be/blog/2009/11/02/jboss-tools-in-eclipse-on-ubuntu-910-karmic-koala/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft krijgt patent op xml-gebaseerde bestandsformaten</title>
		<link>http://stacktrace.be/blog/2009/08/11/microsoft-krijgt-patent-op-xml-gebaseerde-bestandsformaten/</link>
		<comments>http://stacktrace.be/blog/2009/08/11/microsoft-krijgt-patent-op-xml-gebaseerde-bestandsformaten/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 08:58:12 +0000</pubDate>
		<dc:creator>Frederik Heremans</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Funny]]></category>

		<category><![CDATA[microsoft]]></category>

		<category><![CDATA[openoffice]]></category>

		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://stacktrace.be/blog/?p=202</guid>
		<description><![CDATA[De mannen van Microsoft krijgen ook alles geregeld, zolang het maar geld opbrengt&#8230;Onbegrijpelijk waarop ze nu weer een patent hebben gekregen:
A word processor including a native XML file format is provided. The well      formed XML file fully represents the word-processor document, and fully      supports 100% [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-203" title="money" src="http://stacktrace.be/blog/wp-content/uploads/2009/08/money.jpg" alt="" width="160" height="120" />De mannen van Microsoft krijgen ook <a href="http://tweakers.net/nieuws/61755/microsoft-krijgt-patent-op-xml-gebaseerde-bestandsformaten.html" target="_blank">alles geregeld</a>, zolang het maar geld opbrengt&#8230;Onbegrijpelijk waarop ze nu weer een patent hebben gekregen:</p>
<p><em>A word processor including a native XML file format is provided. The well      formed XML file fully represents the word-processor document, and fully      supports 100% of word-processor&#8217;s rich formatting. There are no feature      losses when saving the word-processor documents as XML. A published XSD      file defines all the rules behind the word-processor&#8217;s XML file format.      Hints may be provided within the XML associated files providing      applications that understand XML a shortcut to understanding some of the      features provided by the word-processor. The word-processing document is      stored in a single XML file. Additionally, manipulation of      word-processing documents may be done on computing devices that do not      include the word-processor itself. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://stacktrace.be/blog/2009/08/11/microsoft-krijgt-patent-op-xml-gebaseerde-bestandsformaten/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bug in Buggy Bison</title>
		<link>http://stacktrace.be/blog/2009/03/27/bug-in-buggy-bison/</link>
		<comments>http://stacktrace.be/blog/2009/03/27/bug-in-buggy-bison/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 19:57:20 +0000</pubDate>
		<dc:creator>Frederik Heremans</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[bug]]></category>

		<category><![CDATA[commons-httpclient]]></category>

		<category><![CDATA[proxy]]></category>

		<category><![CDATA[traffide]]></category>

		<guid isPermaLink="false">http://stacktrace.be/blog/?p=199</guid>
		<description><![CDATA[Er is een bug in Traffide 0.0.2 geslopen (Buggy Bison)&#8230; Bij het gebruiken van een proxy-server die authenticatie vereist, werkt Traffide niet.In de method be.stacktrace.traffide.http.HostConfigurationWrapper:getHttpState staat:

newState.setCredentials&#40;AuthScope.ANY,
       state.getCredentials&#40;AuthScope.ANY&#41;&#41;;

Even te kort door de bocht&#8230; Commons-httpclient veralgemeent authenticatie zodat de method-signatures van setCrendentials() en setProxyCredentials() exact dezelfde is.
Gefixed op de update-site. Als [...]]]></description>
			<content:encoded><![CDATA[<p>Er is een bug in Traffide 0.0.2 geslopen (Buggy Bison)&#8230; Bij het gebruiken van een proxy-server die authenticatie vereist, werkt Traffide niet.In de method be.stacktrace.traffide.http.HostConfigurationWrapper:getHttpState staat:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">newState.<span style="color: #006633;">setCredentials</span><span style="color: #009900;">&#40;</span>AuthScope.<span style="color: #006633;">ANY</span>,
       state.<span style="color: #006633;">getCredentials</span><span style="color: #009900;">&#40;</span>AuthScope.<span style="color: #006633;">ANY</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Even te kort door de bocht&#8230; Commons-httpclient veralgemeent authenticatie zodat de method-signatures van setCrendentials() en setProxyCredentials() exact dezelfde is.</p>
<p>Gefixed op de update-site. Als je de laatste versie (0.0.2) al hebt geinstalleerd, gaat eclipse deze fix niet binnenhalen. Best gewoon de <a title="Download JAR" href="http://www.stacktrace.be/traffide/update/plugins/be.stacktrace.traffide_0.0.2.jar" target="_blank">jar manueel downloaden</a> en in &#8220;/eclipse/plugin/&#8221; kopieren!</p>
]]></content:encoded>
			<wfw:commentRss>http://stacktrace.be/blog/2009/03/27/bug-in-buggy-bison/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Finally&#8230; Buggy Bison</title>
		<link>http://stacktrace.be/blog/2009/03/02/finally-buggy-bison/</link>
		<comments>http://stacktrace.be/blog/2009/03/02/finally-buggy-bison/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 19:48:58 +0000</pubDate>
		<dc:creator>Frederik Heremans</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://stacktrace.be/blog/?p=197</guid>
		<description><![CDATA[
Het duurde wat langer dan verwacht, maar hij is er &#8220;Traffide Buggy Bison&#8221;.
Meer info hier
]]></description>
			<content:encoded><![CDATA[<p><a href="http://stacktrace.be/blog/traffide-002-buggy-bison/"><img class="size-full wp-image-191 alignleft" title="traffide-logo-bb" src="http://stacktrace.be/blog/wp-content/uploads/2009/03/traffide-logo-bb.png" alt="Traffide Buggy Bison" width="329" height="74" /></a></p>
<p>Het duurde wat langer dan verwacht, maar hij is er &#8220;Traffide Buggy Bison&#8221;.</p>
<p><a href="http://stacktrace.be/blog/traffide-002-buggy-bison/">Meer info hier</a></p>
]]></content:encoded>
			<wfw:commentRss>http://stacktrace.be/blog/2009/03/02/finally-buggy-bison/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I love Ubuntu</title>
		<link>http://stacktrace.be/blog/2009/02/19/i-love-ubuntu/</link>
		<comments>http://stacktrace.be/blog/2009/02/19/i-love-ubuntu/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 08:10:41 +0000</pubDate>
		<dc:creator>Frederik Heremans</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://stacktrace.be/blog/?p=184</guid>
		<description><![CDATA[
Hoewel ik vroeger een microsoft-fanboy was, ben ik een jaar en half geleden volledig overgestapt op Linux (Ubuntu). Gisteren nog maar eens bevestigd waarom&#8230;

Heb mijn goed hart laten zien aan mijn vriendin en heb besloten om toch een XP op mijn desktop te installeren. Niet dat ze niet met linux kan werken, maar enkel en [...]]]></description>
			<content:encoded><![CDATA[<p><a title="I Love Ubuntu" href="http://stacktrace.be/blog/wp-content/uploads/2009/02/love-ubuntu-600.png"><img class="size-thumbnail wp-image-186 alignleft" title="love-ubuntu-600" src="http://stacktrace.be/blog/wp-content/uploads/2009/02/love-ubuntu-600-150x150.png" alt="I Love Ubuntu" width="150" height="150" /></a></p>
<p>Hoewel ik vroeger een microsoft-fanboy was, ben ik een jaar en half geleden volledig overgestapt op Linux (Ubuntu). Gisteren nog maar eens bevestigd waarom&#8230;</p>
<p><span id="more-184"></span></p>
<p>Heb mijn goed hart laten zien aan mijn vriendin en heb besloten om toch een XP op mijn desktop te installeren. Niet dat ze niet met linux kan werken, maar enkel en alleen omdat die nieuwe &#8220;µsoft Live&#8221; het fysiek onmogelijk maakt om een email te sturen op &#8220;Live mail&#8221; vanuit firefox op Ubuntu.</p>
<p>Ineens de grove borstel erdoor. Schijf formatteren, 2 partities maken en windows installeren. Daarna linux erop en GRUB bootloader ervoor en iedereen tevreden.</p>
<p>Enkele jaren terug was mijn &#8220;argument&#8221; om geen linux te installeren: <em>&#8220;Linux heeft geen drivers voor alles en dan moet ik zelf beginnen compilen</em> <em>enzo&#8230;&#8221;</em>.<em> </em>Nu moet ik op mijn woorden terugkomen. Beide systemen geïnstalleerd, met alle &#8220;randapparatuur&#8221; werkende, waren de volgende CD&#8217;s OF manueel gedownloade drivers nodig:</p>
<p><strong>Windows XP :</strong></p>
<ol>
<li>Windows XP</li>
<li>Microsoft office</li>
<li>Nvidia Driver CD</li>
<li>Asus Wireless-lan USB-adapter driver CD</li>
<li>USB bluetooth-adapter CD</li>
<li>MSI moederbord CD (sound-driver etc.)</li>
<li>Printer Driver (HP Laserjet)</li>
</ol>
<p><strong>Ubuntu 8.10</strong><strong>:</strong></p>
<ol>
<li>CD Ubuntu 8.10</li>
</ol>
<p>Uit eerbetoon heb ik dan ook het &#8220;I love Ubuntu&#8221; logo gemaakt in Inkscape:</p>
<p style="text-align: center;"><a title="I Love Ubuntu" href="http://stacktrace.be/blog/wp-content/uploads/2009/02/love-ubuntu-600.png"><img class="aligncenter size-full wp-image-186" title="love-ubuntu-600" src="http://stacktrace.be/blog/wp-content/uploads/2009/02/love-ubuntu-600.png" alt="I Love Ubuntu" width="500" height="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://stacktrace.be/blog/2009/02/19/i-love-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Source code check-in Traffide</title>
		<link>http://stacktrace.be/blog/2009/02/10/source-code-check-in-traffide/</link>
		<comments>http://stacktrace.be/blog/2009/02/10/source-code-check-in-traffide/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 19:21:33 +0000</pubDate>
		<dc:creator>Frederik Heremans</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[source]]></category>

		<category><![CDATA[svn]]></category>

		<category><![CDATA[traffide]]></category>

		<guid isPermaLink="false">http://stacktrace.be/blog/?p=181</guid>
		<description><![CDATA[Heb de huidige source-code in de SVN op Assembla gecommit. Niet letten op de vele TODO&#8217;s en crappy coding&#8230; Wordt aan gewerkt 
]]></description>
			<content:encoded><![CDATA[<p>Heb de huidige source-code in de SVN op <a href="http://code.assembla.com/traffide/subversion/nodes/trunk/Traffide" target="_blank">Assembla</a> gecommit. Niet letten op de vele TODO&#8217;s en crappy coding&#8230; Wordt aan gewerkt <img src='http://stacktrace.be/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://stacktrace.be/blog/2009/02/10/source-code-check-in-traffide/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
