<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>cschleiden</title>
	<atom:link href="http://cschleiden.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cschleiden.wordpress.com</link>
	<description>because.</description>
	<lastBuildDate>Sat, 18 May 2013 07:59:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cschleiden.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>cschleiden</title>
		<link>http://cschleiden.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cschleiden.wordpress.com/osd.xml" title="cschleiden" />
	<atom:link rel='hub' href='http://cschleiden.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Windows 8 apps event logs</title>
		<link>http://cschleiden.wordpress.com/2012/08/19/windows-8-apps-event-logs/</link>
		<comments>http://cschleiden.wordpress.com/2012/08/19/windows-8-apps-event-logs/#comments</comments>
		<pubDate>Sun, 19 Aug 2012 17:09:07 +0000</pubDate>
		<dc:creator>cschleiden</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[windows8]]></category>

		<guid isPermaLink="false">https://cschleiden.wordpress.com/?p=340</guid>
		<description><![CDATA[While porting a rather large native application to Window 8 (Windows Store application) I encountered some startup problems. Errors like the following appeared: &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;Microsoft Visual Studio&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;Unable to activate Windows Store app &#8216;bf60ce1b-2569-4c4c-b319-0b3a2c9c1374_7qc4g378g6z3m!App&#8217;. The XXXXX.exe process started, but the activation request failed with error &#8216;The app didn&#8217;t start&#8217;. The linked help page points to the event [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=340&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>While porting a rather large native application to Window 8 (Windows Store application) I encountered some startup problems. Errors like the following appeared:</p>
<blockquote><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />Microsoft Visual Studio<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />Unable to activate Windows Store app &#8216;bf60ce1b-2569-4c4c-b319-0b3a2c9c1374_7qc4g378g6z3m!App&#8217;. The XXXXX.exe process started, but the activation request failed with error &#8216;The app didn&#8217;t start&#8217;.</p>
</blockquote>
<p>The linked help page points to the event log located at:</p>
<blockquote><p>Application and Services Log\Microsoft\Windows\Immersive-Shell folder.</p>
</blockquote>
<p><font color="#000000">However, there is no log at this place. </font><font color="#000000">The general application log then points to:</font></p>
<blockquote><p>Activation of app 716190BC-25B0-45AB-A34E-4174A7ACEA5F_7qc4g378g6z3m!App failed with error: The app didn&#8217;t start. See the Microsoft-Windows-TWinUI/Operational log for additional information.</p>
</blockquote>
<p><font color="#666666">This log is also a bit difficult to find, it’s located below the “Apps” folder:</font></p>
<p><a href="http://cschleiden.files.wordpress.com/2012/08/image.png"><img title="image" style="border-top:0;border-right:0;background-image:none;border-bottom:0;padding-top:0;padding-left:0;border-left:0;display:inline;padding-right:0;" border="0" alt="image" src="http://cschleiden.files.wordpress.com/2012/08/image_thumb.png?w=244&#038;h=48" width="244" height="48"></a></p>
<p>In the end the problems were caused by external dlls which were not build correctly. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cschleiden.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cschleiden.wordpress.com/340/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=340&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cschleiden.wordpress.com/2012/08/19/windows-8-apps-event-logs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e955c4d40e1b131d338af2a924c0f3cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cschleiden</media:title>
		</media:content>

		<media:content url="http://cschleiden.files.wordpress.com/2012/08/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>ReSharper and Windows 8 Metro Windows.UI&#8230; namespaces</title>
		<link>http://cschleiden.wordpress.com/2012/02/25/resharper-and-windows-8-metro-windows-ui-namespaces/</link>
		<comments>http://cschleiden.wordpress.com/2012/02/25/resharper-and-windows-8-metro-windows-ui-namespaces/#comments</comments>
		<pubDate>Sat, 25 Feb 2012 17:39:07 +0000</pubDate>
		<dc:creator>cschleiden</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[metro]]></category>
		<category><![CDATA[resharper]]></category>
		<category><![CDATA[vs]]></category>
		<category><![CDATA[windows8]]></category>

		<guid isPermaLink="false">http://cschleiden.wordpress.com/?p=333</guid>
		<description><![CDATA[@cschleiden Is there a way to make #resharper recognize the Windows.UI&#8230; #winrt namespaces? @derigel @cschleiden Not yet Let&#8217;s just hope they release a new version together with the VS Beta.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=333&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>@cschleiden<br />
Is there a way to make #resharper recognize the Windows.UI&#8230; #winrt namespaces?</p>
<p>@derigel<br />
@cschleiden Not yet</p>
<p>Let&#8217;s just hope they release a new version together with the VS Beta. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cschleiden.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cschleiden.wordpress.com/333/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=333&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cschleiden.wordpress.com/2012/02/25/resharper-and-windows-8-metro-windows-ui-namespaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e955c4d40e1b131d338af2a924c0f3cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cschleiden</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows Phone 7 and Silverlight Slider Binding Bug</title>
		<link>http://cschleiden.wordpress.com/2012/02/03/windows-phone-7-and-silverlight-slider-binding-bug/</link>
		<comments>http://cschleiden.wordpress.com/2012/02/03/windows-phone-7-and-silverlight-slider-binding-bug/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 23:51:51 +0000</pubDate>
		<dc:creator>cschleiden</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[wp7]]></category>

		<guid isPermaLink="false">http://cschleiden.wordpress.com/?p=330</guid>
		<description><![CDATA[It took me about 4-5 hours today to finally recognize why one my custom controls behaved in a strange way. It is a control derived from the Silverlight slider control and I encountered strange behavior when binding the Maximum and Minimum properties. After countless checks to make sure, that my ViewModel logic was flawless I [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=330&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It took me about 4-5 hours today to finally recognize why one my custom controls behaved in a strange way. It is a control derived from the Silverlight slider control and I encountered strange behavior when binding the Maximum and Minimum properties. After countless checks to make sure, that my ViewModel logic was flawless I finally discovered that &#8230; the order of attributes in the xaml code *does* matter when binding these exact properties.</p>
<p>It turns out, instead of this</p>
<pre class="brush: xml; title: ; notranslate">
&lt;Slider Name=&quot;slider&quot; Grid.Column=&quot;1&quot; Minimum=&quot;{Binding MinValue}&quot; Maximum=&quot;{Binding MaxValue}&quot; /&gt;
</pre>
<p>it should be this:</p>
<pre class="brush: xml; title: ; notranslate">

&lt;Slider Name=&quot;slider&quot; Grid.Column=&quot;1&quot; Maximum=&quot;{Binding MaxValue}&quot; Minimum=&quot;{Binding MinValue}&quot; /&gt;
</pre>
<p>(Source: <a href="http://social.msdn.microsoft.com/Forums/en-US/silverlightgeneral/thread/5a08a3c7-66d3-4ee0-aa29-43bb8d186ab7" rel="nofollow">http://social.msdn.microsoft.com/Forums/en-US/silverlightgeneral/thread/5a08a3c7-66d3-4ee0-aa29-43bb8d186ab7</a>)</p>
<p>Other people have noticed the same: <a href="http://dotnetbyexample.blogspot.com/2009/08/bind-silverlight-3-slider-value-minimum.html" rel="nofollow">http://dotnetbyexample.blogspot.com/2009/08/bind-silverlight-3-slider-value-minimum.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cschleiden.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cschleiden.wordpress.com/330/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=330&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cschleiden.wordpress.com/2012/02/03/windows-phone-7-and-silverlight-slider-binding-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e955c4d40e1b131d338af2a924c0f3cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cschleiden</media:title>
		</media:content>
	</item>
		<item>
		<title>Double Angle Brackets</title>
		<link>http://cschleiden.wordpress.com/2012/01/04/double-angle-brackets/</link>
		<comments>http://cschleiden.wordpress.com/2012/01/04/double-angle-brackets/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 09:47:02 +0000</pubDate>
		<dc:creator>cschleiden</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cschleiden.wordpress.com/?p=319</guid>
		<description><![CDATA[Years of C++ still make me uncomfortable when I see double angle brackets like GenericType1&#60;GenericType2&#60;SomeClass&#62;&#62; in C# code (or in newer versions of C++ as well) &#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=319&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Years of C++ still make me uncomfortable when I see double angle brackets like</p>
<blockquote>
<pre>GenericType1&lt;GenericType2&lt;SomeClass&gt;&gt;</pre>
</blockquote>
<p>in C# code (or in newer versions of C++ as well) &#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cschleiden.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cschleiden.wordpress.com/319/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=319&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cschleiden.wordpress.com/2012/01/04/double-angle-brackets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e955c4d40e1b131d338af2a924c0f3cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cschleiden</media:title>
		</media:content>
	</item>
		<item>
		<title>Spotify App auf Windows Phone 7 in Deutschland / Spotify on Windows Phone 7 from Germany</title>
		<link>http://cschleiden.wordpress.com/2011/11/10/spotify-app-auf-windows-phone-7-in-deutschland-spotify-on-windows-phone-7-from-germany/</link>
		<comments>http://cschleiden.wordpress.com/2011/11/10/spotify-app-auf-windows-phone-7-in-deutschland-spotify-on-windows-phone-7-from-germany/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 08:33:07 +0000</pubDate>
		<dc:creator>cschleiden</dc:creator>
				<category><![CDATA[German]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[QuickTip]]></category>
		<category><![CDATA[spotify]]></category>

		<guid isPermaLink="false">https://cschleiden.wordpress.com/2011/11/10/spotify-app-auf-windows-phone-7-in-deutschland-spotify-on-windows-phone-7-from-germany/</guid>
		<description><![CDATA[Seit einigen Tagen ist nach langer Wartezeit endlich Spotify fuer das Windows Phone 7 erschienen. Leider, leider wurde die App nicht in den deutschen Marketplace eingestellt. Mit einem kleinen Trick ist es aber trotzdem moeglich, die Spotify App auch aus Deutschland heraus zu nutzen. Vorraussetzungen Ein ungelocktes Telefon. Am einfachsten mit einem Entwickleraccount, ansonsten ChevronWP [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=327&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Seit einigen Tagen ist nach langer Wartezeit endlich <a href="http://www.spotify.com">Spotify</a> fuer das Windows Phone 7 erschienen. Leider, leider wurde die App nicht in den deutschen Marketplace eingestellt. Mit einem kleinen Trick ist es aber trotzdem moeglich, die Spotify App auch aus Deutschland heraus zu nutzen.</p>
<h3>Vorraussetzungen</h3>
<ul>
<li>Ein ungelocktes Telefon. Am einfachsten mit einem Entwickleraccount, ansonsten ChevronWP oder aehnliches</li>
<li>Ein bezahlter Spotify Premium Account</li>
</ul>
<p>Der Schluessel zur Installation ist ein kleines Tool names <a href="http://forum.xda-developers.com/showthread.php?t=908293" target="_blank">Phone7Market</a>. Damit ist es moeglich, die .XAP Pakete fuer <strong>kostenlose</strong> Apps aus dem Marketplace zu laden. Praktischerweise wird nicht nur der deutsche Marketplace unterstuetzt, sondern auch die anderssprachigen Varianten. </p>
<p><a href="http://cschleiden.files.wordpress.com/2011/11/image.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://cschleiden.files.wordpress.com/2011/11/image_thumb.png?w=631&#038;h=380" width="631" height="380"></a></p>
<p>Mit einer einfachen Suche im en-US Marketplace nach “Spotify” findet man das entsprechende Paket und es laesst sich aus dem Tool heraus direkt auf dem Device installieren:</p>
<p><a href="http://cschleiden.files.wordpress.com/2011/11/image1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://cschleiden.files.wordpress.com/2011/11/image_thumb1.png?w=650&#038;h=63" width="650" height="63"></a></p>
<p>Abschliessend ist noch zu sagen dass die App hervorragend funktioniert und eine sehr angenehme Metro Oberflaeche zum eigenen Spotify-Profil bereit stellt.</p>
<p>Viel Spass!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cschleiden.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cschleiden.wordpress.com/327/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=327&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cschleiden.wordpress.com/2011/11/10/spotify-app-auf-windows-phone-7-in-deutschland-spotify-on-windows-phone-7-from-germany/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e955c4d40e1b131d338af2a924c0f3cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cschleiden</media:title>
		</media:content>

		<media:content url="http://cschleiden.files.wordpress.com/2011/11/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://cschleiden.files.wordpress.com/2011/11/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Büchermenschen</title>
		<link>http://cschleiden.wordpress.com/2011/10/15/buchermenschen/</link>
		<comments>http://cschleiden.wordpress.com/2011/10/15/buchermenschen/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 14:56:30 +0000</pubDate>
		<dc:creator>cschleiden</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cschleiden.wordpress.com/?p=315</guid>
		<description><![CDATA[Als grosser Kindle Fan erzaehlen mir auch Leute staendig von dem tollen Gefuehl ein Buch aus Papier in der Hand zu halten&#8230; passend dazu gerade gelesen: Neben dem wirtschaftlichen haben die Verlage noch ein anderes, ein emotionales Problem. Ein Insider formuliert es brutal: &#8220;In den Verlagen sitzen oben oft alte Menschen, die sehr konservativ sind.&#8221; [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=315&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Als grosser Kindle Fan erzaehlen mir auch Leute staendig von dem tollen Gefuehl ein Buch aus Papier in der Hand zu halten&#8230; passend dazu gerade gelesen:</p>
<blockquote><p>Neben dem wirtschaftlichen haben die Verlage noch ein anderes, ein emotionales Problem. Ein Insider formuliert es brutal: &#8220;In den Verlagen sitzen oben oft alte Menschen, die sehr konservativ sind.&#8221; Positiver könnte man formulieren: Büchermenschen lieben Bücher, interessieren sich für Papierqualität, Bindung und Typografie.</p></blockquote>
<p>Quelle: <a href="http://www.spiegel.de/netzwelt/gadgets/0,1518,791813,00.html">http://www.spiegel.de/netzwelt/gadgets/0,1518,791813,00.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cschleiden.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cschleiden.wordpress.com/315/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=315&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cschleiden.wordpress.com/2011/10/15/buchermenschen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e955c4d40e1b131d338af2a924c0f3cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cschleiden</media:title>
		</media:content>
	</item>
		<item>
		<title>Reasons why I exit vi</title>
		<link>http://cschleiden.wordpress.com/2011/09/30/reasons-why-i-exit-vi/</link>
		<comments>http://cschleiden.wordpress.com/2011/09/30/reasons-why-i-exit-vi/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 12:15:29 +0000</pubDate>
		<dc:creator>cschleiden</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://cschleiden.wordpress.com/?p=310</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=310&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://cschleiden.files.wordpress.com/2011/09/vi.png"><img src="http://cschleiden.files.wordpress.com/2011/09/vi.png?w=490" alt="" title="vi"   class="aligncenter size-full wp-image-313" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cschleiden.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cschleiden.wordpress.com/310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=310&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cschleiden.wordpress.com/2011/09/30/reasons-why-i-exit-vi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e955c4d40e1b131d338af2a924c0f3cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cschleiden</media:title>
		</media:content>

		<media:content url="http://cschleiden.files.wordpress.com/2011/09/vi.png" medium="image">
			<media:title type="html">vi</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows Phone 7.5 Mango und O2 Visual Voice Mail</title>
		<link>http://cschleiden.wordpress.com/2011/09/28/windows-phone-7-5-mango-und-o2-visual-voice-mail/</link>
		<comments>http://cschleiden.wordpress.com/2011/09/28/windows-phone-7-5-mango-und-o2-visual-voice-mail/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 21:10:47 +0000</pubDate>
		<dc:creator>cschleiden</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[wp7]]></category>

		<guid isPermaLink="false">http://cschleiden.wordpress.com/?p=311</guid>
		<description><![CDATA[Seit gestern wird die aktuelle Windows Phone 7 version &#8220;Mango&#8221; ausgeliefert (rockt uebrigens) und bringt (theoretisch) Support fuer Visual Voice Mail mit. O2 Deutschland Kunden (so wie ich) haben in dieser Hinsicht aber leider Pech, denn ein O2 Mitarbeiter schreibt im O2 Forum: ja gibt es: Nach derzeitigem Stand wird es Visual Voicemail aus Kostengründen [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=311&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Seit gestern wird die aktuelle Windows Phone 7 version &#8220;Mango&#8221; ausgeliefert (rockt uebrigens) und bringt (theoretisch) Support fuer <a href="http://en.wikipedia.org/wiki/Visual_voicemail">Visual Voice Mail</a> mit. O2 Deutschland Kunden (so wie ich) haben in dieser Hinsicht aber leider Pech, denn ein O2 Mitarbeiter schreibt im O2 Forum:</p>
<blockquote><p>ja gibt es: Nach derzeitigem Stand wird es Visual Voicemail aus Kostengründen nicht für andere Plattformen als iOS geben. Sobald sich das ändert, werden wir dies rechtzeitig bekanntgeben.</p></blockquote>
<p>(Quelle: <a href="http://forum.o2online.de/t5/Software-Firmware/Visual-Voice-Mail-f%C3%BCr-Windows-Phone-7-Mango/td-p/133754" rel="nofollow">http://forum.o2online.de/t5/Software-Firmware/Visual-Voice-Mail-f%C3%BCr-Windows-Phone-7-Mango/td-p/133754</a>)</p>
<p>Schade.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cschleiden.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cschleiden.wordpress.com/311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=311&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cschleiden.wordpress.com/2011/09/28/windows-phone-7-5-mango-und-o2-visual-voice-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e955c4d40e1b131d338af2a924c0f3cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cschleiden</media:title>
		</media:content>
	</item>
		<item>
		<title>Linker trouble on BlueGene/P system</title>
		<link>http://cschleiden.wordpress.com/2011/09/28/linker-trouble-on-bluegenep-system/</link>
		<comments>http://cschleiden.wordpress.com/2011/09/28/linker-trouble-on-bluegenep-system/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 21:06:48 +0000</pubDate>
		<dc:creator>cschleiden</dc:creator>
				<category><![CDATA[Thesis]]></category>

		<guid isPermaLink="false">http://cschleiden.wordpress.com/?p=308</guid>
		<description><![CDATA[Today I have learned that having a global variable in some C89 code which is not declared as static might be problematic if said code is later linked together with a Fortran program which includes a function with the exact same name es the mentioned variable. Somehow the program ended up at the location of [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=308&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Today I have learned that having a global variable in some C89 code which is not declared as static might be problematic if said code is later linked together with a Fortran program which includes a function with the exact same name es the mentioned variable. Somehow the program ended up at the location of the variable which of course ended in a crash with a signal four (illegal instruction). Took me about 12h to find and fix that bug&#8230; in my defense it was on a BlueGene system and I first thought the error had something to do with some front-/backend problems (you cross compile on the frontend and then execute the resulting binary using the LoadLeveler)&#8230; Anyway, now it works and I can finally take measurements for the thesis. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cschleiden.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cschleiden.wordpress.com/308/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=308&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cschleiden.wordpress.com/2011/09/28/linker-trouble-on-bluegenep-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e955c4d40e1b131d338af2a924c0f3cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cschleiden</media:title>
		</media:content>
	</item>
		<item>
		<title>SIGPROF signal handler and pthreads</title>
		<link>http://cschleiden.wordpress.com/2011/09/09/sigprof-signal-handler-and-pthreads/</link>
		<comments>http://cschleiden.wordpress.com/2011/09/09/sigprof-signal-handler-and-pthreads/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 13:06:40 +0000</pubDate>
		<dc:creator>cschleiden</dc:creator>
				<category><![CDATA[Thesis]]></category>

		<guid isPermaLink="false">http://cschleiden.wordpress.com/?p=303</guid>
		<description><![CDATA[During work on my thesis the question popped up how signals generated by the SIGPROF timer were handled in multithreaded code. Signal handlers are process specific to it could have been that one random thread handled the sent signal. As I could not a find a suitable explanation in the intertubes I performed a small [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=303&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>During work on my thesis the question popped up how signals generated by the SIGPROF timer were handled in multithreaded code. Signal handlers are process specific to it could have been that one random thread handled the sent signal. As I could not a find a suitable explanation in the intertubes I performed a small experiment. </p>
<p>My sample program installs a signal handler and starts a timer with a frequency of about 100hz. At first the number of captured signals in a ten second timespan are captured using only the main thread and then using four individual threads. The output is:<br />
<code>Signals caught after 10 seconds: 999<br />
Creating 4 threads<br />
Signals caught after 4x10 seconds by thread 0: 1000<br />
Signals caught after 4x10 seconds by thread 1: 1000<br />
Signals caught after 4x10 seconds by thread 2: 1000<br />
Signals caught after 4x10 seconds by thread 3: 1000 </code></p>
<p>So apparently each thread handles the SIGPROF signal, which is quite nice for my purpose.</p>
<p>The sourcode is here (I just assume that pthread_self is async-safe even though it&#8217;s specified by the standard. It appears, however, that assuming that is done by most people working on that kind of stuff):</p>
<pre class="brush: cpp; title: ; notranslate">#include &lt;signal.h&gt;
#include &lt;stdio.h&gt;
#include &lt;pthread.h&gt;
#include &lt;sys/time.h&gt;

#include &quot;../../util/util_time_measurement.h&quot;

const int thread_count = 4;

volatile sig_atomic_t signal_count[thread_count];

pthread_t threads[thread_count];

static void sigprof_handler(int sig_nr, siginfo_t* info, void *context)
{
   int t;
   for(t = 0; t &lt; thread_count; ++t)
   {
      if(threads[t] == pthread_self())
      {
	signal_count[t]++;

	return;
      }
   }

   /* Probably no thread */
   signal_count[0]++;
}

void install_signal_handler()
{
   /* Install signal handler for SIGPROF event */
   struct sigaction sa;
   memset(&amp;sa, 0, sizeof(sa));
   sa.sa_sigaction = sigprof_handler;
   sa.sa_flags = SA_RESTART | SA_SIGINFO;
   sigemptyset(&amp;sa.sa_mask);

   sigaction(SIGPROF, &amp;sa, NULL);
}

void idle_time(int seconds)
{
   timestamp_t start = util_get_timestamp();
   while(1)
   {
      if(util_get_timestamp() &gt; start + seconds)
      {
	break;
      }
   }
}

void* thread_work(void* data)
{
   idle_time(10);

   return NULL;
}

int main(int argc, char** argv)
{
   install_signal_handler();
   
   static struct itimerval timer;

   timer.it_interval.tv_sec = 0;
   timer.it_interval.tv_usec = 1000000 / 100; /* 100hz */
   timer.it_value = timer.it_interval;

   /* Reset count */
   int t;
   for(t = 0; t &lt; thread_count; ++t)
   {
      signal_count[t] = 0;
   }

   /* Install timer */
   if (setitimer(ITIMER_PROF, &amp;timer, NULL) != 0)
   {
      printf(&quot;Timer could not be initialized \n&quot;);
   }
   
   /* Idle for 10 seconds */
   idle_time(10);


   printf(&quot;Signals caught after 10 seconds: %d \n&quot;, signal_count[0]);

   /* Reset count */
   for(t = 0; t &lt; thread_count; ++t)
   {
      signal_count[t] = 0;
   }

   printf(&quot;Creating %d threads... \n&quot;, thread_count);

   for(t = 0; t &lt; thread_count; ++t)
   {
      pthread_create(&amp;threads[t], NULL, thread_work, NULL);
   }
   
   for(t = 0; t &lt; thread_count; ++t)
   {
      pthread_join(threads[t], NULL);
   }

   for(t = 0; t &lt; thread_count; ++t)
   {
      printf(&quot;Signals caught after %dx10 seconds by thread %d: %d \n&quot;, thread_count, t, signal_count[t]);
   }
}
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cschleiden.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cschleiden.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cschleiden.wordpress.com&#038;blog=6191047&#038;post=303&#038;subd=cschleiden&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cschleiden.wordpress.com/2011/09/09/sigprof-signal-handler-and-pthreads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e955c4d40e1b131d338af2a924c0f3cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cschleiden</media:title>
		</media:content>
	</item>
	</channel>
</rss>
