<?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>Kai Christian Bader</title>
	<atom:link href="http://www.kaibader.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kaibader.de</link>
	<description>Notes &#38; Thoughts</description>
	<lastBuildDate>Tue, 15 May 2012 18:54:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Running Eagle CAD 6.2 on Ubuntu 12.04</title>
		<link>http://www.kaibader.de/running-eagle-cad-6-2-on-ubuntu-12-04/</link>
		<comments>http://www.kaibader.de/running-eagle-cad-6-2-on-ubuntu-12-04/#comments</comments>
		<pubDate>Tue, 15 May 2012 15:00:21 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://www.kaibader.de/?p=293</guid>
		<description><![CDATA[Ubuntu 12.04 only provides an older version of Eagle CAD, version 5.12.0 to be exact. A newer version 6.2 (32 bit) is available for download, but the installation fails due to the lack of a 32 bit libpng-1.4 library: error while &#8230; <a href="http://www.kaibader.de/running-eagle-cad-6-2-on-ubuntu-12-04/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 12.04 only provides an older version of Eagle CAD, version 5.12.0 to be exact. A newer version 6.2 (32 bit) is available for download, but the installation fails due to the lack of a 32 bit libpng-1.4 library:</p>
<pre>error while loading shared libraries: libpng14.so.14: cannot open shared object file: No such file or directory.</pre>
<p>Luckily, I found a <a title="Running Eagle 6.0/6.1/6.2 in 32/64-bit Ubuntu GNU/Linux" href="http://blog.raek.se/2012/01/06/running-cadsoft-eagle-version-6-in-ubuntu-gnulinux/" target="_blank">detailed post at raek&#8217;s blog</a> which covers older Ubuntu versions. Great parts of the following instruction were taken from this post and adapted for Ubuntu 12.04. Thanks!</p>
<p>First of all you need to install some packages to build the missing png library. Open a terminal window and enter on a 32 bit Ubuntu 12.04:</p>
<pre>sudo apt-get install build-essential perl
sudo apt-get install zlib1g zlib1g-dev</pre>
<p>On a 64 bit Ubuntu 12.04:</p>
<pre>sudo apt-get install build-essential perl gcc-multilib
sudo apt-get install ia32-libs lib32z1 lib32z1-dev</pre>
<p>Then you need to fetch the libpng source code and the Eagle CAD 6.2 installer, either with &#8220;<code>wget</code>&#8221; (as I have done it) or directly from the respective webpages. A current version of Eagle CAD is available for download here: <a title="Download EAGLE" href="http://www.cadsoftusa.com/download-eagle/">http://www.cadsoftusa.com/download-eagle/<br />
</a>libpng 1.4 can be found on this page: <a title="libpng Home Page" href="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</a><br />
I will use the &#8220;<code>/tmp/libpng-eagle</code>&#8221; directory for building the library:</p>
<pre>mkdir /tmp/libpng-eagle
cd /tmp/libpng-eagle
wget ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.4.11.tar.gz
tar xvfz libpng-1.4.11.tar.gz
cd libpng-1.4.11/
./configure --prefix=/tmp/libpng-eagle/install CFLAGS=-m32
make check
make install</pre>
<p>At this point I assume that your Eagle CAD installation will be located at &#8220;<code>/home/$USER/eagle-6.2.0</code>&#8220;. If not, simply adjust the location in the text below:</p>
<pre>cd /tmp/libpng-eagle/install/lib/
mkdir -p /home/$USER/eagle-6.2.0/lib
cp -a libpng14.so* /home/$USER/eagle-6.2.0/lib/</pre>
<p>Now the installer should run&#8230;</p>
<pre>export LD_LIBRARY_PATH=/home/$USER/eagle-6.2.0/lib/
cd /tmp/libpng-eagle/
wget ftp://ftp.cadsoft.de/eagle/program/6.2/eagle-lin-6.2.0.run
chmod 755 eagle-lin-6.2.0.run
./eagle-lin-6.2.0.run</pre>
<p>After the installation finishes, Eagle CAD will still not run unless you tell it where to find the png library we have just created. The easiest way to do this is by creating an executable start-up shell script (e.g. <code>/home/$USER/eagle-6.2.0/eagle.sh</code>) which contains the following commands:</p>
<pre>#!/bin/sh
export LD_LIBRARY_PATH=/home/$USER/eagle-6.2.0/lib
/home/$USER/eagle-6.2.0/bin/eagle</pre>
<p>Additionally, you could create a Unity/Gnome menu entry, for example &#8220;<code>/home/$USER/.local/share/applications/eagle.desktop</code>&#8221;<br />
(do not forget to adapt the <code>$USER</code>):</p>
<pre>#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon=/home/$USER/eagle-6.2.0/bin/eagleicon50.png
Name=Eagle
Exec=/home/$USER/eagle-6.2.0/eagle.sh
Comment=Eagle CAD</pre>
<p><strong>Update:</strong> A friend told me that the installation procedure also works with Ubuntu 11.10.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaibader.de/running-eagle-cad-6-2-on-ubuntu-12-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Erdős number: 3</title>
		<link>http://www.kaibader.de/my-erdos-number-3/</link>
		<comments>http://www.kaibader.de/my-erdos-number-3/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 12:23:46 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[ChitChat]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.kaibader.de/?p=13</guid>
		<description><![CDATA[Okay, it might be a joke among mathematicians - but it is nice to know that one has a finite Erdős Number. Wolfram MathWorld describes it as&#8230; &#8230;the number of &#8220;hops&#8221; needed to connect the author of a paper with the prolific late &#8230; <a href="http://www.kaibader.de/my-erdos-number-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Okay, it might be a <a title="xkcd:Apocalypse" href="http://xkcd.com/599/">joke</a> among mathematicians - but it is nice to know that one has a finite <a title="Erdős Number Project" href="http://www.oakland.edu/enp/">Erdős Number</a>. Wolfram MathWorld <a title="Wolfram MathWord" href="http://mathworld.wolfram.com/ErdosNumber.html">describes</a> it as&#8230;</p>
<blockquote><p>&#8230;the number of &#8220;hops&#8221; needed to connect the author of a paper with the prolific late mathematician Paul Erdős. An author&#8217;s Erdős number is 1 if he has co-authored a paper with Erdős, 2 if he has co-authored a paper with someone who has co-authored a paper with Erdős, etc. (Hoffman 1998, p. 13).</p></blockquote>
<p>In my case, the following collaboration path results in an Erdős number of <strong>3</strong>&#8230; <img src='http://www.kaibader.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<ul>
<li><span style="color: #3366ff;">Kai C. Bader</span> and <span style="color: #3366ff;">Mikhail J. Atallah</span> and Christian Grothoff <em>&#8220;Efficient Relaxed Search in Hierarchically-Clustered Sequence Datasets&#8221;</em>, ACM Journal of Experimental Algorithmics, accepted, 2012.</li>
<li><span style="color: #3366ff;">Mikhail J. Atallah</span> and <span style="color: #3366ff;">Samuel S. Wagstaff</span>, <em>&#8220;Watermarking Data Using Quadratic Residues&#8221;</em>, Proc. of SPIE Workshop on Electronic Imaging (SPIE 99), SPIE &#8211; The International Society for Optical Engineering, SPIE Vol. 3657, pages 283-288, 1999.</li>
<li><span style="color: #3366ff;">Paul Erdos</span> and <span style="color: #3366ff;">Samuel S. Wagstaff</span>, <em>&#8220;The Fractional Parts of the Bernoulli Numbers&#8221;</em>, Illinois J. Math. 24, pages 104-112, 1980.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kaibader.de/my-erdos-number-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dissecting a PICO-C USB flash drive</title>
		<link>http://www.kaibader.de/dissecting-an-usb-stick/</link>
		<comments>http://www.kaibader.de/dissecting-an-usb-stick/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 20:27:35 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://www.kaibader.de/?p=235</guid>
		<description><![CDATA[The Super Talent PICO-C is a really tiny USB flash drive. Ever since I bought mine about a year ago I always wondered how it might look like inside the neat metal housing. About a month ago, the drive was &#8230; <a href="http://www.kaibader.de/dissecting-an-usb-stick/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Super Talent PICO-C is a really tiny USB flash drive. Ever since I bought mine about a year ago I always wondered how it might look like inside the neat metal housing.</p>
<p><a style="font-style: normal; line-height: 24px; text-decoration: underline; text-align: center;" href="http://www.kaibader.de/wp-content/uploads/2012/04/pico-usb-1.jpg"><img class="aligncenter size-medium wp-image-226" style="border-style: initial; border-color: initial; margin-top: 0.4em; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee;" title="PICO-C USB Stick" src="http://www.kaibader.de/wp-content/uploads/2012/04/pico-usb-1-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>About a month ago, the drive was not accessible anymore. A short search on Google showed that in many cases a bug in the firmware rendered the flash memory inaccessible. There are tools available to revive faulty firmwares, especially for this kind of stick &#8211; if at least the controller is still recognized, which was not given in my case. Nevertheless, I tried the tools. As expected, they did not work. Luckily, nothing important was stored on the drive&#8230;</p>
<p>Being not that expensive, I did not exchange it (in spite of still having a warranty). Instead, I dissected it. <img src='http://www.kaibader.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Removing the front cover with a screw driver was not complicated.</p>
<p style="text-align: center;"><a href="http://www.kaibader.de/wp-content/uploads/2012/04/pico-usb-2.jpg"><img class="aligncenter size-medium wp-image-227" title="PICO-C front cover removed" src="http://www.kaibader.de/wp-content/uploads/2012/04/pico-usb-2-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>I first tried to also remove the metal back with a screw driver, but it was firmly glued together. I only managed to break of a piece of the black epoxy (?) housing. Ouch&#8230; The solution was to use a hot air gun to melt the glue. The black interior fell out by itself after 10-15 seconds.</p>
<p style="text-align: center;"><a href="http://www.kaibader.de/wp-content/uploads/2012/04/pico-usb-3.jpg"><img class="aligncenter size-medium wp-image-228" title="PICO-C content" src="http://www.kaibader.de/wp-content/uploads/2012/04/pico-usb-3-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>Sadly, the black block containing all the logic is rather unspectacular. It does contain a labelling which was only readable after some photoshopping:</p>
<pre>BXB08GMBH54UD or BXBO8GMBH54UD
4010 C024L0WAA or CO24LOWAA
MADE IN KOREA</pre>
<p style="text-align: center;"><a href="http://www.kaibader.de/wp-content/uploads/2012/04/pico-usb-4.jpg"><img class="aligncenter size-medium wp-image-229" title="PICO-C labelling" src="http://www.kaibader.de/wp-content/uploads/2012/04/pico-usb-4-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>At this point I gave up. Without any further possibilities to dissect the part and without any clues from the caption I put the remains aside. I thought about dissolving it in acetone or a similar solvent but I suspect it would work.</p>
<p>By the way: I bought the same drive again. I hope the new one lasts longer&#8230; <img src='http://www.kaibader.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaibader.de/dissecting-an-usb-stick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build the ARB software package from source code</title>
		<link>http://www.kaibader.de/build-the-arb-software-package-from-source-code/</link>
		<comments>http://www.kaibader.de/build-the-arb-software-package-from-source-code/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 09:51:27 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.kaibader.de/?p=176</guid>
		<description><![CDATA[Every now and then someone on the ARB mailing list asks for help on how to compile (or install) the ARB software package. I have created a 10 minute video tutorial that shows typical pitfalls that may occur when building &#8230; <a href="http://www.kaibader.de/build-the-arb-software-package-from-source-code/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Every now and then someone on the ARB mailing list asks for help on how to compile (or install) the ARB software package. I have created a 10 minute video tutorial that shows typical pitfalls that may occur when building the ARB software package (<a title="The ARB project" href="http://www.arb-home.de/">http://www.arb-home.de/</a>) from source code. The build system was 64-bit Ubuntu 10.04, but I think the video might help users with other Linux distributions as well.</p>
<p><iframe src="http://www.youtube.com/embed/FMozE2SIipA" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaibader.de/build-the-arb-software-package-from-source-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Scanning network drives and shares with Avira Antivir</title>
		<link>http://www.kaibader.de/scanning-network-drives-and-shares-with-avira-antivir/</link>
		<comments>http://www.kaibader.de/scanning-network-drives-and-shares-with-avira-antivir/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 19:25:25 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">http://www.kaibader.de/?p=158</guid>
		<description><![CDATA[I use a NAS to store files I do not directly need on my notebook hard drive (due to limited space on my SSD). From time to time I need to boot Windows and I regularly use this opportunity to &#8230; <a href="http://www.kaibader.de/scanning-network-drives-and-shares-with-avira-antivir/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I use a NAS to store files I do not directly need on my notebook hard drive (due to limited space on my SSD). From time to time I need to boot Windows and <em></em>I regularly use this opportunity to scan my complete system for viruses. The installed free version of Avira Antivir, like most other free scanners (as far as I know), prevents scans on network drives. This feature is reserved for the professional version. Apart from the safety aspect, this has been annoying me for a while&#8230;</p>
<p>Playing around with different mount techniques to get the antivirus software to scan my network shares, I eventually stumbled over symbolic links (surprise). What I did not know: you can create symbolic links not only of files or directories, but also network shares.</p>
<p>Symbolic links from network shares can easily created in with the <strong>mklink /d</strong> command. (Found it on <a title="Mklink" href="http://technet.microsoft.com/en-us/library/cc753194%28WS.10%29.aspx">MS TechNet</a> and in the <a title="Indexing network drives" href="http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/afb904c1-1c61-4aae-b6b1-5cf525b9f8de">Windows 7 forum</a>).</p>
<pre>C:\&gt;mklink /d "c:\folder" "\\NAS-NAME\folder"</pre>
<p>You need administrative rights (an administrator <strong>cmd</strong> shell). You can then use the explorer to browse into the newly created (linked) directory and scan it with your virus scanner.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaibader.de/scanning-network-drives-and-shares-with-avira-antivir/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Klipsch S4i: Repair broken earbud headphones</title>
		<link>http://www.kaibader.de/klipsch-s4i-repair-broken-earbud-headphones/</link>
		<comments>http://www.kaibader.de/klipsch-s4i-repair-broken-earbud-headphones/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 15:27:28 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://www.kaibader.de/?p=80</guid>
		<description><![CDATA[I am a fan of good-sounding in-ear headphones and bought a Klipsch S4i for my iPhone 3GS. I am really impressed by its quality and they are not overpriced (around 80.- € when I bought them). Last month, the connector &#8230; <a href="http://www.kaibader.de/klipsch-s4i-repair-broken-earbud-headphones/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am a fan of good-sounding in-ear headphones and bought a Klipsch S4i for my iPhone 3GS. I am really impressed by its quality and they are not overpriced (around 80.- € when I bought them). Last month, the connector on the headphone cable began to loosen. I tried to fix it with cyanoacrylate adhesive but a few days ago the cable finally broke (resulting in a dead left channel and microphone).</p>
<p><a href="http://www.kaibader.de/wp-content/uploads/2011/08/1-defective-connector.jpg"><img class="aligncenter size-medium wp-image-82" title="Defective connector" src="http://www.kaibader.de/wp-content/uploads/2011/08/1-defective-connector-300x200.jpg" alt="" width="300" height="200" /></a>I am pretty sure this type of defect is not covered by the manufacturers guarantee (another point: I purchased them over two years ago) so I didn&#8217;t bother disassembling the connector. The first thing I did was removing the plastic cover of the connector with a utility knife.</p>
<p><a href="http://www.kaibader.de/wp-content/uploads/2011/08/2-jacket-removed.jpg"><img class="aligncenter size-medium wp-image-83" title="Jacket removed" src="http://www.kaibader.de/wp-content/uploads/2011/08/2-jacket-removed-300x200.jpg" alt="" width="300" height="200" /></a>The soldering spots are enclosed in clear plastic. I tried to remove the plastic and gently desolder the cables from the connector, but the connector broke (actually it melted). At least I was able to identify the six bundles of thin twisted wires.</p>
<p><a href="http://www.kaibader.de/wp-content/uploads/2011/08/3-untwisted-wires.jpg"><img class="aligncenter size-medium wp-image-84" title="Untwisted wires" src="http://www.kaibader.de/wp-content/uploads/2011/08/3-untwisted-wires-300x200.jpg" alt="" width="300" height="200" /></a><a href="http://www.kaibader.de/wp-content/uploads/2011/08/klipsch_s4i_cable_assignment.svg"><img class="aligncenter" style="border: 0pt none;" title="Klipsch s4i cable assignment" src="http://www.kaibader.de/wp-content/uploads/2011/08/klipsch_s4i_cable_assignment.png" alt="" width="500" height="300" /></a><a href="http://www.kaibader.de/wp-content/uploads/2011/08/4-twisted-wires.jpg"><img class="aligncenter size-medium wp-image-85" title="Twisted wires" src="http://www.kaibader.de/wp-content/uploads/2011/08/4-twisted-wires-300x200.jpg" alt="" width="300" height="200" /></a>I separated the colors and twisted them together into four bundles (one for each contact on the connector) and resoldered them onto another spare connector. The fixed connector lacks the &#8216;stylish&#8217; finish it previously had, but the shrinkable tubing makes a good protection for the thin wires. And the complete functionality is back, including the microphone and the control buttons.</p>
<p><a href="http://www.kaibader.de/wp-content/uploads/2011/08/5-finished-connector.jpg"><img class="aligncenter size-medium wp-image-86" title="Finished connector" src="http://www.kaibader.de/wp-content/uploads/2011/08/5-finished-connector-300x200.jpg" alt="" width="300" height="200" /></a><strong>Update:</strong> The new Klipsch S4i model has a revised (improved) kind of connector. Maybe I was not the only one with a broken cable&#8230;</p>
<p><a href="http://www.kaibader.de/wp-content/uploads/2011/11/6-new-model.jpg"><img class="aligncenter size-medium wp-image-254" title="Revised connector" src="http://www.kaibader.de/wp-content/uploads/2011/11/6-new-model-300x200.jpg" alt="" width="300" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaibader.de/klipsch-s4i-repair-broken-earbud-headphones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compact Virtualbox VDI images</title>
		<link>http://www.kaibader.de/compact-virtualbox-vdi-images/</link>
		<comments>http://www.kaibader.de/compact-virtualbox-vdi-images/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 19:59:49 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">http://www.kaibader.de/?p=127</guid>
		<description><![CDATA[I just ran into an issue while trying to compact my Virtualbox hard drive images. On virtual NTFS filesystems I usually run defrag twice, then rely on a tool called sdelete (download page) to zero the free space within the &#8230; <a href="http://www.kaibader.de/compact-virtualbox-vdi-images/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just ran into an issue while trying to compact my Virtualbox hard drive images. On virtual NTFS filesystems I usually run <strong>defrag</strong> twice, then rely on a tool called <strong>sdelete</strong> (<a title="SDelete" href="http://technet.microsoft.com/en-us/sysinternals/bb897443">download page</a>) to zero the free space within the image. Afterwards I use <strong>vboxmanage</strong> to reduce the image size.</p>
<p>This time either zeroing the free space or the shrinking process seemed to fail. The supposedly compressed images needed even more space than before. It took me a while to figure out what happened &#8211; the parameters of sdelete had changed:</p>
<pre>C:\&gt;sdelete

SDelete - Secure Delete v1.6
Copyright (C) 1999-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

usage: sdelete [-p passes] [-s] [-q] &lt;file or directory&gt; ...
       sdelete [-p passes] [-z|-c] [drive letter] ...
   -a         Remove Read-Only attribute
   -c         Clean free space
   -p passes  Specifies number of overwrite passes (default is 1)
   -q         Don't print errors (Quiet)
   -s or -r   Recurse subdirectories
   <span style="color: #3366ff;">-z         Zero free space (good for virtual disk optimization)</span></pre>
<p>It feels like 99% of the tips concerning zeroing the free space (by calling <span style="color: #3366ff;">sdelete -c</span>, the old option for zeroing) seem to be outdated. Even worse: the &#8220;clean free space&#8221; feature shows the same output as &#8220;zero free space&#8221;.</p>
<p>So this should (currently) be a working procedure:</p>
<ol>
<li>Run the Windows &#8220;<span style="color: #3366ff;">defrag</span>&#8221; tool twice.</li>
<li>(Download and) run &#8220;<span style="color: #3366ff;">sdelete -z</span>&#8221; to zero the free space.</li>
<li>Use vboxmanage &#8220;<span style="color: #3366ff;">modifyvdi IMAGE.vdi &#8211;compact</span>&#8221; to reduce the image size.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.kaibader.de/compact-virtualbox-vdi-images/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Heating amber</title>
		<link>http://www.kaibader.de/heating-amber/</link>
		<comments>http://www.kaibader.de/heating-amber/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 11:26:51 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://www.kaibader.de/?page_id=59</guid>
		<description><![CDATA[In 2004, my girlfriend wife and I went on holidays to Lithuania. Among other places, we visited Klaipeda (Memel) to spend a few days at the Curonian Spit (Kurische Nehrung). It is a famous UNESCO world heritage site. We were &#8230; <a href="http://www.kaibader.de/heating-amber/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In 2004, my <del>girlfriend</del> wife and I went on holidays to Lithuania. Among other places, we visited Klaipeda (Memel) to spend a few days at the Curonian Spit (Kurische Nehrung). It is a famous UNESCO world heritage site. We were lucky, the Baltic Sea was rough and during a morning walk we discovered something glittering in the seaweed: Amber chunks.</p>
<p style="text-align: center;"><a href="http://www.kaibader.de/wp-content/uploads/2011/08/amber_chunks.jpg"><img class="size-medium wp-image-60 aligncenter" title="Amber chunks" src="http://www.kaibader.de/wp-content/uploads/2011/08/amber_chunks-300x300.jpg" alt="" width="300" height="300" /></a>In Klaipeda, street vendors offered pretty much any kind of amber &#8220;collectibles&#8221;. Most of them were conterfeits in egg-shape, with inclusions of wasps or scorpions. But they also had really nice jewelry made of processed amber. A friendly vendor described the manufacturing process: Most amber findings have a milky white or yellow color. They are too shabby for jewelry. These chunks are carefully cooked in sand to gain a clear honey-like color. Back from our vacation, I had to try this out. <img src='http://www.kaibader.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The first picture shows a few pieces of yellow amber, lying on baking paper. They have a diameter of about 3-5 millimeters.<a href="http://www.kaibader.de/wp-content/uploads/2011/08/cooking_amber_1.jpg"><img class="aligncenter size-medium wp-image-62" title="Cooking amber 1" src="http://www.kaibader.de/wp-content/uploads/2011/08/cooking_amber_1-300x300.jpg" alt="" width="300" height="300" /></a>After half an hour at about 250°C their color noticeably changed to the typical brown.<a href="http://www.kaibader.de/wp-content/uploads/2011/08/cooking_amber_2.jpg"><img class="aligncenter size-medium wp-image-63" title="Cooking amber 2" src="http://www.kaibader.de/wp-content/uploads/2011/08/cooking_amber_2-300x300.jpg" alt="" width="300" height="300" /></a>After an hour their tone was even darker, but did not significantly change anymore.<a href="http://www.kaibader.de/wp-content/uploads/2011/08/cooking_amber_3.jpg"><img class="aligncenter size-medium wp-image-64" title="Cooking amber 3" src="http://www.kaibader.de/wp-content/uploads/2011/08/cooking_amber_3-300x300.jpg" alt="" width="300" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaibader.de/heating-amber/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>D-Link DI-614+ Router &#8211; Firmware modding</title>
		<link>http://www.kaibader.de/d-link-di-614-router-firmware-modding/</link>
		<comments>http://www.kaibader.de/d-link-di-614-router-firmware-modding/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 12:16:59 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://www.kaibader.de/?page_id=40</guid>
		<description><![CDATA[This is a summary of the firmware modification I had made ​​some years ago. The router does not exist anymore and the modifications are no longer maintained. But some people still seem to be interested in the old postings&#8230; Warning: &#8230; <a href="http://www.kaibader.de/d-link-di-614-router-firmware-modding/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>This is a summary of the firmware modification I had made ​​some years ago. The router does not exist anymore and the modifications are no longer maintained. But some people still seem to be interested in the old postings&#8230;</strong></p>
<p><span style="color: #ff0000;">Warning: all modifications on your router may void your warranty. I do not claim any responsibility for any form of damages that may result out of the use of the modified firmwares. These firmwares only work with the DI-614+ Rev.A router (two antennas).</span></p>
<p style="text-align: center;"><span style="color: #ff0000;">Second warning: increasing the output power also results in a higher processor temperature. Additional cooling by adding a heat sink and/or fan to the router might be necessary. I mean it! I think I blew my router that way&#8230;<img class="aligncenter size-full wp-image-66" style="border: 0pt none;" title="D-Link DI-614+ modding" src="http://www.kaibader.de/wp-content/uploads/2011/07/dlink_modding.gif" alt="" width="234" height="142" /></span></p>
<p><strong>[2004-11-11]</strong> a new modded firmware version is available: <a href="http://www.kaibader.de/wp-content/uploads/2011/07/di614_fw233k1.zip">di614_fw233k1.zip</a> (and untested: <a href="http://www.kaibader.de/wp-content/uploads/2011/07/di614_fw233k2.zip">di614_fw233k2.zip</a>)</p>
<p>This modified firmware is based on the original firmware v2.33 which is available on the D-Link website. The DDNS problems are now fixed by the official release, the modified version has the following additional changes:</p>
<p>Powerhack (19dBm)<br />
Wireless LAN channel 1-14 support<br />
Increased log readability</p>
<p><strong>[2004-05-05]</strong> modified firmware <a href="http://www.kaibader.de/wp-content/uploads/2011/07/di614_fw230k1d.zip">di614_fw230k1d.zip</a></p>
<p>Just a minor fix compared to the other changes. I modified the &#8216;Status-&gt;Log&#8217; tab a bit. Now all entries a displayed in a grid. This increases the readability of the log.</p>
<p><strong>[2004-04-30]</strong> modified firmware <a href="http://www.kaibader.de/wp-content/uploads/2011/07/di614_fw230k1c.zip">di614_fw230k1c.zip</a></p>
<p>I was told that the DDNS firmware settings were still not working, although they were saved now. Comparing the older firmware version (v2.20) to the newer one I found out that D-Link used different names for the fields of the DDNS entries. I exchanged the new field names with the ones from the older firmware ,et voilà, I get a wonderful &#8216;DDNS: good .xxx.yyy.xxx.zzz&#8217; in my logs now.</p>
<p><strong>[2004-04-29]</strong> modified firmware <a href="http://www.kaibader.de/wp-content/uploads/2011/07/di614_fw230k1b.zip">di614_fw230k1b.zip</a></p>
<p>Just added another feature to the 2.30 firmware, the so called &#8216;power hack&#8217;. As I was told this seems to be something cool others are waiting for, so I looked at an interesting page about a software hack on the DWL-900AP. Thanks to that hacked firmware I&#8217;ve been able to modify the DI-614+ firmware as well. The option &#8216;Max. 19dBm&#8217; is now available. I have not validated the power gain yet but will do so as soon as possible.</p>
<p><strong>[2004-04-28]</strong> modified firmware <a href="http://www.kaibader.de/wp-content/uploads/2011/07/di614_fw230k1a.zip">di614_fw230k1a.zip</a></p>
<p>Shortly after repairing the DDNS form yesterday I recognized that another feature I liked was missing in the original v2.30 firmware, the wireless LAN channels 12, 13 and 14 (I never had 14 before <img src='http://www.kaibader.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ). I found out that these channels are not deactivated in the router, they are just hidden from the user. So I modified the firmware once again and added the missing channels in the user interface. I have successfully tested the channels up to 13 using NetStumbler, channel 14 was not found (well, it&#8217;s not that widespread anyway).</p>
<p>Known side effects:<br />
Sometimes the channels 12 and 13 appear twice in the drop-down list. You can select either, this has no effect on the routers functionality.<br />
After enabling the wireless LAN with channel 12 or 13 for the first time the router jumps back to channel 6. Reselecting the channel 12 or 13 will fix this. (Verify the channel by selecting &#8216;status&#8217; in the router configuration.)</p>
<p><strong>[2004-04-27]</strong> modified firmware <a href="http://www.kaibader.de/wp-content/uploads/2011/07/di614_fw230k1.zip">di614_fw230k1.zip</a></p>
<p>I have modified the firmware version 2.30 from D-Link and corrected the malfunctioning dynamic DNS form. Although I am currently running it on my own router and it seems to work fine, I do not guarantee for anything.</p>
<p>You can use the flash binary converter tool <a href="http://www.kaibader.de/wp-content/uploads/2011/07/arj2bin.tar.gz">arj2bin.tar.gz</a> to create valid firmware files on your own.</p>
<p><strong>If something goes seriously wrong&#8230;</strong><br />
<strong> &#8230;the D-Link DI-614+ factory default reflash procedure:</strong></p>
<p>The DI-614+ has a tiny flash program saved in the boot sector of the flash that cannot be overwritten. You can restore your flash eeprom by doing the following:</p>
<ul>
<li>Get an original firmware from the D-Link website</li>
<li>Power off the router and remove all but the network cable to your computer</li>
<li>Give your computer the static IP address 192.168.0.100<br />
(It might be necessary to remove all other settings, e.g. gateway, DNS, &#8230;)</li>
<li>Push and hold the reset button down with a paper clip or something similar</li>
<li>While holding the reset button down plug the router back in and keep holding the reset button down for 10 seconds</li>
<li>Open a browser and go to http://192.168.0.1</li>
</ul>
<p>You should see a simple web page with an edit box, a browse button and a send button. Use this to flash your router with the D-Link firmware and all should be well again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaibader.de/d-link-di-614-router-firmware-modding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Found myself on IMDb&#8230;</title>
		<link>http://www.kaibader.de/found-myself-on-imdb/</link>
		<comments>http://www.kaibader.de/found-myself-on-imdb/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 14:08:20 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[ChitChat]]></category>

		<guid isPermaLink="false">http://www.kaibader.de/?p=6</guid>
		<description><![CDATA[Working with a good friend of mine on some movie projects seems to have paid off: I have my own page on the Internet Movie Database&#8230;]]></description>
			<content:encoded><![CDATA[<p>Working with a good friend of mine on some movie projects seems to have paid off: I have my own page on the <a title="Kai Bader - IMDb" href="http://www.imdb.com/name/nm3300358/">Internet Movie Database</a>&#8230; <img src='http://www.kaibader.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.kaibader.de/found-myself-on-imdb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

