<?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</title>
	<atom:link href="http://asmw.de/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://asmw.de</link>
	<description>...assembling words</description>
	<lastBuildDate>Mon, 01 Feb 2010 15:40:20 +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>The Phing Thing</title>
		<link>http://asmw.de/?p=153</link>
		<comments>http://asmw.de/?p=153#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:40:20 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[own_good]]></category>
		<category><![CDATA[phing]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[too_smart]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=153</guid>
		<description><![CDATA[<p>Try this in phing:</p>
<p>&#60;?xml version="1.0"?&#62;
&#60;project name="tartest" default="tartest" basedir="."&#62;
&#60;target name="tartest"&#62;
&#60;mkdir dir="tartest"/&#62;
&#60;touch file="tartest/test.txt"/&#62;
&#60;touch file="tartest/test.__txt"/&#62;
&#60;touch file="tartest/test__.txt"/&#62;
&#60;touch file="tartest/test_._txt"/&#62;
&#60;tar destfile="tartest.tar" basedir="tartest" /&#62;
&#60;/target&#62;
&#60;/project&#62;
﻿</p>
<p>I would have expected it to actually DO pack the whole directory.</p>
<p>This works:

...
&#60;tar destfile="tartest.tar"&#62;
&#60;fileset dir="tartest" defaultexcludes="false"&#62;
&#60;include name="**/**" /&#62;
&#60;/fileset&#62;
&#60;/tar&#62;
...</p>
<p>It&#8217;s the same for zip archives.</p>
]]></description>
			<content:encoded><![CDATA[<p>Try this in <a title="Phing, antsy php" href="http://phing.info">phing</a>:</p>
<p><code>&lt;?xml version="1.0"?&gt;<br />
&lt;project name="tartest" default="tartest" basedir="."&gt;<br />
&lt;target name="tartest"&gt;<br />
&lt;mkdir dir="tartest"/&gt;<br />
&lt;touch file="tartest/test.txt"/&gt;<br />
&lt;touch file="tartest/test.__txt"/&gt;<br />
&lt;touch file="tartest/test__.txt"/&gt;<br />
&lt;touch file="tartest/test_._txt"/&gt;<br />
&lt;tar destfile="tartest.tar" basedir="tartest" /&gt;<br />
&lt;/target&gt;<br />
&lt;/project&gt;<br />
﻿</code></p>
<p>I would have expected it to actually DO pack the whole directory.</p>
<p>This works:<br />
<code><br />
...<br />
&lt;tar destfile="tartest.tar"&gt;<br />
&lt;fileset dir="tartest" defaultexcludes="false"&gt;<br />
&lt;include name="**/**" /&gt;<br />
&lt;/fileset&gt;<br />
&lt;/tar&gt;<br />
...</code></p>
<p>It&#8217;s the same for zip archives.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=153</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>don&#8217;t unclutter dwm</title>
		<link>http://asmw.de/?p=148</link>
		<comments>http://asmw.de/?p=148#comments</comments>
		<pubDate>Tue, 29 Dec 2009 12:36:04 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dwm]]></category>
		<category><![CDATA[unclutter]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=148</guid>
		<description><![CDATA[<p>It doesn&#8217;t like it. Unclutter is a little program which hides your mouse pointer if it idles.</p>
]]></description>
			<content:encoded><![CDATA[<p>It doesn&#8217;t like it. Unclutter is a little program which hides your mouse pointer if it idles.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=148</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>vimrc</title>
		<link>http://asmw.de/?p=139</link>
		<comments>http://asmw.de/?p=139#comments</comments>
		<pubDate>Tue, 15 Dec 2009 07:58:56 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[nerdcore]]></category>
		<category><![CDATA[vimrc]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=139</guid>
		<description><![CDATA[<p>I had uploaded my favorite vimrc somewhere, but I forgot where&#8230;</p>
<p>This is mostly for my reference and not the final product: vimrc</p>
]]></description>
			<content:encoded><![CDATA[<p>I had uploaded my favorite vimrc somewhere, but I forgot where&#8230;</p>
<p>This is mostly for my reference and not the final product: <a href="http://asmw.de/wp-uploads/2009/12/vimrc.txt">vimrc</a></p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=139</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not a NaN&#8230;</title>
		<link>http://asmw.de/?p=130</link>
		<comments>http://asmw.de/?p=130#comments</comments>
		<pubDate>Tue, 10 Nov 2009 19:12:26 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[NaN]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=130</guid>
		<description><![CDATA[<p>I tried to copy a mysql database with several gigabytes of data and suddenly the receiving end chokes on a &#8216;nan&#8217;.</p>
<p>Nani?</p>
<p>Well apparently earlier versions of mysql supported &#8216;nan&#8217; and &#8216;inf&#8217; as valid float values but newer versions don&#8217;t as they abide by the SQL standard which states:</p>
<p>&#8216;Thou shalt not NaN&#8217;</p>
<p>And thus it&#8217;s in the data [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to copy a mysql database with several gigabytes of data and suddenly the receiving end chokes on a &#8216;nan&#8217;.</p>
<p>Nani?</p>
<p>Well apparently earlier versions of mysql supported &#8216;nan&#8217; and &#8216;inf&#8217; as valid float values but newer versions don&#8217;t as they abide by the SQL standard which states:</p>
<p>&#8216;Thou shalt not NaN&#8217;</p>
<p>And thus it&#8217;s in the data but it won&#8217;t go into the new database.<br />
Suckage ensues&#8230;</p>
<p>So how do you find all those NaNs to make them something useful again?</p>
<p>Magic!</p>
<p><code>SELECT * FROM `table` WHERE `value` > 3e+40</code></p>
<p>If i understood it correctly 3e+40 is larger than maxFloat but NaN wins the comparison. The same can be used to replace all those values with something valid.</p>
<p>Yay!<br />
Go nuts.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=130</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Just chilli-ing&#8230;</title>
		<link>http://asmw.de/?p=127</link>
		<comments>http://asmw.de/?p=127#comments</comments>
		<pubDate>Sun, 08 Nov 2009 15:50:02 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[living]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=127</guid>
		<description><![CDATA[<p>We recently had breakfast at a little place called &#8216;Caramel&#8216; and their table-decoration is awesome:</p>
<p></p>
<p>Chili plants!</p>
]]></description>
			<content:encoded><![CDATA[<p>We recently had breakfast at a little place called &#8216;<a title="The caramel café in Aschaffenburg" href="http://caramel-ab.de/">Caramel</a>&#8216; and their table-decoration is awesome:</p>
<p><a href="http://asmw.de/wp-uploads/2009/11/caramelchili.jpg"><img class="alignnone size-medium wp-image-126" title="caramelchili" src="http://asmw.de/wp-uploads/2009/11/caramelchili-300x225.jpg" alt="caramelchili" width="300" height="225" /></a></p>
<p>Chili plants!</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=127</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Livin&#8217; in a bad block&#8230;</title>
		<link>http://asmw.de/?p=115</link>
		<comments>http://asmw.de/?p=115#comments</comments>
		<pubDate>Tue, 03 Nov 2009 18:49:04 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[daily grind]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[window$]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=115</guid>
		<description><![CDATA[<p>If you ever need to copy a directory structure which contains files which sit on bad blocks on Windows, try XCOPY /C.</p>
<p>I added a little /E /Y and off it went.</p>
]]></description>
			<content:encoded><![CDATA[<p>If you ever need to copy a directory structure which contains files which sit on bad blocks on Windows, try XCOPY /C.</p>
<p>I added a little /E /Y and off it went.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=115</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alone in the dark</title>
		<link>http://asmw.de/?p=118</link>
		<comments>http://asmw.de/?p=118#comments</comments>
		<pubDate>Tue, 03 Nov 2009 18:40:03 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[sport]]></category>
		<category><![CDATA[headlight]]></category>
		<category><![CDATA[jogging]]></category>
		<category><![CDATA[rabbit]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=118</guid>
		<description><![CDATA[<p>From my first paycheck I bought something everyone should have.</p>
<p>A FRIGGIN&#8217; HEADLIGHT!</p>
<p></p>
<p>It&#8217;s an actual light sitting on your actual head and one can use it for jogging in total darkness. It&#8217;s awesome. Not window-manager awesome, but still&#8230;</p>
<p>Yesterday I took this headlight and a pair of jogging-gloves (which are jogging-gloves because they have a KEY COMPARTMENT!!! [...]]]></description>
			<content:encoded><![CDATA[<p>From my first paycheck I bought something everyone should have.</p>
<p><strong>A FRIGGIN&#8217; HEADLIGHT!</strong></p>
<p><strong><a href="http://asmw.de/wp-uploads/2009/11/headlight.png"><img class="alignnone size-thumbnail wp-image-120" title="headlight" src="http://asmw.de/wp-uploads/2009/11/headlight-150x150.png" alt="headlight" width="150" height="150" /></a></strong></p>
<p>It&#8217;s an actual light sitting on your actual head and one can use it for jogging in total darkness. It&#8217;s awesome. Not <a title="awsm, not asmw" href="http://awesome.naquadah.org/">window-manager awesome</a>, but still&#8230;</p>
<p>Yesterday I took this headlight and a pair of jogging-gloves (which are jogging-gloves because they have a KEY COMPARTMENT!!! [Maybe you should get some for Amina, Buck :-]) for a test-jog.</p>
<p>In the olden times, when the fiery ball of the heavens still casteth glorious rays of light on our earth when I got home I had picked a nice jogging round through the nearby woods, approximately 4.5 km which I think is a good distance for an after-work run.</p>
<p>Then came <a title="It's NOT CEST" href="http://en.wikipedia.org/wiki/Central_European_Time">CET</a> and now it&#8217;s pitch black when I find the time to run. To solve this I bought the aforementioned gear and BAM!</p>
<p>It&#8217;s actually a quite unique experience. I&#8217;m glad I&#8217;m not easily scared because the headlight gives the whole thing a rather &#8216;blair-witchy&#8217; touch.<br />
Yesterday it was also raining a little so there was a constant crackling everywhere and the air had a misty quality, waaaay cool.</p>
<p>Even though I didn&#8217;t make the whole round and got off-track a couple of times I enjoyed it.</p>
<p>So today I did the same thing and learned a couple of things:</p>
<ol>
<li>You cannot see black dogs in the dark until they bark and look directly at you and then THEIR EYES GLOW!</li>
<li>I&#8217;m not easily scared but some things still give me the <em>creeps</em></li>
<li>You actually do run a little faster afterward, even though you&#8217;re tired <img src='http://asmw.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p>I thing I&#8217;ll try to do that every 2 days at least.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=118</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You can&#8217;t hide from the python</title>
		<link>http://asmw.de/?p=111</link>
		<comments>http://asmw.de/?p=111#comments</comments>
		<pubDate>Sun, 01 Nov 2009 19:42:18 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[nerdcore]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[calllog]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[fritz]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[speed2fritz]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=111</guid>
		<description><![CDATA[<p>I&#8217;m a command line freak and thus I want to read the call logs from my newly converted Freakz^wFritz!Box from the command line.</p>
<p>First I tried to mess with the telnetd on the box but I didn&#8217;t find the logs and as it is possible to fetch a csv-file containing the call-log via the web-interface I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a command line freak and thus I want to read the call logs from my newly converted Freakz^wFritz!Box from the command line.</p>
<p>First I tried to mess with the telnetd on the box but I didn&#8217;t find the logs and as it is possible to fetch a csv-file containing the call-log via the web-interface I turned my attention to that.</p>
<p>In the olden times it was apparently possible to just log into the boxes webinterface by POSTing the password, save the cookie and request stuff.<br />
Nowadays AVM has implemented a challenge-response protocol using javascript. If you can answer a challenge with the correct md5 hash you get a session id to use the web=interface.</p>
<p>This might be a nice thing from a security perspective but it sucks a little for scripting. Meh.</p>
<p>But a little python magic solves the problem.</p>
<p>So here you go: <a title="fritzlog.py fritzbox calllog script" href="http://asmw.de/downloads/fritzlog.py">fritzlog.py</a></p>
<p>Usage: python fritzlog.py &lt;password&gt;</p>
<p>You can also edit the script and make your password the default.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=111</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Speedport and back again</title>
		<link>http://asmw.de/?p=110</link>
		<comments>http://asmw.de/?p=110#comments</comments>
		<pubDate>Sat, 24 Oct 2009 07:40:04 +0000</pubDate>
		<dc:creator>medha</dc:creator>
				<category><![CDATA[daily grind]]></category>
		<category><![CDATA[cable]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[fritz]]></category>
		<category><![CDATA[speed2fritz]]></category>
		<category><![CDATA[speedport]]></category>
		<category><![CDATA[w701v]]></category>
		<category><![CDATA[wan]]></category>
		<category><![CDATA[ymmv]]></category>

		<guid isPermaLink="false">http://asmw.de/?p=110</guid>
		<description><![CDATA[<p>I wrecked my trusty Asus WL-500GP while experimenting with different WLAN
hardware and so it was time for a new router.</p>
<p>Lucky me, I got my hands on a Telekom Speedport W701v, which has (apart from
USB and draft-N) all features I could wish for in a router. WLAN, SIP telephony
and &#8230; well that&#8217;s it actually, but it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I wrecked my trusty Asus WL-500GP while experimenting with different WLAN<br />
hardware and so it was time for a new router.</p>
<p>Lucky me, I got my hands on a Telekom Speedport W701v, which has (apart from<br />
USB and draft-N) all features I could wish for in a router. WLAN, SIP telephony<br />
and &#8230; well that&#8217;s it actually, but it&#8217;s all I really need every day anyway.</p>
<p>So I plug it in, fire the webinterface up and&#8230; IT CANNOT BE USED WITHOUT DSL.<br />
At least I didn&#8217;t find a way to hook it up to my cable modem and let it use DHCP to<br />
connect.</p>
<p>Well, I&#8217;ve got to admit that this doesn&#8217;t mean that I am *sure* that there is<br />
no way to do it but the interface is _so bad_ that even if there was, I<br />
couldn&#8217;t find it and I *do* usually get my gadgets to work, just ask anyone who<br />
knows me. I mean c&#8217;mon!</p>
<p>Just another brick in the wall between me and the german Telekom. It&#8217;s a sturdy one<br />
by now.</p>
<p>I knew I could put OpenWRT on there, but I really wanted to use the VoIP<br />
capabilities and such began the googling which eventually lead here:</p>
<p>http://wiki.ip-phone-forum.de/skript:speedport2fritz.</p>
<p>The Speedport W701v is an AVM OEM product and very similar to the Fritzbox<br />
7170. It&#8217;s actually similar enough that one can swap out the firmware, barring<br />
some hardware drivers, and the crafty, layz people of the internet sat down and<br />
wrote scripts to automate the procedure, complete with a menuconfig-style<br />
curses gui for image configuration. Sometimes I just want to hug the internets.</p>
<p>The scripts are a convoluted maze of cross-calling cloc-monsters, so paranoid me<br />
stuck them in a virtual machine and let them run wild.</p>
<p>I&#8217;m quite happy with the machine now.</p>
]]></content:encoded>
			<wfw:commentRss>http://asmw.de/?feed=rss2&amp;p=110</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
