<?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>Divide and Conquer</title>
	<atom:link href="http://www.divideandconquer.se/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.divideandconquer.se</link>
	<description>David's Software Development Blog</description>
	<lastBuildDate>Thu, 24 Jun 2010 13:47:00 +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>ZYB closing</title>
		<link>http://www.divideandconquer.se/2010/06/24/zyb-closing/</link>
		<comments>http://www.divideandconquer.se/2010/06/24/zyb-closing/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 13:47:00 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.divideandconquer.se/?p=665</guid>
		<description><![CDATA[For a couple of years I&#8217;ve been using ZYB to backup my mobile phone book online. They got bought by Vodafone and now they&#8217;re closing:
On 31 July, ZYB will be closing.  Please go to www.360.com to register and backup your phone there. We thank all of our customers for their support!
]]></description>
			<content:encoded><![CDATA[<p>For a couple of years I&#8217;ve been using <a href="http://zyb.com/" onclick="pageTracker._trackPageview('/outgoing/zyb.com/?referer=');">ZYB</a> to backup my mobile phone book online. They got bought by Vodafone and now they&#8217;re closing:</p>
<blockquote><p>On 31 July, ZYB will be closing.  Please go to www.360.com to register and backup your phone there. We thank all of our customers for their support!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.divideandconquer.se/2010/06/24/zyb-closing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spotify 0.4 in WINE: &#8220;File is an unsupported format&#8221;</title>
		<link>http://www.divideandconquer.se/2010/05/07/spotify-0-4-in-wine-file-is-an-unsupported-format/</link>
		<comments>http://www.divideandconquer.se/2010/05/07/spotify-0-4-in-wine-file-is-an-unsupported-format/#comments</comments>
		<pubDate>Fri, 07 May 2010 18:08:44 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Spotify]]></category>

		<guid isPermaLink="false">http://www.divideandconquer.se/?p=661</guid>
		<description><![CDATA[I bought Serengeti&#8217;s album Standing Steady on MP3 from Bengans and wanted to play it in Spotify as &#8220;Local Files&#8221;. It worked perfectly in MS Windows, but on Ubuntu I got &#8220;File is an unsupported format&#8221;. WTF?
Spotify acknowledges this:
Spotify uses the system-supplied MP3 decoder on all platforms, and during our limited testing we found the [...]]]></description>
			<content:encoded><![CDATA[<p>I bought <a href="http://serengetimusic.com/" onclick="pageTracker._trackPageview('/outgoing/serengetimusic.com/?referer=');">Serengeti</a>&#8217;s album Standing Steady on MP3 from <a href="http://digital.bengans.se/" onclick="pageTracker._trackPageview('/outgoing/digital.bengans.se/?referer=');">Bengans</a> and wanted to play it in Spotify as &#8220;Local Files&#8221;. It worked perfectly in MS Windows, but on Ubuntu I got &#8220;File is an unsupported format&#8221;. WTF?</p>
<p><a href="http://www.spotify.com/se/help/faq/wine/" onclick="pageTracker._trackPageview('/outgoing/www.spotify.com/se/help/faq/wine/?referer=');">Spotify acknowledges this</a>:</p>
<blockquote><p>Spotify uses the system-supplied MP3 decoder on all platforms, and during our limited testing we found the Wine decoder to be excessively unstable on quite a few MP3 files, including some from our purchase partners. We are therefore blocking codecs with the identifier “WINE-MPEG3″ until the Wine system works satisfactorily.</p></blockquote>
<p>One workaround I found involved <a href="http://blog.mrfjo.org/2010/04/27/how-i-made-spotify-0-4-play-local-mp3-files-on-linux/" onclick="pageTracker._trackPageview('/outgoing/blog.mrfjo.org/2010/04/27/how-i-made-spotify-0-4-play-local-mp3-files-on-linux/?referer=');">recompiling or binary-patching WINE</a>. Not so fun.</p>
<p>The official support forum contained a solution based around <a href="http://getsatisfaction.com/spotify/topics/spotify_under_wine_unable_to_playback_local_files" onclick="pageTracker._trackPageview('/outgoing/getsatisfaction.com/spotify/topics/spotify_under_wine_unable_to_playback_local_files?referer=');">installing Windows Media Player 10</a>. I have downloaded and installed it now according to the instructions, but already the playback froze once. Well, Spotify isn&#8217;t perfectly reliable in WINE anyway, so this is probably Good Enough.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.divideandconquer.se/2010/05/07/spotify-0-4-in-wine-file-is-an-unsupported-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ThinkPad X40 with Ubuntu 10.04 (Lucid Lynx)</title>
		<link>http://www.divideandconquer.se/2010/04/30/thinkpad-x40-with-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://www.divideandconquer.se/2010/04/30/thinkpad-x40-with-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 08:32:48 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Lucid Lynx]]></category>

		<guid isPermaLink="false">http://www.divideandconquer.se/?p=659</guid>
		<description><![CDATA[I&#8217;m writing this from Ubuntu 10.04 (Lucid Lynx) on my &#8220;travel&#8221; laptop, a venerable ThinkPad X40. There were two things I needed to fix to make it work:
The Intel Corporation 82852/855GM Integrated Graphics Device [PCI 8086:3582] needed Workaround A: Re-enable KMS found on Lucidi8xxFreezes to start X.
My Huawei E620 USB Modem [USB 12d1:1446/12d1:1001] for mobile [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m writing this from Ubuntu 10.04 (<em>Lucid Lynx</em>) on my &#8220;travel&#8221; laptop, a venerable ThinkPad X40. There were two things I needed to fix to make it work:</p>
<p>The <em>Intel Corporation 82852/855GM Integrated Graphics Device</em> [PCI 8086:3582] needed <a href="https://wiki.ubuntu.com/X/Bugs/Lucidi8xxFreezes" onclick="pageTracker._trackPageview('/outgoing/wiki.ubuntu.com/X/Bugs/Lucidi8xxFreezes?referer=');">Workaround A: Re-enable KMS</a> found on <a href="https://wiki.ubuntu.com/X/Bugs/Lucidi8xxFreezes" onclick="pageTracker._trackPageview('/outgoing/wiki.ubuntu.com/X/Bugs/Lucidi8xxFreezes?referer=');">Lucidi8xxFreezes</a> to start X.</p>
<p>My <em>Huawei E620 USB Modem </em>[USB 12d1:1446/12d1:1001] for mobile broadband worked after removing the /etc/udev/rules.d/15-huawei-e1551.rules file I used to get the same device working in Ubuntu 9.10 (<em>Karmic Koala</em>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.divideandconquer.se/2010/04/30/thinkpad-x40-with-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>The Book Of JOSH is back online!</title>
		<link>http://www.divideandconquer.se/2010/04/22/the-book-of-josh-is-back-online/</link>
		<comments>http://www.divideandconquer.se/2010/04/22/the-book-of-josh-is-back-online/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 19:19:07 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.divideandconquer.se/?p=653</guid>
		<description><![CDATA[A little more than a year ago I wrote Recommended reading: “The Book Of JOSH: Scala In The Enterprise”. Since then, the original article was removed from the author&#8217;s blog and I didn&#8217;t know of any copies.
The other day I was browsing already read articles in Google Reader, and found the article in Google Reader!
As [...]]]></description>
			<content:encoded><![CDATA[<p>A little more than a year ago I wrote <a href="http://www.divideandconquer.se/2009/03/25/the-book-of-josh-scala-in-the-enterprise/">Recommended reading: “The Book Of JOSH: Scala In The Enterprise”</a>. Since then, the original article was removed from the author&#8217;s blog and I didn&#8217;t know of any copies.</p>
<p>The other day I was browsing already read articles in Google Reader, and found the article in Google Reader!</p>
<p>As I like the article very much and still would like to recommend it to others, I have decided to host it myself: <a href="/book-of-josh/">The Book Of JOSH</a>. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.divideandconquer.se/2010/04/22/the-book-of-josh-is-back-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Øresund Agile 2010 has been cancelled</title>
		<link>http://www.divideandconquer.se/2010/04/21/%c3%b8resund-agile-2010-has-been-cancelled/</link>
		<comments>http://www.divideandconquer.se/2010/04/21/%c3%b8resund-agile-2010-has-been-cancelled/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 13:59:08 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Softhouse]]></category>

		<guid isPermaLink="false">http://www.divideandconquer.se/?p=642</guid>
		<description><![CDATA[It seems like too few people registered for Øresund Agile 2010:
As painful as it is, we have deemed it necessary to cancel this years  conference.
]]></description>
			<content:encoded><![CDATA[<p>It seems like too few people registered for <a href="http://www.oresundagile.org/" onclick="pageTracker._trackPageview('/outgoing/www.oresundagile.org/?referer=');">Øresund Agile 2010</a>:</p>
<blockquote><p>As painful as it is, we have deemed it necessary to cancel this years  conference.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.divideandconquer.se/2010/04/21/%c3%b8resund-agile-2010-has-been-cancelled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Øresund Agile 2010 takes place on May 17-20 in Malmö</title>
		<link>http://www.divideandconquer.se/2010/03/10/%c3%b8resund-agile-2010-takes-place-on-may-17-20-in-malmo/</link>
		<comments>http://www.divideandconquer.se/2010/03/10/%c3%b8resund-agile-2010-takes-place-on-may-17-20-in-malmo/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 09:55:38 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.divideandconquer.se/?p=636</guid>
		<description><![CDATA[Øresund Agile is short for&#8230;
the meeting point for Agile  Software Development in Scandinavia
I expect great talks and workshops. For example, Johanna Rothman will be speaking!
By the way, Lean Magazine #5 is available for download!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.oresundagile.org/" onclick="pageTracker._trackPageview('/outgoing/www.oresundagile.org/?referer=');">Øresund Agile</a> is short for&#8230;</p>
<blockquote><p>the meeting point for Agile  Software Development in Scandinavia</p></blockquote>
<p>I expect great talks and workshops. For example, Johanna Rothman will be speaking!</p>
<p>By the way, <a href="http://www.2010.oresundagile.org/blog/lean-magazine" onclick="pageTracker._trackPageview('/outgoing/www.2010.oresundagile.org/blog/lean-magazine?referer=');">Lean Magazine #5 is available for download</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.divideandconquer.se/2010/03/10/%c3%b8resund-agile-2010-takes-place-on-may-17-20-in-malmo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Now on IPv6</title>
		<link>http://www.divideandconquer.se/2010/02/14/now-on-ipv6/</link>
		<comments>http://www.divideandconquer.se/2010/02/14/now-on-ipv6/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 13:45:32 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[AAAA]]></category>
		<category><![CDATA[easyDNS]]></category>
		<category><![CDATA[GleSYS]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Loopia]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.divideandconquer.se/?p=625</guid>
		<description><![CDATA[I configured a bunch of IPv6 addresses on my GleSYS VPS and got it working after setting the proper route.
After that I added AAAA records for the .se domains I buy through Loopia, including this one. Some of my domains are on easyDNS and they do not appear to support AAAA records until the new [...]]]></description>
			<content:encoded><![CDATA[<p>I configured a bunch of IPv6 addresses on my <a href="http://glesys.se/" onclick="pageTracker._trackPageview('/outgoing/glesys.se/?referer=');">GleSYS</a> VPS and got it working after <a href="http://vpsforum.se/viewtopic.php?f=10&amp;t=139" onclick="pageTracker._trackPageview('/outgoing/vpsforum.se/viewtopic.php?f=10_amp_t=139&amp;referer=');">setting the proper route</a>.</p>
<p>After that I added AAAA records for the .se domains I buy through <a href="https://www.loopia.se/" onclick="pageTracker._trackPageview('/outgoing/www.loopia.se/?referer=');">Loopia</a>, including this one. Some of my domains are on <span><a href="http://www.easydns.com/" onclick="pageTracker._trackPageview('/outgoing/www.easydns.com/?referer=');">easyDNS</a> and they do not appear to support AAAA records until the <a href="http://blog.easydns.com/archives/306-Big-Changes-Coming-to-easyDNS.html" onclick="pageTracker._trackPageview('/outgoing/blog.easydns.com/archives/306-Big-Changes-Coming-to-easyDNS.html?referer=');">new member interface launches</a>. According to <a href="http://blog.easydns.com/archives/225-Ten-Years-of-easyDNS.html" onclick="pageTracker._trackPageview('/outgoing/blog.easydns.com/archives/225-Ten-Years-of-easyDNS.html?referer=');">1,5 years old information</a> it should add AAAA support.</span></p>
<p><span>For testing I added an IPv6-only record for this server: </span><a href="http://ipv6.divideandconquer.se/" onclick="pageTracker._trackPageview('/outgoing/ipv6.divideandconquer.se/?referer=');">ipv6.divideandconquer.se</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.divideandconquer.se/2010/02/14/now-on-ipv6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote control of XBMC, but not too much</title>
		<link>http://www.divideandconquer.se/2010/01/23/remote-control-of-xbmc-but-not-too-much/</link>
		<comments>http://www.divideandconquer.se/2010/01/23/remote-control-of-xbmc-but-not-too-much/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 19:55:29 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[XBMC]]></category>

		<guid isPermaLink="false">http://www.divideandconquer.se/?p=618</guid>
		<description><![CDATA[Yesterday and today I have scripted a small web interface for remote control of XBMC using its HTTP API. (BTW, That API could really use a redesign!)
It&#8217;s actually just a page showing a screen shot and the name of the file that is currently playing, together with some commands to remote control XBMC.
Available commands are [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday and today I have scripted a small web interface for remote control of <a href="http://xbmc.org/" onclick="pageTracker._trackPageview('/outgoing/xbmc.org/?referer=');">XBMC</a> using its <a href="http://xbmc.org/wiki/?title=WebServerHTTP-API" onclick="pageTracker._trackPageview('/outgoing/xbmc.org/wiki/?title=WebServerHTTP-API&amp;referer=');">HTTP API</a>. (BTW, That API could really use a redesign!)</p>
<p>It&#8217;s actually just a page showing a screen shot and the name of the file that is currently playing, together with some commands to remote control XBMC.</p>
<p>Available commands are pause/resume, stop, play another file, and shutdown.</p>
<p>I also implemented support for showing notifications on the XBMC screen, which gave me an idea:</p>
<p>The Google Calendar can e-mail reminders for appointments. If XBMC is running, the reminder could be shown as a notification on the XBMC monitor.</p>
<p>I was just about to start implementing this calendar-reminder-in-XBMC when I reminded myself that there are many other small and big projects that would be more valuable for me. But instead of throwing this idea right down the trashcan I decided to blog about it first. Done!</p>
<p>Now I&#8217;ll spend some valuable time with my son!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.divideandconquer.se/2010/01/23/remote-control-of-xbmc-but-not-too-much/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mark as junk in Evolution, train SpamAssassin on server</title>
		<link>http://www.divideandconquer.se/2009/12/28/mark-as-junk-in-evolution-train-spamassassin-on-server/</link>
		<comments>http://www.divideandconquer.se/2009/12/28/mark-as-junk-in-evolution-train-spamassassin-on-server/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 12:52:10 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.divideandconquer.se/?p=610</guid>
		<description><![CDATA[Evolution has a feature for marking e-mail as junk. This will set an IMAP keyword &#8220;Junk&#8221; on those messages. On my mail server I run Dovecot as IMAP server and Spamassassin through Amavis to filter spam. How could I get Spamassassin to learn that all e-mails marked as junk in Evolution are spam? With a [...]]]></description>
			<content:encoded><![CDATA[<p>Evolution has a feature for marking e-mail as junk. This will set an IMAP keyword &#8220;Junk&#8221; on those messages. On my mail server I run Dovecot as IMAP server and Spamassassin through Amavis to filter spam. How could I get Spamassassin to learn that all e-mails marked as junk in Evolution are spam? With a shell script, of course. I currently run it as root but maybe it is possible to give the amavis user permissions to read my Maildir&#8230;</p>
<blockquote>
<pre>#!/bin/sh

if [ `whoami` != 'root' ]; then
  exec sudo $0 $@
fi

find ~david/Maildir -name dovecot-keywords | (
while read keywords; do

  DIR=`dirname $keywords`
  #echo $DIR &gt;&amp;2
  # XXX only supports 10 keywords
  CHAR=`awk '$2 == "Junk" { print $1; quit;  }' $keywords |
    tr '0-9' 'a-j'`

  if [ "$CHAR" ]; then
    find $DIR/cur $DIR/new -regex "[^,]*,[^,]*$CHAR.*" |
      xargs sa-learn --dbpath /var/lib/amavis/.spamassassin/ --spam
  fi

done
)
/etc/init.d/spamassassin reload</pre>
</blockquote>
<p>Helpful pages: <a href="http://wiki.dovecot.org/MailboxFormat/Maildir" onclick="pageTracker._trackPageview('/outgoing/wiki.dovecot.org/MailboxFormat/Maildir?referer=');">Maildir format used by Dovecot</a>, <a href="Spamassassin with amavis: Tips and tricks">Spamassassin with amavis: Tips and tricks</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.divideandconquer.se/2009/12/28/mark-as-junk-in-evolution-train-spamassassin-on-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Policy notification from Google</title>
		<link>http://www.divideandconquer.se/2009/12/15/policy-notification-from-google/</link>
		<comments>http://www.divideandconquer.se/2009/12/15/policy-notification-from-google/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 13:11:10 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Web developmnet]]></category>
		<category><![CDATA[AdSense]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.divideandconquer.se/?p=603</guid>
		<description><![CDATA[My Swedish site Folkmun allows anyone to add words and their definitions. It&#8217;s a simple Swedish version of Urban Dictionary. Some people add very explicit words and I had totally forgotten that such words may clash with Google AdSense policies. Today I received a friendly warning:
While reviewing your account, we noticed that you are currently [...]]]></description>
			<content:encoded><![CDATA[<p>My Swedish site <a href="http://folkmun.se/" onclick="pageTracker._trackPageview('/outgoing/folkmun.se/?referer=');">Folkmun</a> allows anyone to add words and their definitions. It&#8217;s a simple Swedish version of <a href="http://www.urbandictionary.com/" onclick="pageTracker._trackPageview('/outgoing/www.urbandictionary.com/?referer=');">Urban Dictionary</a>. Some people add very explicit words and I had totally forgotten that such words may clash with Google AdSense policies. Today I received a friendly warning:</p>
<blockquote><p>While reviewing your account, we noticed that you are currently displaying Google ads in a manner that is not compliant with our policies. For instance, we found violations of AdSense policies on pages such as<br />
<a href="http://www.folkmun.se/definition/Apaj%C3%A4vel" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.folkmun.se/definition/Apaj_C3_A4vel?referer=');">http://www.folkmun.se/definition/Apaj%C3%A4vel</a>. Please note that this URL is an example and that the same violations may exist on other pages of your website.</p></blockquote>
<p>Needless to say, I have made a couple of modifications to the site, including hiding ads when displaying explicit words or definitions. If this wasn&#8217;t good enough, I&#8217;ll know in a couple of days&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.divideandconquer.se/2009/12/15/policy-notification-from-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
