<?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>blog.ratio.dk</title>
	<atom:link href="http://blog.ratio.dk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ratio.dk</link>
	<description>Something about technology</description>
	<lastBuildDate>Sun, 10 Jan 2010 12:14:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Guide to Proper Fifa 10 PC Online Play</title>
		<link>http://blog.ratio.dk/2010/01/10/guide-to-proper-fifa-10-pc-online-play/</link>
		<comments>http://blog.ratio.dk/2010/01/10/guide-to-proper-fifa-10-pc-online-play/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 12:14:11 +0000</pubDate>
		<dc:creator>thomasp</dc:creator>
				<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://blog.ratio.dk/?p=129</guid>
		<description><![CDATA[I present here the problems I&#8217;ve run into, trying to get a proper online experience with Fifa 10 PC, as well as the solutions I&#8217;ve devised.
Problem 1: Connectivity
Trouble connecting to other players. Errors like the other player has disconnected or similar that stops the game before it actually begins.
Solution
In most situations this is probably caused [...]]]></description>
			<content:encoded><![CDATA[<p>I present here the problems I&#8217;ve run into, trying to get a proper online experience with Fifa 10 PC, as well as the solutions I&#8217;ve devised.</p>
<h3>Problem 1: Connectivity</h3>
<p>Trouble connecting to other players. Errors like the other player has disconnected or similar that stops the game before it actually begins.</p>
<h3>Solution</h3>
<p>In most situations this is probably caused by people sitting behind a router. When your opponent tries to connect to one of your ports, and you&#8217;re behind a router, the router will not carry the connection through unless it&#8217;s configured to do so. So you have to tell the router to forward requests for certain ports to the machine running Fifa 10 &#8211; something called Port Forwarding.</p>
<p>The ports you need to forward are (taken from the manual page 17)</p>
<ul>
<li>TCP/IP: 30440-30449</li>
<li>UDP: 3658, 3659, 9570</li>
</ul>
<p>I&#8217;ve omitted the ports 80 and 443 because you don&#8217;t need to forward those &#8211; or you shouldn&#8217;t.</p>
<h3>Problem 2: Players quitting the game prematurely</h3>
<p>If you&#8217;re losing the game, this is not a problem at all. So if you&#8217;re losing all games you need not read this section. However, if you&#8217;re winning a game against a poor sportsman, that person will quit the game before it&#8217;s over. This can be extremely irritating, and will cost you a win in the statistics unless it&#8217;s near the end of the game &#8211; in which case you&#8217;ll be awarded a win anyway.</p>
<h3>Solution</h3>
<p>Do <strong>not</strong> play opponents with a DNF (did not finish) of above 8%. This is absolutely crucial. Especially opponents with a lot of games played (say 200) that have a DNF of above 5% are very likely to be quitters.</p>
<p>It also helps to play opponents that match your skill level. In the online menu you can choose <strong><span style="color: #003366;">CUSTOM MATCH</span></strong> and then <strong><span style="color: #003366;">Create Ranked Session</span></strong>. The subsequent screen lets you choose only to play opponents that have a DNF of 10% or lower, and even opponents of the same skill level as you.</p>
<p>Use that and be picky. It&#8217;s really worth it getting a good game instead of getting a lot of worthless games that are ended prematurely.</p>
<h3>Problem 3: Games are lagging</h3>
<p>The games are lagging. It takes a while before a command issued to a player is carried through. Periodical lagging.</p>
<h3>Solution</h3>
<p>Be picky. In a lot of games you can&#8217;t see the opponent&#8217;s ping. Try asking about what it is, and if the other player can&#8217;t read, just find another game. I only play games with a ping below 85ms (or around that) simply because it&#8217;s no fun to play slow/lagging games.</p>
<p>Be sure to use your geographical knowledge as well. If you can spot that the flag of your opponent indicates that he&#8217;s located very far from your own location the game will probably be lagging, just because of the distance the information has to travel.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ratio.dk/2010/01/10/guide-to-proper-fifa-10-pc-online-play/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The `Magic: The Gathering` Engine is Online!</title>
		<link>http://blog.ratio.dk/2009/12/04/the-magic-the-gathering-engine-is-online/</link>
		<comments>http://blog.ratio.dk/2009/12/04/the-magic-the-gathering-engine-is-online/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 23:35:21 +0000</pubDate>
		<dc:creator>thomasp</dc:creator>
				<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://blog.ratio.dk/?p=119</guid>
		<description><![CDATA[What the headline said.
I&#8217;ve deployed the `Magic: The Gathering` Engine which is now available via
http://magic.ratio.dk/home
Basically it&#8217;s a deck builder that takes the prices of cards into account. It took some work to get it up, but I&#8217;m rather contend with the result. In any case I hope I&#8217;ll be able to take advantage of it [...]]]></description>
			<content:encoded><![CDATA[<p>What the headline said.</p>
<p>I&#8217;ve deployed the `Magic: The Gathering` Engine which is now available via</p>
<p><a href="http://magic.ratio.dk/home">http://magic.ratio.dk/home</a></p>
<p>Basically it&#8217;s a deck builder that takes the prices of cards into account. It took some work to get it up, but I&#8217;m rather contend with the result. In any case I hope I&#8217;ll be able to take advantage of it when building decks in the future.</p>
<p>Hopefully others will find it useful!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ratio.dk/2009/12/04/the-magic-the-gathering-engine-is-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fill volume up with data consisting of 0&#8217;s</title>
		<link>http://blog.ratio.dk/2009/10/08/fill-volume-up-with-data-consisting-of-0s/</link>
		<comments>http://blog.ratio.dk/2009/10/08/fill-volume-up-with-data-consisting-of-0s/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 23:40:29 +0000</pubDate>
		<dc:creator>thomasp</dc:creator>
				<category><![CDATA[Uncategorised]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[fsutil]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.ratio.dk/?p=112</guid>
		<description><![CDATA[Hard drives can be empty, and they can be mostly full. But they are never entirely full, are they?
Non-full hard drives are a nuisance to me. That being said, I&#8217;ve been looking into different ways of combating this phenomenon. Here&#8217;s a couple of solutions that don&#8217;t really work.

Find something useful to do with the free [...]]]></description>
			<content:encoded><![CDATA[<p>Hard drives can be empty, and they can be mostly full. But they are never entirely full, are they?</p>
<p>Non-full hard drives are a nuisance to me. That being said, I&#8217;ve been looking into different ways of combating this phenomenon. Here&#8217;s a couple of solutions that don&#8217;t <strong>really</strong> work.</p>
<ol>
<li>Find something useful to do with the free space like writing poetry in weighty Word documents that take up a couple of megabytes for each file.</li>
<li>Ignore it and rejoice because it&#8217;s nice to have free space, why not?</li>
<li>Enjoy life and drink plenty of coffee.</li>
</ol>
<p>Only one of these options is really feasible, and while it might be a good bet, it&#8217;s also possible to combine it with the correct answer to the question posed a long time ago.</p>
<p>On a Windows XP SP3 installation you will have access to the recommendable program that is fsutil. It comes with the system. For the sake of the example, let us say the drive letter in question is D.</p>
<p><code>fsutil volume diskfree D:</code><br />
This will print you the amount of free disk space free in bytes. Let&#8217;s say the number of bytes free is <span style="color: #800000;">1234567890</span>, why not. That&#8217;s just over a gigabyte! Now copy (or remember if you&#8217;re so inclined) the number of bytes free, and let your fingers dance to this command.</p>
<p><code>fsutil file createnew D:\MY_FILLER_FILE <span style="color: #800000;">1234567890</span></code><br />
Discounting external factors the D drive will now be full &#8211; not just close to. Incidentally it might be a bad idea to do this on the system drive (usually the C drive) as it&#8217;s very fond of disk space being free there. Try it though if you want Windows to suffer.</p>
<p><em>Note: Tested on Windows XP SP3 with the version of fsutil that come with that.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ratio.dk/2009/10/08/fill-volume-up-with-data-consisting-of-0s/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Feature Request for the Human Body</title>
		<link>http://blog.ratio.dk/2009/09/25/feature-request-for-the-human-body/</link>
		<comments>http://blog.ratio.dk/2009/09/25/feature-request-for-the-human-body/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 18:45:03 +0000</pubDate>
		<dc:creator>thomasp</dc:creator>
				<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://blog.ratio.dk/?p=108</guid>
		<description><![CDATA[Here&#8217;s a thought.
Could I please be equipped with a DC output in the next version? Seeing as I enjoy eating and thus generating far more energy than needed to sustain my bodily functions, it would be a neat feature. I&#8217;m sure there&#8217;s lots of other people in the industrialized world who would benefit from this [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a thought.</p>
<p>Could I please be equipped with a DC output in the next version? Seeing as I enjoy eating and thus generating far more energy than needed to sustain my bodily functions, it would be a neat feature. I&#8217;m sure there&#8217;s lots of other people in the industrialized world who would benefit from this as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ratio.dk/2009/09/25/feature-request-for-the-human-body/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encrypting a Harddisk Partition on Debian 5.0 &#8220;Lenny&#8221;</title>
		<link>http://blog.ratio.dk/2009/06/18/encrypting-harddisk-partition-on-debian-50-lenny/</link>
		<comments>http://blog.ratio.dk/2009/06/18/encrypting-harddisk-partition-on-debian-50-lenny/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 20:18:46 +0000</pubDate>
		<dc:creator>thomasp</dc:creator>
				<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://blog.ratio.dk/?p=90</guid>
		<description><![CDATA[As it happens I don&#8217;t know much about this. However, seeing as this is a blog and all, I don&#8217;t really have to, since someone have have already taken the time writing such a guide.
http://www.vectorspace.dk/2009/06/encrypted-partition-on-debian-5-0-with-secret-key-on-usb-stick/
It goes through the steps of

Encrypting a partition
Putting the key on a USB stick
Auto-mounting the USB stick with the key at [...]]]></description>
			<content:encoded><![CDATA[<p>As it happens I don&#8217;t know much about this. However, seeing as this is a blog and all, I don&#8217;t really have to, since someone have have already taken the time writing such a guide.</p>
<p><a href="http://www.vectorspace.dk/2009/06/encrypted-partition-on-debian-5-0-with-secret-key-on-usb-stick/">http://www.vectorspace.dk/2009/06/encrypted-partition-on-debian-5-0-with-secret-key-on-usb-stick/</a></p>
<p>It goes through the steps of</p>
<ol>
<li>Encrypting a partition</li>
<li>Putting the key on a USB stick</li>
<li>Auto-mounting the USB stick with the key at boot up</li>
<li><span style="text-decoration: line-through;">Making sweet coffee</span></li>
</ol>
<p>in a rather concisely explanatory manner.</p>
<p>Now I think I&#8217;ve used up today&#8217;s quota of English gibberish.</p>
<p>Thanks for reading thus far <strong><span style="color: #008000;">:)</span></strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ratio.dk/2009/06/18/encrypting-harddisk-partition-on-debian-50-lenny/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Quote Added: &#8220;Unbuntu&#8221;</title>
		<link>http://blog.ratio.dk/2009/03/23/quote-added-unbuntu/</link>
		<comments>http://blog.ratio.dk/2009/03/23/quote-added-unbuntu/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 14:45:00 +0000</pubDate>
		<dc:creator>thomasp</dc:creator>
				<category><![CDATA[Language]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unbuntu]]></category>

		<guid isPermaLink="false">http://blog.ratio.dk/?p=86</guid>
		<description><![CDATA[While I was scanning the headlines I stumbled upon what would appear to be a spelling error. On second- and third glance my previous interpretation shattered, and I concocted a definition by which I shall hereafter refer to frequently (given the right circumstances, however improbable they might be).
&#8220;To unbuntu&#8221; is the act of changing away [...]]]></description>
			<content:encoded><![CDATA[<p>While I was scanning the headlines I stumbled upon what would appear to be a spelling error. On second- and third glance my previous interpretation shattered, and I concocted a <strong>definition </strong>by which I shall hereafter refer to frequently (given the right circumstances, however improbable they might be).</p>
<blockquote><p><strong>&#8220;To unbuntu&#8221;</strong> is the act of changing away from using the <span style="color: #993300;">Ubuntu </span>operating system. As such <strong>&#8220;to unbuntu&#8221;</strong> could refer to installing <span style="color: #000080;">Windows 3.1</span> replacing an existing <span style="color: #993300;">Ubuntu </span>install.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.ratio.dk/2009/03/23/quote-added-unbuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proftpd Without UNIX Users on Debian</title>
		<link>http://blog.ratio.dk/2009/02/01/proftpd-without-unix-users-on-debian/</link>
		<comments>http://blog.ratio.dk/2009/02/01/proftpd-without-unix-users-on-debian/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 19:01:02 +0000</pubDate>
		<dc:creator>thomasp</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[proftpd]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[virtual users]]></category>

		<guid isPermaLink="false">http://blog.ratio.dk/?p=61</guid>
		<description><![CDATA[&#8220;So how do I setup a Proftpd FTP server on Debian without the hassle of using UNIX accounts for users of my server&#8220;, you might ask. &#8220;Brilliant question&#8221; I might respond. For the sake of clarity however, here follow what information I&#8217;ve been able to piece together during the last few units of time.
Before we [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;<span style="color: #993300;">So how do I setup a Proftpd FTP server on Debian without the hassle of using UNIX accounts for users of my server</span>&#8220;, you might ask. &#8220;<strong><span style="color: #800080;">Brilliant question</span></strong>&#8221; I might respond. For the sake of clarity however, here follow what information I&#8217;ve been able to piece together during the last few units of time.</p>
<p>Before we go into detail on how it&#8217;s actually done, let&#8217;s take some time to reflect upon what we shall expect of this server:</p>
<ul>
<li> No need for having UNIX users in order to log in</li>
<li>In particular do not allow UNIX users to log in</li>
<li>Jail users into their home directory</li>
<li><span style="text-decoration: line-through;">Make delicious coffee</span></li>
</ul>
<p>First become root with</p>
<p><code>su</code></p>
<p>or</p>
<p><code>sudo su</code></p>
<p>if you&#8217;re on a weird system (e.g. Ubuntu).</p>
<p>Fetch the package typing</p>
<p><code>apt-get install proftpd</code></p>
<p>The installer will ask you if you whether you want it to run on top of inetd or as a <strong>standalone </strong>service. <strong>Choose standalone</strong> because the other is rubbish or at least not very good (thank God this is a blog, so I don&#8217;t have to justify my opinions!).</p>
<h2>Editing the Configuration File</h2>
<p>Next up is the configuration. I won&#8217;t go into irrelevant features such as virtual hosts, but if that&#8217;s what you want you&#8217;d best check out the example configurations at the <a href="http://www.proftpd.org/docs/example-conf.html">official site</a>. They&#8217;re actually pretty explanatory.</p>
<p>Start editing the <strong>configuration file</strong> using your editor of choice. This example features emacs.</p>
<p><code>emacs /etc/proftpd/proftpd.conf</code></p>
<p>The order in which the following is written is not important. It is important though, that it does NOT get stuck inside any XMLish tags such as &#8230;</p>
<p>This is what my <span style="color: #0000ff;">/etc/proftpd/proftpd.conf</span> includes:</p>
<p><code># enable virtual users' shell to be /bin/false<br />
RequireValidShell off<br />
# disable logins from UNIX users.<br />
# to enable UNIX users too,<br />
# add mod_unix.c to the space-separated list<br />
AuthOrder mod_auth_file.c<br />
# auth files<br />
AuthUserFile    /etc/proftpd/ftpd.passwd<br />
AuthGroupFile   /etc/proftpd/ftpd.group<br />
# jail the users in their home directories<br />
DefaultRoot ~</code></p>
<p>The alert user instantly notices the files <span style="color: #0000ff;">/etc/proftpd/ftpd.passwd</span> and <span style="color: #0000ff;">/etc/proftpd/ftpd.group</span>. They are the virtual user equivalent of <span style="color: #0000ff;">/etc/passwd</span> and <span style="color: #0000ff;">/etc/group</span> which are <em>the files Proftpd would have used</em> had we not told it otherwise. Other than the fact that they share the exact same format, they are in no way connected in our setup. Proftpd doesn&#8217;t know about any other password/group files than the two specified in the new configuration file.</p>
<h2>Creating the ftpd.passwd file</h2>
<p>If you&#8217;re not into editing the <span style="color: #0000ff;">ftpd.passwd</span> by hand, you can use the <strong>ftpasswd </strong>script made available from <a href="http://www.castaglia.org/proftpd/">http://www.castaglia.org/proftpd/</a>. At the time of writing it can be obtained using</p>
<p><code>wget http://www.castaglia.org/proftpd/contrib/ftpasswd</code></p>
<p>It is a Perl script. First make it executable</p>
<p><code>chmod +x ftpasswd</code></p>
<p>The usage example featured here has will make a user with the username &#8216;<strong><span style="color: #008000;">john</span></strong>&#8216; with user id &#8216;<strong><span style="color: #008000;">1</span></strong>&#8216; and group id &#8216;<strong><span style="color: #008000;">1</span></strong>&#8216;, having a <em>disabled shell</em> and save this user to the <span style="color: #0000ff;">/etc/proftpd/ftpd.passwd</span> password file.</p>
<p><code>./ftpasswd --passwd --file=/etc/proftpd/ftpd.passwd --name=john --uid=1 --gid=1 --home=/home/ftp --shell=/bin/false</code></p>
<p>The next user should have a different id (e.g. &#8216;2&#8242;).</p>
<p>To allow users to <em>modify files</em> you can choose to make it writable by any user of the system. Recall however that you&#8217;ve already jailed each user to his/her home directory, so the damage potential is rather limited. My example uses the <span style="color: #0000ff;">/home/ftp</span> folder as the home dir, so let&#8217;s remove the restrictions on that directory.</p>
<p><code>chmod 777 /home/ftp</code></p>
<p>Now all that&#8217;s left to do is restarting the server.</p>
<p><code>/etc/init.d/proftpd restart</code></p>
<p>If you&#8217;ve read this far I really hope it&#8217;s working for you! If not or if you have rants/comments about this guide, feel free to vent in the comments-section.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ratio.dk/2009/02/01/proftpd-without-unix-users-on-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Subversion on Debian 4.0 &#8220;Etch&#8221;</title>
		<link>http://blog.ratio.dk/2009/01/27/subversion-on-debian-40-etch/</link>
		<comments>http://blog.ratio.dk/2009/01/27/subversion-on-debian-40-etch/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 07:47:36 +0000</pubDate>
		<dc:creator>thomasp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[svnserve]]></category>

		<guid isPermaLink="false">http://blog.ratio.dk/?p=53</guid>
		<description><![CDATA[It sounds like a simple task, and it is. There are three ways of making Subversion repositories available:

 HTTP/DAV
 svn+ssh
 svnserve

On my server I&#8217;ve chosen svnserve since (1) HTTP/DAV is just too heavy for my limited purpose and svn+ssh requires me to add UNIX users for every user of my repository. svnserve on the other [...]]]></description>
			<content:encoded><![CDATA[<p>It sounds like a simple task, and it is. There are three ways of making Subversion repositories available:</p>
<ol>
<li> HTTP/DAV</li>
<li> svn+ssh</li>
<li> <strong>svnserve</strong></li>
</ol>
<p>On my server I&#8217;ve chosen <strong>svnserve </strong>since (1) HTTP/DAV is just too heavy for my limited purpose and svn+ssh requires me to add UNIX users for every user of my repository. <strong>svnserve</strong> on the other hand is really simple to setup, and it doesn&#8217;t require any additional software such as an Apache web server.</p>
<p>First we need Subversion:</p>
<p><code>apt-get install subversion</code></p>
<p>This package includes <strong>svnserve</strong>, so naturally we&#8217;re ecstatically joyous already. Incidentally I like having my Subversion repositories situated in /var/svn/, so let&#8217;s create a repository here.</p>
<p><code>svnadmin create /var/svn/MyRepository</code></p>
<p>Next up is the configuration. We start by editing <span style="color: #0000ff;">svnserve.conf</span> using some text editor capable of editing. Personally I prefer emacs for this task.</p>
<p><code>emacs /var/svn/MyRepository/conf/<span style="color: #0000ff;">svnserve.conf</span></code></p>
<p>This is what it could look like.<br />
<code>[general]<br />
anon-access = none<br />
auth-access = write<br />
password-db = passwd<br />
realm = MyRepository<br />
</code><br />
Line three (password-db = passwd) requires follow-up, since it says we&#8217;ll be using a password file called <span style="color: #0000ff;">passwd</span>.</p>
<p><code>emacs /var/svn/MyRepository/conf/<span style="color: #0000ff;">passwd</span></code></p>
<p>My preferred token name is &#8220;john&#8221; and his password is &#8220;secret&#8221; apparently.<br />
<code>[users]<br />
john = secret<br />
</code><br />
All that is left to do is starting <strong>svnserve</strong>.</p>
<p><code>svnserve -d --listen-host example.com -r /var/svn</code></p>
<p>This will start <strong>svnserve</strong> in daemon mode (-d) with /var/svn as its root (-r). Thus MyRepository will be accessible via</p>
<p><code>svn://example.com/MyRepository</code></p>
<p>using the username john and the password secret. As it happens any other repository situated in /var/svn/* will also be accessible via the <strong>svnserve</strong> daemon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ratio.dk/2009/01/27/subversion-on-debian-40-etch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing Huge Music Collections: Power Tools</title>
		<link>http://blog.ratio.dk/2009/01/11/managing-huge-music-collections-power-tools/</link>
		<comments>http://blog.ratio.dk/2009/01/11/managing-huge-music-collections-power-tools/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 18:50:27 +0000</pubDate>
		<dc:creator>thomasp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[album cover]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[Bulk Rename Utility]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[Foobar2000]]></category>
		<category><![CDATA[id3]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[Mp3tag]]></category>

		<guid isPermaLink="false">http://blog.ratio.dk/?p=34</guid>
		<description><![CDATA[Directory Structure and File Name Layout
I prefer to keep my audio files named as such:
Artist/Album/01 Name of Song.mp3
Achieving a consistent naming scheme requires either loads of time and patience or a genuine power tool. I have found that Bulk Rename Utility is a indispensable tool for almost any file naming job, and it is thus [...]]]></description>
			<content:encoded><![CDATA[<h3>Directory Structure and File Name Layout</h3>
<p>I prefer to keep my audio files named as such:</p>
<blockquote><p>Artist/Album/01 Name of Song.mp3</p></blockquote>
<p>Achieving a consistent naming scheme requires either loads of time and patience or a genuine power tool. I have found that <a href="http://www.bulkrenameutility.co.uk/Download.php" target="_blank">Bulk Rename Utility</a> is a indispensable tool for almost any file naming job, and it is thus highly recommended.</p>
<h3>ID3 Tag Editing Including Album Cover Embedding</h3>
<p>With regards to ID3 tag editing there are two excellent choices: <a href="http://www.foobar2000.org/" target="_blank">Foobar2000</a> and <a href="http://mp3tag.de/en/download.html" target="_blank">Mp3tag</a>. I do prefer the former, but only for the somewhat easier navigation. Foobar2000 does however not support album cover embedding. This concept enables JPEG images to be embedded in the ID3 tag of MP3 audio files, and is supported by Mp3tag.</p>
<p>It is even possible to automate the embedding if album covers if they reside in the folders of the albums. Suppose each cover is named <span style="color: #0000ff;">folder.jpg</span>. Drag all relevant folders into Mp3tag, select all the files and press Shift+Alt+5. Select <span style="color: #0000ff;">Import Cover From File</span> and type <span style="color: #0000ff;">folder.jpg</span> as the format string. The album covers are then automatically embedded in each audio file.</p>
<p>Using Foobar2000 for ID3 tag editing (<span style="color: #0000ff;">Alt+Enter</span> or <span style="color: #0000ff;">right click</span> followed by <span style="color: #0000ff;">Properties</span>) enables one to make use of the magnificent Automatically Fill Values feature. If for instance one&#8217;s naming scheme for files is the track number followed by a single space followed by the title of the track, then this pattern will fill those exact values correctly:</p>
<blockquote><p>%TRACKNUMBER% %TITLE%</p></blockquote>
<h3>Conversion Between All Sorts of Formats</h3>
<p>If one wish to convert massive amounts of audio files from one format to another <a href="http://www.foobar2000.org/" target="_blank">Foobar2000</a> is the way to go. Like everything else in Foobar2000 converting is really easy. Just import the audio files, select them, right click and choose <span style="color: #0000ff;">Convert </span>followed by <span style="color: #0000ff;">Convert to Same Folder</span> (for convenience). If you want a file naming scheme that is not retarded you can choose <span style="color: #0000ff;">More Settings</span> and insert</p>
<blockquote><p>[%tracknumber% ]%title%</p></blockquote>
<p>into the <span style="color: #0000ff;">Single tracks</span> field.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ratio.dk/2009/01/11/managing-huge-music-collections-power-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing Huge Music Collections: Formats &amp; Players</title>
		<link>http://blog.ratio.dk/2009/01/11/managing-huge-music-collections-formats-players/</link>
		<comments>http://blog.ratio.dk/2009/01/11/managing-huge-music-collections-formats-players/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 17:10:24 +0000</pubDate>
		<dc:creator>thomasp</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[flac]]></category>
		<category><![CDATA[monkey's audio]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[ogg vorbis]]></category>

		<guid isPermaLink="false">http://blog.ratio.dk/?p=19</guid>
		<description><![CDATA[About Formats
The truth is there is no truth. If however one wish to bet on the winning horse, then MP3 is definitely the format of choice. Although MP3 is a lossy format and thus degrades the quality of your precious and costly CDs, it is still the most widely used and therefore supported by virtually [...]]]></description>
			<content:encoded><![CDATA[<h3>About Formats</h3>
<p>The truth is there is no truth. If however one wish to bet on the winning horse, then <strong><span style="color: #008000;">MP3</span></strong> is definitely the format of choice. Although <strong><span style="color: #008000;">MP3 </span></strong>is a lossy format and thus degrades the quality of your precious and costly CDs, it is still the most widely used and therefore supported by virtually all hardware- and software players out there.</p>
<p>Another possibility is to use <strong><span style="color: #0000ff;">FLAC</span></strong>. This stands for free lossless audio codec and so it is. However it is not supported by the major players including iTunes and iPods which make it good for nothing but storing your CDs on the computer for later conversion. With an acceptable compression level <strong><span style="color: #0000ff;">FLAC </span></strong>will take up half the space on the hard drive as uncompressed <strong><span style="color: #ff0000;">WAV </span></strong>files do. It is comparable to having the negatives from a film lying around for later development in whatever size suitable, which I find very settling given the perishability of compact discs.</p>
<p>The alert reader will notice that both the lossy and the lossless format I have highlighted here are in fact technologically inferiors. <strong><span style="color: #800080;">Monkey&#8217;s Audio</span></strong> is a technically better format than <strong><span style="color: #0000ff;">FLAC</span></strong>, and <strong><span style="color: #ff6600;">Ogg Vorbis</span></strong> beats <strong><span style="color: #008000;">MP3 </span></strong>when it comes to compression rates. Why then still highlight <strong><span style="color: #0000ff;">FLAC </span></strong>and <strong><span style="color: #008000;">MP3</span></strong>? Because availability is the only thing that is really important when it comes to formats. If my iPod (hypothetical remark, I don&#8217;t own Apple equipment) does not play <strong><span style="color: #ff6600;">Ogg Vorbis</span></strong>, then it isn&#8217;t really better than <strong><span style="color: #008000;">MP3 </span></strong>since it doesn&#8217;t work.</p>
<h3>About Software Players</h3>
<p>Over the time I have used a lot of different software players, because no one player had just what I thought I was looking for.</p>
<h4><a href="http://www.foobar2000.org/" target="_blank">Foobar2000</a> (Windows)</h4>
<p>As far as I am aware this is the most customisable audio player out there. All this flexibility however, comes the price of work on your part. Gradually as my needs changed I found it to be rather tedious having to invest a lot of time changing the player too. The player features</p>
<ul>
<li>An excellent ID3 tag editor for editing massive amounts of audio files</li>
<li>An unrivalled conversion tool for converting <strong><span style="color: #0000ff;">FLAC </span></strong>into <strong><span style="color: #008000;">MP3 </span></strong>or <strong><span style="color: #ff0000;">WAV </span></strong>into <strong><span style="color: #0000ff;">FLAC</span></strong></li>
<li>Support for every interesting format</li>
<li>Doesn&#8217;t try to do everything for you</li>
</ul>
<h4><a href="http://www.getsongbird.com/" target="_blank">SongBird</a> / <a href="http://www.apple.com/itunes/" target="_blank">iTunes</a> (Windows)</h4>
<p>I am mentioning these two players in the same heading since they are very similar to my mind in their workings. The main difference I find is that SongBird is open source. As opposed to Foobar2000 these players are not very customisable but requires one to setup everything in a certain maner. They assume that their users are numbskulls which ironically means that it&#8217;s harder to figure out how to use them reasonably than Foobar2000 or WinAmp for instance. The features of these players include</p>
<ul>
<li>Looking good without too much work</li>
<li>Feels finished (applies especially to iTunes)</li>
<li>Easily navigated by friends who are not necessarily very tech savvy</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.ratio.dk/2009/01/11/managing-huge-music-collections-formats-players/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

