<?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>» Moritz online &#187; Computer</title>
	<atom:link href="http://cart.kolix.de/?feed=rss2&#038;cat=13" rel="self" type="application/rss+xml" />
	<link>http://cart.kolix.de</link>
	<description>Living between the worlds :)</description>
	<lastBuildDate>Sat, 04 Sep 2010 21:48:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Duke Nukem Forever &#8211; A Never Ending Story ;)</title>
		<link>http://cart.kolix.de/?p=1985</link>
		<comments>http://cart.kolix.de/?p=1985#comments</comments>
		<pubDate>Sat, 04 Sep 2010 21:48:42 +0000</pubDate>
		<dc:creator>Moritz</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[duke nukem]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[playstation]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://cart.kolix.de/?p=1985</guid>
		<description><![CDATA[And again it&#8217;s announced&#8230; New York, NY &#8211; September 3, 2010 &#8211; 2K Games and Gearbox Software announced today that forever is nearly here, as Duke Nukem Forever® will officially make its long-awaited debut for the Xbox 360® video game and entertainment system from Microsoft, PlayStation®3 computer entertainment system and Windows PC in calendar 2011. [...]]]></description>
			<content:encoded><![CDATA[<p>And again it&#8217;s announced&#8230;  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_razz.gif" alt="-P" class="wp-smiley" /> </p>
<blockquote><p>New York, NY &#8211; September 3, 2010 &#8211; 2K Games and Gearbox Software announced today that forever is nearly here, as Duke Nukem Forever® will officially make its long-awaited debut for the Xbox 360® video game and entertainment system from Microsoft, PlayStation®3 computer entertainment system and Windows PC in calendar 2011. Duke Nukem, the interactive entertainment industry&#8217;s most irreverent and quoted character of all time, will bring his signature brand of babe-lovin&#8217;, cigar-smoking, beer-chugging and ass-kicking action as he once again saves the Earth and our babes from hordes of invading aliens. In other shocking news, Duke Nukem Forever will be playable right now for all attendees 17 and older of this year&#8217;s Penny Arcade Expo at the 2K Booth (booth #3417), giving the first hands-on experience with the game that was originally announced during the tail end of the Clinton Administration.</p></blockquote>
<p><a href="http://www.dukenukemforever.com/#?press_release" title="Duke Nukem Forever Press Release">Press Release</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cart.kolix.de/?feed=rss2&amp;p=1985</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian netinst with preseeding</title>
		<link>http://cart.kolix.de/?p=1889</link>
		<comments>http://cart.kolix.de/?p=1889#comments</comments>
		<pubDate>Mon, 19 Jul 2010 19:13:21 +0000</pubDate>
		<dc:creator>Moritz</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dhcpd]]></category>
		<category><![CDATA[fai]]></category>
		<category><![CDATA[preseed]]></category>
		<category><![CDATA[tftp]]></category>

		<guid isPermaLink="false">http://cart.kolix.de/?p=1889</guid>
		<description><![CDATA[About two weeks ago I &#8220;killed&#8221; one of our clusters in California by rebooting the main server &#8211; which itself is kind of ridiculous However, as the cluster was mainly dead and the installed version of CentOS was really messed up (and no big fan of CentOS is working here anymore), we decided to switch [...]]]></description>
			<content:encoded><![CDATA[<p>About two weeks ago I &#8220;killed&#8221; one of our clusters in California by rebooting the main server &#8211; which itself is kind of ridiculous  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/oogle.gif" alt="oogle" class="wp-smiley" />  However, as the cluster was mainly dead and the installed version of <a href="https://www.centos.org/" title="CentOS">CentOS</a> was really messed up (and no big fan of CentOS is working here anymore), we decided to switch those machines to <a href="http://www.debian.org" title="Debian">Debian</a>. As I was the one killing it and I&#8217;m also the one desperatly needing some of those machines now, I took the burden to set them up again. So I had &#8211; actually I&#8217;m still having  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_mrgreen.gif" alt="mrgreen" class="wp-smiley" />  &#8211; a lot of fun with CentOS, Debian, netinst and preseeding during the last days!</p>
<p>For the whole setup I could mainly follow the <a href="http://www.debian.org/releases/stable/i386/apb.html.en" title="Installation guide">installation guide</a> on <a href="http://www.debian.org" title="Debian">debian.org</a> but some things just didn&#8217;t work out as expected. At least locally I now figured them out and the installation is working end-to-end  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_smile.gif" alt=")" class="wp-smiley" /> <br />
The main issue was to get the preseed.cfg to the client without having to alter the initrd. According to the manual (and tons of blogs), you just have to pass it as a kernel parameter. That&#8217;s just half of the truth. What&#8217;s missing in there is that you also have to send some more parameters right away so that the installation gets to the point where it loads the preseed.cfg (<a href="http://www.debian.org/releases/lenny/example-preseed.txt" title="example preseed.cfg">example</a>). So if you ever have to set up something like that, don&#8217;t forget to pass in these parameters in your <em>pxelinux.cfg/default</em>:</p>
<p><code>append vga=normal initrd=debian-installer/i386/initrd.gz preseed/url=http://path/to/preseed.cfg debian-installer/locale=en_US console-keymaps-at/keymap=us netcfg/get_hostname=debian netcfg/get_domain=unassigned netcfg/choose_interface=eth1 -</code></p>
<p>(Don&#8217;t forget to check the interface in the last parameter. You can also skip it completely if you just have one network interface.)<br />
My whole entry for the <a href="http://ftp.nl.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/" title="">default Debian netinst</a> looks like this now:</p>
<p><code>LABEL lenny<br />
kernel debian-installer/i386/linux<br />
append vga=normal initrd=debian-installer/i386/initrd.gz preseed/url=http://path/to/preseed.cfg debian-installer/locale=en_US console-keymaps-at/keymap=us netcfg/get_hostname=debian netcfg/get_domain=unassigned netcfg/choose_interface=eth1 -</code></p>
<p>This is enough for us right now because the cluster just has 5 machines so it&#8217;s easy to handle and we don&#8217;t intend to reinstall it that often. So there is no need for a bigger solution but if you have a big cluster with a lot of machines and you&#8217;re changing a lot of things all the time, you might want to take a look at <a href="http://www.informatik.uni-koeln.de/fai/" title="FAI">FAI</a>  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_wink.gif" alt=")" class="wp-smiley" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://cart.kolix.de/?feed=rss2&amp;p=1889</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Paper published: Export Mobile Device Display Content</title>
		<link>http://cart.kolix.de/?p=1777</link>
		<comments>http://cart.kolix.de/?p=1777#comments</comments>
		<pubDate>Tue, 25 May 2010 14:22:40 +0000</pubDate>
		<dc:creator>Moritz</dc:creator>
				<category><![CDATA[FH]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Übrigens]]></category>
		<category><![CDATA[car]]></category>
		<category><![CDATA[ewme 2010]]></category>
		<category><![CDATA[masterprojekt]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[task9]]></category>

		<guid isPermaLink="false">http://cart.kolix.de/?p=1777</guid>
		<description><![CDATA[Vor ein paar Monaten, ich glaube es war im Dezember oder Januar, haben wir ein Paper fuer die EWME 2010 in Darmstadt eingereicht und wurden akzeptiert. Zwischenzeitlich hat diese nun stattgefunden und das Paper kann hier runtergeladen werden And as the paper is in english, I guess this post should be as well: A few [...]]]></description>
			<content:encoded><![CDATA[<p>Vor ein paar Monaten, ich glaube es war im Dezember oder Januar, haben wir ein Paper fuer die <a href="http://www.mes.tu-darmstadt.de/conf/ewme2010/index.en.jsp" title="EWME 2010">EWME 2010</a> in Darmstadt eingereicht und wurden akzeptiert. Zwischenzeitlich hat diese nun stattgefunden und das Paper kann <a href="http://www.mes.tu-darmstadt.de/media/mikroelektronische_systeme/pdf_3/ewme2010/proceedings/posterii/prinz_paper.pdf" title="Export Mobile Device Display Content – Applications and User Interfaces for Inter-Vehicle Communication">hier</a> runtergeladen werden  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_smile.gif" alt=")" class="wp-smiley" /> </p>
<p>And as the paper is in english, I guess this post should be as well:<br />
A few months ago, I think it was in December, we submitted a paper to the <a href="http://www.mes.tu-darmstadt.de/conf/ewme2010/index.en.jsp" title="EWME 2010">EWME 2010</a>. It got accepted and the EWME took place  a few weeks ago. So the paper is now published and can be downloaded <a href="http://www.mes.tu-darmstadt.de/media/mikroelektronische_systeme/pdf_3/ewme2010/proceedings/posterii/prinz_paper.pdf" title="Export Mobile Device Display Content – Applications and User Interfaces for Inter-Vehicle Communication">here</a>  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_smile.gif" alt=")" class="wp-smiley" /> </p>
<blockquote><p><em>Abstract</em> &#8211; Within the Master Project “Wireless Mobility” this project was offered to IT Master Students during the second and third term and ran approximately over ten months. The project team developed a demonstrator platform to export the display content from a consumer mobile phone to a larger remote display, e.g. installed in a car. The key requirement was the utilization of non-proprietary technical solutions. This constrain did not limit the scope to standardized solutions only, but proprietary solutions ought to be open source or somehow accessible for the interested community. One important goal of this project was the awareness of latest design constraints and challenges in the Embedded Systems and System on Chip (SoC) area through a Project Based Learning (PBL) strategy. In this context, the students developed personal design competence, including specification, design trade-offs, design for testability, analysis and verification, and realization.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://cart.kolix.de/?feed=rss2&amp;p=1777</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>appazaar 1.0 in the Market</title>
		<link>http://cart.kolix.de/?p=1771</link>
		<comments>http://cart.kolix.de/?p=1771#comments</comments>
		<pubDate>Mon, 24 May 2010 18:42:25 +0000</pubDate>
		<dc:creator>Moritz</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[FH]]></category>
		<category><![CDATA[appazaar]]></category>
		<category><![CDATA[pervasive 2010]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://cart.kolix.de/?p=1771</guid>
		<description><![CDATA[After a lot of development we finally released the new version of appazaar last week and presented it on the Pervasive 2010 which was pretty successful If you have any comments, critics, ideas or whatsoever please leave a comment or send us an email! Hey there, we got some good news for you While you&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>After a lot of development we finally released the new version of <a href="http://www.appazaar.net" title="appazaar">appazaar</a> last week and presented it on the <a href="http://www.pervasive2010.org/" title="Pervasive 2010">Pervasive 2010</a> which was pretty successful  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_smile.gif" alt=")" class="wp-smiley" /> <br />
If you have any comments, critics, ideas or whatsoever please leave a comment or send us an <a href="mailto:mail@appazaar.net" title="mail@appazaar.net">email</a>!</p>
<blockquote><p>Hey there, we got some good news for you  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_wink.gif" alt=")" class="wp-smiley" /> </p>
<p>While you&#8217;ve been looking for new apps using the lastest version of appazaar, we baked a new version with a lot of improvements and integrated a lot of your feedback as well as our own ideas into it! And now, after a long time of testing, it is finally available in the Market  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_biggrin.gif" alt="D" class="wp-smiley" /> </p>
<p>This is what the new mobile app looks like:</p>
<p><a href="http://www.appazaar.net/wp-content/uploads/2010/05/widget.png"><img class="alignnone size-full wp-image-148" title="widget" src="http://www.appazaar.net/wp-content/uploads/2010/05/widget.png" alt="" width="107" height="162" /></a> <a href="http://www.appazaar.net/wp-content/uploads/2010/05/tags.png"><img class="alignnone size-full wp-image-149" title="tags" src="http://www.appazaar.net/wp-content/uploads/2010/05/tags.png" alt="" width="107" height="162" /></a><a href="http://www.appazaar.net/wp-content/uploads/2010/05/settings.png"> <img class="alignnone size-full wp-image-150" title="settings" src="http://www.appazaar.net/wp-content/uploads/2010/05/settings.png" alt="" width="107" height="162" /> </a><a href="http://www.appazaar.net/wp-content/uploads/2010/05/add2blacklist.png"><img class="alignnone size-full wp-image-151" title="add2blacklist" src="http://www.appazaar.net/wp-content/uploads/2010/05/add2blacklist.png" alt="" width="107" height="162" /></a></p>
<p>This are our changes in detail:<br />
[..]</p></blockquote>
<p>The complete post can be found <a href="http://www.appazaar.net/2010/05/18/new-version-finally-available/" title="appazaar: New version (finally) available">here</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://cart.kolix.de/?feed=rss2&amp;p=1771</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>public static int wtf(String tag, String msg) in Android 2.2</title>
		<link>http://cart.kolix.de/?p=1766</link>
		<comments>http://cart.kolix.de/?p=1766#comments</comments>
		<pubDate>Mon, 24 May 2010 18:33:57 +0000</pubDate>
		<dc:creator>Moritz</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[2.2]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[froyo]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://cart.kolix.de/?p=1766</guid>
		<description><![CDATA[I just found this and I love it public static int wtf (String tag, String msg) Since: API Level 8 What a Terrible Failure: Report a condition that should never happen. The error will always be logged at level ASSERT with the call stack. Depending on system configuration, a report may be added to the [...]]]></description>
			<content:encoded><![CDATA[<p>I just found <a href="http://developer.android.com/reference/android/util/Log.html#wtf%28java.lang.String,%20java.lang.String%29">this</a> and I love it  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_mrgreen.gif" alt="mrgreen" class="wp-smiley" /> </p>
<blockquote><p><strong>public static int  wtf  (String  tag, String  msg)</strong><br />
Since: API Level 8</p>
<p>What a Terrible Failure: Report a condition that should never happen. The error will always be logged at level ASSERT with the call stack. Depending on system configuration, a report may be added to the DropBoxManager and/or the process may be terminated immediately with an error dialog.<br />
Parameters<br />
tag 	Used to identify the source of a log message.<br />
msg 	The message you would like logged. </p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://cart.kolix.de/?feed=rss2&amp;p=1766</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;On Working Remotely&#8221;</title>
		<link>http://cart.kolix.de/?p=1742</link>
		<comments>http://cart.kolix.de/?p=1742#comments</comments>
		<pubDate>Mon, 10 May 2010 15:02:31 +0000</pubDate>
		<dc:creator>Moritz</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[coding horror]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[working remotely]]></category>

		<guid isPermaLink="false">http://cart.kolix.de/?p=1742</guid>
		<description><![CDATA[I just came across this article and think it&#8217;s a really good one so I thought about sharing it with you guys When I first chose my own adventure, I didn&#8217;t know what working remotely from home was going to be like. I had never done it before. As programmers go, I&#8217;m fairly social. Which [...]]]></description>
			<content:encoded><![CDATA[<p>I just came across <a href="http://www.codinghorror.com/blog/2010/05/on-working-remotely.html" title="On Working Remotely">this article</a> and think it&#8217;s a really good one so I thought about sharing it with you guys  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_smile.gif" alt=")" class="wp-smiley" /> </p>
<blockquote><p>When I first chose my own adventure, I didn&#8217;t know what working remotely from home was going to be like. I had never done it before. As programmers go, I&#8217;m fairly social. Which still means I&#8217;m a borderline sociopath by normal standards. All the same, I was worried that I&#8217;d go stir-crazy with no division between my work life and my home life.</p>
<p>Well, I haven&#8217;t gone stir-crazy yet. I think. But in building Stack Overflow, I have learned a few things about what it means to work remotely &#8212; at least when it comes to programming. Our current team encompasses 5 people, distributed all over the USA, along with the team in NYC.[..]</p></blockquote>
<p><a href="http://www.codinghorror.com/blog/2010/05/on-working-remotely.html" title="On Working Remotely">Article on CodingHorror.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cart.kolix.de/?feed=rss2&amp;p=1742</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android on the iPhone &amp; Flash</title>
		<link>http://cart.kolix.de/?p=1705</link>
		<comments>http://cart.kolix.de/?p=1705#comments</comments>
		<pubDate>Thu, 22 Apr 2010 14:49:25 +0000</pubDate>
		<dc:creator>Moritz</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://cart.kolix.de/?p=1705</guid>
		<description><![CDATA[Pretty interesting and I guess Steve is currently freaking out in his office &#8230;and furthermore as kind of expected: Adobe sieht die Zukunft bei Android &#8211; und beerdigt Flash-Compiler fürs iPhone]]></description>
			<content:encoded><![CDATA[<p>Pretty interesting and I guess Steve is currently freaking out in his office  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_mrgreen.gif" alt="mrgreen" class="wp-smiley" /> <br />
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/5yO2KQHkt4A&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/5yO2KQHkt4A&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>&#8230;and furthermore as kind of expected:<br />
<a href="http://www.heise.de/newsticker/meldung/Adobe-sieht-die-Zukunft-bei-Android-und-beerdigt-Flash-Compiler-fuers-iPhone-983990.html" title="Adobe sieht die Zukunft bei Android - und beerdigt Flash-Compiler fürs iPhone">Adobe sieht die Zukunft bei Android &#8211; und beerdigt Flash-Compiler fürs iPhone</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cart.kolix.de/?feed=rss2&amp;p=1705</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android &amp; Multithreaded HTTP-Requests</title>
		<link>http://cart.kolix.de/?p=1655</link>
		<comments>http://cart.kolix.de/?p=1655#comments</comments>
		<pubDate>Tue, 06 Apr 2010 15:10:55 +0000</pubDate>
		<dc:creator>Moritz</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cabsense]]></category>
		<category><![CDATA[http client]]></category>
		<category><![CDATA[http request]]></category>
		<category><![CDATA[multithread]]></category>
		<category><![CDATA[sense networks]]></category>

		<guid isPermaLink="false">http://cart.kolix.de/?p=1655</guid>
		<description><![CDATA[During the last 3 days on my new job at Sense Networks in New York I was supposed to fix some issues in a project concerning multi threaded http requests in an Android application. At first I thought it&#8217;d be a pretty easy task even though I never really used HttpConnectionManager before. So I started [...]]]></description>
			<content:encoded><![CDATA[<p>During the last 3 days on my new job at <a href="http://www.sensenetworks.com" title="Sense Networks">Sense Networks</a> in New York I was supposed to fix some issues in a project concerning multi threaded http requests in an Android application. At first I thought it&#8217;d be a pretty easy task even though I never really used <a href="http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpConnectionManager.html">HttpConnectionManager</a> before. So I started reading a bit about it and created some classes, interfaces and stuff like that to have a nice and generic architecture for the project. In fact I am using the <a href="http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.html">MultiThreadedHttpConnectionManager</a> (httpclient-3.x) but Android calls it <a href="http://developer.android.com/reference/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.html">ThreadSafeClientConnManager</a> as it&#8217;s called in the <a href="http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/impl/conn/tsccm/ThreadSafeClientConnManager.html">httpclient-4.x</a> which is currently in an alpha stadium.<br />
After the first steps of implementing and testing the test application was throwing exceptions and I just couldn&#8217;t figure out why. It seemed to be totally random, the exception as well as the time it shows up. So I started reading tons of different tutorials for <a href="http://www.android.com">Android</a> as well as for the Java2SE <a href="http://hc.apache.org/httpclient-3.x/">httpclient</a>. No one seemed to experience the same problem and I admit it felt a bit like doing some basic newbie stuff wrong without knowing about it. After hours of research and testing the &#8220;bug&#8221; was finally found and it still seems to be pretty stupid but when you think about it, I&#8217;d say it isn&#8217;t that stupid. From my point of view it&#8217;s something that should be handled by the virtual machine, so for Android by Dalvik:<br />
The <a href="http://developer.android.com/reference/org/apache/http/HttpResponse.html">response</a> of a http request contains and entity which provides access to the content in form of an inputstream and this content <strong>has to be consumed</strong> otherwise it&#8217;ll never be removed from the memory even if you close/abort the request. Funny thing about this: I read ~50 pages, tutorials and threads but just one mentioned that in a comment line&#8230;<br />
As all my tests were just sending a request to the given uri and then checking out the <a href="http://developer.android.com/reference/org/apache/http/StatusLine.html">StatusLine</a> for a possible error code the the response was closed if no error code was sent and &#8220;everything was fine&#8221;. At least that&#8217;s what I thought. In fact the sockets were still open, waiting for the <strong>empty content</strong> of the response to be consumed. So after some requests the memory was full and trying to open a new connection or sending a new request ended up in different exceptions (e.g. Timeout, Unknown Host, Connection refused). After figuring this out, the fix was quite easy. Now, before closing the response, the program consumes the content &#8211; even if it is empty &#8211; and then the vm cleans it up as expected. No more exceptions and everything works fine  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_smile.gif" alt=")" class="wp-smiley" /> </p>
<p>By the way, you might want to check out <a href="http://www.cabsense.com" title="CabSense">CabSense</a>  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_wink.gif" alt=")" class="wp-smiley" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://cart.kolix.de/?feed=rss2&amp;p=1655</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Erste Arbeitswoche in NYC</title>
		<link>http://cart.kolix.de/?p=1639</link>
		<comments>http://cart.kolix.de/?p=1639#comments</comments>
		<pubDate>Sat, 03 Apr 2010 18:26:58 +0000</pubDate>
		<dc:creator>Moritz</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[New York City]]></category>
		<category><![CDATA[cabsense]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[sense networks]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://cart.kolix.de/?p=1639</guid>
		<description><![CDATA[Ausblick vom Office Es ist schon ein paar Tage her, dass ich hier etwas gepostet habe, obwohl ich eigentlich wieder mehr posten wollte. Allerdings gibt es hier wirklich reichlich Ablenkung Meine erste Arbeitswoche ist rum und mit Erstaunen musste ich feststellen, dass Karfreitag und Ostermontag hier keine Feiertage sind, ich also ganz normal arbeiten musste. [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right; margin-left:10px;text-align:center"><a href="http://cart.kolix.de/wp-content/uploads/2010/04/downtown.jpg"><img src="http://cart.kolix.de/wp-content/uploads/2010/04/downtown.jpg" alt="Ausblick vom Office" title="Ausblick vom Office" style="border:1px solid #000000;" /></a><br /><em>Ausblick vom Office</em></div>
<p>Es ist schon ein paar Tage her, dass ich hier etwas gepostet habe, obwohl ich eigentlich wieder mehr posten wollte. Allerdings gibt es hier wirklich reichlich Ablenkung  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_smile.gif" alt=")" class="wp-smiley" /> </p>
<p>Meine erste Arbeitswoche ist rum und mit Erstaunen musste ich feststellen, dass Karfreitag und Ostermontag hier keine Feiertage sind, ich also ganz normal arbeiten musste. Schlimm ist das aber nicht wirklich, denn bisher macht es richtig Spaß! Alle Kollegen sind nett und das erleichtert den Einstieg natürlich enorm, wobei mir das Arbeiten an einem Mac teilweise doch recht schwer fällt ^^ Mit meinem ersten kleinen Projekt war ich nach 3 Tagen fertig, habe somit die Feuertaufe gut überstanden und einiges an Lob für das Ergebnis bekommen. Ein rundum gelungener Einstieg also und ich hoffe, dass es so weitergeht  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_mrgreen.gif" alt="mrgreen" class="wp-smiley" /> <br />
Seit Donnerstag bin ich jetzt in einem (bzw 3) Android-Projekt(en) und habe schon einiges lernen können, auch wenn ich großteils noch damit beschäftigt bin die komplette Architektur zu verstehen. Ich hoffe natürlich auch hier einige Beiträge zu einem sehr guten Ergebnis liefern zu können  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_wink.gif" alt=")" class="wp-smiley" /> </p>
<p>Am Donnerstag war großer Releasetag, weshalb im Büro einiges los war. Einer der Chefs hat auf einer Konferenz (<a href="http://en.oreilly.com/where2010" title="where 2.0">Where 2.0</a>) das neuste Projekt <a href="http://www.cabsense.com/" title="CabSense">CabSense</a> vorgestellt und gleichzeitig landete es in den Marketstores von Android und Apple (iPhone &#038; iPad). Die Nutzerzahlen bisher sind unglaublich und heute ist auch noch ein Artikel in der Druckausgabe der New York Times über das Projekt (<a href="http://www.nytimes.com/2010/04/03/nyregion/03icab.html" title="Need a Cab? New Analysis Shows Where to Find One">online Version</a>). Jetzt sind wir natürlich alle gespannt wie die Zahlen am Montag aussehen werden  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_wink.gif" alt=")" class="wp-smiley" /> </p>
<p>Das Bild oben rechts ist übrigens ein Teil dessen, was ich sehe, wenn ich im Büro aus dem Fenster schaue. Genauer gesagt ist das die Skyline vom Financial District, also NYC Downtown  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_wink.gif" alt=")" class="wp-smiley" />  Bei passender Gelegenheit nehme ich mal meine richtige Kamera mit und mache ein paar Bilder vom Sonnenuntergang und wie im Dunkeln aussieht. Vorweg kann ich aber schon mal sagen: es ist sehr beeindruckend  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_smile.gif" alt=")" class="wp-smiley" /> </p>
<p>Übrigens habe ich mir jetzt auch einen Twitter-Account zugelegt, falls mir also jemand folgen möchte: <a href="http://twitter.com/moritzp82" title="http://twitter.com/moritzp82">http://twitter.com/moritzp82</a>  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_wink.gif" alt=")" class="wp-smiley" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://cart.kolix.de/?feed=rss2&amp;p=1639</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bald geht es los :) &amp; Reminder</title>
		<link>http://cart.kolix.de/?p=1602</link>
		<comments>http://cart.kolix.de/?p=1602#comments</comments>
		<pubDate>Fri, 19 Mar 2010 20:17:24 +0000</pubDate>
		<dc:creator>Moritz</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[FH]]></category>
		<category><![CDATA[Kino]]></category>
		<category><![CDATA[Privates]]></category>
		<category><![CDATA[USA]]></category>
		<category><![CDATA[appazaar]]></category>
		<category><![CDATA[british airways]]></category>
		<category><![CDATA[helsinki]]></category>
		<category><![CDATA[kick-ass]]></category>
		<category><![CDATA[new york]]></category>
		<category><![CDATA[pervasive 2010]]></category>
		<category><![CDATA[sherlock holmes]]></category>
		<category><![CDATA[streik]]></category>
		<category><![CDATA[strike]]></category>
		<category><![CDATA[the men who stare at goats]]></category>
		<category><![CDATA[vorratsdatenspeicherung]]></category>

		<guid isPermaLink="false">http://cart.kolix.de/?p=1602</guid>
		<description><![CDATA[Wie ihr euch sicherlich vorstellen könnt, habe ich zur Zeit viel zu organisieren (Formalitäten 95% done, Umzug ist fertig) und einen Haufen anderer Sachen zu tun, denn schließlich geht es am Dienstag endlich Richtung New York Dementsprechend wenig komme ich grade dazu mich hier um das Blog zu kümmern. Eigentlich wollte ich in der Zwischenzeit [...]]]></description>
			<content:encoded><![CDATA[<p>Wie ihr euch sicherlich vorstellen könnt, habe ich zur Zeit viel zu organisieren (Formalitäten 95% done, Umzug ist fertig) und einen Haufen anderer Sachen zu tun, denn schließlich geht es am Dienstag endlich <a href="http://cart.kolix.de/?cat=19" title="USA">Richtung New York</a>  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_mrgreen.gif" alt="mrgreen" class="wp-smiley" />  Dementsprechend wenig komme ich grade dazu mich hier um das Blog zu kümmern. Eigentlich wollte ich in der Zwischenzeit Einträge über <a href="http://www.imdb.com/title/tt0988045/" title="Sherlock Holmes">Sherlock Holmes</a> (  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/thumbup.gif" alt="thumbup" class="wp-smiley" />  ), <a href="http://www.imdb.com/title/tt1234548/" title="The men who stare at goats">Männer die auf Ziegen starren</a> und <a href="http://www.imdb.com/title/tt1250777/" title="Kick-Ass">Kick-Ass</a> (  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/thumbup.gif" alt="thumbup" class="wp-smiley" />  ) geschrieben haben. Außerdem gibt es ein paar Neuigkeiten über <a href="http://www.appazaar.net" title="appazaar">appazaar</a> und noch ein wenig anderen Kram den ich loswerden wollte, wie zum Beispiel das <a href="http://magazine.web.de/de/themen/digitale-welt/computer/9979272-Karlsruhe-kippt-Vorratsdatenspeicherung.html">BGH Urteil zur Vorratsdatenspeicherung</a> wollte. Mal schauen wann in den nächsten Tagen ich dazu komme. Vielleicht Dienstag am Flughafen, während ich auf meinen <a href="http://www.spiegel.de/reise/aktuell/0,1518,684671,00.html">British Airways Flieger warte</a>, wobei ich immer noch inständig hoffe, dass am Dienstag alles halbwegs gut läuft und ich nicht außerplanmäßig irgendwo übernachten muss  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_biggrin.gif" alt="D" class="wp-smiley" /> <br />
Ich missbrauche also diesen Post mal als Reminder für mich selbst und verspreche die Posts nachzuholen! Aus New York gibt es dann sowieso reichlich und ich werde wohl auch öfter meine Kamera mitnehmen und ein paar Bilder schießen  <img src="http://cart.kolix.de/wp-content/plugins/more-smilies/graemlins/icon_wink.gif" alt=")" class="wp-smiley" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://cart.kolix.de/?feed=rss2&amp;p=1602</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
