<?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; Arbeit</title>
	<atom:link href="http://jensge.org/tag/arbeit/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>A plea agains tofu</title>
		<link>http://jensge.org/2010/03/a-plea-agains-tofu/</link>
		<comments>http://jensge.org/2010/03/a-plea-agains-tofu/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 10:44:47 +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[Internet]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=391</guid>
		<description><![CDATA[<p>No, not the stuff made from soy beans. Tofu is the the german term for a behaviour most likely found in corporate email. It means &#8220;Quote full, add your text on the top&#8221;. That&#8217;s sort of reversed &#8220;AOL&#8221; behaviour.</p>
<p>When I started email, I came from a FIDO background (anyone remembers this? BBS and stuff?). Connection time [...]]]></description>
			<content:encoded><![CDATA[<p>No, not the stuff made from soy beans. Tofu is the the german term for a behaviour most likely found in corporate email. It means &#8220;Quote full, add your text on the top&#8221;. That&#8217;s sort of reversed &#8220;AOL&#8221; behaviour.</p>
<p>When I started email, I came from a <a href="http://en.wikipedia.org/wiki/FidoNet">FIDO background</a> (anyone remembers this? BBS and stuff?). Connection time was precious and expensive. Quoting rules existed like don&#8217;t quote too many levels, answer inline etc. When moving on to the internet, I mostly kept this. </p>
<p>I dropped writing emails like this like five years ago, when I entered the magical world of business emails. Noone understood inline replys and most people were complaining that the communication history was missing. So I adapted, at least at work. And Outlook 2007 even has support for navigating in mails like those. I also understand why a certain kind of people like it. When you print the mail, you only need to print one mail and have the whole conversation at hand.</p>
<p>But honestly. I&#8217;m doing a lot of mail on my mobile phone currently. Fetching mails is not too fast on there. I don&#8217;t want to download 200k for a simple &#8220;Me too&#8221;. I don&#8217;t want to scroll through all of the shit. I don&#8217;t event want to download the same shit again and again. I already have the communication history available.</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2010/03/a-plea-agains-tofu/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>How to examine binary registry dumps in Linux</title>
		<link>http://jensge.org/2009/11/how-to-examine-binary-registry-dumps-in-linux/</link>
		<comments>http://jensge.org/2009/11/how-to-examine-binary-registry-dumps-in-linux/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 10:36:22 +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[NoteToMyself]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=335</guid>
		<description><![CDATA[<p>Say you have a binary registry export or dump from Windows and need to have a look at its contents. What do you do? The solution I came up with is:</p>

WINEPREFIX=/tmp/dump regedit *.reg

<p>Which gives you nice plain-text ini-style registries to examine in /tmp/dump. That obviously needs [...]]]></description>
			<content:encoded><![CDATA[<p>Say you have a binary registry export or dump from Windows and need to have a look at its contents. What do you do? The solution I came up with is:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">WINEPREFIX</span>=<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>dump regedit <span style="color: #000000; font-weight: bold;">*</span>.reg</pre></div></div>

<p>Which gives you nice plain-text ini-style registries to examine in <code>/tmp/dump</code>. That obviously needs <a href="http://winehq.com">Wine</a> installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/11/how-to-examine-binary-registry-dumps-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using postfix and ActiveDirectory</title>
		<link>http://jensge.org/2009/11/using-postfix-and-activedirectory/</link>
		<comments>http://jensge.org/2009/11/using-postfix-and-activedirectory/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 21:00:08 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Arbeit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=328</guid>
		<description><![CDATA[<p>Quick reference for using postfix as a &#8220;shield&#8221; server to Exchange to check valid mailboxes against ActiveDirectory (SBS edition):</p>
<p>create a LDAP configuration file:</p>

server_host = ad-server.your.domain
search_base = ou=MyBusiness,dc=your,dc=domain
query_filter = &#40;&#38;&#40;objectClass=*&#41; &#40;proxyAddresses=smtp:%s&#41;&#41;
result_attribute = sAMAccountName
bind=yes
bind_dn = dn of user account
bind_pw = pw [...]]]></description>
			<content:encoded><![CDATA[<p>Quick reference for using postfix as a &#8220;shield&#8221; server to Exchange to check valid mailboxes against ActiveDirectory (SBS edition):</p>
<p>create a LDAP configuration file:</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000099;">server_host</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> ad-server.your.domain</span>
<span style="color: #000099;">search_base</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> ou=MyBusiness,dc=your,dc=domain</span>
<span style="color: #000099;">query_filter</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> <span style="">&#40;</span>&amp;<span style="">&#40;</span>objectClass<span style="color: #000066; font-weight:bold;">=</span>*<span style="">&#41;</span> <span style="">&#40;</span>proxyAddresses<span style="color: #000066; font-weight:bold;">=</span>smtp:%s<span style="">&#41;</span><span style="">&#41;</span></span>
<span style="color: #000099;">result_attribute</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> sAMAccountName</span>
<span style="color: #000099;">bind</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">yes</span>
<span style="color: #000099;">bind_dn</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> dn of user account</span>
<span style="color: #000099;">bind_pw</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> pw of user</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/11/using-postfix-and-activedirectory/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>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>UnverstÃ¤ndnis &#8230;</title>
		<link>http://jensge.org/2009/06/unverstandnis/</link>
		<comments>http://jensge.org/2009/06/unverstandnis/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 17:39:39 +0000</pubDate>
		<dc:creator>Jens</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Arbeit]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=246</guid>
		<description><![CDATA[<p>&#8230; strahlt einem oft entgegen, wenn man erzÃ¤hlt, dass man jeden Tag die 1,5km von der Bahnstation zur Firma lÃ¤uft. Und das auch [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; strahlt einem oft entgegen, wenn man erzÃ¤hlt, dass man jeden Tag die 1,5km von der Bahnstation zur Firma lÃ¤uft. Und das auch noch freiwillig.</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/06/unverstandnis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samba as AD client</title>
		<link>http://jensge.org/2009/05/samba-as-ad-client/</link>
		<comments>http://jensge.org/2009/05/samba-as-ad-client/#comments</comments>
		<pubDate>Mon, 18 May 2009 10:36:10 +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[Windows]]></category>

		<guid isPermaLink="false">http://jensge.org/?p=242</guid>
		<description><![CDATA[<p>If net ads join ever again fails with Failed to join domain: failed to find DC for domain just throw the stupid NetBIOS name of the ActiveDirectory server into the hosts file, will [...]]]></description>
			<content:encoded><![CDATA[<p>If <code>net ads join</code> ever again fails with <code>Failed to join domain: failed to find DC for domain</code> just throw the stupid <a href="http://en.wikipedia.org/wiki/Netbios">NetBIOS</a> name of the <a href="http://en.wikipedia.org/wiki/Active_Directory">ActiveDirectory</a> server into the hosts file, will you? Sheesh&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://jensge.org/2009/05/samba-as-ad-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
