<?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>asmw.de &#187; geek</title>
	<atom:link href="http://asmw.de/?feed=rss2&#038;tag=geek" rel="self" type="application/rss+xml" />
	<link>http://asmw.de</link>
	<description>...assembling words</description>
	<lastBuildDate>Mon, 16 Aug 2010 20:39:35 +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>chaos!</title>
		<link>http://asmw.de/?p=143</link>
		<comments>http://asmw.de/?p=143#comments</comments>
		<pubDate>Mon, 28 Dec 2009 12:38:50 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[nerdcore]]></category>
		<category><![CDATA[ccc]]></category>
		<category><![CDATA[congress]]></category>
		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=143</guid>
		<description><![CDATA[<p>Day 0: Cash registers closed, WLAN working.</p>
<p>The estimates as to when the cash registers would open developed as follows:</p>
<p>12 hours -&#62; rand(6,12) hours -&#62; 22 o&#8217; clock.</p>
<p>I got my ticket despite the troubles. Good riddance as they were sold out the next morning.
Day 1: Topics to look up: GSM security, dnssec, OpenMoko, sleephacking, arduinos, MakerBots
Day [...]]]></description>
			<content:encoded><![CDATA[<p>Day 0: Cash registers closed, WLAN working.</p>
<p>The estimates as to when the cash registers would open developed as follows:</p>
<p>12 hours -&gt; rand(6,12) hours -&gt; 22 o&#8217; clock.</p>
<p>I got my ticket despite the troubles. Good riddance as they were sold out the next morning.<br />
Day 1: Topics to look up: GSM security, dnssec, OpenMoko, sleephacking, arduinos, MakerBots<br />
Day 2: Microcontrollers!</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=143</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TAG, you&#8217;re it!</title>
		<link>http://asmw.de/?p=105</link>
		<comments>http://asmw.de/?p=105#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:19:00 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[daily grind]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[sansa]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=105</guid>
		<description><![CDATA[<p>Today the shops were open for business despite it being a Sunday and I grasped
the opportunity to buy a mp3-cassette adapter so I won&#8217;t have to endure
ad-infested radio on my morning-commute.</p>
<p>That event led me to an issue I&#8217;ve been putting off for some time now.
I own a Sandisk Sansa MP3 player and all in all [...]]]></description>
			<content:encoded><![CDATA[<p>Today the shops were open for business despite it being a Sunday and I grasped<br />
the opportunity to buy a mp3-cassette adapter so I won&#8217;t have to endure<br />
ad-infested radio on my morning-commute.</p>
<p>That event led me to an issue I&#8217;ve been putting off for some time now.<br />
I own a Sandisk Sansa MP3 player and all in all I&#8217;m very pleased with it.</p>
<p>The only thing it does not do is play files according to their location in the<br />
filesystem on the player, everything needs to be properly tagged to be useful.</p>
<p>Some files are not. Now in the past I&#8217;ve used <a title="Exfalse tag magic" href="http://code.google.com/p/quodlibet/">exfalso</a> to tag my music, but<br />
today I wanted a quick and dirty command line fix for things and so I&#8217;ve<br />
leveraged the power of the bash and <a title="mp3info" href="http://www.ibiblio.org/mp3info/">mp3info</a> to do my bidding.</p>
<p>Like so:</p>
<pre>find . -iname "*.mp3" | while read mp3 ; do
    artist=$(mp3info -p "%a" "$mp3")
    title=$(mp3info -p "%t" "$mp3")
    if [ -z "$artist" -o -z "$title" ]; then
        echo "No Artist or Title on: $mp3"
    fi
done</pre>
<p>The fixing was also done with mp3info.<br />
Fix artist for all files in a folder:<br />
- mp3info -a &#8220;Farin Urlaub&#8221; *.mp3</p>
<p>Fix title with a little help from a shell:<br />
- for x in *; do t=$(basename &#8220;$x&#8221; &#8220;.mp3&#8243; |awk -F&#8217;-&#8217; &#8216;{print $3}&#8217;); mp3info -t &#8220;$t&#8221; $x; done</p>
<p>You get the idea&#8230;</p>
<p>I&#8217;ll try it out tomorrow morning.</p>
<p>G&#8217;night</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=105</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello, how is the fsync today?</title>
		<link>http://asmw.de/?p=98</link>
		<comments>http://asmw.de/?p=98#comments</comments>
		<pubDate>Sun, 18 Oct 2009 14:02:54 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[daily grind]]></category>
		<category><![CDATA[firefow]]></category>
		<category><![CDATA[fsync]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[io]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=98</guid>
		<description><![CDATA[<p>So I run a bleeding edge operating system on my one and only home computer.</p>
<p>It&#8217;s an Eeepc 901 with a teeeeny SSD on which lives a Debian GNU/Linux with an
unstable/experimental flavor to it.</p>
<p>I also like to surf the web. I do it all the time when I&#8217;m sitting in front of
my machine.</p>
<p>Every now and then [...]]]></description>
			<content:encoded><![CDATA[<p>So I run a bleeding edge operating system on my one and only home computer.</p>
<p>It&#8217;s an Eeepc 901 with a teeeeny SSD on which lives a Debian GNU/Linux with an<br />
unstable/experimental flavor to it.</p>
<p>I also like to surf the web. I do it all the time when I&#8217;m sitting in front of<br />
my machine.</p>
<p>Every now and then I run apt-get update &amp;&amp; apt-get upgrade &amp;&amp; apt-get -t<br />
experimental upgrade.</p>
<p>OK, people who know me would say I do that far to often and in fact i type<br />
that string out compulsively once or twice an hour.</p>
<p>In itself all of these facts might seem banal but mix them together and they<br />
form a highly explosive mixture!</p>
<p>The frequent and heavy I/O operations from the apt operations, induced by my<br />
upgradeitis, clash with the flurry of fsyncs firefox (or rather the<br />
underlying sqlite) uses to assure the safety and integrity of my precious<br />
browsing history. All of this is then delegated to the poor ext3 filesystem on<br />
the slooooow SSD in my 901 and results in an unbearably slow user-experience.</p>
<p>Then I did this: <a href="http://ubuntuforums.org/showthread.php?t=1103926">http://ubuntuforums.org/showthread.php?t=1103926</a></p>
<p>Now all is good <img src='http://asmw.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>(Yeah I know, my data will be lost if I FSU but I&#8217;m a big boy now&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=98</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>urxvt and back again</title>
		<link>http://asmw.de/?p=90</link>
		<comments>http://asmw.de/?p=90#comments</comments>
		<pubDate>Sun, 04 Oct 2009 15:09:24 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[daily grind]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=90</guid>
		<description><![CDATA[<p>Hello world,
</p>
<p>there once was a time, when I was using rxvt to do my daily terminal work, which is more or less all my work. As I tend to have quite a couple of terminals open at any one time and am quick to spawn new ones on a whim to do some temporary work, [...]]]></description>
			<content:encoded><![CDATA[<p>Hello world,
</p>
<p>there once was a time, when I was using rxvt to do my daily terminal work, which is more or less <em>all</em> my work. As I tend to have quite a couple of terminals open at any one time and am quick to spawn new ones on a whim to do some temporary work, I liked the idea of the urxvtd daemon and urxvtc client to speed up terminal spawning.
</p>
<p>I don&#8217;t know when exactly, but some day vim broke. I couldn&#8217;t get it working under rxvt any more.
</p>
<p>My main problem are arrow keys (Yeah I know, who uses arrow keys in vim anyways).
</p>
<p>They produce garbage along with ctrl-&lt;arrow key&gt;.
</p>
<p>Everything works fine in plain old xterm.
</p>
<p>I gave the whole thing another go today because I wanted to have click-able links but nooooo, nothing works.
</p>
<p>I fiddled and googled for an hour or so but eventually gave up. Highlighting the link and pressing &#8216;P&#8217; in vimperator just isn&#8217;t that much of a hassle.
</p>
<p>Meh&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=90</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8230;and all this time I have not known&#8230;</title>
		<link>http://asmw.de/?p=54</link>
		<comments>http://asmw.de/?p=54#comments</comments>
		<pubDate>Tue, 28 Jul 2009 13:09:08 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[nerdcore]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vimperator]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=54</guid>
		<description><![CDATA[<p>vimperator</p>
<p>Mouseless browsing!
100% awesome for awesome!
VIM!</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://vimperator.org">vimperator</a></p>
<p>Mouseless browsing!<br />
100% awesome for <a href="http://awesome.naquadah.org">awesome</a>!<br />
VIM!</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=54</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>One would need an oracle&#8230;</title>
		<link>http://asmw.de/?p=51</link>
		<comments>http://asmw.de/?p=51#comments</comments>
		<pubDate>Wed, 22 Jul 2009 22:09:48 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[nerdcore]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[thin worm]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=51</guid>
		<description><![CDATA[<p>To touch up on some oracle related topics I decided to give oracle-xe (free as in beer) a spin. Turns out there is a repository for debian unstable for that. Nice!</p>
<p>The whole thing can be read at and obtained from oracle.</p>
<p>It&#8217;s not quite that straightforward to get the php5 connection up, but it&#8217;s manageable.</p>
<p>Now I [...]]]></description>
			<content:encoded><![CDATA[<p>To touch up on some oracle related topics I decided to give oracle-xe (free as in beer) a spin. Turns out there is a repository for debian unstable for that. Nice!</p>
<p>The whole thing can be read at and obtained <a href="http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html">from oracle</a>.</p>
<p>It&#8217;s not quite that straightforward to <a href="http://www.oestby.com/doc/php5_oci8.php">get the php5 connection up</a>, but it&#8217;s manageable.</p>
<p>Now I really want to try out <a href="http://sourceforge.net/projects/phplightorm/">LightOrm</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=51</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I AM flabbergasted</title>
		<link>http://asmw.de/?p=48</link>
		<comments>http://asmw.de/?p=48#comments</comments>
		<pubDate>Sat, 04 Jul 2009 09:40:57 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blogposts]]></category>
		<category><![CDATA[AM]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[bloglink]]></category>
		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=48</guid>
		<description><![CDATA[<p>This totally awesome post is sooooo relevant to the stuff I have to absolutely learn because it somehow includes the mention of an AM radio.</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dadhacker.com/blog/?p=1120">This totally awesome post</a> is sooooo relevant to the stuff I have to absolutely learn because it somehow includes the mention of an AM radio.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=48</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I think I blinkd&#8230;</title>
		<link>http://asmw.de/?p=46</link>
		<comments>http://asmw.de/?p=46#comments</comments>
		<pubDate>Fri, 03 Jul 2009 21:07:47 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[nerdcore]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[thinkblinkd]]></category>
		<category><![CDATA[thinkpad]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=46</guid>
		<description><![CDATA[<p>This was still around.</p>
<p>I have no real use for thinkblinkd anymore, lacking even the most basic Thinkpad, but every now and then there is a 404 in my apache logs, trying to find it, so I dug deep in some backups and here it is again. Enjoy!</p>
<p>I really miss the thinklight&#8230; *sigh*</p>
<p>What it is? Why [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://asmw.de/downloads/thinkblinkd-0.1.7.tar.gz">This</a> was still around.</p>
<p>I have no real use for thinkblinkd anymore, lacking even the most basic Thinkpad, but every now and then there is a 404 in my apache logs, trying to find it, so I dug deep in some backups and here it is again. Enjoy!</p>
<p>I really miss the thinklight&#8230; *sigh*</p>
<p>What it is? Why thinkblinkd! It&#8217;s a little daemon you can feed blink patterns which it will play on the thinklight to the best of its abilities.</p>
<p>I wonder if some of the LEDs on the Eee901 can be made to blink on command&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=46</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gedächtnisstütze</title>
		<link>http://asmw.de/?p=45</link>
		<comments>http://asmw.de/?p=45#comments</comments>
		<pubDate>Fri, 03 Jul 2009 20:43:49 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[nerdcore]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[gehirn]]></category>
		<category><![CDATA[german]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[mnemonic]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=45</guid>
		<description><![CDATA[<p>Ein halbes Nummernschild steckt in einem halben Messingkopf. Jemand hat damit ein Teeservice zerschlagen.</p>
<p>Das alles steht auf zwei langen Balken an denen zwei Ausweise kleben.</p>
<p>In einer kleinen Lücke zwischen den Balken sieht man ein kleines Schild auf dem &#8216;Zerbrechlich&#8217; zu lesen ist.</p>
<p>Auf dem Boden liegt eine weitere kleine Scherbe von der 13 kleine Pfeile auf [...]]]></description>
			<content:encoded><![CDATA[<p>Ein halbes Nummernschild steckt in einem halben Messingkopf. Jemand hat damit ein Teeservice zerschlagen.</p>
<p>Das alles steht auf zwei langen Balken an denen zwei Ausweise kleben.</p>
<p>In einer kleinen Lücke zwischen den Balken sieht man ein kleines Schild auf dem &#8216;Zerbrechlich&#8217; zu lesen ist.</p>
<p>Auf dem Boden liegt eine weitere kleine Scherbe von der 13 kleine Pfeile auf eine Sanduhr deuten, die Lebenszeit zählt.</p>
<p>Darunter liegt ein Protokoll über zwei Prüfungen und Kopien davon in vier Umschlägen, auf denen der Absender steht und vier weiteren, auf denen der Empfänger steht.</p>
<p>Ich werfe sie in die Leere hinter einem der 40 möglichen Briefkästen.</p>
<p>Alles andere verfolgt mich.</p>
<p><span id="more-45"></span></p>
<p>Ein alternativer Ansatz mir die IPv4 Headerstruktur zu merken <img src='http://asmw.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li>1/2 Nummernschild: 4 Bit Versionsnummer</li>
<li>1/2 Messingkopf: 4 Bit Headerlänge</li>
<li>1 Teeservice: 1 Byte Type of Service</li>
<li>2 lange Balken: 2 Byte Gesamtlänge</li>
<li>1 kleine Lücke: 1 Bit reserviert (0)</li>
<li>1 kleines Schild &#8216;Zerbrechlich&#8217;: Don&#8217;t Fragment Flag</li>
<li>1 weitere kleine Scherbe: More Fragments Flag</li>
<li>13 kleine Pfeile: Fragment Offset</li>
<li>1 Sanduhr die Lebenszeit zählt: 1 Byte TTL</li>
<li>1 Protokoll: 1 Byte Folgeprotokoll (TCP, UDP, whatever)</li>
<li>2 Prüfungen: 2 Byte Checksumme</li>
<li>4 Umschläge mit Absender: 4 Byte Absenderadresse</li>
<li>4 Umschläge mit Empfänger: 4 Byte Zieladresse</li>
<li>40 mögliche Briefkästen mit Leere dahinter: 40 Byte Optionen + Padding</li>
<li>Alles andere: Folgeprotokolldaten</li>
</ul>
<p>Ich hoffe ich habe nichts vergessen oder verrafft.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=45</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash the dash to crash</title>
		<link>http://asmw.de/?p=42</link>
		<comments>http://asmw.de/?p=42#comments</comments>
		<pubDate>Wed, 24 Jun 2009 10:35:59 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[nerdcore]]></category>
		<category><![CDATA[aargh]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[dash]]></category>
		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=42</guid>
		<description><![CDATA[<p>I guess choice is a good thing.
If you use an open operating system you have lots of choices.
Which desktop environment, or any at all?
Which terminal emulator? Which browser? Which mail client?</p>
<p>And then there&#8217;s &#8216;which shell&#8217;? csh? ksh? zsh? bash? dash?&#8230; there&#8217;s a long list.</p>
<p>Most, if not all of them, are POSIX compliant shells, which means [...]]]></description>
			<content:encoded><![CDATA[<p>I guess choice is a good thing.<br />
If you use an open operating system you have lots of choices.<br />
Which desktop environment, or any at all?<br />
Which terminal emulator? Which browser? Which mail client?</p>
<p>And then there&#8217;s &#8216;which shell&#8217;? <code>csh</code>? <code>ksh</code>? <code>zsh</code>? <code>bash</code>? <code>dash</code>?&#8230; there&#8217;s a <strong>long</strong> list.</p>
<p>Most, if not all of them, are <a href="http://en.wikipedia.org/wiki/POSIX">POSIX</a> compliant shells, which means you can rest assured that they do some things a certain way, but apart from that all of them have their little specialties.</p>
<p>You probably won&#8217;t notice those differences, until it&#8217;s too late.<br />
&#8216;Too late&#8217; is a very special point in time. It&#8217;s always shortly after &#8216;Everything&#8230; just&#8230; works?!&#8217;</p>
<p>That is when you decide to switch your default shell (<code>/bin/sh</code>) from <code>bash</code> to <code>dash</code>, for speed reasons.</p>
<p>Now you <em>know</em> that nothing will go wrong, because, you know, they&#8217;re both POSIX compliant shells and the Debian people know that people like me like to do stupid things and make all their script work with <em>any</em> a POSIX compliant shell.</p>
<p>Unfortunately I am apparently not yet &#8216;Debian people&#8217;&#8230; I like to modify my systems from time to time and, as a bash user, I&#8217;ve not kept POSIX compatibility in mind all that much, which is not a problem if you have <code>bash</code> as <code>/bin/sh</code>.</p>
<p><strong>If&#8230;</strong></p>
<p>Turns out <code>dash</code> doesn&#8217;t understand this:<br />
<code>function do_halt {<br />
    halt -p<br />
}</code></p>
<p>It will quite happily complain about the first and last line&#8230;<br />
and RUN THE HALT COMMAND&#8230;<br />
at boot time&#8230;<br />
always&#8230;</p>
<p>I&#8217;m just glad I know my way around by now. Things like these have frustration potential <img src='http://asmw.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>btw. the POSIX compliant version looks like this:<br />
<code>do_halt () {<br />
halt -p<br />
}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=42</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
