<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.2" -->
<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/"
	>

<channel>
	<title>Katastrophos.net Blog</title>
	<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>
	<pubDate>Sat, 15 Mar 2008 15:57:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<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</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 QString&#038; [...]]]></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>
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>
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>
		</item>
		<item>
		<title>rdesktop: Connect to Windows 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</dc:creator>
		
		<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.
If you try to connect to a machine running Windows Vista using rdesktop, you won&#8217;t get smoothed font typing since at the time of this writing rdesktop does not officially offer an option to control this feature. However, here [...]]]></description>
			<content:encoded><![CDATA[<p>So Windows Vista finally allows to enable ClearType font smoothing for Remote Desktop / Terminal Services sessions.<br />
If you try to connect to a machine running Windows Vista 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 />
 <a href="http://katastrophos.net/andre/blog/2008/03/10/rdesktop-connect-to-windows-vista-with-cleartype-font-smoothing-enabled/#more-68" class="more-link">(more&#8230;)</a></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>
		</item>
		<item>
		<title>QScrobbler</title>
		<link>http://katastrophos.net/andre/blog/2007/12/24/qscrobbler/</link>
		<comments>http://katastrophos.net/andre/blog/2007/12/24/qscrobbler/#comments</comments>
		<pubDate>Mon, 24 Dec 2007 15:44:59 +0000</pubDate>
		<dc:creator>Andre</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Quasar Media Player]]></category>

		<category><![CDATA[Zaurus]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2007/12/24/qscrobbler/</guid>
		<description><![CDATA[
Today I&#8217;m releasing QScrobbler: a Last.fm / Audioscrobbler add-on for Quasar Media Player.
As with Quasar, I&#8217;ve been using QScrobbler for almost a year now and finally decided it is ready for the public. ;)
For more details please visit the project&#8217;s homepage here.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://katastrophos.net/qscrobbler"><img src="http://www.katastrophos.net/zaurus/sources/qscrobbler/qscrobbler_logo.png" border="0" style="border: none" alt="QScrobbler" /></a></p>
<p>Today I&#8217;m releasing <a href="http://katastrophos.net/qscrobbler">QScrobbler</a>: a <a href="http://www.last.fm" target="_blank">Last.fm / Audioscrobbler</a> add-on for <a href="http://katastrophos.net/quasar" target="_blank">Quasar Media Player</a>.</p>
<p>As with Quasar, I&#8217;ve been using QScrobbler for almost a year now and finally decided it is ready for the public. ;)<br />
For more details please visit the project&#8217;s homepage <a href="http://katastrophos.net/qscrobbler">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2007/12/24/qscrobbler/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Quasar Media Player</title>
		<link>http://katastrophos.net/andre/blog/2007/10/06/quasar-media-player/</link>
		<comments>http://katastrophos.net/andre/blog/2007/10/06/quasar-media-player/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 17:10:14 +0000</pubDate>
		<dc:creator>Andre</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Quasar Media Player]]></category>

		<category><![CDATA[Zaurus]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2007/10/06/quasar-media-player/</guid>
		<description><![CDATA[
Finally! Almost a year after the first mentioning of my new media player for the Sharp Zaurus and after several development hiati, I&#8217;m today officially releasing the Quasar Media Player for SharpROM- and pdaXrom-based distributions.
For more details please visit the project&#8217;s homepage here.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://katastrophos.net/quasar"><img src="http://www.katastrophos.net/zaurus/sources/quasar/quasar_logo.png" border="0" style="border: none" alt="Quasar Media Player" /></a></p>
<p>Finally! Almost a year after <a href="http://katastrophos.net/andre/blog/2006/12/19/yet-another-zaurus-media-player-done-differently-phase-1-teasing/">the first mentioning</a> of my new media player for the Sharp Zaurus and after several development hiati, I&#8217;m today officially releasing the Quasar Media Player for SharpROM- and pdaXrom-based distributions.<br />
For more details please visit the project&#8217;s homepage <a href="http://katastrophos.net/quasar">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2007/10/06/quasar-media-player/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Release: iTunes Alternative Encoders 1.5</title>
		<link>http://katastrophos.net/andre/blog/2007/09/22/new-release-itunes-alternative-encoders-15/</link>
		<comments>http://katastrophos.net/andre/blog/2007/09/22/new-release-itunes-alternative-encoders-15/#comments</comments>
		<pubDate>Sat, 22 Sep 2007 17:58:33 +0000</pubDate>
		<dc:creator>Andre</dc:creator>
		
		<category><![CDATA[OS X]]></category>

		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2007/09/22/new-release-itunes-alternative-encoders-15/</guid>
		<description><![CDATA[Yet another minor release of my iTunes script-suite iTunes Alternative Encoders. This one fixes a character encoding issue in the Ogg Vorbis encoder script. I figured this one out while debugging my Quasar Media Player with files containing Umlauts and other non-latin characters. Ogg Vorbis files produced with the previous version of the script contained [...]]]></description>
			<content:encoded><![CDATA[<p>Yet another minor release of my iTunes script-suite iTunes Alternative Encoders. This one fixes a character encoding issue in the Ogg Vorbis encoder script. I figured this one out while debugging my Quasar Media Player with files containing Umlauts and other non-latin characters. Ogg Vorbis files produced with the previous version of the script contained &#8220;#&#8221; in the tags instead of the correct characters.<br />
Get the fixed version while it&#8217;s hot: <strong><a href="http://katastrophos.net/andre/blog/software/itunes-encoder-scripts/">Download here</a></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2007/09/22/new-release-itunes-alternative-encoders-15/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Enhanced audio driver for Zaurus SL-C1000/C3&#215;00 available</title>
		<link>http://katastrophos.net/andre/blog/2007/08/09/enhanced-mixer-for-zaurus-sl-c1000c3x00-available/</link>
		<comments>http://katastrophos.net/andre/blog/2007/08/09/enhanced-mixer-for-zaurus-sl-c1000c3x00-available/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 22:43:16 +0000</pubDate>
		<dc:creator>Andre</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[Hack]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Zaurus]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2007/08/09/enhanced-mixer-for-zaurus-sl-c1000c3x00-available/</guid>
		<description><![CDATA[Today I&#8217;m officially releasing my extended driver and mixer for the Wolfson WM8750 CODEC / sound chip that comes included in the latest Zaurus models.
The driver exposes the following new features:

ability to set and control Treble, Bass and 3D stereo sound enhancement;
ability to set and control various cut-off frequencies supported by the sound chip;
output source [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;m officially releasing my extended driver and mixer for the <a href="http://www.wolfsonmicro.com/products/WM8750/" target="_blank">Wolfson WM8750</a> CODEC / sound chip that comes included in the latest Zaurus models.<br />
The driver exposes the following new features:</p>
<ul>
<li>ability to set and control Treble, Bass and 3D stereo sound enhancement;</li>
<li>ability to set and control various cut-off frequencies supported by the sound chip;</li>
<li>output source selection (Autodetect, Internal Speaker, Headphone).</li>
</ul>
<p>These features can be easily accessed via a Qt based mixer control app or directly via a /proc/driver/wm8750 kernel interface.</p>
<p><center><a href="http://katastrophos.net/andre/blog/wp-content/photos/wm8750mixer/wm8750mixer_pdaxrom_screenshot.png" target="_blank" title="WM8750 mixer control app running on pdaXii13 and X11." rel="lightbox[wm8750mixer]"><img src="http://katastrophos.net/andre/blog/wp-content/photos/wm8750mixer/thumb_wm8750mixer_pdaxrom_screenshot.png" alt="{wm8750mixer} WM8750 mixer control app running on pdaXii13 and X11." width="130" height="97" /></a><a href="http://katastrophos.net/andre/blog/wp-content/photos/wm8750mixer/wm8750mixer_sharprom_screenshot.png" target="_blank" title="WM8750 mixer control app running on Cacko ROM and Qtopia." rel="lightbox[wm8750mixer]"><img src="http://katastrophos.net/andre/blog/wp-content/photos/wm8750mixer/thumb_wm8750mixer_sharprom_screenshot.png" alt="{wm8750mixer} WM8750 mixer control app running on Cacko ROM and Qtopia." width="130" height="97" /></a></center></p>
<p>Both, the driver and the control app are <strong>available for Sharp ROM / Cacko ROM</strong> and <strong>pdaXrom beta 3 / pdaXii13</strong>.</p>
<p><strong>Kernel patches are available for Sharp&#8217;s Linux kernel 2.4.20 and can be downloaded here:</strong><br />
<a href="http://www.katastrophos.net/zaurus/sources/wm8750mixer/" target="_blank">http://www.katastrophos.net/zaurus/sources/wm8750mixer/</a><br />
(No kernel 2.6.x support yet. Sorry folks.)</p>
<p>By default the audio driver is compiled into the kernel. Sharp didn&#8217;t compile it as module, so it can&#8217;t be easily replaced. Same goes for most third party ROMs. <strong>You&#8217;ll have to reflash your kernel to install the new driver.</strong><br />
In case you don&#8217;t want to roll your own kernel, <strong>I&#8217;ve made pre-compiled kernels available for all supported ROMs and models here</strong>:</p>
<p><a href="http://www.katastrophos.net/zaurus/kernels/v55/" target="_blank">http://www.katastrophos.net/zaurus/kernels/v55/</a></p>
<p>The control app and start up scripts are available as IPK here:</p>
<p><a class="downloadlink" href="http://www.katastrophos.net/zaurus/sources/wm8750mixer/bin_sharprom/wm8750mixer_0.9_arm.ipk">wm8750mixer_0.9_arm.ipk - <strong>WM8750 mixer for Sharp ROM / Cacko ROM</strong></a><br />
<a class="downloadlink" href="http://www.katastrophos.net/zaurus/sources/wm8750mixer/bin_pdaxrom/wm8750mixer_0.92_armv5tel.ipk">wm8750mixer_0.92_armv5tel.ipk - <strong>WM8750 mixer for pdaXrom beta 3 / pdaXii13</strong></a></p>
<p>On a side note, we&#8217;ve been discussing the extended features of the WM8750 audio chip for quite some while in this <a href="http://www.oesf.org/forums/index.php?showtopic=23984&#038;st=0" target="_blank">thread</a> over at the OESF forums. I have the feeling the driver and the Qt application have received a fair bit of testing. So, that&#8217;s why I am officially releasing it today.</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2007/08/09/enhanced-mixer-for-zaurus-sl-c1000c3x00-available/feed/</wfw:commentRss>
		</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</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 long-term testing [...]]]></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; - 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="Shown is the new toolbar and play list selector." rel="lightbox[Quasar]"><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="The new play info screen. Cover art is supported and rendered in this funky view. Any Satch fans out there? ;)" rel="lightbox[Quasar]"><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="More eyecandy." rel="lightbox[Quasar]"><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="Normal list view filtered." rel="lightbox[Quasar]"><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>
		</item>
		<item>
		<title>New Release: iTunes Alternative Encoders 1.4</title>
		<link>http://katastrophos.net/andre/blog/2007/03/08/new-release-itunes-alternative-encoders-14/</link>
		<comments>http://katastrophos.net/andre/blog/2007/03/08/new-release-itunes-alternative-encoders-14/#comments</comments>
		<pubDate>Thu, 08 Mar 2007 01:06:25 +0000</pubDate>
		<dc:creator>Andre</dc:creator>
		
		<category><![CDATA[OS X]]></category>

		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2007/03/08/new-release-itunes-alternative-encoders-14/</guid>
		<description><![CDATA[I&#8217;ve updated the iTunes Alternative Encoders pack. The new version introduces a feature to split up the encoding process into simultaneously running parts, which essentially is a form of multithreading. This means you can now make perfect use of that multi-core/multi-CPU beast on or under your desk when encoding large amounts of files. ;)
Download here.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated the iTunes Alternative Encoders pack. The new version introduces a feature to split up the encoding process into simultaneously running parts, which essentially is a form of multithreading. This means you can now make perfect use of that multi-core/multi-CPU beast on or under your desk when encoding large amounts of files. ;)<br />
<strong><a href="http://katastrophos.net/andre/blog/software/itunes-encoder-scripts/">Download here</a></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2007/03/08/new-release-itunes-alternative-encoders-14/feed/</wfw:commentRss>
		</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</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 - this time on the performance when loading playlists.
Before I continue, let me give a brief overview of the structure:
Library -> Playlists < -> Media Cache
YAZMP doesn&#8217;t [...]]]></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 - 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 />
 <a href="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/#more-58" class="more-link">(more&#8230;)</a></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>
		</item>
		<item>
		<title>SQLite simple timing profiler patch</title>
		<link>http://katastrophos.net/andre/blog/2007/01/04/sqlite-simple-timing-profiler-patch/</link>
		<comments>http://katastrophos.net/andre/blog/2007/01/04/sqlite-simple-timing-profiler-patch/#comments</comments>
		<pubDate>Thu, 04 Jan 2007 10:27:10 +0000</pubDate>
		<dc:creator>Andre</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Hack]]></category>

		<guid isPermaLink="false">http://katastrophos.net/andre/blog/2007/01/04/sqlite-simple-timing-profiler-patch/</guid>
		<description><![CDATA[As a follow-up to my previous post &#8220;SQLite performance tuning and optimization on embedded systems&#8221; here is a very basic patch that introduces support for timing SQL queries in the sqlite3 console shell.
SQLite 3.3.8:
Patch against shell.c shell.c
SQLite 3.3.9 CVS - shell.c rev 1.157:
Patch against shell.c shell.c
Two new shell commands are introduced in sqlite3:

.profile ON&#124;OFF  [...]]]></description>
			<content:encoded><![CDATA[<p>As a follow-up to <a href="http://katastrophos.net/andre/blog/2007/01/04/sqlite-performance-tuning-and-optimization-on-embedded-systems/" target="_blank">my previous post &#8220;SQLite performance tuning and optimization on embedded systems&#8221;</a> here is a very basic patch that introduces support for timing SQL queries in the sqlite3 console shell.</p>
<p><strong>SQLite 3.3.8</strong>:<br />
<a class="downloadlink" href="http://katastrophos.net/downloads/sqlite/shell.c_sqlite3.3.8_profiling.patch">Patch against shell.c</a> <a class="downloadlink" href="http://katastrophos.net/downloads/sqlite/shell_sqlite3.3.8_profiling.c">shell.c</a></p>
<p><strong>SQLite 3.3.9 CVS</strong> - shell.c rev 1.157:<br />
<a class="downloadlink" href="http://katastrophos.net/downloads/sqlite/shell.c_sqlite3.3.9pre_profiling.patch">Patch against shell.c</a> <a class="downloadlink" href="http://katastrophos.net/downloads/sqlite/shell_sqlite3.3.9pre_profiling.c">shell.c</a></p>
<p>Two new shell commands are introduced in sqlite3:</p>
<pre>
.profile ON|OFF        Turn profiling on or off
.timer start|show      Measure elapsed CPU time
</pre>
<p><strong>.profile ON</strong> will turn off output to stdout. Instead it will display CPU execution time for every SQL command processed.<br />
Here is an example output:</p>
<pre>
<strong>sqlite></strong> .profile on
<strong>sqlite></strong> .read test1.sql
Exec time  BEGIN;                                       :  0.000 s.
Exec time  DROP TABLE IF EXISTS playlist_view;          :  0.020 s.
Exec time  DROP TABLE IF EXISTS overview;               :  0.000 s.
Exec time  CREATE TEMPORARY TABLE playlist_view AS   &#8230;  :  0.180 s.
Exec time  CREATE TEMPORARY TABLE overview AS        &#8230;  :  0.140 s.
Exec time  SELECT DISTINCT genre, genre IN (&#8221;Progress&#8230;  :  0.030 s.
&#8230;
</pre>
<p>Note: You can still override the output setting with the <strong>.output</strong> command after an <strong>.profile ON</strong> has been issued.<br />
<strong>.profile OFF</strong> will turn off time-based profiling and reenable output to stdout.</p>
<p><strong>.timer start</strong> will start a timer. You can execute a sequence of queries and then print the required CPU time via <strong>.timer show</strong>.<br />
Use <strong>.timer start</strong> again to reset the timer. This .timer patch is based on <a href="http://www.sqlite.org/cvstrac/tktview?tn=1227" target="_blank">SQLite ticket #1227</a> by Bartosz Polednia.</p>
<p>Timing is currently done using clock() which provides only a 10 ms precision for CPU time on most systems. This might be inadequate depending on your requirements. If you know a more precise way, please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://katastrophos.net/andre/blog/2007/01/04/sqlite-simple-timing-profiler-patch/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
