<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Gamlor</title>
	
	<link>http://www.gamlor.info/wordpress</link>
	<description>thoughts about programming, tv-series and other geeky stuff.</description>
	<lastBuildDate>Wed, 11 Aug 2010 23:12:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Gamlor" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="gamlor" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Twitter And Other Updates</title>
		<link>http://www.gamlor.info/wordpress/?p=1239</link>
		<comments>http://www.gamlor.info/wordpress/?p=1239#comments</comments>
		<pubDate>Wed, 11 Aug 2010 23:08:59 +0000</pubDate>
		<dc:creator>gamlerhart</dc:creator>
				<category><![CDATA[42]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.gamlor.info/wordpress/?p=1239</guid>
		<description><![CDATA[Good news everyone, I&#8217;m now on Twitter. This means I can spam now in 140-character chunks, hooray. The latest tweets are also visible on this blog on the right side bar. Furthermore I&#8217;ve reorganized some small things on this site. For example I splitted nearly everything in two main categories. The Media Zap Oh Snap-category [...]]]></description>
			<content:encoded><![CDATA[<p>Good news everyone, I&#8217;m now on <a href="http://twitter.com/GamlerHart">Twitter</a>. This means I can spam now in 140-character chunks, hooray. The latest tweets are also visible on this blog on the right side bar.</p>
<div id="attachment_1241" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/08/twitter.png"><img class="size-full wp-image-1241" title="twitter" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/08/twitter.png" alt="Tweet tweet tweet" width="500" height="367" /></a><p class="wp-caption-text">*tweet tweet tweet*</p></div>
<p>Furthermore I&#8217;ve reorganized some small things on this site. For example I splitted nearly everything in two main categories. The <a title="View all posts in Media Zap Oh Snap" rel="category" href="../?cat=13">Media Zap Oh Snap</a>-category for everything media-related like TV-series, music and movies. Then there&#8217;s the &#8216;<a href="http://www.gamlor.info/wordpress/?cat=187">Technical Wibbly Wobbly</a>&#8216;-category for everything technical.</p>
<p>I&#8217;ve also updated and extended the <a href="http://www.gamlor.info/wordpress/?page_id=1229">Blogroll and Link </a>section. (Thx @ <a href="http://www.gedankendeponie.net/2010/08/10/blogseminar-sitzung-09-–-post-meta-und-blogroll/">GedankenDeponie</a>)</p>
<p>That&#8217;s it for now. Next time it&#8217;s going to be a more useful post =)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamlor.info/wordpress/?feed=rss2&amp;p=1239</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Black Books</title>
		<link>http://www.gamlor.info/wordpress/?p=1217</link>
		<comments>http://www.gamlor.info/wordpress/?p=1217#comments</comments>
		<pubDate>Thu, 05 Aug 2010 20:58:16 +0000</pubDate>
		<dc:creator>gamlerhart</dc:creator>
				<category><![CDATA[Media Zap Oh Snap]]></category>
		<category><![CDATA[4.0-rating]]></category>
		<category><![CDATA[black books]]></category>
		<category><![CDATA[channel 4]]></category>
		<category><![CDATA[comedy]]></category>
		<category><![CDATA[tv series]]></category>

		<guid isPermaLink="false">http://www.gamlor.info/wordpress/?p=1217</guid>
		<description><![CDATA[- Why can&#8217;t they leave me alone? I mean, what do they want from me? - They want to buy books! - Yeah but why me? Why do they come to me? - Well, because you sell books. - Yeah, I know&#8230; but&#8230; Bernard is a mean, unpleasant, cynical and egoistic bastard who&#8217;s running the [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1219" class="wp-caption alignright" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/08/black-books.png"><img class="size-medium wp-image-1219" title="black books" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/08/black-books-300x202.png" alt="Black Books" width="300" height="202" /></a><p class="wp-caption-text">Black Books</p></div>
<p>- Why can&#8217;t they leave me alone? I mean, what do they want from me?<br />
- They want to buy books!<br />
- Yeah but why me? Why do they come to me?<br />
- Well, because you sell books.<br />
- Yeah, I know&#8230; but&#8230;</p>
<p>Bernard is a mean, unpleasant, cynical and egoistic bastard who&#8217;s running the dirtiest and most unfriendly book shop in London. Basically he spends all day in his book shop smoking, complaining and drinking cheap booze. Most of the time he’s miserable or angry, shouts a costumer and he’s friends. Well one day he employs Manny, who’s unable to defend himself and gets bullied by Bernard. And then there’s Fran, a friend of Bernard who’s spending also quite some time in the bookshop smoking and drinking. And so we follow the three how they waste time.</p>
<p>Black Books (<a href="http://www.imdb.com/title/tt0262150/">IMDb</a>, <a href="http://en.wikipedia.org/wiki/Black_Books">Wikipedia</a>) is a wonderful sitcom with the great Bill Bailey as Manny and Dylan Moran as Bernard. It’s a mix of simple straight forward jokes with a pinch of black black humor and really bizarre events. Besides obsessive drinking and treating costumer like crap we can also watch how books get absorbed, how walls move and how hot weather can trigger dangerous illnesses. Have fun watching it =)</p>
<p>Star-O-Meter: (4/5)</p>
<p>Now a few clips from the show. Once again, embedding is disallowed.</p>
<p><a href="http://www.youtube.com/watch?v=6qKxZO7tFfc">Black Books, Business</a> (Guess what the thing is =) )</p>
<p><a href="http://www.youtube.com/watch?v=Eq3sYK6KzpQ">Black Books, Costumer Service</a></p>
<p><a href="http://www.youtube.com/watch?v=Nvw7_ajSoyg">Black Books, Advices</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamlor.info/wordpress/?feed=rss2&amp;p=1217</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lookup Logic For Native Libraries in Java</title>
		<link>http://www.gamlor.info/wordpress/?p=1208</link>
		<comments>http://www.gamlor.info/wordpress/?p=1208#comments</comments>
		<pubDate>Mon, 26 Jul 2010 19:26:17 +0000</pubDate>
		<dc:creator>gamlerhart</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.gamlor.info/wordpress/?p=1208</guid>
		<description><![CDATA[If you want to do something in Java, there&#8217;s certainly Java library which helps you with to achieve your goal. However, for some stuff (3D rendering, accessing I/O devices) the Java API’s are not enough and you need to interact directly with the target platform.  In such cases, you need to use the Java Native [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to do something in Java, there&#8217;s certainly Java library which helps you with to achieve your goal. However, for some stuff (3D rendering, accessing I/O devices) the Java API’s are not enough and you need to interact directly with the target platform.  In such cases, you need to use the <a href="http://en.wikipedia.org/wiki/Java_Native_Interface">Java Native Interface</a> and provide a native library. This also means that you need to ship your application with additional native libraries. Here’s where the issues start.</p>
<div id="attachment_1211" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/java-native.png"><img class="size-medium wp-image-1211" title="java-native" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/java-native-300x141.png" alt="Java and Native Libraries" width="300" height="141" /></a><p class="wp-caption-text">Java and Native Libraries</p></div>
<p>When you use native-libraries, the JVM needs to load those. By default the JVM loads those libraries from a few standard system paths. Of course you don’t want to touch those. The other alternative is to specify an look-up path with the JVM-argument ‘java.library.path’. This works most of the time, but still has its issues! First, it doesn’t work with a simple jar-launcher! In order to specify this JVM-argument, you need to add a launch-script. The second issue has to with packaging your application. Imagine that you ship your application for different OS, like Linux, Windows 32- and 64-Bit etc. The native binaries are named the same, but are actually for different versions. For example there are two versions of ‘coolLibrary.dll’ one for 32-Bit, one for 64-Bit. You cannot have both in the same directory. You somehow need to decide at runtime which one you pick.</p>
<p>So what you want is to be more flexible how to resolve a native library. And you can! Thanks to our friend ClassLoader. Basically you can overwrite the ClassLoader.findLibrary()-method and implement you own resolving strategy. For example:</p>
<p><script src="http://gist.github.com/491066.js?file=NativeLibPathClassLoader.java"></script> <a href="http://gist.github.com/491066#file_native_lib_path_class_loader.java">Source-Link for RSS</a></p>
<p>Of course, this class-loader should be the ‘root’ class loader of your application. This means this class loader should be responsible for loading all application-classes. To do this, I usually create a small ‘boot’-application, which starts the real application. Basically what it does is to instantiate the NativeLibPathClassLoader, pass it the location of the application with dependencies and then load the real application. Not that your ‘real’ application shouldn’t be on the regular class-path. Otherwise everything is loaded by the system class loader:  <script src="http://gist.github.com/491066.js?file=BootsTrapper.java"></script><br />
<a href="http://gist.github.com/491066#file_boots_trapper.java">Source-Link for RSS</a></p>
<p>This is how I start up Java Desktop Applications which need native libraries. It works wonderful and it solves the annoying ‘java.library.path’-path issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamlor.info/wordpress/?feed=rss2&amp;p=1208</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analyzing Dependencies Java</title>
		<link>http://www.gamlor.info/wordpress/?p=1203</link>
		<comments>http://www.gamlor.info/wordpress/?p=1203#comments</comments>
		<pubDate>Tue, 20 Jul 2010 18:46:12 +0000</pubDate>
		<dc:creator>gamlerhart</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.gamlor.info/wordpress/?p=1203</guid>
		<description><![CDATA[As software developers, we use daily some nice libraries to archive our goals. Of course, the libraries authors also use libraries to get the job done. In practice libraries have a some transitive dependencies. Just take a look a Hibernate, which is brings tons of libraries. Normally the dependencies are documented somewhere, so that you [...]]]></description>
			<content:encoded><![CDATA[<p>As software developers, we use daily some nice libraries to archive our goals. Of course, the libraries authors also use libraries to get the job done. In practice libraries have a some transitive dependencies. Just take a look a Hibernate, which is brings tons of libraries.</p>
<div id="attachment_1204" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/dependencies.png"><img class="size-full wp-image-1204" title="dependencies" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/dependencies.png" alt="Dependencies" width="500" height="484" /></a><p class="wp-caption-text">Dependencies</p></div>
<p>Normally the dependencies are documented somewhere, so that you can include the right one in your project. Also tools like <a href="http://maven.apache.org/">Maven</a> or <a href="http://ant.apache.org/ivy/">Ivy</a> help to include the right bits. But what if you have downloaded a project, which brings tons of required and optimal libraries with it and you want to find out the relations-ships?</p>
<p>A small tool called <a href="http://code.google.com/p/jarjar/">Jar Jar Links</a> can help. Normally this tool is used to merge different jar-files. But it can also scan through jar-files and find out the dependencies.  The command for this is this:<em> java –jar jarjar.jar find jar &lt;list of jars&gt;.</em> For example I analyzed the some parts of Hibernate: <em>java –jar jarjar.jar find jar  hibernate3.jar;./lib/required. </em>The output looks like this:</p>
<p><em>C:\temp\hibernate\hibernate3.jar -&gt; C:\temp\hibernate\lib\required\slf4j-api-1.5.8.jar<br />
C:\temp\hibernate\hibernate3.jar -&gt; C:\temp\hibernate\lib\required\commons-collections-3.1.jar<br />
C:\temp\hibernate\hibernate3.jar -&gt; C:\temp\hibernate\lib\required\dom4j-1.6.1.jar<br />
C:\temp\hibernate\hibernate3.jar -&gt; C:\temp\hibernate\lib\required\jta-1.1.jar<br />
C:\temp\hibernate\hibernate3.jar -&gt; C:\temp\hibernate\lib\required\javassist-3.9.0.GA.jar<br />
C:\temp\hibernate\hibernate3.jar -&gt; C:\temp\hibernate\lib\required\antlr-2.7.6.jar<br />
C:\temp\hibernate\hibernate3.jar -&gt; C:\temp\hibernate\lib\jpa\hibernate-jpa-2.0-api-1.0.0.Final.jar</em></p>
<p>You even can list all dependencies of classes to each other, by using: <em>java –jar jarjar.jar find class &lt;list of jars&gt;.</em></p>
<p>Anyway it’s a small and useful tool. Of course, it only finds dependencies which are compiled into the classes. Stuff which is loaded via reflection cannot be detected.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamlor.info/wordpress/?feed=rss2&amp;p=1203</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doctor Who Series 5 *Spoilers*</title>
		<link>http://www.gamlor.info/wordpress/?p=1186</link>
		<comments>http://www.gamlor.info/wordpress/?p=1186#comments</comments>
		<pubDate>Wed, 14 Jul 2010 21:38:35 +0000</pubDate>
		<dc:creator>gamlerhart</dc:creator>
				<category><![CDATA[Media Zap Oh Snap]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[doctor who]]></category>
		<category><![CDATA[drama]]></category>
		<category><![CDATA[sci-fi]]></category>
		<category><![CDATA[tv series]]></category>

		<guid isPermaLink="false">http://www.gamlor.info/wordpress/?p=1186</guid>
		<description><![CDATA[A new producer and head writer (Steven Moffat), a new Doctor (Matt Smith), a new companion (Karen Gillan) and a new shiny TARDIS-decoration. Tons of changes for the latest Doctor Who season. Let’s take a look. The Eleventh Hour (S05E01) There’s a crack in the wall in Amelia&#8217;s room  and she’s afraid of it. Just [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">A new producer and head writer (Steven Moffat), a new Doctor (Matt Smith), a new companion (Karen Gillan) and a new shiny TARDIS-decoration. Tons of changes for the latest Doctor Who season. Let’s take a look.</p>
<div id="attachment_1188" class="wp-caption aligncenter" style="width: 500px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/doctor-who-series-5.png"><img class="size-full wp-image-1188 " title="doctor-who-series-5" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/doctor-who-series-5.png" alt="Doctor Who, Series 5" width="490" height="332" /></a><p class="wp-caption-text">Doctor Who, Series 5</p></div>
<h2>The Eleventh Hour (S05E01)</h2>
<p>There’s a crack in the wall in Amelia&#8217;s room  and she’s afraid of it. Just as she ask Santa Clause for help, the Doctor appears and helps her. However he has problems to land the TARDIS at the right time. That&#8217;s why he arrives 12 years to late to help Amelia. Meanwhile Amelia has grown up and calls herself Amy. Now the Doctor and Amy try to catch a dangerous Alien prisoner which hides on earth. The timing-issues,  meeting Amy at different ages combined with a quite typical Doctor Who story makes it the perfect companion-introduction.</p>
<div id="attachment_1189" class="wp-caption aligncenter" style="width: 306px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/doctor-who-series-5-eleventh-hour.png"><img class="size-medium wp-image-1189" title="doctor-who-series-5-eleventh-hour" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/doctor-who-series-5-eleventh-hour-296x300.png" alt="Doctor Who 5, Eleventh Hour" width="296" height="300" /></a><p class="wp-caption-text">Doctor Who 5, Eleventh Hour</p></div>
<h2>The Beast Below (S05E02)</h2>
<p>Amy and the Doctor land on Starship UK, a giant space-ship which contains the whole British population. The ship was build because the earth has become uninhabitable. However something is wrong with the ship. All people are afraid of the ‘Smiler’-robots, which ensure safety and order. It looks like there’s terrible secret to be discovered.</p>
<div id="attachment_1200" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/doctor-who-series-5-the-beast-below.png"><img class="size-medium wp-image-1200" title="doctor-who-series-5-the-beast-below" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/doctor-who-series-5-the-beast-below-300x135.png" alt="Doctor Who 6 The Beast Below" width="300" height="135" /></a><p class="wp-caption-text">Doctor Who 6 The Beast Below</p></div>
<h2>Victory of the Daleks (S05E03)</h2>
<p>Second World war, London is under attack. Luckily the military has a new secret weapon. To the Doctors surprise this weapon are Daleks, which are friendly and help the people. But of course, the Daleks have yet another genius plan to rule the universe.</p>
<div id="attachment_1191" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-Victory-of-the-Daleks.png"><img class="size-medium wp-image-1191" title="Doctor Who 5 Victory of the Daleks" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-Victory-of-the-Daleks-300x228.png" alt="Doctor Who 5 Victory of the Daleks" width="300" height="228" /></a><p class="wp-caption-text">Doctor Who 5 Victory of the Daleks</p></div>
<h2>The Time of Angels (S05E04) / Flesh and Stone (S05E05)</h2>
<p>The Doctor finds a message from River Song. He meets River and lands of a crash-site of a spaceship, which contains one of the deadliest creatures, a Weeping Angel. And of course, instead of leaving this dangerous place, the Doctor starts to wonder around and brings himself into trouble. River Song is back! The Weeping Angels are back! What else can you ask for?</p>
<div id="attachment_1192" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-Time-Of-The-Angels.png"><img class="size-medium wp-image-1192" title="Doctor Who 5 Time Of The Angels" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-Time-Of-The-Angels-300x159.png" alt="Doctor Who 5 Time Of The Angels" width="300" height="159" /></a><p class="wp-caption-text">Doctor Who 5 Time Of The Angels</p></div>
<h2>Amy&#8217;s Choice (S05E07)</h2>
<p>Rory, Amy’s fiance and the Doctor keep dreaming the same dream. Or is it really a dream? Which one is the dream and which what’s reality? In both they fear a deadly thread. But how can they find out which one is real?</p>
<div id="attachment_1193" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-Amys-Choice.png"><img class="size-medium wp-image-1193" title="Doctor Who 5 Amys Choice" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-Amys-Choice-300x182.png" alt="Doctor Who 5 Amy's Choice" width="300" height="182" /></a><p class="wp-caption-text">Doctor Who 5 Amy&#39;s Choice </p></div>
<h2>The Hungry Earth (S05E08) / Cold Blood (S05E09)</h2>
<p>As a science team drills down into the earth, they disturb a Silurian colony which is living deep down under the earth. Of course the Silurians get pissed of and some of them try to start a war against humans. Once again the Doctor helps to keep the peace.</p>
<div id="attachment_1194" class="wp-caption aligncenter" style="width: 193px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-Hungry-Earth.png"><img class="size-medium wp-image-1194" title="Doctor Who 5 Hungry Earth" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-Hungry-Earth-183x300.png" alt="Doctor Who 5 Hungry Earth" width="183" height="300" /></a><p class="wp-caption-text">Doctor Who 5 Hungry Earth</p></div>
<h2>Vincent and the Doctor (S05E10)</h2>
<p>The Doctor discovers a monster in one of Vincent van Gogh paintings. He travels back in time to take a look himself. Unfortunately the monster is invisible and only Vincent can see it. Quite tricky to kill a monster you cannot see, especially when you have to deal additionally with a depressed painter.</p>
<div id="attachment_1195" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-Vincent-and-the-Doctor.png"><img class="size-medium wp-image-1195" title="Doctor Who 5  Vincent and the Doctor" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-Vincent-and-the-Doctor-300x207.png" alt="Doctor Who 5 Vincent and the Doctor" width="300" height="207" /></a><p class="wp-caption-text">Doctor Who 5  Vincent and the Doctor</p></div>
<h2>The Lodger (S05E11)</h2>
<p>The TARDIS is disturbed by a strange force, which&#8217;s origin seams to be a flat. Meanwhile people keep disappearing in the very same flat. The Doctor decides to move in to find out what’s wrong with it.</p>
<div id="attachment_1196" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-The-Lodger.png"><img class="size-medium wp-image-1196" title="Doctor Who 5  The Lodger" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-The-Lodger-300x272.png" alt="Doctor Who 5 The Lodger" width="300" height="272" /></a><p class="wp-caption-text">Doctor Who 5  The Lodger</p></div>
<h2>The Pandorica Opens (S05E12) / The Big Bang (S05E13)</h2>
<p>River Song warns the Doctor that the TARDIS will explode. Additionally they find a mysterious ‘Pandorica’. The ‘Pandorica’ imprisons the deadliest thing in the universe. And it is about to open itself.</p>
<div id="attachment_1197" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-The-Pandorica-Opens.png"><img class="size-medium wp-image-1197" title="Doctor Who 5 The Pandorica Opens" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/07/Doctor-Who-5-The-Pandorica-Opens-300x209.png" alt="Doctor Who 5 The Pandorica Opens" width="300" height="209" /></a><p class="wp-caption-text">Doctor Who 5 The Pandorica Opens</p></div>
<h2>Conclusion &amp; Opinion</h2>
<p>This is it, season 5. In my opinion it is the ‘worst’ season so far. Not that it is bad, it’s still an extraordinary wonderful series. But it isn’t as good the previous seasons. I can’t really tell what’s the difference. So I’m not worried and I can’t wait for the Christmas special and the next season!</p>
<p><a href="http://www.youtube.com/watch?v=3berYXUrSnw">Trailer-Time</a>:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="385" 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://www.youtube.com/v/3berYXUrSnw&amp;hl=en_US&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="385" src="http://www.youtube.com/v/3berYXUrSnw&amp;hl=en_US&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamlor.info/wordpress/?feed=rss2&amp;p=1186</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exception-Handling: BeginInvoke vs ThreadPool.QueueUserWorkItem</title>
		<link>http://www.gamlor.info/wordpress/?p=1176</link>
		<comments>http://www.gamlor.info/wordpress/?p=1176#comments</comments>
		<pubDate>Wed, 30 Jun 2010 19:50:19 +0000</pubDate>
		<dc:creator>gamlerhart</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[exception-handling]]></category>

		<guid isPermaLink="false">http://www.gamlor.info/wordpress/?p=1176</guid>
		<description><![CDATA[Sometimes small changes make have a large impact. An example is the exception-handling difference of Delegate.BeginInvoke and ThreadPool.QueueUserWorkItem. I’m working on a WPF-client application, which does quite a lot of work in the background. Most of the background work is handled by a special task coordination class. For a long time this class executed tasks [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes small changes make have a large impact. An example is the exception-handling difference of Delegate.BeginInvoke and ThreadPool.QueueUserWorkItem.</p>
<p>I’m working on a WPF-client application, which does quite a lot of work in the background. Most of the background work is handled by a special task coordination class. For a long time this class executed tasks with ThreadPool.QueueUserWorkItem. And it worked well:<br />
<script src="http://gist.github.com/459133.js?file=original-code.cs"></script> As you can imagine, a desktop application crashes sometimes. So there’s a central error-handler, which is invoked when the application crashes: <script src="http://gist.github.com/459133.js?file=crash-handling.cs"></script></p>
<p>Everything worked as expected. When a background task crashed, it trigger the error-handler as expected (it triggered also the VisualStudio-debugger).</p>
<p>One rainy day, I improved the task coordination class. Among other changes it exchanged the the ThreadPool.QueueUserWorkItem with a Delegate.BeginInvoke.<br />
<script src="http://gist.github.com/459133.js?file=updated-version.cs"></script> My tests and the application worked fine with the changes for quite a while. So I continued to improve the application. After a while, I started to notice some strange behaviors. Sometimes some work just wasn’t executed. Then it notices a lot of first chance exceptions in the debugger-output. I got suspicious and started to investigate. Soon I found out that my change from ThreadPool.QueueUserWorkItem to Delegate.BeginInvoke was the issue. Some exceptions in back-ground tasks weren’t processed.</p>
<p> </p>
<div id="attachment_1177" class="wp-caption aligncenter" style="width: 281px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/06/clean-exception-handling.png"><img class="size-medium wp-image-1177" title="clean-exception-handling" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/06/clean-exception-handling-271x300.png" alt="clean exception handling ;)" width="271" height="300" /></a><p class="wp-caption-text">clean exception handling <img src='http://www.gamlor.info/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p></div>
<p> </p>
<h2>What’s the difference?</h2>
<p>As you know, Delegate.BeginInvoke isn’t just running the code in the background. It brings synchronization-mechanisms and the Delegate.EndInvoke-operation with it. And here also starts my exception issue. When a exception happens while executing the Delegate.BeginInvoke, the exception is caught. As soon as you get the result with Delegate.EndInvoke, the caught exception is thrown. I wasn’t aware of that. And unfortunately I didn’t end all tasks with Delegate.EndInvoke!<br />
 <script src="http://gist.github.com/459133.js?file=begin-end-pair.cs"></script></p>
<p>My solution was to switch back to the ThreadPool.QueueUserWorkItem. This operation doesn’t do any fancy synchronization for you. It just executes the delegate on the ThreadPool. If something goes wrong, the exception just blows into your face. The passed delegate is responsible to handle exceptions.</p>
<p><strong>For RSS feed readers: I&#8217;ve just noticed that the <a href="http://gist.github.com/">gist</a>-code-examples don&#8217;t show up in the feed-view =(. Has someone an idea how to fix that?  Meanwhile you need to read the post on the <a href="?p=1176">website</a>. </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamlor.info/wordpress/?feed=rss2&amp;p=1176</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bachelor Thesis Finished \o/</title>
		<link>http://www.gamlor.info/wordpress/?p=1168</link>
		<comments>http://www.gamlor.info/wordpress/?p=1168#comments</comments>
		<pubDate>Thu, 17 Jun 2010 16:38:14 +0000</pubDate>
		<dc:creator>gamlerhart</dc:creator>
				<category><![CDATA[42]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[bachelor thesis]]></category>
		<category><![CDATA[hsr]]></category>

		<guid isPermaLink="false">http://www.gamlor.info/wordpress/?p=1168</guid>
		<description><![CDATA[After four months hard work I’ve finished my bachelor thesis. Time to drink beer and relax =)]]></description>
			<content:encoded><![CDATA[<p>After four months hard work I’ve finished my bachelor thesis. Time to drink beer and relax =)</p>
<div id="attachment_1173" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/06/ba-finished.png"><img class="size-medium wp-image-1173" title="ba-finished" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/06/ba-finished-300x218.png" alt="Bachelor Thesis Finished" width="300" height="218" /></a><p class="wp-caption-text">Bachelor Thesis Finished</p></div>
<div id="attachment_1170" class="wp-caption aligncenter" style="width: 188px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/06/hell-yeah.png"><img class="size-medium wp-image-1170" title="hell-yeah" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/06/hell-yeah-178x300.png" alt="Hell Yeah" width="178" height="300" /></a><p class="wp-caption-text">Hell Yeah</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.gamlor.info/wordpress/?feed=rss2&amp;p=1168</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Talks and Short Movies</title>
		<link>http://www.gamlor.info/wordpress/?p=1167</link>
		<comments>http://www.gamlor.info/wordpress/?p=1167#comments</comments>
		<pubDate>Mon, 14 Jun 2010 18:04:38 +0000</pubDate>
		<dc:creator>gamlerhart</dc:creator>
				<category><![CDATA[42]]></category>
		<category><![CDATA[Media Zap Oh Snap]]></category>
		<category><![CDATA[channel 9]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[talk]]></category>

		<guid isPermaLink="false">http://www.gamlor.info/wordpress/?p=1167</guid>
		<description><![CDATA[Yet another collection of interesting talks: First, a quite old talk about exponential growth and how we often don’t understand its implications. The talk starts quite boring with simple math. But later the presenter starts talking about the implications, how we periodically don’t use simplest math and how politics and economy ignore simple facts. Watch [...]]]></description>
			<content:encoded><![CDATA[<p>Yet another collection of interesting talks:</p>
<ul>
<li>First, a quite <a href="http://www.youtube.com/view_play_list?p=A1411B051B90E40E&amp;playnext=1&amp;playnext_from=PL&amp;v=F-QA2rkpBSY">old talk about exponential growth and how we often don’t understand its implications</a>. The talk starts quite boring with simple math. But later the presenter starts talking about the implications, how we periodically don’t use simplest math and how politics and economy ignore simple facts. Watch it, watch it, watch it! </li>
<li>Dan Pink talks about <a href="http://www.ted.com/talks/lang/eng/dan_pink_on_motivation.html">the science of motivation</a>. The sad thing is, that lots of companies/people ignore the facts and to the wrong thing to motivate people. </li>
<li>A interview (<a href="http://channel9.msdn.com/shows/InsideXbox/Corrinne-Yu-Principal-Engine-Architect-Halo-Team-Microsoft-Part-One/">part one</a>, <a href="http://channel9.msdn.com/shows/InsideXbox/Corrinne-Yu-Principal-Engine-Architect-for-Halo-Team-Microsoft-Part-Two/">part two</a>) with Corinne Yu about game-engines, 3d-graphics, programming, game-consoles etc. </li>
</ul>
<p>Now to some wonderful short movies:</p>
<ul>
<li>First, <a href="http://www.imheremovie.com/">I&#8217;m Here,</a> a movie about a robot who falls in love. A half an hour of pure movie brilliance. Found on <a href="http://blog.freeqnet.de/2010/03/25/kurzfilm-im-here/">freeQnet</a>.</li>
<li>Another great short-movie: <a href="http://vimeo.com/11431902">Heartless: The Story of the Tin Man</a>, a prequel to the Wonderful Wizard of Oz story.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.gamlor.info/wordpress/?feed=rss2&amp;p=1167</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>State of Play</title>
		<link>http://www.gamlor.info/wordpress/?p=1160</link>
		<comments>http://www.gamlor.info/wordpress/?p=1160#comments</comments>
		<pubDate>Tue, 08 Jun 2010 21:58:09 +0000</pubDate>
		<dc:creator>gamlerhart</dc:creator>
				<category><![CDATA[Media Zap Oh Snap]]></category>
		<category><![CDATA[4.5-rating]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[state of play]]></category>
		<category><![CDATA[thriller]]></category>
		<category><![CDATA[tv series]]></category>

		<guid isPermaLink="false">http://www.gamlor.info/wordpress/?p=1160</guid>
		<description><![CDATA[A young man was murdered, probably a drug dealing related crime. On the same day, Sonia Barker a young researcher commits suicide. Sonia was the researcher for Stephen Collins, a member of the parliament and chairman of the Energy Committee. Cal McAffrey starts to investigate the death of Sonia Barker. Soon he finds out that [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1164" class="wp-caption alignright" style="width: 310px"><a href="http://www.gamlor.info/wordpress/wp-content/uploads/2010/06/state-of-play.png"><img class="size-medium wp-image-1164" title="state-of-play" src="http://www.gamlor.info/wordpress/wp-content/uploads/2010/06/state-of-play-300x230.png" alt="State of Play" width="300" height="230" /></a><p class="wp-caption-text">State of Play</p></div>
<p>A young man was murdered, probably a drug dealing related crime. On the same day, Sonia Barker a young researcher commits suicide. Sonia was the researcher for Stephen Collins, a member of the parliament and chairman of the Energy Committee. Cal McAffrey starts to investigate the death of Sonia Barker. Soon he finds out that she was involved in corruption, that she was professionally killed and that the two deaths are probably related to each other. A twisted investigation starts…</p>
<p>State of Play (<a href="http://www.imdb.com/title/tt0362192/">IMDb</a>, <a href="http://en.wikipedia.org/wiki/State_of_Play_(TV_serial)">Wikipedia</a>) is a six part political thriller about corruption, love affairs, press- and political-games. The whole serial fast-paced, full of twists and turns. Just when you think to get a grip of all facts, something new happens. The story and screenplay are a extraordinary good. The cast is also excellent with popular British actors such as John Simm, Bill Nighy, David Morrissey, James McAvoy. All thing considered, State of Play a outstanding thriller.</p>
<p>There’s a US movie adaption (<a href="http://www.imdb.com/title/tt0473705/">IMDb</a>, <a href="http://en.wikipedia.org/wiki/State_of_Play_(film)">Wikipedia</a>) of the story, but I haven’t seen it and I’m not particular interested in watching it.</p>
<p>I can recommend State of Play everyone who likes thrillers.</p>
<p>Star-O-Meter:(4.5/5)</p>
<p>Unfortunately there are no good trailers out there =(.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamlor.info/wordpress/?feed=rss2&amp;p=1160</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Opera Speed Test</title>
		<link>http://www.gamlor.info/wordpress/?p=1155</link>
		<comments>http://www.gamlor.info/wordpress/?p=1155#comments</comments>
		<pubDate>Fri, 28 May 2010 23:00:46 +0000</pubDate>
		<dc:creator>gamlerhart</dc:creator>
				<category><![CDATA[42]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://www.gamlor.info/wordpress/?p=1155</guid>
		<description><![CDATA[My favorite browser, Opera, is fast, extremely fast. Newest scientific methods are used to measure its speed World Record Speed Test: Ok, ok, the Chrome-guys game up first with speed test videos. Here’s the original: Google Chrome Speed Tests: Found via irrlicht3d.org, original source Opera-blog.]]></description>
			<content:encoded><![CDATA[<p>My favorite browser, Opera, is fast, extremely fast. Newest scientific methods are used to measure its speed <img src='http://www.gamlor.info/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://www.youtube.com/watch?v=zaT7thTxyq8">World Record Speed Test</a>:</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:7b997ed7-1b43-47ec-afb3-e8bd2569fd74" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/zaT7thTxyq8&amp;hl=en_GB&amp;fs=1&amp;&amp;hl=en" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/zaT7thTxyq8&amp;hl=en_GB&amp;fs=1&amp;&amp;hl=en"></embed></object></div>
</div>
<p>Ok, ok, the Chrome-guys game up first with speed test videos. Here’s the original:</p>
<p><a href="http://www.youtube.com/watch?v=nCgQDjiotG0">Google Chrome Speed Tests</a>:</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:19f3d695-0dd7-4bfd-a510-4bb78198780a" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/nCgQDjiotG0&amp;hl=en_GB&amp;fs=1&amp;&amp;hl=en" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/nCgQDjiotG0&amp;hl=en_GB&amp;fs=1&amp;&amp;hl=en"></embed></object></div>
</div>
<p>Found via <a href="http://www.irrlicht3d.org/pivot/entry.php?id=1066">irrlicht3d.org</a>, original source <a href="http://my.opera.com/odd-even/blog/world-record-speed-test">Opera-blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamlor.info/wordpress/?feed=rss2&amp;p=1155</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.551 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-08-12 00:14:20 -->
