<?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>Katastrophos.net Blog &#187; Random</title>
	<atom:link href="http://katastrophos.net/andre/blog/tag/random/feed/" rel="self" type="application/rss+xml" />
	<link>http://katastrophos.net/andre/blog</link>
	<description>Chaotic solutions and random thoughts from the restless mind of a notorious problem solver (TM), by Andre Beckedorf</description>
	<lastBuildDate>Fri, 30 Dec 2011 19:32:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Quick-and-dirty DIY 19&#8243; rack</title>
		<link>http://katastrophos.net/andre/blog/2009/08/04/quick-and-dirty-diy-19-rack/</link>
		<comments>http://katastrophos.net/andre/blog/2009/08/04/quick-and-dirty-diy-19-rack/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 20:22:45 +0000</pubDate>
		<dc:creator>Andre Beckedorf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=257</guid>
		<description><![CDATA[Why buy an expensive 19&#8243; rack when you can build it yourself for 8 Euro and a bit of work? There is no magic here. The ingredients are really simple actually: A few pieces of wood, screws and glue. The construction is rigid. No angles are required due to self-stability of the quadratic frames. Just [...]]]></description>
			<content:encoded><![CDATA[<p>Why buy an expensive 19&#8243; rack when you can build it yourself for 8 Euro and a bit of work?</p>
<p><center>
<a href='http://katastrophos.net/andre/blog/2009/08/04/quick-and-dirty-diy-19-rack/dsc00604/' title='The construction'><img width="150" height="112" src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/08/dsc00604-150x112.jpg" class="attachment-thumbnail" alt="The construction" title="The construction" /></a>
<a href='http://katastrophos.net/andre/blog/2009/08/04/quick-and-dirty-diy-19-rack/dsc00605/' title='The construction'><img width="150" height="112" src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/08/dsc00605-150x112.jpg" class="attachment-thumbnail" alt="The construction" title="The construction" /></a>
<a href='http://katastrophos.net/andre/blog/2009/08/04/quick-and-dirty-diy-19-rack/dsc00606/' title='Chaos'><img width="150" height="112" src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/08/dsc00606-150x112.jpg" class="attachment-thumbnail" alt="Chaos" title="Chaos" /></a>
<a href='http://katastrophos.net/andre/blog/2009/08/04/quick-and-dirty-diy-19-rack/dsc00608/' title='Everything in order.'><img width="150" height="112" src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/08/dsc00608-150x112.jpg" class="attachment-thumbnail" alt="Everything in order." title="Everything in order." /></a>
</center></p>
<p>There is no magic here. The ingredients are really simple actually: A few pieces of wood, screws and glue.<br />
The construction is rigid. No angles are required due to self-stability of the quadratic frames. Just make sure the inner length of each edge is exactly 19&#8243; (48.26 cm). Glue and screw the pieces together and that&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2009/08/04/quick-and-dirty-diy-19-rack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nightly Builds of Quasar Media Player available</title>
		<link>http://katastrophos.net/andre/blog/2009/07/29/nightly-builds-of-quasar-media-player-available/</link>
		<comments>http://katastrophos.net/andre/blog/2009/07/29/nightly-builds-of-quasar-media-player-available/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 22:38:51 +0000</pubDate>
		<dc:creator>Andre Beckedorf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Quasar Media Player]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Zaurus]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=199</guid>
		<description><![CDATA[It&#8217;s been some time since the last update. In my previous post I mentioned I was in the process of setting up a nightly build system. This system has been running silently since May. I guess it is finally time for me to officially announce the nightly builds of Quasar Media Player: http://www.katastrophos.net/downloads/quasar/nightly/ Along with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://katastrophos.net/quasar"><img src="http://katastrophos.net/zaurus/sources/quasar/quasar_logo.png" class="noframe" border="0" style="border: none" alt="Quasar Media Player" /></a></p>
<p>It&#8217;s been some time since the last update. In my previous post I mentioned I was in the process of setting up a nightly build system. This system has been running silently since May.<br />
I guess it is finally time for me to officially announce the nightly builds of Quasar Media Player:</p>
<p><a href="http://www.katastrophos.net/downloads/quasar/nightly/" class="websitelink" target="_blank">http://www.katastrophos.net/downloads/quasar/nightly/</a></p>
<p>Along with the most <a href="http://www.katastrophos.net/downloads/quasar/nightly/source/" target="_blank">current sourcecode tarball</a>, binaries are available for 4 platforms:<br />
<a href="http://www.katastrophos.net/downloads/quasar/nightly/win32/" target="_blank">Windows (win32)</a>, <a href="http://www.katastrophos.net/downloads/quasar/nightly/osx/" target="_blank">OS X (universal binary)</a>, <a href="http://www.katastrophos.net/downloads/quasar/nightly/sharp-qtopia/" target="_blank">Sharp Qtopia</a> and <a href="http://www.katastrophos.net/downloads/quasar/nightly/pdaxrom/" target="_blank">pdaXrom</a> Linux (both for Zaurus PDA)<br />
The Windows version comes in two styles: a generic setup (EXE) and a self-contained portable version (7z archive)</p>
<p>Enjoy and please leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2009/07/29/nightly-builds-of-quasar-media-player-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading the Fujitsu U810 with 64GB SSD</title>
		<link>http://katastrophos.net/andre/blog/2009/01/10/upgrading-the-fujitsu-u810-with-64gb-ssd/</link>
		<comments>http://katastrophos.net/andre/blog/2009/01/10/upgrading-the-fujitsu-u810-with-64gb-ssd/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 21:32:19 +0000</pubDate>
		<dc:creator>Andre Beckedorf</dc:creator>
				<category><![CDATA[Fujitsu U810]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[SSD]]></category>
		<category><![CDATA[U810]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/?p=136</guid>
		<description><![CDATA[I recently decided to upgrade my Fujitsu U810 with a solid state drive. Unfortunately, since the U810 only offers a PATA interface the options are quite limited to just a few high-priced (compared to SATA) 1.8&#8243; SSD models by either Samsung, Sandisk (SanDisk SSD UATA 5000, discontinued) or MTRON (MSD-PATA3018-032-ZIF2 et al.). I went for [...]]]></description>
			<content:encoded><![CDATA[<p>I recently decided to upgrade my Fujitsu U810 with a solid state drive.<br />
Unfortunately, since the U810 only offers a PATA interface the options are quite limited to just a few high-priced (compared to SATA) 1.8&#8243; SSD models by either Samsung, Sandisk (<a href="http://www.sandisk.com/OEM/ProductCatalog%281320%29-SanDisk_SSD_UATA_5000_18.aspx" target="_blank">SanDisk SSD UATA 5000</a>, <a href="http://www.sandisk.com/Assets/File/pdf/oem/PCN-54-34-00021_SSD_5000_18EOL.pdf" target="_blank">discontinued</a>) or MTRON (<a href="http://www.mtron.net/English/product/ProductDetail_view.asp?ItemCode=MSD-PATA3018" target="_blank">MSD-PATA3018-032-ZIF2</a> et al.).<br />
I went for a 64 GB SLC drive manufactured by Samsung. The exact model name is <a href="http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=161&#038;partnum=MCCOE64GEMPP" target="_blank">MCCOE64GEMPP</a>. The same 1.8&#8243; PATA-drive is available as bulk version without the metal enclosure that is protecting the PCB: <a href="http://www.samsung.com/global/business/semiconductor/productInfo.do?fmly_id=161&#038;partnum=MCCOE64GQMPQ" target="_blank">MCCOE64GQMPQ</a></p>
<p>Here are some photos of the drive itself and how to install it in the U810. Note, the drive is 5 mm high and will fit into the U810 without any modifications.<br />
Also keep in mind that the U1010 has a different connector (50-pin IDE instead of ZIF), so these ZIF-drives will not work here. However, there are <a href="http://www.umpcportal.com/modules/newbb/viewtopic.php?topic_id=1620&#038;forum=16" target="_blank">reports</a> on UMPC Portal that suggest that it is possible to get a replacement connector flat band cable for the U810 that is the 50pin IDE cable, so I guess it is also possible the other way around for the U1010.</p>
<p><center><br />
<a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/dsc00321.jpg" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/dsc00321-150x112.jpg" alt="dsc00321" title="dsc00321" width="150" height="112" class="alignnone size-thumbnail wp-image-138" /></a><a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/dsc00323.jpg" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/dsc00323-112x150.jpg" alt="dsc00323" title="dsc00323" width="112" height="150" class="alignnone size-thumbnail wp-image-139" /></a><br />
<a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/dsc00238.jpg" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/dsc00238-150x112.jpg" alt="dsc00238" title="dsc00238" width="150" height="112" class="alignnone size-thumbnail wp-image-137" /></a><a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/dsc00324.jpg" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/dsc00324-150x112.jpg" alt="dsc00324" title="dsc00324" width="150" height="112" class="alignnone size-thumbnail wp-image-140" /></a><br />
</center></p>
<p>Here are the obligatory benchmarks comparing the new SSD against the old Toshiba MK1011GAH 100 GB hard drive that was previously installed in the U810:</p>
<p><center><br />
<strong>Toshiba MK1011GAH:</strong></p>
<p><a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/hdtune_info_toshiba_mk1011gah.png" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/hdtune_info_toshiba_mk1011gah-150x121.png" alt="hdtune_info_toshiba_mk1011gah" title="hdtune_info_toshiba_mk1011gah" width="150" height="121" class="alignnone size-thumbnail wp-image-149" /></a><a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/hdtune_benchmark_toshiba_mk1011gah.png" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/hdtune_benchmark_toshiba_mk1011gah-150x121.png" alt="hdtune_benchmark_toshiba_mk1011gah" title="hdtune_benchmark_toshiba_mk1011gah" width="150" height="121" class="alignnone size-thumbnail wp-image-148" /></a><br />
<a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal50.png" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal50-150x129.png" alt="crystal50" title="crystal50" width="150" height="129" class="alignnone size-thumbnail wp-image-145" /></a><a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal100.png" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal100-150x129.png" alt="crystal100" title="crystal100" width="150" height="129" class="alignnone size-thumbnail wp-image-146" /></a><a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal500.png" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal500-150x129.png" alt="crystal500" title="crystal500" width="150" height="129" class="alignnone size-thumbnail wp-image-147" /></a><br />
</center></p>
<p><center><br />
<strong>Samsung MCCOE64GEMPP:</strong></p>
<p><a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/hdtune_info_samsung_pza064_ssd.png" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/hdtune_info_samsung_pza064_ssd-150x121.png" alt="hdtune_info_samsung_pza064_ssd" title="hdtune_info_samsung_pza064_ssd" width="150" height="121" class="alignnone size-thumbnail wp-image-156" /></a><a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/hdtune_benchmark_samsung_pza064_ssd.png" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/hdtune_benchmark_samsung_pza064_ssd-150x121.png" alt="hdtune_benchmark_samsung_pza064_ssd" title="hdtune_benchmark_samsung_pza064_ssd" width="150" height="121" class="alignnone size-thumbnail wp-image-155" /></a><br />
<a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal501.png" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal501-150x129.png" alt="crystal50_samsung_pza064_ssd" title="crystal50_samsung_pza064_ssd" width="150" height="129" class="alignnone size-thumbnail wp-image-152" /></a><a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal1001.png" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal1001-150x129.png" alt="crystal100_samsung_pza064_ssd" title="crystal100_samsung_pza064_ssd" width="150" height="129" class="alignnone size-thumbnail wp-image-153" /></a><a href="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal5001.png" rel="lightbox[136]"><img src="http://katastrophos.net/andre/blog/wp-content/uploads/2009/01/crystal5001-150x129.png" alt="crystal500_samsung_pza064_ssd" title="crystal500_samsung_pza064_ssd" width="150" height="129" class="alignnone size-thumbnail wp-image-154" /></a><br />
</center></p>
<p>Needless to say that applications cold-launch a lot faster with the SSD. (Firefox with 12 add-ons: ~10 s before -> ~6 s after, Chrome: ~3 s before, ~1 s after, Thunderbird: ~8 s before -> ~3 s after).</p>
<p>Startup time was reduced quite a bit but not dramatically. However, returning from sleep and hibernate saw a huge improvement. Unfortunately I can not provide values of the old drive, so no comparison.<br />
I did not notice longer battery run times. However, the whole system runs a lot cooler because the SSD naturally does not produce heat as extensive as the HDD did.</p>
<p>I am satisfied with this upgrade &#8211; especially since it has boosted compile-times when working with CodeGear RAD Studio and Delphi &#8211; due to the great performance when accessing, reading and writing small files. Your mileage may vary.</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2009/01/10/upgrading-the-fujitsu-u810-with-64gb-ssd/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Q&#8230;/Free: Bug in QProcess writeToStdin</title>
		<link>http://katastrophos.net/andre/blog/2008/03/15/qfree-bug-in-qprocess-writetostdin/</link>
		<comments>http://katastrophos.net/andre/blog/2008/03/15/qfree-bug-in-qprocess-writetostdin/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 15:57:14 +0000</pubDate>
		<dc:creator>Andre Beckedorf</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Findings]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Quasar Media Player]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2008/03/15/qfree-bug-in-qprocess-writetostdin/</guid>
		<description><![CDATA[All right, this post is just to stop somebody else&#8217;s suffering in figuring out why writing to stdin in QProcess on Version 3.3.x-8 of Q&#8230;/Free doesn&#8217;t work on Windows. Well, actually it works but just for the first line you write to stdin. There is a bug in qprocess.cpp at line 730: void QProcess::writeToStdin( const [...]]]></description>
			<content:encoded><![CDATA[<p>All right, this post is just to stop somebody else&#8217;s suffering in figuring out why writing to stdin in QProcess on <a href="http://sourceforge.net/project/showfiles.php?group_id=49109&#038;package_id=42335" target="_blank">Version 3.3.x-8</a> of <a href="http://qtwin.sourceforge.net" target="_blank">Q&#8230;/Free</a> doesn&#8217;t work on Windows. Well, actually it works but just for the first line you write to stdin. There is a bug in qprocess.cpp at line 730:</p>
<pre name="code" class="c++:nocontrols:firstline[727]">
void QProcess::writeToStdin( const QString&#038; buf )
{
    QByteArray tmp = buf.local8Bit();
    tmp.resize( tmp.size() - 1 ); // drop the implicit \0
    writeToStdin( tmp );
}
</pre>
<p>should be:</p>
<pre name="code" class="c++:nocontrols:firstline[727]">
void QProcess::writeToStdin( const QString&#038; buf )
{
    QByteArray tmp = buf.local8Bit();
    tmp.resize( buf.length() );
    writeToStdin( tmp );
}
</pre>
<p>Verision 3.3.7-7 includes the latter method, same as the latest Qt 4.3 sources. So, it&#8217;s actually a regression in 3.3.x-8. If you require the latest Qt 3 / Q&#8230;/Free for your open source application and need to write to some other processes&#8217; stdin, you can just use a wrapper workaround that uses the latter method and directly uses writeToStdin( const QByteArray&#038; buf ) instead of the QString variant.</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2008/03/15/qfree-bug-in-qprocess-writetostdin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rdesktop: Connect to Windows 7 and Vista with ClearType font smoothing enabled</title>
		<link>http://katastrophos.net/andre/blog/2008/03/10/rdesktop-connect-to-windows-vista-with-cleartype-font-smoothing-enabled/</link>
		<comments>http://katastrophos.net/andre/blog/2008/03/10/rdesktop-connect-to-windows-vista-with-cleartype-font-smoothing-enabled/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 23:12:01 +0000</pubDate>
		<dc:creator>Andre Beckedorf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Findings]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2008/03/10/rdesktop-connect-to-windows-vista-with-cleartype-font-smoothing-enabled/</guid>
		<description><![CDATA[So Windows Vista finally allows to enable ClearType font smoothing for Remote Desktop / Terminal Services sessions. Update: Windows XP SP3 does too! If you try to connect to a machine running Windows XP SP 3 or later using rdesktop, you won&#8217;t get smoothed font typing since at the time of this writing rdesktop does [...]]]></description>
			<content:encoded><![CDATA[<p>So Windows Vista finally allows to enable ClearType font smoothing for Remote Desktop / Terminal Services sessions. <strong>Update:</strong> Windows XP SP3 does too!<br />
If you try to connect to a machine running Windows XP SP 3 or later using <a href="http://www.rdesktop.org" target="_blank">rdesktop</a>, you won&#8217;t get smoothed font typing since at the time of this writing <a href="http://www.rdesktop.org" target="_blank">rdesktop</a> does not officially offer an option to control this feature. However, here is a workaround:<br />
<span id="more-68"></span><br />
<a href="http://www.rdesktop.org" target="_blank">rdesktop</a> allows to specify the RDP5 experience via the -x experience switch.<br />
One can either define one of three default experiences (modem, broadband, lan) or one can specify a raw hex value that is send to the server. </p>
<p><strong>NOTE: You can skip over this rather technical part, if you&#8217;re not interested in the details. You&#8217;ll find the workaround below.</strong></p>
<p>This hex value is actually a combination of defined bit flags. After some tinkering I found that the hex value 0&#215;80 will enable font smoothing for the connection.<br />
The file constants.h of the rdesktop sources contains these flags:</p>
<pre name="code" class="c:nogutter:nocontrols">
#define RDP5_DISABLE_NOTHING	0x00
#define RDP5_NO_WALLPAPER	0x01
#define RDP5_NO_FULLWINDOWDRAG	0x02
#define RDP5_NO_MENUANIMATIONS	0x04
#define RDP5_NO_THEMING		0x08
#define RDP5_NO_CURSOR_SHADOW	0x20
#define RDP5_NO_CURSORSETTINGS	0x40	/* disables cursor blinking */
</pre>
<p>So, naturally an additional flag constant can be defined like this:</p>
<pre name="code" class="c:nogutter:nocontrols">
#define RDP5_ENABLE_FONT_SMOOTHING 0x80
</pre>
<p>The file rdesktop.c would have to be extended preferably with an additional argument that controls the font smoothing.<br />
If you want to use font smoothing with rdesktop now you have to combine the flags (bitwise OR, addition will do too) and specify the result via the -x switch.</p>
<p><strong>Here is the workaround for the three defaults mentioned above:</strong></p>
<p><code><strong>rdesktop -x 0x8F</strong> mywinserver</code>&nbsp;&nbsp;&nbsp;# equals the <strong>modem default</strong> + font smoothing<br />
<code><strong>rdesktop -x 0x81</strong> mywinserver</code>&nbsp;&nbsp;&nbsp;# equals the <strong>broadband default</strong> + font smoothing<br />
<code><strong>rdesktop -x 0x80</strong> mywinserver</code>&nbsp;&nbsp;&nbsp;# equals the <strong>LAN default</strong> + font smoothing</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2008/03/10/rdesktop-connect-to-windows-vista-with-cleartype-font-smoothing-enabled/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>“Yet Another Zaurus Media Player”… not dead yet: &#8220;Quasar Media Player&#8221;</title>
		<link>http://katastrophos.net/andre/blog/2007/07/28/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-not-dead-yet-quasar-media-player/</link>
		<comments>http://katastrophos.net/andre/blog/2007/07/28/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-not-dead-yet-quasar-media-player/#comments</comments>
		<pubDate>Sat, 28 Jul 2007 21:07:33 +0000</pubDate>
		<dc:creator>Andre Beckedorf</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Quasar Media Player]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Zaurus]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2007/07/28/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-not-dead-yet-quasar-media-player/</guid>
		<description><![CDATA[Alright, this blog has been very quiet for the last few months. That&#8217;s partially due to me being very busy with other stuff. I&#8217;m slowly picking up pace and getting things done again. So, here is a short update on the media player that I&#8217;m currently developing for my Zaurus. Well, actually it&#8217;s been in [...]]]></description>
			<content:encoded><![CDATA[<p>Alright, this blog has been very quiet for the last few months. That&#8217;s partially due to me being very busy with other stuff.<br />
I&#8217;m slowly picking up pace and getting things done again.</p>
<p>So, here is a short update on the media player that I&#8217;m currently developing for my Zaurus. Well, actually it&#8217;s been in long-term testing mode for ages now&#8230; :)<br />
I finally have a name for it. It will be called &#8220;Quasar Media Player&#8221; &#8211; or shorter &#8220;Quasar&#8221;. Below are some screenshots of the current development version running on Qtopia. I hope to have a release ready soon.</p>
<p><a href="http://katastrophos.net/andre/blog/wp-content/photos/Quasar/quasar001.png" target="_blank" title="{Quasar} Shown is the new toolbar and play list selector." rel="lightbox[61]"><img src="http://katastrophos.net/andre/blog/wp-content/photos/Quasar/thumb_quasar001.png" alt="{Quasar} Shown is the new toolbar and play list selector." width="130" height="97" /></a><a href="http://katastrophos.net/andre/blog/wp-content/photos/Quasar/quasar002.png" target="_blank" title="{Quasar} The new play info screen. Cover art is supported and rendered in this funky view. Any Satch fans out there? ;)" rel="lightbox[61]"><img src="http://katastrophos.net/andre/blog/wp-content/photos/Quasar/thumb_quasar002.png" alt="{Quasar} The new play info screen. Cover art is supported and rendered in this funky view. Any Satch fans out there? ;)" width="130" height="97" /></a><a href="http://katastrophos.net/andre/blog/wp-content/photos/Quasar/quasar003.png" target="_blank" title="{Quasar} More eyecandy." rel="lightbox[61]"><img src="http://katastrophos.net/andre/blog/wp-content/photos/Quasar/thumb_quasar003.png" alt="{Quasar} More eyecandy." width="130" height="97" /></a><a href="http://katastrophos.net/andre/blog/wp-content/photos/Quasar/quasar004.png" target="_blank" title="{Quasar} Normal list view filtered." rel="lightbox[61]"><img src="http://katastrophos.net/andre/blog/wp-content/photos/Quasar/thumb_quasar004.png" alt="{Quasar} Normal list view filtered." width="130" height="97" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2007/07/28/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-not-dead-yet-quasar-media-player/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>“Yet Another Zaurus Media Player”… done differently . (Phase 2.1: Development progress 2)</title>
		<link>http://katastrophos.net/andre/blog/2007/01/06/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-done-differently-phase-21-development-progress-2/</link>
		<comments>http://katastrophos.net/andre/blog/2007/01/06/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-done-differently-phase-21-development-progress-2/#comments</comments>
		<pubDate>Sat, 06 Jan 2007 03:48:38 +0000</pubDate>
		<dc:creator>Andre Beckedorf</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Quasar Media Player]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Zaurus]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2007/01/06/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-done-differently-phase-21-development-progress-2/</guid>
		<description><![CDATA[Yet another short update on the development of my still untitled media player for the Zaurus. In the meantime it&#8217;s called YAZMP. Again, I&#8217;ve been working on improving performance &#8211; this time on the performance when loading playlists. Before I continue, let me give a brief overview of the structure: Library -> Playlists < -> [...]]]></description>
			<content:encoded><![CDATA[<p>Yet another short update on the development of my <em>still untitled</em> media player for the Zaurus. In the meantime it&#8217;s called YAZMP.</p>
<p>Again, I&#8217;ve been working on improving performance &#8211; this time on the performance when loading playlists.<br />
Before I continue, let me give a brief overview of the structure:</p>
<p><strong><strike>Library</strike> -> Playlists < -> Media Cache</strong></p>
<p>YAZMP doesn&#8217;t manage a library similar to i*Tunes. Instead it solely relies on playlists. Metadata (title, artist, album, etc.) is kept in the database and will be associated to once the playlist is loaded. The reason for this is pretty simple: Scanning audio files (and media files in general) each and every time a playlist is loaded will definitely take a lot of time. So, for every file the gathered metadata will be saved in the DB. Think of it as a cache.<br />
<span id="more-58"></span><br />
<a href="http://atty.skr.jp/zplayer/" target="_blank">ZPlayer</a>, which YAZMP is based on, follows a similar approach. However, in my opinion it&#8217;s ill-conceived in the current version. It keeps the media cache in memory all the time. With lots of files this can get very expensive. Also, ZPlayer isn&#8217;t very efficient at saving the media cache to disk. It does so for the whole cache, not just changed entries. Furthermore, when saving the cache on quitting, ZPlayer sometimes simply truncates the cache file and all metadata is lost. So, next time you open it, it has to scan all files again&#8230;<br />
Perhaps I&#8217;m nitpicking, perhaps I&#8217;m an optimization dork, whatever it is, please forgive my harsh words for the otherwise excellent work atty and Atmark have done in ZPlayer!</p>
<p><strong>Technical ramblings</strong></p>
<p>For YAZMP I rewrote the metadata cache management from scratch and extended it to do a lot more.<br />
As I already mentioned above, YAZMP doesn&#8217;t manage any library, it only knows about filenames in playlist files.<br />
For that to work correctly and efficient especially in combination with the media cache, there are four cases that need to be taken care of:</p>
<ol>
<li><strong>A new file has been added to the playlist which doesn&#8217;t exist in the media cache.</strong><br />
This case is very simple: The player has to scan the file no matter what.</li>
<li><strong>A file has been physically removed and it&#8217;s metadata is still in the cache.</strong><br />
In this case the player has junk entries in its database, which need to be cleaned once in a while.</li>
<li><strong>A file has been renamed, that is, it&#8217;s basename changed</strong></li>
<li><strong>A file or a whole directory / sub-tree of files have moved to another location.</strong><br />
In a naive implementation both cases would trigger a lengthy rescan of the file(s) that are about to be added in the playlist, because new location can&#8217;t be associated with any data in the cache.<br />
For YAZMP I&#8217;ll use several approaches + fallbacks to try to limit the impact. The following messy pseudo-code illustrates this:</p>
<pre>
  <strong>get attributes</strong> <em>filename</em>, <em>directory</em> <strong> from current playlist item to be added</strong>
  <strong>get attributes</strong> <em>filesize</em>, <em>lastmoddate</em> <strong>for file</strong> (<em>directory</em> + <em>filename</em>)

  <font color="#080">// NOTE: check via checksum / hash for faster lookup</font>
  <strong>if exactly one</strong> entry <strong>by hash value of</strong> (<em>directory</em> + <em>filename</em>) <strong>in DB then</strong>
    <font color="#080">// NOTE: did the file change since the last scan?</font>
    <strong>if</strong> entry.filesize <strong>not equal</strong> <em>filesize</em> <strong>or</strong> entry.lastmoddate <strong>not equal</strong> <em>lastmoddate</em> <strong>in FS then</strong>
      <strong>rescan file</strong> (<em>directory</em> + <em>filename</em>) <strong>and update</strong> entry <strong>in DB</strong>
    <strong>return</strong> entry
  <strong>else if exactly one</strong> entry <strong>by tuple of</strong> (<em>filename</em>, <em>filesize</em>, <em>lastmoddate</em>) <strong>in DB then</strong>
    <font color="#080">// Was the file moved to a new directory? (case 4)
    // If so, check for other files in the old directory and change them
    // to the new location...
    // NOTE: this is purely predictive. It might not always yield a benefit.</font>
    <strong>if directory by value of</strong> entry.location <strong>not in FS then</strong>
      <strong>change every</strong> siblingentry <strong>in DB where</strong> siblingentry.location <strong>is</strong> entry.location
        <strong>set</strong> siblingentry.location to <em>directory</em>
        <strong>set</strong> siblingentry.locationHash <strong>to hash value of</strong> (<em>directory</em> + siblingentry.filename)
      <strong>until no</strong> siblingentry <strong>is left</strong>
    <font color="#080">// NOTE: did the file change since the last scan?</font>
    <strong>if</strong> entry.filesize <strong>not equal</strong> <em>filesize</em> <strong>or</strong> entry.lastmoddate <strong>not equal</strong> <em>lastmoddate</em> <strong>in FS then</strong>
      <strong>rescan file</strong> (<em>directory</em> + <em>filename</em>) <strong>and update</strong> entry <strong>in DB</strong>
    <strong>return</strong> entry
  <font color="#080">// NOTE: For case 3 one could check for a smaller tuple of (filesize, lastmoddate)</font>
  <font color="#080">// which would result in the almost the same code as above</font>
  <font color="#080">// The likeness of wrong results is a lot higher though.</font>
  <strong>else</strong>
    <strong>scan file</strong> (<em>directory</em> + <em>filename</em>) <strong>as</strong> newentry <strong>and add</strong> newentry <strong>to DB</strong>
    <strong>return</strong> newentry
</pre>
</li>
</ol>
<p><strong>Conclusion</strong></p>
<p>What that means is pretty simple: You can move your media files to a different location, perhaps a SD-Card, and the player will still be able to associate the new location in the playlist file with the data it has in cache. And that means: No useless scanning of files and fast playlist load times.</p>
<p><strong>Yet another feature&#8230;</strong></p>
<p>I tend to copy several albums to my Zaurus for listening on the road. So, once I&#8217;ve copied new stuff, it&#8217;s always the same mindless and inconvenient procedure in most players: Clear the playlist, add files or directories, play stuff.<br />
And that brings me straight to another new feature: Dynamic Playlists<br />
In general the idea is pretty simple: Instead of just listing every file&#8217;s location in a playlist file, one may also list folders that are automatically scanned for audio or video files. Here is an example:</p>
<p>Music.dynplaylist</p>
<pre>
/hdd3/Music/test1.mp3
/mnt/card/Music/Mozart/
/hdd3/Music/Beethoven/**
</pre>
<p>This will add a single file &#8220;test1.mp3&#8243;, all files in &#8220;/mnt/card/Music/Mozart/&#8221; and all files in &#8220;/hdd3/Music/Beethoven/&#8221; including all files in its sub-directories.</p>
<p><strong>Conclusion</strong></p>
<p>Instead of adding files, you just define what the layout of the playlist should look like and the player does the rest automatically. It can even rescan for changes. It&#8217;s all wrapped up in a nice UI.<br />
Combined with the flexibility of the metadata cache and the fact that one isn&#8217;t forced into this library thing, I think this makes for a pretty unique solution. What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2007/01/06/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-done-differently-phase-21-development-progress-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SQLite performance tuning and optimization on embedded systems</title>
		<link>http://katastrophos.net/andre/blog/2007/01/04/sqlite-performance-tuning-and-optimization-on-embedded-systems/</link>
		<comments>http://katastrophos.net/andre/blog/2007/01/04/sqlite-performance-tuning-and-optimization-on-embedded-systems/#comments</comments>
		<pubDate>Thu, 04 Jan 2007 06:28:10 +0000</pubDate>
		<dc:creator>Andre Beckedorf</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Quasar Media Player]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Zaurus]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2007/01/04/sqlite-performance-tuning-and-optimization-on-embedded-systems/</guid>
		<description><![CDATA[Based on the experience I gained while developing my Zaurus media player, here is a short compendium of optimization rules, tweaks and hints when using SQLite on an embedded system (may apply to other systems as well): Simplify the database schema as much as possible &#8211; even if that means redundant data or illogical structure [...]]]></description>
			<content:encoded><![CDATA[<p>Based on the experience I gained while <a href="http://www.katastrophos.net/andre/blog/index.php?s=Yet+Another+Zaurus+Media+Player" target="_blank">developing my Zaurus media player</a>, here is a short compendium of optimization rules, tweaks and hints when using <a href="http://www.sqlite.org" target="_blank">SQLite</a> <strong>on an embedded system</strong> (may apply to other systems as well):</p>
<ul>
<li><strong>Simplify the database schema</strong> as much as possible &#8211; even if that means redundant data or illogical structure</li>
<li><strong>Don&#8217;t generalize the database schema</strong> &#8211; generalization will mostly sacrifice performance and one can&#8217;t afford that on an embedded system with its tight restrictions, even if it is more convenient for the developer.</li>
<li><strong>Only use relations</strong> (via IDs etc.) <strong>where absolutely necessary</strong>. The overhead for lookup and joining tables is considerable, even with an index on the relation.</li>
<li><strong>Order the tables correctly in SELECTs</strong>. Put a table left-most if it is lacking an index on the relation. More details are <a href="http://www.sqlite.org/cvstrac/wiki?p=PerformanceTuning" target="_blank">here.</a><br />
<strong>In general:</strong> Check the order of tables in the SELECT statement. <strong>A different permutation may be more optimal</strong>. <strong><a href="http://katastrophos.net/andre/blog/2007/01/04/sqlite-simple-timing-profiler-patch/" target="_blank">Profile</a>.</strong></li>
<li><strong>Prepare your statements and bind values</strong> where applicable. This way you can get rid of the parser and VM creation overhead in tight loops (e.g. when inserting and updating).</li>
<li><strong>Use transactions</strong> &#8211; even if you&#8217;re just reading the data. This may yield a few milliseconds.</li>
<li><strong>Use temporary tables for intermediate results</strong>. They are fast and stay in cache most of the time. Depending on how your SQLite instance is set up, data will only be swapped into an external file if the cache is saturated.</li>
<li>Try to <strong>avoid using views</strong> for data you&#8217;re constantly accessing. If you can afford it, create temporary tables and insert data there. This will eliminate the overhead imposed by the view evaluation.</li>
<li><strong>Avoid sub-queries</strong> since they tend to create temporary tables and insertion of the intermediate results into those tables may be expensive.</li>
<li>Try to <strong>use indices only on static data</strong> or data that changes rarely. Building an index on live or temporary data can be expensive performance-wise. Only do so if the time required for the data lookup considerably outweights the time required for building the index.</li>
<li><strong>Alternative to indices: hashkeys</strong> &#8211; Instead of using indices on very long strings, you may store the hash values of those strings as keys in the same table. A lookup via hash values may be a whole lot more efficient. This method is also very effective when you can&#8217;t afford the creation of an index due to performance reasons. Downside: You have to take care of the hashkeys. (See remarks in the comments below.)</li>
<li><strong>No useless indices</strong>. Create indices only if your queries actually use the indices on the table (check with <a href="http://www.sqlite.org/lang_explain.html" target="_blank">EXPLAIN</a>). Having useless indices around may pollute otherwise precious database cache space.</li>
<li><strong>Be cache-friendly</strong>. Depending on the memory conditions, creating temporary tables and indices may bash the cache. Reloading data back into the cache is expensive.</li>
<li><strong>Double-check your queries and <a href="http://katastrophos.net/andre/blog/2007/01/04/sqlite-simple-timing-profiler-patch/" target="_blank">profile them</a></strong>. The SQLite optimizer doesn&#8217;t perform as well as the optimizers of big DBs (Firebird / Interbase, PostgreSQL, Oracle etc.).
</li>
<li><strong>Check compiler settings</strong>. A higher optimization setting in your C-compiler may very well yield a few tens of milliseconds. Make sure to inline functions (-O3 for GCC 2.95.x, -O2 for GCC 3.x.x and higher). Optimize for architecture and CPU. Omit stack frame pointers (-fomit-frame-pointer) if you&#8217;re not producing executables with debug symbols. This may free an additional register for the compiler to use.</li>
<li><strong>Disable unused SQLite features</strong>. This helps to reduce binary size and may also affect performance.</li>
</ul>
<p>Here are some additional docs to consider:</p>
<p><a href="http://www.sqlite.org/cvstrac/wiki?p=PerformanceTuning" target="_blank">http://www.sqlite.org/cvstrac/wiki?p=PerformanceTuning</a><br />
<a href="http://www.sqlite.org/cvstrac/wiki?p=PerformanceTuningWindows" target="_blank">http://www.sqlite.org/cvstrac/wiki?p=PerformanceTuningWindows</a><br />
<a href="http://www.sqlite.org/cvstrac/wiki?p=PerformanceConsiderations" target="_blank">http://www.sqlite.org/cvstrac/wiki?p=PerformanceConsiderations</a><br />
<a href="http://www.sqlite.org/optoverview.html" target="_blank">http://www.sqlite.org/optoverview.html</a><br />
<a href="http://web.utk.edu/~jplyon/sqlite/SQLite_optimization_FAQ.html" target="_blank">http://web.utk.edu/~jplyon/sqlite/SQLite_optimization_FAQ.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2007/01/04/sqlite-performance-tuning-and-optimization-on-embedded-systems/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>“Yet Another Zaurus Media Player”… done differently . (Phase 2: Development progress, no release yet.)</title>
		<link>http://katastrophos.net/andre/blog/2007/01/04/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-done-differently-phase-2-development-progress-no-release-yet/</link>
		<comments>http://katastrophos.net/andre/blog/2007/01/04/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-done-differently-phase-2-development-progress-no-release-yet/#comments</comments>
		<pubDate>Thu, 04 Jan 2007 04:40:47 +0000</pubDate>
		<dc:creator>Andre Beckedorf</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Quasar Media Player]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Zaurus]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2007/01/04/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-done-differently-phase-2-development-progress-no-release-yet/</guid>
		<description><![CDATA[So, like I&#8217;ve already mentioned in my previous comment, I&#8217;ve got some free time to work on my pet project here. Development progress I&#8217;ve been optimizing a lot under the hood. Tons of blood, sweat and tears have already run into optimizing the core parts. Coming from a different background in programming, namely a desktop [...]]]></description>
			<content:encoded><![CDATA[<p>So, like I&#8217;ve already mentioned in <a href="http://katastrophos.net/andre/blog/2006/12/19/yet-another-zaurus-media-player-done-differently-phase-1-teasing/#comment-2356" target="_blank">my previous comment</a>, I&#8217;ve got some free time to work on <a href="http://katastrophos.net/andre/blog/2006/12/19/yet-another-zaurus-media-player-done-differently-phase-1-teasing/" target="_blank">my pet project</a> here.</p>
<p><strong>Development progress</strong></p>
<p>I&#8217;ve been optimizing a lot under the hood. Tons of blood, sweat and tears have already run into optimizing the core parts.<br />
Coming from a different background in programming, namely a desktop background, doing embedded development is a whole new experience for me. And let me say this: it&#8217;s definitely a refreshing one.<br />
Development for embedded devices can be quite challenging if you have hard memory limitations and performance restrictions CPU-wise. These limitations go even further than the ones I&#8217;m used to when doing component or graphics development. And I&#8217;m doing quite a lot of that&#8230;</p>
<p>Just so you get the idea:<br />
<em>My essential requirement for this project is that the player is able to cope with thousands of files in a playlist.</em></p>
<p>With that being said, I&#8217;ve already rewritten the playlist management four times. :)<br />
The first approach was fast but ate RAM for breakfast. Incremental searching on a playlist was fast but also required additional memory. The second approach was more memory-friendly, but searching was slow. Besides, some Qt widgets make development a real pain &#8211; at least in Qt/E 2.3.x. For instance, QListView can pose an incredible hog on performance. I&#8217;m currently using several hacks to speed things up. However, I&#8217;m still thinking about replacing the whole component or doing some custom coding to improve it&#8230;</p>
<p>Anyway, since I couldn&#8217;t really get rid of the memory problems, I finally decided to give <a href="http://www.sqlite.org" target="_blank">SQLite</a> a try. SQLite offers very sophisticated caching, which helps getting rid of the RAM problem. I really could use the enhanced features of a SQL database. And let me say this: SQLite is awesome. And it&#8217;s as fast as it could be on such a small device &#8211; that is, if you know how to use it&#8230;</p>
<p>With that being said, different rules in database design apply for embedded systems:<br />
In the third approach I already created a pretty decent database schema. Something I naturally would have done on a desktop system. Keeping the layout clean, using relations where applicable, minimizing data storage requirements.<br />
On a desktop system dereferencing and joining tables is fast. However, not so on my Zaurus: Simple left-joins over three tables would take up to a few hundred milliseconds. In contrast, these queries are almost unmeasurable on my desktop system, meaning they were faster than 10 ms.<br />
Now add a few other equally expensive queries to that and imagine, you&#8217;re doing a search on your playlist with 2000 items. Do you want to wait 3 seconds or longer for the result? That&#8217;s not what I call interactive.<br />
So, I had a nice profiling, optimizing and testing marathon last weekend. To make a long story short, after analyzing the bottlenecks and also having a lengthy discussion with a DB-guru friend, I ended up simplifying the database schema in a direction I wouldn&#8217;t normally take on a desktop system. It&#8217;s not totally ugly now, but it&#8217;s just not as relational as you might expect a SQL database to be. Also, some data is redundantly held in temporary tables, which isn&#8217;t nice either, but helps performance A LOT.<br />
In order to do the profiling I made some changes to the SQLite codebase, which I will post shortly along with some optimization hints. <strong>Update:</strong> Hints <a href="http://katastrophos.net/andre/blog/2007/01/04/sqlite-performance-tuning-and-optimization-on-embedded-systems/" target="_blank">here</a>, patch <a href="http://katastrophos.net/andre/blog/2007/01/04/sqlite-simple-timing-profiler-patch/" target="_blank">here</a>.</p>
<p><strong>Screenshots</strong></p>
<p>No release yet, sorry! I have to finalize some features first.<br />
However, here are some new screenshots that show the new overview feature in action. The design of the application is temporary, stay tuned! :)</p>
<p><a href="http://katastrophos.net/andre/blog/wp-content/photos/ZeQueMP/screen1004.png" target="_blank" title="{YAZMPDD} YAZMPDD - Work In Progress Screenshot 4: Overview feature with multi-selection in action." rel="lightbox[55]"><img src="http://katastrophos.net/andre/blog/wp-content/photos/ZeQueMP/thumb_screen1004.png" alt="{YAZMPDD} YAZMPDD - Work In Progress Screenshot 4: Overview feature with multi-selection in action." width="130" height="97" /></a><a href="http://katastrophos.net/andre/blog/wp-content/photos/ZeQueMP/screen1005.png" target="_blank" title="{YAZMPDD} YAZMPDD - Work In Progress Screenshot 5: Search filter + Overview filter" rel="lightbox[55]"><img src="http://katastrophos.net/andre/blog/wp-content/photos/ZeQueMP/thumb_screen1005.png" alt="{YAZMPDD} YAZMPDD - Work In Progress Screenshot 5: Search filter + Overview filter" width="130" height="97" /></a><a href="http://katastrophos.net/andre/blog/wp-content/photos/ZeQueMP/screen1006.png" target="_blank" title="{YAZMPDD} YAZMPDD - Work In Progress Screenshot 6: Portrait window mode. Note: This is the contrast skin, which will change in the future." rel="lightbox[55]"><img src="http://katastrophos.net/andre/blog/wp-content/photos/ZeQueMP/thumb_screen1006.png" alt="{YAZMPDD} YAZMPDD - Work In Progress Screenshot 6: Portrait window mode. Note: This is the contrast skin, which will change in the future." width="97" height="130" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2007/01/04/%e2%80%9cyet-another-zaurus-media-player%e2%80%9d%e2%80%a6-done-differently-phase-2-development-progress-no-release-yet/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing OS X 10.4 Tiger (PowerPC) from a Firewire harddrive</title>
		<link>http://katastrophos.net/andre/blog/2006/12/19/installing-os-x-104-tiger-powerpc-from-a-firewire-harddrive/</link>
		<comments>http://katastrophos.net/andre/blog/2006/12/19/installing-os-x-104-tiger-powerpc-from-a-firewire-harddrive/#comments</comments>
		<pubDate>Tue, 19 Dec 2006 00:02:37 +0000</pubDate>
		<dc:creator>Andre Beckedorf</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2006/12/19/installing-os-x-104-tiger-powerpc-from-a-firewire-harddrive/</guid>
		<description><![CDATA[Last weekend I had the pleasure (!) to install Tiger on an ancient PowerMac that doesn&#8217;t feature any DVD-ROM drive. I don&#8217;t happen to have the special CD-version of 10.4 and trying to boot from an external DVD drive somehow failed. However, this Mac already had Firewire, so here is a little hint on how [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend I had the pleasure (!) to install Tiger on an ancient PowerMac that doesn&#8217;t feature any DVD-ROM drive. I don&#8217;t happen to have the special CD-version of 10.4 and trying to boot from an external DVD drive somehow failed. However, this Mac already had Firewire, so here is a little hint on how to install Tiger using a spare Firewire drive:</p>
<p>First off, you&#8217;ll need <a href="http://www.dan.co.jp/cases/macosx/psync.html" target="_blank">psync</a>. I&#8217;ve tried Carbon Copy Cloner, but for some reason that didn&#8217;t work.<br />
So, if you have <a href="http://fink.sourceforge.net" target="_blank">Fink</a> installed, do this:</p>
<pre>
$ fink install psync
</pre>
<p>Format the Firewire drive with HFS Extended. You don&#8217;t need Journaling, so please disable it.<br />
Now, assuming you&#8217;re Tiger Install DVD is mounted at /Volumes/Mac OS X Install DVD and your formatted volume is mounted at /Volumes/OSX, type this into your Terminal to clone the content of the DVD over to the harddrive.</p>
<pre>
$ sudo psync -d "/Volumes/Mac OS X Install DVD/" /Volumes/OSX
</pre>
<p>Finally make the whole copy bootable by blessing it:</p>
<pre>
$ sudo bless --folder "/Volumes/OSX/System/Library/CoreServices" --bootinfo
</pre>
<p>Now, you may unmount and install. Fin .</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2006/12/19/installing-os-x-104-tiger-powerpc-from-a-firewire-harddrive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

