<?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>The adventures of Foo &#187; Programmieren</title>
	<atom:link href="http://jensge.org/tag/programmieren/feed/" rel="self" type="application/rss+xml" />
	<link>http://jensge.org</link>
	<description>My aggregated random tech blabber</description>
	<lastBuildDate>Sun, 25 Jul 2010 09:57:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Rygel XBox support update</title>
		<link>http://jensge.org/2010/03/rygel-xbox-support-update/</link>
		<comments>http://jensge.org/2010/03/rygel-xbox-support-update/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 19:05:50 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[UPnP]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=388</guid>
		<description><![CDATA[<p>XBox support still has not landed in rygel master, though the branch gets more stable currently. I put together a wiki page to describe the necessary quirks together with a [...]]]></description>
			<content:encoded><![CDATA[<p>XBox support still has not landed in rygel master, though the branch gets more stable currently. I put together a <a href="http://live.gnome.org/Rygel/XBox360">wiki page</a> to describe the necessary quirks together with a helper script.</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2010/03/rygel-xbox-support-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fake rpm database in ubuntu</title>
		<link>http://jensge.org/2010/01/fake-rpm-database-in-ubuntu/</link>
		<comments>http://jensge.org/2010/01/fake-rpm-database-in-ubuntu/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 11:17:12 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Arbeit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NoteToMyself]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=374</guid>
		<description><![CDATA[<p>At work I&#8217;m currently developing software which is supposed to run on openSUSE. I need to query the package database at some point which of course does not exist on my ubuntu machine. Here&#8217;s a quick setup how to create a fake local RPM database:</p>

echo &#34;%_dbpath /home/user/rpmdb&#34; &#62;&#62; ~/.rpmmacros
mkdir /home/user/rpmdb
rpm -i --nodeps --justdb --force-debian *.rpm

<p>And [...]]]></description>
			<content:encoded><![CDATA[<p>At work I&#8217;m currently developing software which is supposed to run on openSUSE. I need to query the package database at some point which of course does not exist on my ubuntu machine. Here&#8217;s a quick setup how to create a fake local RPM database:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;%_dbpath /home/user/rpmdb&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.rpmmacros
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>user<span style="color: #000000; font-weight: bold;">/</span>rpmdb
rpm <span style="color: #660033;">-i</span> <span style="color: #660033;">--nodeps</span> <span style="color: #660033;">--justdb</span> <span style="color: #660033;">--force-debian</span> <span style="color: #000000; font-weight: bold;">*</span>.rpm</pre></div></div>

<p>And that&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2010/01/fake-rpm-database-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(Gnu-)Tar option of the day</title>
		<link>http://jensge.org/2010/01/gnu-tar-option-of-the-day/</link>
		<comments>http://jensge.org/2010/01/gnu-tar-option-of-the-day/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 10:54:09 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Arbeit]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NoteToMyself]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[Programmieren]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=372</guid>
		<description><![CDATA[[...]]]></description>
			<content:encoded><![CDATA[<p><code>--exclude-vcs</code></p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2010/01/gnu-tar-option-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pmp 0.1 released</title>
		<link>http://jensge.org/2009/12/pmp-0-1-released/</link>
		<comments>http://jensge.org/2009/12/pmp-0-1-released/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 13:25:49 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmieren]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=352</guid>
		<description><![CDATA[<p>I just uploaded pmp 0.1 &#8211; Poor man&#8217;s prism desktop web application creator to github: http://github.com/phako/pmp</p>
<p>A release tarball can be found here: pmp-0.1.tar.gz</p>
<p>What is pmp?</p>
<p>pmp shares some similarities to Mozilla&#8217;s Prism. It creates a &#8220;standalone&#8221; app from a web application. Pmp uses Webkit as its rendering backend.</p>
<p>How do I use it?</p>
<p>To create an edge (that is [...]]]></description>
			<content:encoded><![CDATA[<p>I just uploaded pmp 0.1 &#8211; Poor man&#8217;s prism desktop web application creator to github: <a href="http://github.com/phako/pmp">http://github.com/phako/pmp</a></p>
<p>A release tarball can be found here: <a href="http://jensge.org/wp-content/uploads/2009/12/pmp-0.1.tar.gz">pmp-0.1.tar.gz</a></p>
<p><strong>What is pmp?</strong></p>
<p>pmp shares some similarities to Mozilla&#8217;s Prism. It creates a &#8220;standalone&#8221; app from a web application. Pmp uses Webkit as its rendering backend.</p>
<p><strong>How do I use it?</strong></p>
<p>To create an edge (that is pmp&#8217;s terminus for a captured app), run<br />
<code>pmp-create --url=&lt;url to website&gt; --name=&lt;descriptivename&gt;</code><br />
You can also create a desktop icon by passing it the <code>--desktop</code> parameter. If you want to use the site&#8217;s favicon, use <code>--icon=:favicon</code></p>
<p>To run the edge, call <code>pmp-run --name=&lt;DescriptiveName&gt;</code></p>
<p><strong>Known limitations:</strong><br />
It does not work properly with Google&#8217;s apps. Google does some weird URL redirects. I&#8217;m working on that. Apps known to work are WordPress and TT RSS.</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/12/pmp-0-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Location-dependant IGMP</title>
		<link>http://jensge.org/2009/09/location-dependant-igmp/</link>
		<comments>http://jensge.org/2009/09/location-dependant-igmp/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 19:28:20 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Arbeit]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmieren]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=301</guid>
		<description><![CDATA[<p>Could someone please enlighten me?</p>
<p>I spent a third of my work today wondering why</p>

a modified QUdpSocket only leads to IGMPv1 membership reports
a self-written plain old socket multicast client only leads to IGMPv2 joins, but very seldom leaves

<p>Now being at home, I tried both programs and both reliably send IGMPv3 joins [...]]]></description>
			<content:encoded><![CDATA[<p>Could someone please enlighten me?</p>
<p>I spent a third of my work today wondering why</p>
<ul>
<li>a modified QUdpSocket only leads to IGMPv1 membership reports</li>
<li>a self-written plain old socket multicast client only leads to IGMPv2 joins, but very seldom leaves</li>
</ul>
<p>Now being at home, I tried both programs and <em>both</em> reliably send IGMPv3 joins and leaves&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/09/location-dependant-igmp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smart pointers&#8230;</title>
		<link>http://jensge.org/2009/08/smart-pointers/</link>
		<comments>http://jensge.org/2009/08/smart-pointers/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 10:08:35 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Arbeit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmieren]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=285</guid>
		<description><![CDATA[<p>Can someone explain me the following behaviour:</p>
<p>I have the following smart pointer:</p>

class AlsaHwParams
&#123;
public:
    AlsaHwParams&#40;&#41; : m_params&#40;0&#41; 
    &#123; snd_pcm_hw_params_alloca &#40;&#38;m_params&#41;; &#125;
&#160;
    ~AlsaHwParams&#40;&#41; 
    &#123; if &#40;m_params != 0&#41; snd_pcm_hw_params_free &#40;m_params&#41;; &#125;
&#160;
    operator snd_pcm_hw_params_t*&#40;&#41; &#123; return m_params; &#125;
private:
    snd_pcm_hw_params_t [...]]]></description>
			<content:encoded><![CDATA[<p>Can someone explain me the following behaviour:</p>
<p>I have the following smart pointer:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #0000ff;">class</span> AlsaHwParams
<span style="color: #008000;">&#123;</span>
<span style="color: #0000ff;">public</span><span style="color: #008080;">:</span>
    AlsaHwParams<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008080;">:</span> m_params<span style="color: #008000;">&#40;</span><span style="color: #0000dd;">0</span><span style="color: #008000;">&#41;</span> 
    <span style="color: #008000;">&#123;</span> snd_pcm_hw_params_alloca <span style="color: #008000;">&#40;</span><span style="color: #000040;">&amp;</span>m_params<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> <span style="color: #008000;">&#125;</span>
&nbsp;
    ~AlsaHwParams<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> 
    <span style="color: #008000;">&#123;</span> <span style="color: #0000ff;">if</span> <span style="color: #008000;">&#40;</span>m_params <span style="color: #000040;">!</span><span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008000;">&#41;</span> snd_pcm_hw_params_free <span style="color: #008000;">&#40;</span>m_params<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span> <span style="color: #008000;">&#125;</span>
&nbsp;
    operator snd_pcm_hw_params_t<span style="color: #000040;">*</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span> <span style="color: #0000ff;">return</span> m_params<span style="color: #008080;">;</span> <span style="color: #008000;">&#125;</span>
<span style="color: #0000ff;">private</span><span style="color: #008080;">:</span>
    snd_pcm_hw_params_t <span style="color: #000040;">*</span>m_params<span style="color: #008080;">;</span>
<span style="color: #008000;">&#125;</span><span style="color: #008080;">;</span></pre></div></div>

<p>Thing is: It doesn&#8217;t work. Alsa behaves very strange if I use it. Even if I make the <code>m_params</code> member public and access it directly. The only way it works is to not allocate from inside the class but outside like</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;">snd_pcm_hw_params_alloca <span style="color: #008000;">&#40;</span><span style="color: #000040;">&amp;</span><span style="color: #008000;">&#40;</span>hwparams.<span style="color: #007788;">m_params</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span></pre></div></div>

<p><b>Update:</b> Seems replacing <code>_alloca</code> with <code>_malloc</code> fixes it.<br />
<b>Update:</b> Duh, that is because <code>alloca</code> allocates on stack and not on heap.</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/08/smart-pointers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mono vs. COM</title>
		<link>http://jensge.org/2009/08/mono-vs-com/</link>
		<comments>http://jensge.org/2009/08/mono-vs-com/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 10:05:41 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=271</guid>
		<description><![CDATA[<p>Please. I have nothing against C# in general or Mono. But please, please do not encourage the use of something as broken as COM, even if it&#8217;s to ease the bridging between C# and C++.</p>
<p>Thank you for [...]]]></description>
			<content:encoded><![CDATA[<p>Please. I have nothing against C# in general or Mono. But please, please<a href="http://blog.worldofcoding.com/2009/08/binding-c-apis.html"> do not encourage the use of something as broken as COM</a>, even if it&#8217;s to ease the bridging between C# and C++.</p>
<p>Thank you for your attention.</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/08/mono-vs-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Concerning gnupg&#8230;</title>
		<link>http://jensge.org/2009/07/concerning-gnupg/</link>
		<comments>http://jensge.org/2009/07/concerning-gnupg/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 09:17:07 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Arbeit]]></category>
		<category><![CDATA[NoteToMyself]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=262</guid>
		<description><![CDATA[<p>I wrote earlier about compiling libgpgme for use with Visual Studio. Forgot to mention that this is an useless effort because the filedescriptor passing does not work and as such you can only encrypt decrypt from or [...]]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://jensge.org/2009/04/eternal-struggle/">wrote earlier about compiling libgpgme for use with Visual Studio</a>. Forgot to mention that this is an useless effort because the filedescriptor passing does not work and as such you can only encrypt decrypt from or to memory.</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/07/concerning-gnupg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Butter</title>
		<link>http://jensge.org/2009/06/butter/</link>
		<comments>http://jensge.org/2009/06/butter/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 10:48:57 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmieren]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=259</guid>
		<description><![CDATA[<p>While developing with Vala I found myself writing some stuff over and over again. So I decided to make a library out of it: Libbutter. Currently only available via git [...]]]></description>
			<content:encoded><![CDATA[<p>While developing with Vala I found myself writing some stuff over and over again. So I decided to make a library out of it: Libbutter. Currently only available via git on <a href="http://github.com/phako/butter">http://github.com/phako/butter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/06/butter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GUPnP on windows howto</title>
		<link>http://jensge.org/2009/05/gupnp-on-windows-howto/</link>
		<comments>http://jensge.org/2009/05/gupnp-on-windows-howto/#comments</comments>
		<pubDate>Fri, 15 May 2009 12:35:25 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[UPnP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=238</guid>
		<description><![CDATA[<p>I threw together some instructions on how to build the GUPnP stack [...]]]></description>
			<content:encoded><![CDATA[<p>I threw together <a href="http://jensge.org/?page_id=226">some instructions on how to build the GUPnP stack</a> on windows:</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/05/gupnp-on-windows-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
