<?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>James McDonald</title>
	<atom:link href="http://jamesmcdonald.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesmcdonald.com</link>
	<description>Stuff I wrote about things</description>
	<lastBuildDate>Mon, 23 Jan 2012 19:36:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to find our flat</title>
		<link>http://jamesmcdonald.com/2012/01/how-to-find-our-flat/</link>
		<comments>http://jamesmcdonald.com/2012/01/how-to-find-our-flat/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 19:36:01 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Flat]]></category>

		<guid isPermaLink="false">http://jamesmcdonald.com/?p=54</guid>
		<description><![CDATA[As our building is a bit of a maze, we thought it would be useful to tell you how to find the flat. There are two exciting ways to get here, but this is the easiest to follow. First, go &#8230; <a href="http://jamesmcdonald.com/2012/01/how-to-find-our-flat/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As our building is a bit of a maze, we thought it would be useful to tell you how to find the flat. There are two exciting ways to get here, but this is the easiest to follow.</p>
<p>First, go to Øvre Storgate 1B. You can find it <a style="color: #0000ff; text-align: left;" href="http://maps.google.no/maps?f=q&amp;source=embed&amp;hl=no&amp;geocode=&amp;q=%C3%98vre+Storgate+1B&amp;aq=&amp;sll=61.143235,9.09668&amp;sspn=19.475471,35.244141&amp;vpsrc=0&amp;ie=UTF8&amp;hq=&amp;hnear=%C3%98vre+Storgate+1B,+3018+Drammen,+Buskerud&amp;t=m&amp;z=14&amp;ll=59.743467,10.203002">with Google Maps.</a> Press buzzer 4A. Wait for the nice people to let you in.</p>
<p><a href="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_0045.jpg"><img class="size-medium wp-image-55 alignleft" title="IMG_0045" src="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_0045-224x300.jpg" alt="" width="224" height="300" /></a><br />
You find yourself in a hallway. There is a welcoming door here. Go through the door and turn right.</p>
<div style="clear: both;"/>
<a href="http://jamesmcdonald.com/wp-content/uploads/2012/01/bilde.jpg"><img src="http://jamesmcdonald.com/wp-content/uploads/2012/01/bilde-224x300.jpg" alt="" title="bilde" width="224" height="300" class="alignleft size-medium wp-image-57" /></a><br />
There&#8217;s a door on the right to the garage. Go through it and turn left.</p>
<div style="clear: both"/>
<a href="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_0047.jpg"><img src="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_0047-224x300.jpg" alt="" title="IMG_0047" width="224" height="300" class="alignleft size-medium wp-image-56" /></a><br />
Cross the garage. There&#8217;s a raised area at the back with a door on the left.</p>
<div style="clear: both"/>
<a href="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_00481.jpg"><img src="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_00481-224x300.jpg" alt="" title="IMG_0048" width="224" height="300" class="alignleft size-medium wp-image-73" /></a><br />
Go through the door which leads to the bottom of the back stairwell. The complicated bit is now over!</p>
<div style="clear: both"/>
<a href="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_0049.jpg"><img src="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_0049-224x300.jpg" alt="" title="IMG_0049" width="224" height="300" class="alignleft size-medium wp-image-60" /></a><br />
Climb up 2 flights of stairs.</p>
<div style="clear: both"/>
<a href="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_0050.jpg"><img src="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_0050-224x300.jpg" alt="" title="IMG_0050" width="224" height="300" class="alignleft size-medium wp-image-61" /></a><br />
Oh no! Another flight of stairs. Nearly there though.</p>
<div style="clear: both"/>
<a href="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_0051.jpg"><img src="http://jamesmcdonald.com/wp-content/uploads/2012/01/IMG_0051-224x300.jpg" alt="" title="IMG_0051" width="224" height="300" class="alignleft size-medium wp-image-62" /></a><br />
Woo, you made it! Go through this door <img src='http://jamesmcdonald.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>If you&#8217;re feeling adventurous, you can try to find the other way on your own. Hint: it starts with the front stairwell. There are bad instructions on the welcoming door!</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesmcdonald.com/2012/01/how-to-find-our-flat/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Get off of my iCloud</title>
		<link>http://jamesmcdonald.com/2011/10/get-off-of-my-icloud/</link>
		<comments>http://jamesmcdonald.com/2011/10/get-off-of-my-icloud/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 10:06:30 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://jamesmcdonald.com/?p=50</guid>
		<description><![CDATA[Like several people I know, I have two AppleID accounts for personal use. I have one that I set up back when an iPod was my only Apple gadget and they first opened the iTunes Store. This has all my &#8230; <a href="http://jamesmcdonald.com/2011/10/get-off-of-my-icloud/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Like several people I know, I have two AppleID accounts for personal use. I have one that I set up back when an iPod was my only Apple gadget and they first opened the iTunes Store. This has all my (large number of) iTunes purchases associated with it. I also have a MobileMe account that I set up a while later when I first bought a Mac, which I now largely use for the me.com email address associated with it. So far this has worked nicely. I log in to the iTunes account for iTunes and to the MobileMe account for email, sync etc.</p>
<p>The age of iCloud is rapidly approaching. We MobileMe users have an easy migration path, and until next summer to migrate. The idea with iCloud is that you need log in to only one service for everything. This makes sense: the idea is that you have everything bound to a single identity. You log in to that and you get all your email, calendar, backups, media, apps etc. Shiny. Except&#8230;</p>
<p>The MobileMe-iCloud migration FAQ makes it clear that accounts can&#8217;t be merged. This is Apple&#8217;s historical policy &#8211; whatever opinion one has about it, it&#8217;s not unexpected. Generally the opinion one has about it is that it&#8217;s somewhat lame, especially when the merging of iTunes and MobileMe is the entire *point* of iCloud (other than gaining distance from the now-embarrassing MobileMe brand and using the word &#8216;cloud&#8217; in something).</p>
<p>The trick is that they also don&#8217;t make it clear whether you can do a &#8216;manual&#8217; merge. If I close my MobileMe account, I don&#8217;t know whether that will make my email address available to attach to my iCloud account. I&#8217;ve just spoken to Apple&#8217;s MobileMe support and they don&#8217;t know either, though iCloud is still in developer beta so it&#8217;s likely they just haven&#8217;t been given details at the consumer support level yet. I have previously investigated the possibility of moving my iTunes purchases&#8217; &#8220;association&#8221; to the MobileMe account. Apparently that can&#8217;t be done either.</p>
<p>So now it seems that MobileMe users in this situation might end up having to manually switch between accounts depending on whether they want to send email or watch a movie right now, or sacrifice their existing MobileMe address and pick a new one for iCloud. This is really my main concern: I&#8217;ve used that address on so many sites I have lost track, so it&#8217;s really not feasible to chase them all down and change them. More to the point, I don&#8217;t want to and I shouldn&#8217;t have to.</p>
<p>My hope is that there&#8217;s a gap in my knowledge and some path will be open to merging or migration. It seems a little unfortunate that when Apple are finally starting up an online service that is free and, hopefully, reliable, they are causing more headaches for the people who paid to support its overpriced, unreliable predecessor.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesmcdonald.com/2011/10/get-off-of-my-icloud/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Linux locale problems over ssh from a Mac</title>
		<link>http://jamesmcdonald.com/2011/10/linux-locale-problems-over-ssh-from-a-mac/</link>
		<comments>http://jamesmcdonald.com/2011/10/linux-locale-problems-over-ssh-from-a-mac/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 08:07:16 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://jamesmcdonald.com/?p=47</guid>
		<description><![CDATA[Most users of Debian/Ubuntu have at some time seen these annoying messages: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_GB.UTF-8" are supported and &#8230; <a href="http://jamesmcdonald.com/2011/10/linux-locale-problems-over-ssh-from-a-mac/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Most users of Debian/Ubuntu have at some time seen these annoying messages:</p>
<p><code><br />
perl: warning: Setting locale failed.<br />
perl: warning: Please check that your locale settings:<br />
	LANGUAGE = (unset),<br />
	LC_ALL = (unset),<br />
	LC_CTYPE = "UTF-8",<br />
	LANG = "en_GB.UTF-8"<br />
    are supported and installed on your system.<br />
perl: warning: Falling back to the standard locale ("C").<br />
</code></p>
<p>There are a variety of causes &#8211; usually locales not being generated properly or incorrect environment variables.</p>
<p>Lately I&#8217;ve been getting these a lot of these, but only some of the time. After some messing around I eventually discovered the problem wasn&#8217;t on the server itself. The problem only occurs when I&#8217;m logged in over SSH from a Mac. The default sshd on Debian <strong>copies LANG and LC_* variables</strong> from the client. The LC_CTYPE variable was set on my Mac, apparently by default, to &#8220;UTF-8&#8243;. While this seems to work on MacOS X, it&#8217;s not a valid value for Linux.</p>
<p>The easiest solution was just to add the following to my ~/.profile on the Mac:</p>
<p><code><br />
export LC_CTYPE=en_GB.UTF-8<br />
</code></p>
<p>That fixes it, and doesn&#8217;t appear to cause harm on the Mac.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesmcdonald.com/2011/10/linux-locale-problems-over-ssh-from-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back under your rock, please</title>
		<link>http://jamesmcdonald.com/2011/08/back-under-your-rock-please/</link>
		<comments>http://jamesmcdonald.com/2011/08/back-under-your-rock-please/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 18:56:48 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jamesmcdonald.com/?p=41</guid>
		<description><![CDATA[If you think multiculturalism, women, gays, people of any particular religion, colour etc &#8211; essentially any ideas or people deviating from some imagined &#8220;norm&#8221; you and your chums have created in order to maintain some feeling of &#8220;superiority&#8221; relative to &#8230; <a href="http://jamesmcdonald.com/2011/08/back-under-your-rock-please/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you think multiculturalism, women, gays, people of any particular religion, colour etc &#8211; essentially any ideas or people deviating from some imagined &#8220;norm&#8221; you and your chums have created in order to maintain some feeling of &#8220;superiority&#8221; relative to others in this big, scary world &#8211; are bad, then you are a bigoted arsehole, and real people with thoughts and feelings and stuff like that neither need nor want the repugnant, infectious filth which spews forth from you.</p>
<p>You need to stop saying things where real people might come across them, and then you need to crawl quietly back under your rock.</p>
<p>Good arsehole.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesmcdonald.com/2011/08/back-under-your-rock-please/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Invert mouse scroll wheel in Debian</title>
		<link>http://jamesmcdonald.com/2011/07/invert-mouse-scroll-wheel-in-debian/</link>
		<comments>http://jamesmcdonald.com/2011/07/invert-mouse-scroll-wheel-in-debian/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 11:49:01 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Hacks]]></category>

		<guid isPermaLink="false">http://jamesmcdonald.com/?p=36</guid>
		<description><![CDATA[I&#8217;ve been using the beta of MacOS X Lion for a few weeks now, and after a few days of initial annoyance I&#8217;ve grown to really like the inverted sense of the scroll wheel. I recall when I first got &#8230; <a href="http://jamesmcdonald.com/2011/07/invert-mouse-scroll-wheel-in-debian/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using the beta of MacOS X Lion for a few weeks now, and after a few days of initial annoyance I&#8217;ve grown to really like the inverted sense of the scroll wheel. I recall when I first got one, in fact, and found the direction downright confusing. This seems to have been an easy behaviour to unlearn.</p>
<p>My desktop box at work runs Debian, and I wanted the same behaviour there to stop me getting split-brain and dribbling a lot. There was a time when a quick change in xorg.conf to <code>ZAxisMapping "5 4"</code> would do this, but it&#8217;s not so the modern age of HIDs and evdevs. After a bit of messing about I figured out how to flip the scroll wheel. This will probably work for Ubuntu too.</p>
<ul>
<li>Open the file <code>/usr/share/X11/xorg.conf.d/10-evdev.conf</code></li>
<li>Look for the section with <code>MatchIsPointer "on"</code>. It&#8217;s at the top by default.</li>
<li>Add this line:<br />
	<code>Option "ButtonMapping" "1 2 3 5 4 6 7 8"</li>
<p></code>
</ul>
<p>Add more buttons if you need them for your mouse. The section should look like:<br />
<code><br />
Section "InputClass"<br />
        Identifier "evdev pointer catchall"<br />
        MatchIsPointer "on"<br />
        MatchDevicePath "/dev/input/event*"<br />
        Driver "evdev"<br />
	Option "ButtonMapping" "1 2 3 5 4 6 7 8"<br />
EndSection<br />
</code><br />
That&#8217;s it! Just restart X.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesmcdonald.com/2011/07/invert-mouse-scroll-wheel-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Norskups</title>
		<link>http://jamesmcdonald.com/2011/04/norskups/</link>
		<comments>http://jamesmcdonald.com/2011/04/norskups/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 19:06:39 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Language]]></category>
		<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://jamesmcdonald.com/?p=24</guid>
		<description><![CDATA[I would appear to have accidentally stirred up the norsktwitterredet. I&#8217;d better write something here in case they look.]]></description>
			<content:encoded><![CDATA[<p>I would appear to have accidentally stirred up the norsktwitterredet. I&#8217;d better write something here in case they look.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesmcdonald.com/2011/04/norskups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gah, not another bloody blog</title>
		<link>http://jamesmcdonald.com/2010/08/gah-not-another-bloody-blog/</link>
		<comments>http://jamesmcdonald.com/2010/08/gah-not-another-bloody-blog/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 16:08:20 +0000</pubDate>
		<dc:creator>james</dc:creator>
				<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://jamesmcdonald.com/?p=13</guid>
		<description><![CDATA[I felt the need for a place to put the occasional rant that&#8217;s longer than 140 characters. This may not happen very often, but it&#8217;ll happen here if you&#8217;re interested in that sort of thing.]]></description>
			<content:encoded><![CDATA[<p>I felt the need for a place to put the occasional rant that&#8217;s longer than 140 characters. This may not happen very often, but it&#8217;ll happen here if you&#8217;re interested in that sort of thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesmcdonald.com/2010/08/gah-not-another-bloody-blog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

