<?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>manski&#039;s blog &#187; Software</title>
	<atom:link href="http://manski.net/topics/technik/computer/software-computer-technik/feed/" rel="self" type="application/rss+xml" />
	<link>http://manski.net</link>
	<description></description>
	<lastBuildDate>Fri, 11 May 2012 07:20:00 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Assign DNS name to virtual machine (here: Parallels Desktop 7)</title>
		<link>http://manski.net/2011/12/28/assign-dns-name-to-virtual-machine-here-parallels-desktop-7/</link>
		<comments>http://manski.net/2011/12/28/assign-dns-name-to-virtual-machine-here-parallels-desktop-7/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 10:55:32 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1804</guid>
		<description><![CDATA[Assigning a DNS name to a virtual machine can be a convenient thing. Do this is not very complicated, it requires some technical skill though. This tutorial shows how to do this with a Ubuntu 11.10 Linux server running under Parallels Desktop 7 on Mac OS X Lion. The basic principals described in this article [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-01-30 14:44:06 -->Assigning a DNS name to a virtual machine can be a convenient thing. Do this is not very complicated, it requires some technical skill though. This tutorial shows how to do this with a Ubuntu 11.10 Linux server running under Parallels Desktop 7 on Mac OS X Lion. The basic principals described in this article work as well for any other combination, but that&#8217;s beyond this article (and that&#8217;s where your technical skill comes into play).</p>
<p><span id="more-1804"></span></p>
<h1 id="requirements">Requirements</h1>
<p>This article assumes that you&#8230;</p>
<ul>
<li class="first-item">&#8230; know your way around your operating system (Windows, Mac OS X, &#8230;)</li>
<li>&#8230; know what an IP address is and what&#8217;s it used for</li>
<li class="last-item">
<p>&#8230; have installed a hyper visor (e.g. VMWare, Parallels, or Virtual Box) and created a virtual machine with it.</p>
</li>
</ul>
<p>That&#8217;s basically it.</p>
<h1 id="the_goal">The Goal</h1>
<p>The goal is to be able to do something like this:</p>
<pre class="code">$ ping ubuntu-server
PING ubuntu-server (10.211.55.2): 56 data bytes
64 bytes from 10.211.55.2: icmp_seq=0 ttl=64 time=0.479 ms
64 bytes from 10.211.55.2: icmp_seq=1 ttl=64 time=0.348 ms
64 bytes from 10.211.55.2: icmp_seq=2 ttl=64 time=0.452 ms</pre>
<p>Here, we used the DNS name of our virtual server (called <code>ubuntu-server</code>) to do a ping. We didn&#8217;t need to know its IP address &#8211; which is the point of using DNS names. So, how does one assign such a name to a virtual server? That&#8217;s what this article is about.</p>
<h1 id="the_short_version">The Short Version</h1>
<p>If you really know your way around your OS, here&#8217;s the short version of what we&#8217;re going to do:</p>
<ol>
<li class="first-item">Assign a static IP address to the virtual machine (from within the virtual machine; see reasoning <a href="#static_ip_reasoning">below</a>)</li>
<li class="last-item">
<p>Add an entry to the OS&#8217; <code>hosts</code> file</p>
</li>
</ol>
<p>The remainder of this article describes the points above in more detail.</p>
<h1 id="static_ip_reasoning">Assign a static IP address</h1>
<p>To assign a static IP address (i.e. one that stays the same every time you start your virtual machine) one can think of two ways of doing this:</p>
<ol>
<li class="first-item">Let the virtual machine (i.e. the simulat<em>ed</em> computer) decide what IP address to use.</li>
<li class="last-item">
<p>Let the hyper visor (i.e. the simulat<em>ing</em> program) decide what IP address to use.</p>
</li>
</ol>
<p>In my opinion that latter would be the cleaner way. Simply tell your hyper visor software what IP address to assign to the virtual machine. Unfortunately that&#8217;s no that simple. A virtual machine could itself simulate multiple network adapters where each one would acquire an IP address. Which of these adapters then would the hyper visor assign the static IP address to? That&#8217;s probably why none of the hyper visors I used provided an option for this (at least none that&#8217;s easily reachable).</p>
<p>So, the way to go is to let the virtual machine (i.e. the simulated computer) decide which IP address to use.</p>
<h2 id="free_some_ip_addresses_.28from_the_dhcp_server.29">Free some IP addresses (from the DHCP server)</h2>
<p>To use an IP address we first need to make sure that there are IP addresses free to be used. By default, at least in Parallels Desktop, the DHCP server take up all available IP addresses in the specified IP range. So let&#8217;s change that. (This probably requires all virtual machines to be shut down.)</p>
<div class="align-center image-align-center"><a href="http://manski.net/wordpress/wp-content/uploads/2011/12/parallels-settings.png" rel="shadowbox[sbpost-1804];player=img;" title="Parallels Network Settings 1"><img src="http://manski.net/wordpress/wp-content/plugins/blogtext/api/thumbnail/do.php?id=b0e786e804fb3ee30159c7c58307743977d63d27_300x300_resize_if_larger" title="Parallels Network Settings 1" alt="Parallels Network Settings 1" width="300" height="103"/></a></div>
<div class="align-center image-align-center"><a href="http://manski.net/wordpress/wp-content/uploads/2011/12/parallels-network-settings.png" rel="shadowbox[sbpost-1804];player=img;" title="Parallels Desktop Network Settings 2"><img src="http://manski.net/wordpress/wp-content/plugins/blogtext/api/thumbnail/do.php?id=f60953f679f7a0d337332c63fc4ea5a349f09220_300x300_resize_if_larger" title="Parallels Desktop Network Settings 2" alt="Parallels Desktop Network Settings 2" width="300" height="361"/></a></div>
<p>In Parallels Desktop, go to the program&#8217;s settings (not the settings of the virtual machine), then to <code>Advanced</code> and click on <code>Change Settings...</code> (as shown in the first screenshot). This will open the network settings. There you select the network type you used for your virtual machine (either <code>Shared</code> or <code>Host-Only</code>) and change the last number group of the IPv4 DHCP start address. I&#8217;ve set it to 20 in the screenshot above. This will free the first 20 IP addresses (1 &#8211; 19) so that they can be used as static IP addresses.</p>
<h2 id="assign_the_static_ip_address_in_the_virtual_machine">Assign the static IP address in the virtual machine</h2>
<p>Next, start the virtual machine you want to assign a name to. Here you need to assign it one of the IP addresses we&#8217;ve just freed. This procedure highly depends on the operating system your virtual machine is running. So, I&#8217;ve compile a small list of how to do this on some of the popular operating systems:</p>
<ul>
<li class="first-item"><a href="http://www.onlinehowto.net/how-to-change-my-ip-address-in-windows-xp/810" target="_blank">Windows XP</a></li>
<li><a href="http://windows.microsoft.com/en-US/windows7/Change-TCP-IP-settings" target="_blank">Windows 7</a></li>
<li><a href="http://www.addictivetips.com/ubuntu-linux-tips/how-to-assign-static-ip-address-in-ubuntu-linux/" target="_blank">Ubuntu with graphical desktop</a></li>
<li class="last-item">
<p><a href="http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-static-ip-address/" target="_blank">Ubuntu/Debian with console only</a></p>
</li>
</ul>
<p>What to enter:</p>
<ul>
<li class="first-item"><strong>IP address:</strong> The IP address you want to assign to the virtual machine. It doesn&#8217;t really matter which one you choose as long as it&#8217;s not used for any other virtual machine. (You may start with number <code>1</code> for the last number block.) In my case, I&#8217;ve assigned the address &#8220;10.211.55.2&#8243; to the virtual machine.</li>
<li><strong>Subnet Mask:</strong> Should be &#8220;255.255.255.0&#8243;, unless you know what you&#8217;re doing.</li>
<li><strong>Gateway:</strong> The IP address of the virtual router of your hyper visor. In Parallels Desktop this is the first IP address of the IP range specified in the options. In my case, this is &#8220;10.211.55.20&#8243; (see the screenshot above).</li>
<li class="last-item">
<p><strong>DNS Server:</strong> This is usally the same address as the gateway.</p>
</li>
</ul>
<h1 id="add_ip_address_to_hosts">Add IP address to hosts</h1>
<p>The last step is to add the newly assign static IP address to the <code>hosts</code> file of the host OS (i.e. not the guest OS). Fortunately, this file has the same format on most operating systems (including Windows, Mac OS, and Linux). Only the directory where to find it is different:</p>
<ul>
<li class="first-item">Windows: <code>%SystemRoot%\system32\drivers\etc\hosts</code></li>
<li>Linux/Mac OS X: <code>/etc/hosts</code></li>
<li class="last-item">
<p><a href="http://en.wikipedia.org/wiki/Hosts_(file)" target="_blank">Other operating systems and more details</a></p>
</li>
</ul>
<p>The format of the <code>hosts</code> is quite simple. Each line contains of a IP address and the DNS name(s) that are assigned to it. For example:</p>
<pre class="code">10.211.55.2  ubuntu-server</pre>
<p>On Mac OS X I recommend using <a href="http://www.barebones.com/products/textwrangler/" target="_blank">TextWrangler</a>. It&#8217;s a free text editor for Mac OS X that allows you to edit hidden and locked files (both applies to the <code>hosts</code> file). I&#8217;ve created an article for this topic <a href="http://manski.net/2011/12/28/editing-hidden-and-locked-files-on-mac-os-x-with-textwrangler/">here</a>.</p>
<p>After you&#8217;ve changed the <code>hosts</code> file, you may need to run the following command (from the &#8220;Terminal&#8221;):</p>
<pre class="code">$ dscacheutil -flushcache</pre>
<p>Now you should be able to ping your virtual machine by using its name rather than its IP address.</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/12/28/assign-dns-name-to-virtual-machine-here-parallels-desktop-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing hidden and locked files on Mac OS X with TextWrangler</title>
		<link>http://manski.net/2011/12/28/editing-hidden-and-locked-files-on-mac-os-x-with-textwrangler/</link>
		<comments>http://manski.net/2011/12/28/editing-hidden-and-locked-files-on-mac-os-x-with-textwrangler/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 10:46:46 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[system files]]></category>
		<category><![CDATA[textwrangler]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1807</guid>
		<description><![CDATA[Sometimes one needs to edit a system configuration file on Mac OS X. While these files are usually text files, you can&#8217;t used Mac OS&#8217; &#8220;TextEdit&#8221; tool to do this. Fortunately, there is a free alternative to &#8220;TextEdit&#8221; called TextWrangler. Important: Make sure that you don&#8217;t use the AppStore version as this version doesn&#8217;t allow [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-01-30 14:44:07 -->Sometimes one needs to edit a system configuration file on Mac OS X. While these files are usually text files, you can&#8217;t used Mac OS&#8217; &#8220;TextEdit&#8221; tool to do this. Fortunately, there is a free alternative to &#8220;TextEdit&#8221; called <a href="http://www.barebones.com/products/textwrangler/" target="_blank">TextWrangler</a>.</p>
<p><strong>Important:</strong> Make sure that you <em>don&#8217;t use the AppStore version</em> as this version doesn&#8217;t allow editing locked files. (Apple&#8217;s store guidelines prohibit this.)</p>
<p>First, select <code>File</code> &#8211;> <code>Open...</code> from the menu. Then, since system configuration files are often hidden or in hidden folders, select <code>Show hidden items</code> at the bottom of the &#8220;Open&#8221; dialog.</p>
<div class="align-center image-align-center"><a href="http://manski.net/wordpress/wp-content/uploads/2011/12/textwrangler-open-dialog.png" rel="shadowbox[sbpost-1807];player=img;" title="Open Dialog in TextWrangler"><img src="http://manski.net/wordpress/wp-content/plugins/blogtext/api/thumbnail/do.php?id=298da8b068ba252376dce809c04bef2fc58bd23d_500x500_resize_if_larger" title="Open Dialog in TextWrangler" alt="Open Dialog in TextWrangler" width="500" height="553"/></a></div>
<p>Then open the file you want to edit. You may notice that the file is in read-only mode (represented by the icon in the upper left corner).</p>
<div class="align-center image-align-center"><img src="http://manski.net/wordpress/wp-content/uploads/2011/12/textwrangler-readonly.png" title="TextWrangler in read-only mode" alt="TextWrangler in read-only mode"/></div>
<p>To switch to write mode, either click this icon or start editing the file&#8217;s content. In both cases you&#8217;ll be asked to unlock the file. After that, you can edit the file.</p>
<p>When you&#8217;re done, simply save the file. You&#8217;ll be asked for your password since you&#8217;re editing a system file (that doesn&#8217;t belong to you). And that&#8217;s it.</p>
<p><em>Note:</em> The AppStore version doesn&#8217;t ask you for your password but instead asks you to save the file under a different name.</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/12/28/editing-hidden-and-locked-files-on-mac-os-x-with-textwrangler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exploits of a mom</title>
		<link>http://manski.net/2011/10/31/exploits-of-a-mom/</link>
		<comments>http://manski.net/2011/10/31/exploits-of-a-mom/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 16:29:03 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1713</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-01-30 14:44:07 -->
<div class="align-center image-align-center"><img src="http://manski.net/wordpress/wp-content/uploads/2011/10/exploits_of_a_mom.png" title="Exploits of a Mom" alt="Exploits of a Mom"/></div>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/10/31/exploits-of-a-mom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>X11</title>
		<link>http://manski.net/2011/10/12/x11/</link>
		<comments>http://manski.net/2011/10/12/x11/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 07:44:56 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1708</guid>
		<description><![CDATA[(via xkcd.com)]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-01-30 14:44:07 -->
<div class="align-center image-align-center"><img src="http://manski.net/wordpress/wp-content/uploads/2011/10/x11.png" title="X11-Zufriedensheitsgraph" alt="X11-Zufriedensheitsgraph"/></div>
<p>(via <a href="http://xkcd.com/963/" target="_blank">xkcd.com</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/10/12/x11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bundestrojaner 4 Mac</title>
		<link>http://manski.net/2011/10/11/bundestrojaner-4-mac/</link>
		<comments>http://manski.net/2011/10/11/bundestrojaner-4-mac/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 07:19:12 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[bundestrojaner]]></category>
		<category><![CDATA[macosx]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1704</guid>
		<description><![CDATA[Nach intensiven Protesten durch verärgerte Apple-Nutzer ist der Bundestrojaner ab demnächst endlich auch für Mac-Computer verfügbar. Der Bundestrojanerbeauftragte beteuerte, die App bereits zur Prüfung an den Appstore übermittelt zu haben. Dort werde überprüft, ob ggf. Urheberrechte verletzt würden oder unzulässige Worte wie “Fuck”, “Bitch” oder “Android” im Quelltext der Anwendung vorkämen. Sehr lustig. Hier der [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-01-30 14:44:07 --><br />
<blockquote> Nach intensiven Protesten durch verärgerte Apple-Nutzer ist der Bundestrojaner ab demnächst endlich auch für Mac-Computer verfügbar. Der Bundestrojanerbeauftragte beteuerte, die App bereits zur Prüfung an den Appstore übermittelt zu haben. Dort werde überprüft, ob ggf. Urheberrechte verletzt würden oder unzulässige Worte wie “Fuck”, “Bitch” oder “Android” im Quelltext der Anwendung vorkämen.
</p></blockquote>
<p>Sehr lustig. <a href="http://saschalobo.com/2011/10/09/bundestrojaner-fuer-mac/" target="_blank">Hier der vollständige Text.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/10/11/bundestrojaner-4-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Triggering a build when file changed in Visual Studio</title>
		<link>http://manski.net/2011/08/09/triggering-a-build-when-file-changed-in-visual-studio/</link>
		<comments>http://manski.net/2011/08/09/triggering-a-build-when-file-changed-in-visual-studio/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 06:27:32 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code Project]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1667</guid>
		<description><![CDATA[In Visual Studio when a source code file is changed, the project it belongs to will be built when the whole solution is being built. So far, so good. But what happens if you want some other files (read: non source code files) to have the same behavior? In my case, I had some translation [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-04-16 09:36:25 -->In Visual Studio when a source code file is changed, the project it belongs to will be built when the whole solution is being built. So far, so good. But what happens if you want some other files (read: non source code files) to have the same behavior?</p>
<p>In my case, I had some translation files (XML files), and a custom build event that converted them into a binary representation. So when one of translation files changed, I wanted this change to trigger a build for the project the translation files were contained in, so that they could be converted into binary form (ie. so that the build event was executed).</p>
<p>Visual Studio (at least version 2010) provides an easy but hidden way to achieve exactly this. After you&#8217;ve added the file(s) to your project, right-click them and choose <em>Properties</em> (Alt+Return).</p>
<div class="align-center image-align-center"><img src="http://manski.net/wordpress/wp-content/uploads/2011/08/properties-menu-item.png" title="The Properties menu item" alt="The Properties menu item"/></div>
<p><em>Note:</em> You need to open the properties for the files you want to trigger the build &#8211; don&#8217;t open the <em>project&#8217;s</em> properties. Also, you need to open the &#8220;Properties&#8221; dialog. You can&#8217;t do this from the &#8220;Properties&#8221; panel (which usually opens up when hitting F4).</p>
<p><em>Note 2:</em> You can have selected multiple files to make them all triggering a build when changed in one step.</p>
<p>In the &#8220;Properties&#8221; dialog under <code>Configuration Properties</code> &#8211;> <code>General</code> &#8211;> <code>Item Type</code> you select <code>Custom Build Tool</code>. Then you hit &#8220;OK&#8221;. And that&#8217;s it.</p>
<div class="align-center image-align-center"><a href="http://manski.net/wordpress/wp-content/uploads/2011/08/select-custom-build-tool.png" rel="shadowbox[sbpost-1667];player=img;" title="Selecting &quot;Custom Build Tool&quot; as &quot;Item Type&quot;."><img src="http://manski.net/wordpress/wp-content/plugins/blogtext/api/thumbnail/do.php?id=78c914e7ede994047cf32cba534c5d221ed21889_500x500_resize_if_larger" title="Selecting &quot;Custom Build Tool&quot; as &quot;Item Type&quot;." alt="Selecting &quot;Custom Build Tool&quot; as &quot;Item Type&quot;." width="500" height="210"/></a></div>
<p>Changing the file(s) should now trigger a build when you build the solution (via menu <code>Build</code> &#8211;> <code>Build Solution</code>).</p>
<p><a href="http://www.codeproject.com/script/Articles/BlogFeedList.aspx?amid=274673" rel="tag" style="display:none">CodeProject</a></p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/08/09/triggering-a-build-when-file-changed-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sent Items in Outlook 2011 with Exchange and POP3</title>
		<link>http://manski.net/2011/07/21/sent-items-in-outlook-2011/</link>
		<comments>http://manski.net/2011/07/21/sent-items-in-outlook-2011/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 08:23:56 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[microsoft office]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[outlook 2011]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1597</guid>
		<description><![CDATA[Today I needed to resend an email I sent a day before &#8211; using Outlook 2011 for Mac. It took a while to compose this email so I got quite scared when I looked at my &#8220;Sent Items&#8221; folder and the mail wasn&#8217;t there. My situation: I&#8217;m using an Exchange mailbox is primary mailbox and [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-04-24 19:34:19 -->Today I needed to resend an email I sent a day before &#8211; using Outlook 2011 for Mac. It took a while to compose this email so I got quite scared when I looked at my &#8220;Sent Items&#8221; folder and the mail wasn&#8217;t there.</p>
<p><em>My situation:</em> I&#8217;m using an Exchange mailbox is primary mailbox and have a POP3 account for my university email address. The latter I only use to send emails (as the actual university email address is just a forwarding). If you have a similar setup and problem, read on.</p>
<p>On Outlook for Windows, sending an email through this email address/account, <em>moves the sent email to the main &#8220;Sent Items&#8221; folder</em> &#8211; which at the same time is the &#8220;Sent Items&#8221; folder for my Exchange mailbox. </p>
<p>Not so on Outlook for Mac. Here we have <em>a separate &#8220;Sent Items&#8221; folder for POP3 accounts</em> (called &#8220;On my computer&#8221;). I had this folder disabled since (I thought) I only use my Exchange mailbox. The option hide/show this folder is in the preferences under &#8220;General&#8221;. (I only have the German version of Outlook, so screenshots are in German only; sorry for that.)</p>
<div class="image-frame align-center image-frame-align-center" style="width: 500px;">
<div class="image"><a href="http://manski.net/wordpress/wp-content/uploads/2011/07/show-hide-my-computer-folder.png" rel="shadowbox[sbpost-1597];player=img;" title="Option to show or hide the &quot;On my computer&quot; folder(s)."><img src="http://manski.net/wordpress/wp-content/plugins/blogtext/api/thumbnail/do.php?id=f89239d321751bc4653deb77525d50a4f3272b2d_500x500_resize_if_larger" title="Option to show or hide the &quot;On my computer&quot; folder(s)." alt="Option to show or hide the &quot;On my computer&quot; folder(s)." width="500" height="213"/></a></div>
<div class="image-caption">Option to show or hide the &quot;On my computer&quot; folder(s).</div>
</div>
<p>Now the &#8220;On my computer&#8221; folder showed up in my &#8220;Sent Items&#8221; folder and there my mails were.</p>
<div class="image-frame align-center image-frame-align-center" style="width: 296px;">
<div class="image"><img src="http://manski.net/wordpress/wp-content/uploads/2011/07/on-my-computer-folder.png" title="Sent items on my computer folder" alt="Sent items on my computer folder" width="296" height="136"/></div>
<div class="image-caption">Sent items on my computer folder</div>
</div>
<p>Now, the quest at hand was: How do I get my sent mails into my &#8220;Sent Items&#8221; Exchange folder. The solution: <strong>Create a rule for this.</strong></p>
<p>So, I went to &#8220;Settings&#8221; &#8211;> &#8220;Rules&#8221; and created a new rule in the &#8220;Outgoing&#8221; rules section.</p>
<div class="image-frame align-center image-frame-align-center" style="width: 500px;">
<div class="image"><a href="http://manski.net/wordpress/wp-content/uploads/2011/07/create-rule.png" rel="shadowbox[sbpost-1597];player=img;" title="Creating a local rule"><img src="http://manski.net/wordpress/wp-content/plugins/blogtext/api/thumbnail/do.php?id=ad9f8fcfbcb3699b276176f82bc3d11ac093def1_500x500_resize_if_larger" title="Creating a local rule" alt="Creating a local rule" width="500" height="325"/></a></div>
<div class="image-caption">Creating a local rule</div>
</div>
<p>Here you create a rule with:</p>
<ul>
<li class="first-item"><strong>Condition:</strong> Account is YourPop3Account</li>
<li class="last-item">
<p><strong>Execute:</strong> Move message to &#8220;Sent Items (Exchange)&#8221;</p>
</li>
</ul>
<p>Leave the rest as it is and hit &#8220;OK&#8221;. Now try to send an email from your POP3 account and, voilà, the email you just sent should appear in your Exchange&#8217;s &#8220;Sent Items&#8221; folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/07/21/sent-items-in-outlook-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Update für Mac</title>
		<link>http://manski.net/2011/06/16/microsoft-update-fur-mac/</link>
		<comments>http://manski.net/2011/06/16/microsoft-update-fur-mac/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 06:34:18 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1545</guid>
		<description><![CDATA[Auch auf dem Mac bietet Microsoft für seine Produkte &#8211; z.B. Office 2011 &#8211; ein Update-Programm an: &#8220;Microsoft AutoUpdate&#8221; (offizielle Schreibweise). Wer danach jedoch in seinem Anwendungen-Ordner sucht, wird nicht fündig. Statt dessen findet man das Programm im Hilfe-Menü unter &#8220;Auf Updates überprüfen&#8221;. Direkt-Link zur Microsoft Hilfe]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-02-01 08:53:02 -->
<div class="align-left image-align-left"><img src="http://manski.net/wordpress/wp-content/uploads/2011/06/microsoft-update.png" title="Icon für Microsoft AutoUpdate" alt="Icon für Microsoft AutoUpdate"/></div>
<p>Auch auf dem Mac bietet Microsoft für seine Produkte &#8211; z.B. Office 2011 &#8211; ein Update-Programm an: &#8220;Microsoft AutoUpdate&#8221; (offizielle Schreibweise). Wer danach jedoch in seinem Anwendungen-Ordner sucht, wird nicht fündig. Statt dessen findet man das Programm im <strong>Hilfe-Menü</strong> unter &#8220;Auf Updates überprüfen&#8221;.</p>
<p><a href="http://mac2.microsoft.com/help/office/14/en-us/word/item/ffe35357-8f25-4df8-a0a3-c258526c64ea" target="_blank">Direkt-Link zur Microsoft Hilfe</a></p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/06/16/microsoft-update-fur-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows System Sounds</title>
		<link>http://manski.net/2011/05/05/windows-system-sounds/</link>
		<comments>http://manski.net/2011/05/05/windows-system-sounds/#comments</comments>
		<pubDate>Thu, 05 May 2011 13:32:05 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[Musik and Audio]]></category>
		<category><![CDATA[Private Blog]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1505</guid>
		<description><![CDATA[Click here to view the embedded video.]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-02-05 02:01:23 --><p><a href="http://manski.net/2011/05/05/windows-system-sounds/"><em>Click here to view the embedded video.</em></a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/05/05/windows-system-sounds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Epic Fail &#8211; Eine Odyssee</title>
		<link>http://manski.net/2011/04/27/microsoft-epic-fail-eine-odyssee/</link>
		<comments>http://manski.net/2011/04/27/microsoft-epic-fail-eine-odyssee/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 09:34:47 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Annoyances]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[probleme]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1464</guid>
		<description><![CDATA[Manchmal nervt Programmieren einfach. Da hat man folgende Zeile in C++ (bääääh): PathOption test = mQ1Settings-&#62;WorldDir; Versucht man diese mit Visual C++ 2010 zu kompilieren, stürtzt der Compiler ab. WTF? Ok, kann ja mal passieren. Also danach gegoogelt. Zu dem Problem gibt es auch schon einen Bug-Report bei Microsoft. Allerdings meint der Verantwortliche dazu: I [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-01-30 22:41:27 -->Manchmal nervt Programmieren einfach. Da hat man folgende Zeile in C++ (bääääh):</p>
<pre class="code">PathOption test = mQ1Settings-&gt;WorldDir;</pre>
<p>Versucht man diese mit Visual C++ 2010 zu kompilieren, <strong>stürtzt der Compiler ab</strong>. WTF?</p>
<p>Ok, kann ja mal passieren. Also danach <a href="http://de.wiktionary.org/wiki/googeln" target="_blank">gegoogelt</a>. Zu dem Problem gibt es auch schon einen <a href="https://connect.microsoft.com/VisualStudio/feedback/details/555365/c-compiler-crashes-c1001-on-valid-code-in-lambda-function" target="_blank">Bug-Report bei Microsoft</a>. Allerdings meint der Verantwortliche dazu:</p>
<blockquote><p>I can confirm that this is a bug in our compiler. This crash is unfortunate, but &#8230; blablabla &#8230;, <strong>we believe that this is not critical to fix</strong> in the next release.
</p></blockquote>
<p>Ein Compiler-Fehler ist &#8220;not critical&#8221;???</p>
<p>Nach diesem Statement folgt dann noch:</p>
<blockquote><p>We will keep this bug in our database and will reconsider it for future releases.
</p></blockquote>
<p>Aja. Deshalb hat der Bug-Report auch den Status <strong>&#8220;Geschlossen<span class="strike">es</span> als nicht lösbar&#8221;</strong>. Klingt natürlich total danach, dass man sich damit später noch mal befasst.</p>
<p>Na gut. Zum Glück gibt es ja die Möglichkeit, seinen eigenen Senf zu dem Bug-Report abzugeben. Dafür muss man sich zwar registrieren, aber einen Account bei Microsoft&#8217;s Bug-Tracker könnte man ja evtl. häufiger gebrauchen <img src='http://manski.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="align-center image-align-center"><a href="http://manski.net/wordpress/wp-content/uploads/2011/04/registrieren.png" title="registrieren.png" rel="shadowbox[sbpost-1464];player=img;"><img src="http://manski.net/wordpress/wp-content/plugins/blogtext/api/thumbnail/do.php?id=87e67a0247aec880b80c1dac55c97f71d3ac2fc4_300x300_resize_if_larger" title="registrieren.png" alt="registrieren.png" width="300" height="127"/></a></div>
<p>Also schnell auf &#8220;Registrieren&#8221; geklickt, irgendwelchen AGBs zugestimmt, und dann das:</p>
<div class="align-center image-align-center"><img src="http://manski.net/wordpress/wp-content/plugins/blogtext/api/thumbnail/do.php?id=cc1b0e98f8fe2e2f3da1827727d2458286cd6108_500x500_resize_if_larger" title="registrieren-fehler.png" alt="registrieren-fehler.png" width="500" height="113"/></div>
<p>WTF? Das ganze noch zwei Mal probiert, mit dem gleichen Ergebnis.</p>
<p>Schon sichtlich genervt, gebe ich der Sache noch <em>eine</em> Chance. Zum Glück kann man ja Microsoft <strong>&#8220;hierüber einen Fehlerbericht&#8221;</strong> senden. Also klicke ich auf den Link, mit der Erwartung, dass Microsoft jetzt über diesen Fehler benachrichtigt wurde. Aber Pustekuchen!</p>
<div class="align-center image-align-center"><img src="http://manski.net/wordpress/wp-content/uploads/2011/04/msdn-forum.png" title="msdn-forum.png" alt="msdn-forum.png"/></div>
<p>Ich lande in einem <em>MSDN-Forum</em> (mit dem viel-sagendenden Namen &#8220;MSDN, TechNet, and Expression Profile and Recognition System Discussions&#8221;). </p>
<p>Jetzt reicht&#8217;s mir. Wie oft will mich Microsoft denn noch auf eine andere Seite weiterleiten?? Ich wette, ich kann mich auch im MSDN-Forum nicht registrieren (hab ich allerdings nicht probiert). Dann darf ich am Ende einen Bug-Report (Forum) über einen Bug-Report (Microsoft&#8217;s Bug-Tracker) über einen Bug-Report (C++ Compiler) schreiben? Nein Danke!</p>
<p>Und dabei wollte ich doch einfach nur programmieren. Danke, Microsoft!</p>
<p><strong>Update (22.6.2011):</strong> Das Problem besteht immer noch. Und ich habe inzwischen das Forum ausprobiert; wie erwartet tritt der Fehler hier auch auf, d.h. ich kann nicht mal einen Fehlerbericht im Forum schreiben. Das ist echt ne schwache Leistung, Microsoft!</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/04/27/microsoft-epic-fail-eine-odyssee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Robot Trust</title>
		<link>http://manski.net/2011/04/25/robot-trust/</link>
		<comments>http://manski.net/2011/04/25/robot-trust/#comments</comments>
		<pubDate>Mon, 25 Apr 2011 18:28:52 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1461</guid>
		<description><![CDATA[Click here to view the embedded video.]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-02-05 02:01:23 --><p><a href="http://manski.net/2011/04/25/robot-trust/"><em>Click here to view the embedded video.</em></a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/04/25/robot-trust/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heaven</title>
		<link>http://manski.net/2011/04/21/heaven/</link>
		<comments>http://manski.net/2011/04/21/heaven/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 12:25:45 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[cartoon]]></category>
		<category><![CDATA[tetris]]></category>
		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1447</guid>
		<description><![CDATA[(via xkcd)]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-04-23 08:11:20 -->
<div class="align-center image-align-center"><img src="http://manski.net/wordpress/wp-content/uploads/2011/04/heaven.png" title="Tetris Heaven" alt="Tetris Heaven"/></div>
<p>(via <a href="http://xkcd.com/888/" target="_blank">xkcd</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/04/21/heaven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C++ and virtual methods (for C# or Java programmers)</title>
		<link>http://manski.net/2011/04/18/c-and-virtual-methods-for-c-or-java-programmers/</link>
		<comments>http://manski.net/2011/04/18/c-and-virtual-methods-for-c-or-java-programmers/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 08:53:31 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[virtual methods]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1431</guid>
		<description><![CDATA[Table of Contents [hide] 1 The C&#35; Example 2 The C++ Problem 3 Example Visual Studio Solution Last friday I stumbled over a seroius shortcomming of C++ (compared to C# or Java) I&#8217;d like to share here with you. It&#8217;s about virtual methods called from a class constructor. The C&#35; Example Let me start with [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-02-05 02:01:23 -->
<div class="toc">
<div class="toc-title">Table of Contents <span class="toc-toggle">[<a id="_toctoggle_1431" href="javascript:toggle_toc(1431);">hide</a>]</span></div>
<div id="_toclist_1431">
<ul>
<li class="toclevel-1"><a href="#the_c.26.2335.3B_example"><span class="tocnumber">1</span> <span class="toctext">The C&#35; Example</span></a></li>
<li class="toclevel-1"><a href="#the_c.2B.2B_problem"><span class="tocnumber">2</span> <span class="toctext">The C++ Problem</span></a></li>
<li class="toclevel-1"><a href="#example_visual_studio_solution"><span class="tocnumber">3</span> <span class="toctext">Example Visual Studio Solution</span></a></li>
</ul>
</div>
</div>
<p>Last friday I stumbled over a seroius shortcomming of C++ (compared to C# or Java) I&#8217;d like to share here with you. It&#8217;s about <code>virtual</code> methods called from a class constructor.</p>
<h1 id="the_c.26.2335.3B_example">The C&#35; Example</h1>
<p>Let me start with an example. Here&#8217;s some C# code that simply calls a <code>virtual</code> method (named <code>test()</code>) from the class&#8217; constructor:</p>
<pre class="code">class TestBaseClass {
  public TestBaseClass() {
    Console.Write(&quot;From base class: &quot;);
    test();
  }

  protected virtual void test() {
    Console.WriteLine(&quot;in base class&quot;);
  }
}</pre>
<p>Creating an instance of this class results in nothing special:</p>
<pre class="code">From base class: in base class</pre>
<p>Now lets create a sub class of <code>TestBaseClass</code> and override the <code>virtual</code> method:</p>
<pre class="code">class TestSubClass : TestBaseClass {
  public TestSubClass() {
    Console.Write(&quot;From sub class: &quot;);
    test();
  }

  protected override void test() {
    Console.WriteLine(&quot;in sub class&quot;);
  }
}</pre>
<p>Now, creating an instance of <code>TestSubClass</code> will print this:</p>
<pre class="code">From base class: in sub class
From sub class: in sub class</pre>
<p>This means that the sub class&#8217; implementation of <code>test()</code> was executed (and not <code>TestBaseClass</code>&#8216; implementation) &#8211; just as expected.</p>
<p><strong>Note:</strong> In Java all methods are automatically <code>virtual</code>. In contrast to C# or C++ you can&#8217;t create &#8220;non-virtual&#8221; methods in Java.</p>
<h1 id="the_c.2B.2B_problem">The C++ Problem</h1>
<p>And exactly here is <strong>the problem</strong> in C++. Let&#8217;s create a C++ version of the two classes above (compiled with Visual C++).</p>
<p>Header file (<code>TestClass.h</code>):</p>
<pre class="code">#pragma once

class TestBaseClass {
public:
  TestBaseClass();

protected:
  virtual void test();
};

class TestSubClass : public TestBaseClass {
public:
  TestSubClass();

protected:
  virtual void test();
};</pre>
<p>Source file (<code>TestClass.cpp</code>):</p>
<pre class="code">#include &quot;TestClass.h&quot;
#include &lt;stdio.h&gt;

TestBaseClass::TestBaseClass() {
  printf(&quot;From base class: &quot;);
  test();
}

void TestBaseClass::test() {
  printf(&quot;in base class\n&quot;);
}

TestSubClass::TestSubClass() : TestBaseClass() {
  printf(&quot;From sub class: &quot;);
  test();
}

void TestSubClass::test() {
  printf(&quot;in sub class\n&quot;);
}</pre>
<p>Now, creating an instance of <code>TestSubClass</code> results in the following output:</p>
<pre class="code">From base class: in base class
From sub class: in sub class</pre>
<p>Note how the <em>base class&#8217; implementation</em> of <code>test()</code> is used in the base class constructor while the <em>sub class&#8217; implementation</em> of <code>test()</code> is used in the sub class constructor.</p>
<p>The problem here (in constrast to C# or Java) is that the sub class constructor hasn&#8217;t been executed yet and therefore the &#8220;redirection&#8221; from <code>TestBaseClass::test()</code> to <code>TestSubClass::test()</code> hasn&#8217;t been established yet.</p>
<p><strong>Rule: There is <em>no way</em> to call a sub class&#8217; implementation of a virtual function in the base class constructor!</strong></p>
<p>The problem becomes even more severe with <strong>pure virtual</strong> (which is <code>abstract</code> in C# and Java) methods. These methods don&#8217;t even have an implementation in the base class and therefore can&#8217;t be executed at all.</p>
<p><strong>For your interest:</strong> A <em>C++/CLI</em> class will behave like a C# class (and not like a C++ class).</p>
<h1 id="example_visual_studio_solution">Example Visual Studio Solution</h1>
<p>I&#8217;ve created a solution (for Visual Studio 2010) containing the source code above. In addition to a C# and a C++ project, I&#8217;ve also added a C++/CLI project. You can download it here:</p>
<p><a href="http://manski.net/wordpress/wp-content/uploads/2011/04/VirtualMethodTest.zip" rel="attachment">VirtualMethodTest.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/04/18/c-and-virtual-methods-for-c-or-java-programmers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add a radio station to iTunes</title>
		<link>http://manski.net/2011/04/03/how-to-add-a-radio-station-to-itunes/</link>
		<comments>http://manski.net/2011/04/03/how-to-add-a-radio-station-to-itunes/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 15:59:21 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[webradio]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1415</guid>
		<description><![CDATA[I love internet radio. And I love iTunes. So the next logical step would be for me to manage my favorite radio stations in iTunes &#8211; preferably in a special playlist only so that the radio stations don&#8217;t clutter up my iTunes library. Now, iTunes comes out-of-the-box with some predefined radio stations. You can simply [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-02-05 02:01:23 -->
<div class="align-right image-align-right"><img src="http://manski.net/wordpress/wp-content/uploads/2011/04/itunes-predefined-radio-stations.png" title="Predefined radio stations in the iTunes library" alt="Predefined radio stations in the iTunes library"/></div>
<p>I love internet radio. And I love iTunes. So the next logical step would be for me to manage my favorite radio stations in iTunes &#8211; preferably in a special playlist only so that the radio stations don&#8217;t clutter up my iTunes library. </p>
<p>Now, iTunes comes out-of-the-box with some predefined radio stations. You can <em>simply drag your favorite radio stations to your playlist</em>. However, iTunes&#8217; radio station list is far from complete. So it would be nice to be able to add new radio stations to iTunes.</p>
<p>The first thing you need is the <em>URL to the live stream</em> of the new radio station. Unfortunately, there is no way to add this URL to iTunes&#8217; &#8220;Radio&#8221; section. Although there is the menu item &#8220;Open Stream&#8230;&#8221; (in the &#8220;Advanced&#8221; menu) that let&#8217;s you open any live stream, this live stream would be added to your iTunes library. Why is this a bad thing? Well, you <em>can&#8217;t edit the meta data</em> (eg. genre, title, artist, &#8230;) for live streams. If you stop a live stream and then play it again, the meta data will be reset to whatever the live stream tells iTunes. So you&#8217;ll end up with a lot genres in your genre list you don&#8217;t want to have.</p>
<div class="align-left image-align-left"><img src="http://manski.net/wordpress/wp-content/uploads/2011/04/drag-pls-file.jpg" title="Drag .pls file to iTunes playlist" alt="Drag .pls file to iTunes playlist"/></div>
<p>The alternative is to add the live stream <em>just to a playlist</em> without adding it to your library. This is possible. Simply drag the live stream&#8217;s <a href="http://en.wikipedia.org/wiki/PLS_(file_format)" target="_blank">playlist file</a> (with <code>.pls</code> file ending) to your iTunes playlist. This will add all entries in the playlist file to your iTunes playlist without adding them to your iTunes library. That&#8217;s it.</p>
<p>If you don&#8217;t have a playlist file but only the live stream&#8217;s URL, you can create a playlist file quite easily. Simply open your favorite plain text editor (note that Word will not work) and copy the following text:</p>
<pre class="code">[playlist]
File1=http://streamexample.com:80
Title1=My Favorite Online Radio
Length1=-1

NumberOfEntries=1

Version=2</pre>
<p>Replace the values of <code>File1</code> and <code>Title1</code> with your live stream&#8217;s URL and name respectively and save the file as <code>radio.pls</code>. Now you can drag it to your iTunes playlist and you&#8217;re done.</p>
<div class="align-right image-align-right"><img src="http://manski.net/wordpress/wp-content/uploads/2011/04/repeat-one.jpg" title="&quot;Repeat one&quot; in iTunes" alt="&quot;Repeat one&quot; in iTunes"/></div>
<p><strong>Hint:</strong> You may want to activate &#8220;Repeat One&#8221; (in iTunes lower left corner) for this playlist. This prevents iTunes from going to the next radio station in the list when there is a problem with the one currently playing.</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/04/03/how-to-add-a-radio-station-to-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BlogText &#8211; the new blog text</title>
		<link>http://manski.net/2011/03/18/blogtext-the-new-blog-text/</link>
		<comments>http://manski.net/2011/03/18/blogtext-the-new-blog-text/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 16:46:24 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Private Blog]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[blogtext]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1383</guid>
		<description><![CDATA[I&#8217;ve just finished my first WordPress plugin. It&#8217;s called BlogText and provides a nice, easy, alternative syntax (im comparison with HTML) for writing blog posts. I&#8217;ve been working on the for the past couple of months and now it&#8217;s finally finished &#8212; at least its first version. You can find it here: http://blogtext.mayastudios.com Give it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished my first WordPress plugin. It&#8217;s called <em>BlogText</em> and provides a nice, easy, alternative syntax (im comparison with HTML) for writing blog posts. I&#8217;ve been working on the for the past couple of months and now it&#8217;s finally finished &#8212; at least its first version. You can find it here:</p>
<p><a href="http://blogtext.mayastudios.com">http://blogtext.mayastudios.com</a></p>
<p>Give it a try. You might like it <img src='http://manski.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/03/18/blogtext-the-new-blog-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Super Mario mit modernen Soundeffekten</title>
		<link>http://manski.net/2011/03/10/super-mario-mit-modernen-soundeffekten/</link>
		<comments>http://manski.net/2011/03/10/super-mario-mit-modernen-soundeffekten/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 11:12:44 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1380</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://manski.net/2011/03/10/super-mario-mit-modernen-soundeffekten/"><em>Click here to view the embedded video.</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2011/03/10/super-mario-mit-modernen-soundeffekten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intelligente Titel&#252;berblendung mit iTunes</title>
		<link>http://manski.net/2010/12/21/intelligente-titelberblendung-mit-itunes/</link>
		<comments>http://manski.net/2010/12/21/intelligente-titelberblendung-mit-itunes/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 11:37:06 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[itunes]]></category>

		<guid isPermaLink="false">http://manski.net/2010/12/21/intelligente-titelberblendung-mit-itunes/</guid>
		<description><![CDATA[iTunes unterstützt seit jeher das Überblenden von Titel (engl. &#8220;cross-fade&#8221;). Während ein solches Feature bei einer zufälligen Wiedergabeliste sicherlich sinnvoll ist, gibt es bestimmte CDs (meistens Live-Aufnahmen), bei denen eine solche Überblendung nicht so toll ist. Heute bin ich nun über einen Tipp gestoßen, dass die Titelüberblendung in iTunes tatsächlich ziemlich &#8220;intelligent&#8221; ist. Denn sie [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-04-27 15:54:50 -->iTunes unterstützt seit jeher das Überblenden von Titel (engl. &#8220;cross-fade&#8221;). Während ein solches Feature bei einer zufälligen Wiedergabeliste sicherlich sinnvoll ist, gibt es bestimmte CDs (meistens Live-Aufnahmen), bei denen eine solche Überblendung nicht so toll ist.</p>
<div class="align-center image-align-center"><img src="http://manski.net/wordpress/wp-content/uploads/2010/12/image.png" title="&quot;Titel überblenden&quot; aktiviert in den iTunes Einstellung" alt="&quot;Titel überblenden&quot; aktiviert in den iTunes Einstellung"/></div>
<p>Heute bin ich nun über einen Tipp gestoßen, dass die Titelüberblendung in iTunes tatsächlich ziemlich &#8220;intelligent&#8221; ist. Denn sie beachtet die Option <code>Unterbrechungsfreies Album</code>, die für jeden Titel angegeben werden kann.</p>
<div class="align-center image-align-center"><img src="http://manski.net/wordpress/wp-content/uploads/2010/12/image1.png" title="Unterbrechungsfreies Album für einen Titel aktiviert" alt="Unterbrechungsfreies Album für einen Titel aktiviert"/></div>
<div class="align-right image-align-right"><img src="http://manski.net/wordpress/wp-content/uploads/2010/12/image2.png" title="Zufällige Wiedergabe ist aktiviert" alt="Zufällige Wiedergabe ist aktiviert"/></div>
<p>Ist <code>Titel überblenden</code> in den Optionen von iTunes aktiviert und wird nun ein Titel abgespielt, bei dem <code>Unterbrechungsfreies Album</code> auf <code>Ja</code> gesetzt ist, dann verzichtet iTunes bei diesem Titel auf die Titelüberblendung – es sei denn, die Option <code>Zufällige Wiedergabe</code> ist aktiviert. In diesem Fall werden auch Titel &#8220;übergeblendet&#8221;, die Teil eines unterbrechungsfreien Albums sind.</p>
<p>Zusammenfassung (bei aktivierter Titelüberblendung):</p>
<ul>
<li class="first-item">
<p class="no-margin"><strong>Titel wird übergeblendet:</strong></p>
<ul>
<li class="first-item">Bei Titeln mit <code>Unterbrechungsfreies Album</code> auf <code>Nein</code> gesetzt</li>
<li class="last-item">Wenn <code>Zufällige Wiedergabe</code> aktiviert ist</li>
</ul>
</li>
<li class="last-item">
<p class="no-margin"><strong>Titel wird <em>nicht</em> übergeblendet:</strong></p>
<ul>
<li>
<p>Bei Titeln mit <code>Unterbrechungsfreies Album</code> auf <code>Ja</code> gesetzt und wenn gleichzeitig <code>Zufällige Wiedergabe</code> nicht aktiv ist</p>
</li>
</ul>
</li>
</ul>
<p>(via <a href="http://hints.macworld.com/article.php?story=20101208062603124" target="_blank">Mac OS X Hints</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2010/12/21/intelligente-titelberblendung-mit-itunes/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>VMWare Fusion Performance Test</title>
		<link>http://manski.net/2010/12/17/vmware-fusion-performance-test/</link>
		<comments>http://manski.net/2010/12/17/vmware-fusion-performance-test/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 14:35:47 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1348</guid>
		<description><![CDATA[Today I did some testing on the performance of VMWare Fusion 3.1 regarding whether to use a 32-bit or a 64-bit guest system on a 64-bit host system. For the test I used: Machine: MacBook Pro 15&#8221; early 2010 CPU: Intel Cor i5 2.4 GHz (Dual Core; 64-bit CPU) RAM: 4 GB 1067 MHz DDR3 [...]]]></description>
			<content:encoded><![CDATA[<p>Today I did some testing on the performance of VMWare Fusion 3.1 regarding whether to use a 32-bit or a 64-bit guest system on a 64-bit host system. For the test I used:</p>
<ul>
<li><i>Machine:</i> MacBook Pro 15&#8221; early 2010</li>
<li><i>CPU:</i> Intel Cor i5 2.4 GHz (Dual Core; 64-bit CPU)</li>
<li><i>RAM:</i> 4 GB 1067 MHz DDR3</li>
<li><i>OS:</i> Mac OS X 10.6.5 (with all updates)</li>
<li><i>VMWare:</i> VMWare Fusion 3.1.2 (332101)</li>
</ul>
<p>For the testing I shut down all applications (that could be shut down) except for:</p>
<ul>
<li>VMWare Fusion (of course)</li>
<li>Terminal</li>
<li>TextWrangler</li>
</ul>
<p>I also disabled Spotlight indexing for the duration of the test using (in Terminal):</p>
<pre>
$ mdutil -a -i off  # use "-i on" to reenable indexing
</pre>
<p>For testing I used an Ubuntu 10.04 Server Edition Linux either in the x86 (32-bit) and in the x64 (64-bit) version. Each version got one CPU and 512 MB RAM assigned (default values). I installed all updates (as of 2010-12-17) and also installed the packages &#8220;psmisc&#8221; and &#8220;bc&#8221;. The kernel version was 2.6.32-26. The VMWare Tools were not installed.</p>
<p>I then started VMWare Fusion (Virtual Machine Library only for now), and then called &#8220;purge&#8221; in the Terminal to free all inactive, unused memory for more correct information on how much memory is actually free. I then ran &#8220;vm_stat&#8221; (in Terminal), started the virtual machine, and ran &#8220;vm_stat&#8221; again to get the amount of memory actually used by the virtual machine.</p>
<p>Inside the virtual machine (i.e. in Ubuntu) I stopped cron and rsyslog to prevent them from interrupting the test, determined the free disk space (df -h) and the free memory (free -ok), and then calculated Pi with 3000 digits:</p>
<pre>
$ time echo "scale=3000; 4*a(1)" | (bc -l >/dev/null)
</pre>
<p>The results of the comparison can be found in the table below:</p>
<table>
<tr>
<th></th>
<th>32-bit</th>
<th>64-bit</th>
<th>Difference on 64-bit</th>
</tr>
<tr>
<td>Time to calculate Pi:</td>
<td>9.585s</td>
<td>8.823s</td>
<td>-7.9%</td>
<tr>
<tr>
<td>Memory consumption on the host system (MacOS):</td>
<td>482.3 MB</td>
<td>648.2 MB</td>
<td>+34.4%</td>
</tr>
<tr>
<td>Total/Used/Free memory in the guest system (Ubuntu):</td>
<td>496.96 MB / 35.22 MB / 461.74 MB</td>
<td>493.62 MB / 126.89 MB / 366.73 MB </td>
<td>+260.3% (used only)</td>
</tr>
<tr>
<td>Disk usage in the guest system (Ubuntu):</td>
<td>560 MB</td>
<td>581 MB</td>
<td>+3.8%</td>
</tr>
</table>
<p><b>Observations:</b></p>
<ul>
<li><i>CPU speed:</i> A 32-bit guest system on a 64-bit host system runs slower than a 64-bit guest system.</li>
<li><i>Memory consumption:</i> 64-bit guest systems require significantly more memory on the host system and on the guest system. In fact on the guest system the memory consumption seem to tripple (for some unknown reasons).</li>
<li><i>Disk usage:</i> As expected, disk usage is higher on a 64-bit system , but only slightly.</li>
</ul>
<p><b>Conclusions:</b> If memory consumption is an issue on your system (i.e. if you have not so much memory), then select a 32-bit guest system. It&#8217;ll be slightly slower but also consume less memory. If memory consumption is not an issue, select a 64-bit guest system.</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2010/12/17/vmware-fusion-performance-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MUST HAVE!!!</title>
		<link>http://manski.net/2010/12/02/must-have/</link>
		<comments>http://manski.net/2010/12/02/must-have/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 08:41:25 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[Gagdets]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1342</guid>
		<description><![CDATA[Hint And &#8220;Still Alive&#8221; This was a triumph I&#8217;m making a note here HUGE SUCCESS It&#8217;s hard to overstate my satisfaction Aperture Science we do what we must because we can for the good of all of us except for the ones who are dead. but there&#8217;s no sense crying over every mistake you just [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://manski.net/2010/12/02/must-have/"><em>Click here to view the embedded video.</em></a></p>
<p><a href="http://en.wikipedia.org/wiki/Portal_%28video_game%29">Hint</a></p>
<h2>And &#8220;Still Alive&#8221;</h2>
<p><a href="http://manski.net/2010/12/02/must-have/"><em>Click here to view the embedded video.</em></a></p>
<p>This was a triumph<br />
I&#8217;m making a note here<br />
HUGE SUCCESS<br />
It&#8217;s hard to overstate my satisfaction</p>
<p>Aperture Science<br />
we do what we must because we can<br />
for the good of all of us except for the ones who are dead.</p>
<p>but there&#8217;s no sense crying over every mistake<br />
you just keep on trying until you run out of cake<br />
and the science gets done and you make a neat gun<br />
for the people who are still alive</p>
<p>I&#8217;m not even angry.<br />
I&#8217;m being so sincere right now -<br />
even though you broke my heart and killed me.<br />
And torn into pieces<br />
and threw every piece into a fire.<br />
as they burned it hurt because I was so happy for you!</p>
<p>Now these points of data make a wonderful line<br />
and we&#8217;re out of beta, we&#8217;re releasing on time<br />
so I&#8217;m glad I got burned<br />
Think of all the things we learned<br />
for the people that are still alive</p>
<p>Go ahead and leave me<br />
I think I prefer to stay inside<br />
maybe you&#8217;ll find someone else to help you.</p>
<p>Maybe Black Mesa.<br />
That was a joke, haha, fat chance<br />
anyway this cake is great, it&#8217;s so delicious and moist.</p>
<p>Look at me still talking, when there&#8217;s science to do<br />
when I look out there it makes me glad I&#8217;m not you<br />
I&#8217;ve experiments to run, there is research to be done<br />
on the people who are still alive.</p>
<p>And believe me I am still alive<br />
I&#8217;m doing science and I&#8217;m still alive<br />
I feel FANTASTIC and I&#8217;m still alive<br />
And when you&#8217;re dying I&#8217;ll be still alive<br />
and when you&#8217;re dead I&#8217;ll be still alive<br />
STILL ALIVE, still alive.</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2010/12/02/must-have/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating from Subversion to Mercurial</title>
		<link>http://manski.net/2010/10/29/migrating-from-subversion-to-mercurial/</link>
		<comments>http://manski.net/2010/10/29/migrating-from-subversion-to-mercurial/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 17:42:55 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Pinned]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[dvcs]]></category>
		<category><![CDATA[mercurial]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[vcs]]></category>

		<guid isPermaLink="false">http://manski.net/2010/10/29/migrating-from-subversion-to-mercurial/</guid>
		<description><![CDATA[I’ve been working for quite some time now with Subversion but recently fell in love with Mercurial. Mercurial (like GIT or Bazaar) is a distributed version control system (DVCS). Coming from Subversion, it’s sometimes necessary to convert an existing Subversion repository to Mercurial. And that’s what this post is about. Preparation For this tutorial to [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-04-17 02:22:51 -->I’ve been working for quite some time now with <a href="http://subversion.apache.org" target="_blank">Subversion</a> but recently fell in love with <a href="http://mercurial.selenic.com" target="_blank">Mercurial</a>. Mercurial (like GIT or Bazaar) is a distributed version control system (DVCS). Coming from Subversion, it’s sometimes necessary to convert an existing Subversion repository to Mercurial. And that’s what this post is about.</p>
<p><span id="more-1333"></span></p>
<h1 id="preparation">Preparation</h1>
<p>For this tutorial to work, you need a Subversion client and a Mercurial client. Unfortunately, the functionality required for this tutorial hasn&#8217;t been implemented in the popular graphical clients yet (such as TortoiseSVN), so we&#8217;ll need to stick with the command line.</p>
<ul>
<li class="first-item"><em>Subversion:</em> Windows users can download <a href="http://www.sliksvn.com/en/download/" target="_blank">SlikSVN</a>. Linux users can use their packaging system.</li>
<li class="last-item">
<p><em>Mercurial:</em> TortoiseHg comes with a command line client; otherwise go to <a href="http://mercurial.selenic.com" target="_blank">mercurial.selenic.com</a> and download the client there.</p>
</li>
</ul>
<p><em>Note:</em> The Subversion version doesn&#8217;t really matter here.</p>
<h1 id="creating_a_local_copy">Creating a local copy</h1>
<p>Although it&#8217;s possible to convert a Subversion repository directly over the internet/network, the whole process may not succeed on the first attempt. So it’s recommended to first create a local copy of the Subversion repository.</p>
<p>To achieve this, we&#8217;ll use one of Subversion&#8217;s command line programms: <code>svnsync</code>. First, we need to create an empty Subversion repository. Execute the following commands:</p>
<pre class="code">## Linux/Mac
$ cd /where/to/store/the/copy
$ svnadmin create .</pre>
<pre class="code">## Windows
&gt; cd where\to\store\the\copy
&gt; svnadmin create .</pre>
<p>Then you need to <em>create</em> a file in the directory <code>hooks</code> (which was created by <code>svnadmin create</code>) with the following contents.</p>
<p>On Linux/Mac (name it <code>pre-revprop-change</code> and make it executable via <code>chmod +x pre-revprop-change</code>):</p>
<pre class="code">#!/bin/sh
exit 0</pre>
<p>On Windows (name it <code>pre-revprop-change.cmd</code>):</p>
<pre class="code">@echo off
exit 0</pre>
<p>Now you can run <code>svnsync</code>.</p>
<pre class="code">## Linux/Mac
$ svnsync init file://`pwd` http://www.example.com/source/repository
Copied properties for revision 0.

$ svnsync sync file://`pwd`
Transmitting file data .
Committed revision 1.
Copied properties for revision 1.
Transmitting file data ..
Committed revision 2.
Copied properties for revision 2.
...</pre>
<pre class="code">## Windows
# The quotes around %cd% are required for directory names containing spaces
&gt; svnsync init file:///&quot;%cd%&quot; http://www.example.com/source/repository
Copied properties for revision 0.

&gt; svnsync sync file:///&quot;%cd%&quot;
Transmitting file data .
Committed revision 1.
Copied properties for revision 1.
Transmitting file data ..
Committed revision 2.
Copied properties for revision 2.
...</pre>
<p><strong>Troubleshooting:</strong></p>
<ul>
<li class="first-item">&#8220;svnsync: Destination repository has not been initialized&#8221;<br />
This error propably is the result of specifying an invalid URL for the source repository.</li>
<li class="last-item">
<p>&#8220;Transmitting file data .svnsync: no such table: rep_cache&#8221;<br />
To solve this you need to edit the file <code>db/fsfs.conf</code> and add the line <code>enable-rep-sharing = false</code>.</p>
</li>
</ul>
<h1 id="converting_the_repository">Converting the repository</h1>
<p>Mercurial come with an extension called &#8220;convert&#8221; that does just that: converting a non-Mercurial repository into a Mercurial repository.</p>
<p>First, the new Mercurial repository must be created (Windows commands work the same way):</p>
<pre class="code">$ hg init /path/to/new/repos</pre>
<p>After that, converting the repository is as simple as that:</p>
<pre class="code">$ hg convert --datesort path/to/svnrepos path/to/hgrepos</pre>
<p>And that&#8217;s it.</p>
<p><strong>Notes:</strong></p>
<ul>
<li class="first-item">The <code>--datesort</code> parameter preserves the revision order of the Subversion repository. Without this <code>hg convert</code> would convert one branch after another resulting in a different revision order.</li>
<li>You may want to create a file called <code>authormap</code> in the <code>.hg</code> directory of the new repository and a mapping from Subversion author names to real names.</li>
<li>SVN externals won&#8217;t be converted. You need to convert the external repositories yourself and/or use Mercurial subrepositories for them.</li>
<li class="last-item">
<p>Instead of <code>path/to/svnrepos</code> you can also specify the URL to a remote SVN repository. This way you don&#8217;t need to sync the repository first to your local hard drive.</p>
</li>
</ul>
<h2 id="converting_sub_project_directory">Converting sub project directory</h2>
<p>Some repositories contain multiple projects with a directory structure like this:</p>
<pre class="code">+ proj1
+--- trunk
+--- tags
+--- branches
+ proj2
+--- trunk
+--- tags
+--- branches</pre>
<p>The process to convert only one of those projects (=directories) differs a little bit from the process above.</p>
<p>First, you still <em>need to sync the whole SVN repository</em>. Although <code>svnsync</code> allows you to sync only certain subdirectories, this process will most likely introduce empty revision (i.e. when a revision only changed files in a directory that isn&#8217;t synced). If such an empty revision happens to be the head revision, the Mercurial conversion process will fail with <code>svn: revision XXX not found</code> (see <a href="http://mercurial.selenic.com/bts/issue2834" target="_blank">issue 2834</a>).</p>
<p>Next, in <code>hg convert</code> you need to use the <code>file://</code> URL syntax for the SVN repository. So, the first parameter of the following command changes to this:</p>
<pre class="code"># On Linux
$ hg convert --datesort &quot;file://`pwd`/path/to/svnrepos/proj2&quot; path/to/hgrepos</pre>
<p>Note that we&#8217;ve appended the subdirectory <code>proj2</code> to the SVN path. This will only convert this subdirectory.</p>
<p>On Windows we need to do the same thing but we also need to convert the <code>\</code> in the path to <code>/</code> before we can use it:</p>
<pre class="code">REM On Windows
&gt; hg convert --datesort &quot;file:///%cd:\=/%/path/to/svnrepos/proj2&quot; path/to/hgrepos</pre>
<h2 id="converting_only_a_single_directory">Converting only a single directory</h2>
<p>You can also convert it single directory from within the repository. To do this, do the same steps up to the <code>convert</code> command. Then use this command:</p>
<pre class="code">$ hg convert --datesort --config 'convert.hg.usebranchnames=False' file://`ls -d $PWD/path/to/svnrepos`/trunk/sources path/to/hgrepos</pre>
<p>This just converts the directory <code>trunk/sources</code> from within the Subversion repository (which resides in the current directory under <code>path/to/svnrepos</code>).</p>
<p>Two thing are different here from the command above:</p>
<ol>
<li class="first-item">The path is specified by using <code>file://...</code>. Specifying the path without this doesn&#8217;t work in this case.</li>
<li class="last-item">We specify the option <code>convert.hg.usebranchnames</code>. Without this option, the new Mercurial repository would contain only one branch named &#8220;sources&#8221; (in this example). With this option, the branch will be named &#8220;default&#8221; (which is the default).</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2010/10/29/migrating-from-subversion-to-mercurial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Warnung vor der Sonne</title>
		<link>http://manski.net/2010/06/28/warnung-vor-der-sonne/</link>
		<comments>http://manski.net/2010/06/28/warnung-vor-der-sonne/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 08:18:06 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://manski.net/?p=1284</guid>
		<description><![CDATA[Folgender Kommentar findet sich momentan bei Steam: Scheinbare Aussage: Wer Computer spielt, ist vor den Gefahren der Sonne geschützt]]></description>
			<content:encoded><![CDATA[<p>Folgender Kommentar findet sich momentan bei Steam:</p>
<p><a href="http://manski.net/wordpress/wp-content/uploads/2010/06/Bildschirmfoto-2010-06-28-um-10.15.12.png" rel="shadowbox[sbpost-1284];player=img;" title="Sonnen-Warnung"><img src="http://manski.net/wordpress/wp-content/uploads/2010/06/Bildschirmfoto-2010-06-28-um-10.15.12-300x46.png" alt="Steam warnt vor der Sonne" title="Sonnen-Warnung" width="300" height="46" class="size-medium wp-image-1285" /></a></p>
<p>Scheinbare Aussage: Wer Computer spielt, ist vor den Gefahren der Sonne geschützt <img src='http://manski.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2010/06/28/warnung-vor-der-sonne/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux</title>
		<link>http://manski.net/2010/06/24/linux/</link>
		<comments>http://manski.net/2010/06/24/linux/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 12:53:33 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Funny Stuff]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://manski.net/2010/06/24/linux/</guid>
		<description><![CDATA[Unix is user-friendly. It&#8217;s just very selective about who its friends are. - Anonymous]]></description>
			<content:encoded><![CDATA[<blockquote><p align="right">Unix is user-friendly. It&#8217;s just very selective about who its friends are.     <br />- Anonymous</p>
</blockquote>
<p align="left"><img style="display: block; float: none; margin-left: auto; margin-right: auto" title="sudo sandwich" alt="sudo sandwich" src="http://manski.net/wordpress/wp-content/uploads/2010/06/image.png" width="190" height="158" /></p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2010/06/24/linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WinAmp und Multimedia-Tasten</title>
		<link>http://manski.net/2010/04/26/winamp-und-multimedia-tasten/</link>
		<comments>http://manski.net/2010/04/26/winamp-und-multimedia-tasten/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 11:41:09 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[global hotkeys]]></category>
		<category><![CDATA[winamp]]></category>

		<guid isPermaLink="false">http://manski.net/2010/04/26/winamp-und-multimedia-tasten/</guid>
		<description><![CDATA[Mein schon etwas betagteres HP-Notebook hat an verschiedenen Stellen Multimediatasten, also Tasten mit denen man seine Mediaplayer (wie z.B. WinAmp) steuern kann (spricht: Play, Stop, …). Seit ich Windows 7 habe, habe ich diese allerdings nicht zu Laufen bekommen können. Ich dachte immer, dass das am “Tastaturtreiber” (Quick Launch Buttons) liegt. Heute hab ich aber [...]]]></description>
			<content:encoded><![CDATA[<p>Mein schon etwas betagteres HP-Notebook hat an verschiedenen Stellen Multimediatasten, also Tasten mit denen man seine Mediaplayer (wie z.B. WinAmp) steuern kann (spricht: Play, Stop, …).</p>
<p>Seit ich Windows 7 habe, habe ich diese allerdings nicht zu Laufen bekommen können. Ich dachte immer, dass das am “Tastaturtreiber” (Quick Launch Buttons) liegt. Heute hab ich aber rausgefunden, dass das Problem bei WinAmp liegt und sich extrem einfach beheben lässt. Man muss unter den Einstellungen einfach nur die “Globalen Tastenkürzel” aktivieren. Und dafür reicht es nicht, das entsprechende Plugin bei der Installation von WinAmp mitzuinstallieren – sondern man muss die Tastenkürzel auch noch manuell aktivieren, da sie standardmäßig (aus welchen Gründen auch immer) deaktiviert sind.</p>
<p><a href="http://manski.net/wordpress/wp-content/uploads/2010/04/winampglobalhotkeys.png" rel="lightbox" title="winamp-global-hotkeys"><img style="display: inline" title="winamp-global-hotkeys" alt="winamp-global-hotkeys" src="http://manski.net/wordpress/wp-content/uploads/2010/04/winampglobalhotkeys_thumb.png" width="500" height="384" /></a> </p>
<p>Und schon funktionieren die Tasten.</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2010/04/26/winamp-und-multimedia-tasten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook-Chat in externem Instant Messenger</title>
		<link>http://manski.net/2010/04/22/facebook-chat-in-externem-instant-messenger/</link>
		<comments>http://manski.net/2010/04/22/facebook-chat-in-externem-instant-messenger/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 08:07:14 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[im]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://manski.net/2010/04/22/facebook-chat-in-externem-instant-messenger/</guid>
		<description><![CDATA[Facebook unterstützt seit kurzem das offene Instant Messenger Protokoll XMPP (a.k.a. Jabber). Damit kann man seinen Facebook-Chat in jedem IM einbinden, der XMPP unterstützt – ohne dass man dafür ein spezielles Facebook-Plugin benötigt. Ein Beispiel für einen solchen IM ist Pidgin (Windows, Linux) bzw. Adium (MacOSX). Im Folgenden gibt es eine kurze Erklärung, wie du [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-04-27 10:23:17 -->
<div class="align-right image-align-right"><img src="http://manski.net/wordpress/wp-content/uploads/2010/04/266pxFacebook.svg_.png" title="Facebook Logo" alt="Facebook Logo"/></div>
<p>Facebook unterstützt <a href="http://developers.facebook.com/blog/post/361" target="_blank">seit kurzem</a> das offene Instant Messenger Protokoll <a href="http://de.wikipedia.org/wiki/Xmpp" target="_blank">XMPP</a> (a.k.a. Jabber). Damit kann man seinen Facebook-Chat in jedem IM einbinden, der XMPP unterstützt – ohne dass man dafür ein spezielles Facebook-Plugin benötigt. Ein Beispiel für einen solchen IM ist <a href="http://pidgin.im/" target="_blank">Pidgin</a> (Windows, Linux) bzw. <a href="http://adium.im/" target="_blank">Adium</a> (MacOSX).</p>
<div class="align-left image-align-left"><img src="http://manski.net/wordpress/wp-content/uploads/2010/04/176pxXMPP_Logo.svg_.png" title="XMPP Logo" alt="XMPP Logo"/></div>
<p>Im Folgenden gibt es eine kurze Erklärung, wie du Facebook-XMPP in deinem bevorzugten IM einrichtest.</p>
<p>Zunächst muss man seinen Facebook-Benutzernamen rausfinden. Das ist <em>nicht</em> die E-Mail-Adresse, mit der man sich üblicherweise bei Facebook anmeldet. Stattdessen findet man ihn in Facebook unter <code>Konto &gt; Kontoeinstellungen &gt; Nutzername</code>.</p>
<div class="align-center image-align-center"><a href="http://manski.net/wordpress/wp-content/uploads/2010/04/nutzername1.png" rel="shadowbox[sbpost-1260];player=img;" title="Nutzername im Facebook Profil"><img src="http://manski.net/wordpress/wp-content/plugins/blogtext/api/thumbnail/do.php?id=6e74778e790a4d363563613b18a1e33c61f880c8_500x500_resize_if_larger" title="Nutzername im Facebook Profil" alt="Nutzername im Facebook Profil" width="500" height="122"/></a></div>
<p>Diesen verwendet man dann beim Erstellen des XMPP-Kontos im IM:</p>
<ul>
<li class="first-item">Benutzer: dein Facebook-Nutzername (wie eben ermittelt)</li>
<li>Domain: chat.facebook.com</li>
<li>Passwort: dein Facebook-Passwort</li>
<li class="last-item">
<p>SSL muss deaktiviert werden (bei Pidgin unter <code>Erweitert &gt; SSL/TLS voraussetzen</code>)</p>
</li>
</ul>
<p>Danach erscheinen alle Facebook-Freunde in der Kontaktliste.</p>
<p>Gegenüber einem &#8220;normalen&#8221; XMPP-Server gibt es jedoch einige <a href="http://wiki.developers.facebook.com/index.php/Integrating_with_Facebook_Chat#Limitations" target="_blank">Einschränkungen</a>. Insbesondere können von anderen XMPP-Servern keine Nachrichten an den Facebook-Account gesendet werden und es können über den IM weder Kontakte zum Facebook-Account hinzugefügt noch entfernt werden, da die Kontakte auf den Freundschaften in Facebook basieren.</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2010/04/22/facebook-chat-in-externem-instant-messenger/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Firefox-Roundup</title>
		<link>http://manski.net/2010/04/07/firefox-roundup/</link>
		<comments>http://manski.net/2010/04/07/firefox-roundup/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 08:25:29 +0000</pubDate>
		<dc:creator>Manski</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://manski.net/2010/04/07/firefox-roundup/</guid>
		<description><![CDATA[Nachdem der Firefox 3.6 nun schon seit einiger Zeit erhältlich ist, war es heute mal Zeit, meine Firefox-Addons zu durchforsten und sie zu aktualisieren. Im Zuge dessen habe ich auch meine Firefox-Addon-Liste mal wieder überarbeitet und ein paar Addons im Bereich &#8220;Tab-Preview&#8221; und &#8220;Tablet-PC&#8221; durch Firefox-interne Einstellungen ersetzt.]]></description>
			<content:encoded><![CDATA[<p><!-- Cached "rss-item" item from 2012-04-29 19:22:59 -->Nachdem der Firefox 3.6 nun schon seit einiger Zeit erhältlich ist, war es heute mal Zeit, meine Firefox-Addons zu durchforsten und sie zu aktualisieren. Im Zuge dessen habe ich auch <a href="http://manski.net/2007/11/17/meine-liebsten-firefox-add-ons/">meine Firefox-Addon-Liste</a> mal wieder überarbeitet und ein paar Addons im Bereich &#8220;Tab-Preview&#8221; und &#8220;Tablet-PC&#8221; durch Firefox-interne Einstellungen ersetzt.</p>
]]></content:encoded>
			<wfw:commentRss>http://manski.net/2010/04/07/firefox-roundup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

