<?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>Tom Mitchell</title>
	<atom:link href="http://tom.net.nz/feed/" rel="self" type="application/rss+xml" />
	<link>http://tom.net.nz</link>
	<description>Life, the internets, and everything.</description>
	<lastBuildDate>Thu, 15 Dec 2011 00:19:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Windows Phone 7 game development tutorials</title>
		<link>http://tom.net.nz/2011/11/windows-phone-7-game-development-tutorials/</link>
		<comments>http://tom.net.nz/2011/11/windows-phone-7-game-development-tutorials/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 20:20:49 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://tom.net.nz/?p=473</guid>
		<description><![CDATA[Wow, updates to the blog have been few and far between lately! Recently I have been exploring the creation of video as an extension to my photography work &#8211; you can see some of the fruits of my labour on my YouTube channel. These have given me the taste for basic video production, and I [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, updates to the blog have been few and far between lately!</p>
<p>Recently I have been exploring the creation of video as an extension to my photography work &#8211; you can see some of the fruits of my labour on my <a href="http://www.youtube.com/TradeMarkNZ">YouTube channel</a>. These have given me the taste for basic video production, and I decided to combine coding and videography, to put together an open-ended series of screencasts about how to create an XNA game for Windows Phone.</p>
<p>If you have any interest in this topic, I would love for the readers of my blog to go and check it out and let me know what you think!</p>
<p>Here&#8217;s the first episode:</p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/MqyrCM1kIL8?hd=1" frameborder="0" allowfullscreen></iframe></p>
<p>You can find all of the episodes I have produced to date in <a href="http://www.youtube.com/playlist?list=PL94004E6E18C3CA62">a playlist</a>. I am aiming to put a new video together roughly once a week &#8211; so be sure to subscribe if you like what you see!</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.net.nz/2011/11/windows-phone-7-game-development-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone 7.5 &#8220;Mango&#8221; Update &#8211; Hidden features</title>
		<link>http://tom.net.nz/2011/10/windows-phone-7-5-mango-update-hidden-features/</link>
		<comments>http://tom.net.nz/2011/10/windows-phone-7-5-mango-update-hidden-features/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 15:58:05 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Boredom]]></category>

		<guid isPermaLink="false">http://tom.net.nz/?p=467</guid>
		<description><![CDATA[So Mango has finally shipped, and I&#8217;ve been able to install it on my phone. I&#8217;m loving a bunch of the new features, especially: Unified messaging interface. Lets you seamlessly switch between Facebook chat, text, etc &#8211; in a single conversation. Linked inboxes, and conversation aggregation. You can view multiple email accounts from a single [...]]]></description>
			<content:encoded><![CDATA[<p>So Mango has finally shipped, and I&#8217;ve been able to install it on my phone. I&#8217;m loving a bunch of the new features, especially:</p>
<ul>
<li>Unified messaging interface. Lets you seamlessly switch between Facebook chat, text, etc &#8211; in a single conversation.</li>
<li>Linked inboxes, and conversation aggregation. You can view multiple email accounts from a single tile, and emails belonging to a conversation are grouped together. Very, very useful.</li>
<li>Enhanced voice recognition. I just wrote a text to my girlfriend without touching the screen. Not to mention the fact that it nailed my (albeit simple) message body perfectly, first time.</li>
<li>Local Scout. While apps like Yelp were already useful for this sort of thing, having a &#8220;guide&#8221; to local eateries and attractions built right into the Maps is great.</li>
<li>Multi-tasking! Enough said.</li>
</ul>
<p>All of these (and many more features) are great, but what I&#8217;m especially loving is how many of my little &#8220;niggles&#8221; have been dealt to, without me even asking! Here&#8217;s a list of some of the smaller changes that I&#8217;ve noticed so far, but that probably wouldn&#8217;t make it into a press release:</p>
<ul>
<li>Snoozing an alarm now snoozes for 10 minutes instead of 5. This is a lifesaver&#8230; Can&#8217;t see any way to configure the timeout myself, though.</li>
<li>You can now switch off the camera shutter sound from the audio settings. That pervasive fake shutter noise is one of the most annoying things in the world &#8211; glad to be rid of it on my phone.</li>
<li>Music + Videos hub now opens right up to the &#8220;zune&#8221; section, ready for you to select music, videos, radio, etc &#8211; instead of the &#8220;history&#8221; section that it used to default to.</li>
<li>I use a PIN on my lock screen. You can now configure a &#8220;timeout&#8221;, whereby if you have already entered your PIN recently (say in the last 5 minutes), it won&#8217;t prompt you for the PIN for a second unlock within that period. Another great little feature &#8211; and one that I don&#8217;t see reproduced on other devices.</li>
</ul>
<p>This is a fantastic update that tackles a variety of problems with the original platform &#8211; both large and small.</p>
<p>However, even after all these great updates, I am still left with just one question; Why, oh why aren&#8217;t there bus directions in Maps?! I can get walking and car directions, but no bus. The ONE TIME I typically want to catch a bus is when I&#8217;m out and about, and only have my phone available. This is a HUGE oversight, and I was disappointed to not see it fixed in Mango.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.net.nz/2011/10/windows-phone-7-5-mango-update-hidden-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ridiculousness</title>
		<link>http://tom.net.nz/2011/04/ridiculousness/</link>
		<comments>http://tom.net.nz/2011/04/ridiculousness/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 21:38:23 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Intarwebs]]></category>

		<guid isPermaLink="false">http://tom.net.nz/?p=457</guid>
		<description><![CDATA[Today I was rudely reminded of how ridiculous telco pricing is. I&#8217;ve ranted on txt messaging before on my Twitter, but today I&#8217;m going to talk a little about data. I was recently on holiday up in Vancouver, BC. Unfortunately my GPS unit had not been preloaded with Canada maps, so in the interest of [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was rudely reminded of how ridiculous telco pricing is. I&#8217;ve ranted on txt messaging before <a href="http://twitter.com/#!/tmnz/status/21543162124">on</a> <a href="http://twitter.com/#!/tmnz/status/21543836319">my</a> <a href="http://twitter.com/#!/tmnz/status/21543920846">Twitter</a>, but today I&#8217;m going to talk a little about data.</p>
<p>I was recently on holiday up in Vancouver, BC. Unfortunately my GPS unit had not been preloaded with Canada maps, so in the interest of not getting lost, I elected to open a map once or twice on my smartphone. I knew that this would be charged as &#8220;roaming&#8221; data, and as a smart person I had done my research, and established that AT&amp;T would be charging me the exorbitant price of&#8230; $0.015 per kB. Didn&#8217;t seem soooo terrible &#8211; I figured that opening a map would use a handful of kB tops. If I was unlucky I was looking at a few dollars worth of usage. How wrong I was.</p>
<p>Total usage: 4.6MB. Total charge: $69. <a href="http://www.fmylife.com/">FML</a>.</p>
<p>Let&#8217;s put that in perspective. I pay $33 per month for internet at home. I can use up to 250GB on my plan without repercussion, although let&#8217;s say I average around 100GB. That means I pay around $0.000000315 per kB.</p>
<p>The upshot of this, is that the data I used in Canada cost me <strong>more than 47,000 times as much per byte</strong> than my home internet plan. Forty. Seven. Thousand. For those keeping score, that means that if the roaming charge was the <em>standard </em>rate, I would be getting a 99.9979% discount on my internet bill every month. You can&#8217;t make these numbers up, we&#8217;re talking mind-bogglingly disparate numbers here.</p>
<p>Now don&#8217;t get me wrong, I understand the implications of roaming. AT&amp;T has to negotiate with third-party providers to use their networks and their bandwidth when I&#8217;m out of the country. I understand that there is a significant difference between the cost of transferring data over a cable connection and a 3G connection. But if you think that all of those issues justify a <strong>4.7 million percent</strong> markup, you have got to be pulling my leg. Canada is a first-world country, with (presumably) first-world cell networks and internet access. AT&amp;T can give me an <em>unlimited</em> smartphone data plan for $20/mth, but can&#8217;t negotiate a better rate than $60 for 4MB of data?!</p>
<p>Give me a fucking break.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.net.nz/2011/04/ridiculousness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Purpose</title>
		<link>http://tom.net.nz/2011/04/purpose/</link>
		<comments>http://tom.net.nz/2011/04/purpose/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 19:13:22 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://tom.net.nz/?p=453</guid>
		<description><![CDATA[When my husband died, because he was so famous and known for not being a believer, many people would come up to me - it still sometimes happens - and ask me if Carl changed at the end and converted to a belief in an afterlife. They also frequently ask me if I think I will see him again. Carl [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>When my husband died, because he was so famous and known for not being a believer, many people would come up to me - it still sometimes happens - and ask me if Carl changed at the end and converted to a belief in an afterlife. They also frequently ask me if I think I will see him again. Carl faced his death with unflagging courage and never sought refuge in illusions. The tragedy was that we knew we would never see each other again. I don’t ever expect to be reunited with Carl. But, the great thing is that when we were together, for nearly twenty years, we lived with a vivid appreciation of how brief and precious life is. We never trivialized the meaning of death by pretending it was anything other than a final parting. Every single moment that we were alive and we were together was miraculous - not miraculous in the sense of inexplicable or supernatural. We knew we were beneficiaries of chance… That pure chance could be so generous and so kind… That we could find each other, as Carl wrote so beautifully in Cosmos, you know, in the vastness of space and the immensity of time… That we could be together for twenty years. That is something which sustains me and it’s much more meaningful…</p>
<p>The way he treated me and the way I treated him, the way we took care of each other and our family, while he lived. That is so much more important than the idea I will see him someday. I don’t think I’ll ever see Carl again. But I saw him. We saw each other. We found each other in the cosmos, and that was wonderful.</p></blockquote>
<p>Ann Druyan, talking about her late husband, Carl Sagan.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.net.nz/2011/04/purpose/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Without further ado&#8230;</title>
		<link>http://tom.net.nz/2011/03/without-further-ado/</link>
		<comments>http://tom.net.nz/2011/03/without-further-ado/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 22:58:48 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Photographics]]></category>

		<guid isPermaLink="false">http://tom.net.nz/?p=447</guid>
		<description><![CDATA[I present: Scenic Squirrel! A new photo taken by me is uploaded every day! Subscribe and stuff. I&#8217;m intending to use this as my main photography site now, so soon you&#8217;ll start seeing pics that don&#8217;t appear on my Flickr. Enjoy!]]></description>
			<content:encoded><![CDATA[<p>I present: <a href="http://www.scenicsquirrel.com">Scenic Squirrel</a>!</p>
<p>A new photo taken by me is uploaded every day! Subscribe and stuff. I&#8217;m intending to use this as my main photography site now, so soon you&#8217;ll start seeing pics that don&#8217;t appear on my Flickr. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.net.nz/2011/03/without-further-ado/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Random observation</title>
		<link>http://tom.net.nz/2011/01/random-observation/</link>
		<comments>http://tom.net.nz/2011/01/random-observation/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 22:26:44 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://tom.net.nz/?p=444</guid>
		<description><![CDATA[What&#8217;s the point of artificial sweetener? You&#8217;re so desperate to cut out just a teaspoon of sugar and replace it with some chemicals that have arguably dubious health implications of their own. And then with your coffee you go and get a cookie that has something like 3-4 teaspoons of sugar in it anyway&#8230; You&#8217;re retarded.]]></description>
			<content:encoded><![CDATA[<p>What&#8217;s the point of artificial sweetener? You&#8217;re so desperate to cut out just a <em>teaspoon </em>of sugar and replace it with some chemicals that have arguably dubious health implications of their own. And then with your coffee you go and get a cookie that has something like 3-4 teaspoons of sugar in it anyway&#8230; You&#8217;re retarded.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.net.nz/2011/01/random-observation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m alive!</title>
		<link>http://tom.net.nz/2010/11/im-alive/</link>
		<comments>http://tom.net.nz/2010/11/im-alive/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 18:52:44 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://tom.net.nz/?p=440</guid>
		<description><![CDATA[Not sure if I ever announced it here, but I&#8217;ve started a blog in parallel to this one to document my time in Seattle. It&#8217;s called Tom Lives! On it you will find fascinating and valuable information such as what car I bought, what I ate for breakfast, and who will be YOUR next American [...]]]></description>
			<content:encoded><![CDATA[<p>Not sure if I ever announced it here, but I&#8217;ve started a blog in parallel to this one to document my time in Seattle. It&#8217;s called <a href="http://tomlives.com/">Tom Lives!</a></p>
<p>On it you will find fascinating and valuable information such as what car I bought, what I ate for breakfast, and who will be YOUR next American Idol! Or something. Just check it out. And comment so I&#8217;m motivated to update it more. Chur.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.net.nz/2010/11/im-alive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 5.0 concurrency</title>
		<link>http://tom.net.nz/2010/10/c-5-0-concurrency/</link>
		<comments>http://tom.net.nz/2010/10/c-5-0-concurrency/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 05:33:14 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://tom.net.nz/?p=437</guid>
		<description><![CDATA[The next iteration of the core .NET languages (C#, VB.NET) looks set to have some pretty cool language constructs for performing tasks asynchronously in a really easy fashion. Designed to &#8220;let you have your cake and eat it to&#8221; &#8211; write code as you would for synchronous operations, and let the compiler take care of [...]]]></description>
			<content:encoded><![CDATA[<p>The next iteration of the core .NET languages (C#, VB.NET) looks set to have some pretty cool language constructs for performing tasks asynchronously in a really easy fashion. Designed to &#8220;let you have your cake and eat it to&#8221; &#8211; write code as you would for synchronous operations, and let the compiler take care of asynchronous callbacks and so on. Very cool! Check out the <a href="http://player.microsoftpdc.com/Session/1b127a7d-300e-4385-af8e-ac747fee677a">PDC talk from Anders Hejlsberg</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.net.nz/2010/10/c-5-0-concurrency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Diaspora on Windows</title>
		<link>http://tom.net.nz/2010/09/installing-diaspora-on-windows/</link>
		<comments>http://tom.net.nz/2010/09/installing-diaspora-on-windows/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 02:06:44 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://tom.net.nz/?p=401</guid>
		<description><![CDATA[Update: I have been super busy lately, so haven&#8217;t had time to update this post. Some parts may no longer be relevant, as the project is moving pretty quickly. There is now a page on Diaspora&#8217;s GitHub Wiki that describes some additional workarounds for Windows, so check there if your problem isn&#8217;t solved here. So [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: </strong>I have been super busy lately, so haven&#8217;t had time to update this post. Some parts may no longer be relevant, as the project is moving pretty quickly. There is now a page on <a href="http://github.com/diaspora/diaspora/wiki/Installing-on-Windows">Diaspora&#8217;s GitHub Wiki</a> that describes some additional workarounds for Windows, so check there if your problem isn&#8217;t solved here.</p>
<p>So today the <a href="http://www.joindiaspora.com">Diaspora</a> team finally released their <a href="http://github.com/diaspora">source</a> for developers. This post describes my efforts in getting Diaspora to run on Windows. It&#8217;s actually very straightforward (considering the readme has no mention of Windows!) &#8211; anyone with a small amount of technical knowledge should be able to successfully follow the steps below. I&#8217;ve included some fixes for common pitfalls. Please leave a comment if you are having trouble, or manage to find the solution to a problem you are having.</p>
<p><strong>Warning:</strong> Diaspora is classified as pre-alpha software. You should not be ditching Facebook and moving your online social persona to Diaspora &#8211; at least, not yet. It&#8217;s full of documented security holes and bugs. You should only be installing it to have a play with it and get a feel for what the system is going to be like.</p>
<h2>Prerequisites</h2>
<p>The <a href="http://github.com/diaspora/diaspora/blob/master/README.md">project readme</a> describes the prerequisites for the project, and gives a basic installation guide (for Ubuntu and MacOS X). You will need to install all of them:</p>
<ul>
<li><a href="http://www.mongodb.org/downloads">MongoDB</a></li>
<li>Git (<a href="http://code.google.com/p/tortoisegit/downloads/list">TortoiseGit</a> with <a href="http://code.google.com/p/msysgit/downloads/list">msysgit</a> &#8211; you need both)</li>
<li>Ruby 1.8.7 (version is important!). I used the <a href="http://rubyinstaller.org/download/">RubyInstaller Windows package</a>. Make sure you specify that Ruby binaries be placed on your PATH.</li>
<li>You will also need to install the Ruby DevKit from the same download page in order to build native gems. Comprehensive <a href="http://github.com/oneclick/rubyinstaller/wiki/Development-Kit">installation instructions</a> are available for the development kit. I used 3.4.5, but later versions should be fine.</li>
<li><a href="http://www.slproweb.com/products/Win32OpenSSL.html">OpenSSL</a> (Win32 v1.0.0a precompiled binary)</li>
<li><a href="http://www.imagemagick.org/script/binary-releases.php?ImageMagick=8oh273lq2k60s75ig4eheq5cl0#windows">ImageMagick</a> (6.6.4-2-Q16 Win32 DLL)</li>
<li>Bundler (type &#8220;gem install bundler&#8221; at the command line)</li>
</ul>
<p>You&#8217;ll need to make sure most things are on your path (especially your <strong>Ruby\bin</strong> directory).</p>
<h2>Getting the source and dependencies</h2>
<p>First, <strong>git clone</strong> the source into a sensible place using TortoiseGit. The repository URI is as follows:</p>
<pre>http://github.com/diaspora/diaspora.git</pre>
<p>Then, at a command line, browse to the repository and run the following command to install project dependencies:</p>
<pre>bundle install</pre>
<p>If you encounter an error about a native build failing, make sure you have installed the <a href="http://github.com/oneclick/rubyinstaller/wiki/Development-Kit">DevKit</a> properly.</p>
<p>If you encounter an error about bundler not being able to find its functions, you will need to modify one of bundler&#8217;s source files. Open up <strong>Ruby\lib\ruby\gems\1.8\gems\bundler-1.0.0\lib\bundler\lockfile_parser.rb</strong> and modify line 14 so it reads as follows:</p>
<pre class="brush:ruby">      lockfile.split(/\r?\n+/).each do |line|</pre>
<p>Then run the <strong>bundle install</strong> command again. (Thanks Kristoffer!)</p>
<p>When the command succeeds, you should see a pretty substantial list of items install (in the order of 50 or so). The Diaspora team certainly know how to reuse existing solutions!</p>
<h2>Running Diaspora</h2>
<p>There is an official guide to <a href="http://www.mongodb.org/display/DOCS/Quickstart+Windows">installing Mongo on Windows</a>, and <a href="http://www.mongodb.org/display/DOCS/Windows+Service">running it as a Windows service</a>, so I won&#8217;t go into that here. Just make sure that it is running before continuing (preferably as a service). Then, run the following at the command line from the repository directory to start the development server:</p>
<pre>bundle exec thin start</pre>
<p>You might encounter an error that looks like the following:</p>
<pre class="brush:plain">rbreadline.rb:4404: uninitialized constant RbReadline::Encoding (NameError)</pre>
<p>A quick search turned up a <a href="http://trbhoang.blogspot.com/2010/05/issue-with-rspec-on-windows.html">blog post</a> that described commenting out the affected line, which seemed to work for me. Just open <strong>Ruby\lib\ruby\site_ruby\1.8\rbreadline.rb</strong> in Notepad or similar, and comment out line 4404. This shouldn&#8217;t break anything significant. (It might affect you if you are doing some development and need to use the test suite &#8211; otherwise shouldn&#8217;t make a difference if you&#8217;re just running Diaspora to have a play).</p>
<p>Run the <strong>bundle exec thin start</strong> command to start the server once more, and you should see something similar to the following:</p>
<pre class="brush:plain">&gt;&gt; Using rack adapter
&gt;&gt; Thin web server (v1.2.7 codename No Hup)
&gt;&gt; Maximum connections set to 1024
&gt;&gt; Listening on 0.0.0.0:3000, CTRL+C to stop</pre>
<p>Opening <strong>localhost:3000</strong> in my web browser, I am then presented with the following:</p>
<p><a href="http://tom.net.nz/wp-content/uploads/2010/09/diaspora.png"><img class="alignnone size-medium wp-image-402" title="diaspora" src="http://tom.net.nz/wp-content/uploads/2010/09/diaspora-300x213.png" alt="" width="300" height="213" /></a></p>
<p>Success! I should mention that this is of course just a development server. If you close the command window then the server stops running.</p>
<h2>Getting access to your Diaspora node</h2>
<p><strong>Update:</strong> <span style="text-decoration: line-through;">To register on your server, browse to <strong>/get_to_the_choppa</strong></span>. [<em>This may no longer work, see next update</em>]. <span style="text-decoration: line-through;">It seems they haven&#8217;t yet built a proper registration page (or at least, you&#8217;re not supposed to be able to go to a random server and register)</span>. [<em>Official signup page is now present</em>]. Interestingly, that page worked for a short time on the developers&#8217; own nodes &#8211; it seems they&#8217;ve since plugged the hole though.</p>
<p><strong>Update 2:</strong> I assume the fact they&#8217;ve plugged the hole means it&#8217;s also plugged in the latest copy of the source. Here&#8217;s the &#8220;official&#8221; way to be able to log into Diaspora. [<em>This way still works fine, but you may prefer to start from scratch - see next update</em>]. From a command line in your repository, run the following commands:</p>
<pre>gem install rake</pre>
<pre>rake db:seed:tom</pre>
<pre>bundle exec thin start</pre>
<p>The rake command prepopulates some data, allowing you to then log in with username <strong>tom</strong> and password <strong>evankorth</strong>.</p>
<p><strong>Update 3:</strong> It seems a Sign Up link has now been added to the login page (and /get_to_the_choppa redirects to this). You may want to use this to gain access instead of one of the above steps. I would recommend using the method above however, as it populates some images and a &#8220;friend&#8221; to play with.</p>
<p>Here&#8217;s what my running version of Diaspora looks like:</p>
<p><a href="http://tom.net.nz/wp-content/uploads/2010/09/diaspora2.png"><img class="alignnone size-medium wp-image-406" title="diaspora2" src="http://tom.net.nz/wp-content/uploads/2010/09/diaspora2-300x213.png" alt="" width="300" height="213" /></a></p>
<p>Although, as you can see, image resizing seems to be broken at the moment &#8211; perhaps a problem with my ImageMagick install. Other than that, seems to functioning ok. Of course, the &#8220;excitement factor&#8221; of testing the experience of a social platform by oneself is not particularly great!</p>
<h2>Updating your Diaspora installation</h2>
<p>Code updates are being pushed pretty thick and fast currently. To upgrade your Diaspora node, run the following commands at the command line in your repository directory:</p>
<pre>git pull</pre>
<p>This gets the latest version of the source code. You may need to run a <strong>git stash</strong> first if it complains about uncomitted changes.</p>
<pre>bundle install</pre>
<p>This will update and install new dependencies. You may encounter an error about a native build failing. To temporarily add DevKit to your path to allow building, first run <strong>devkitvars.bat</strong> from the extracted DevKit directory, then try running <strong>bundle install</strong> again.</p>
<pre>rake</pre>
<p>This compiles code and runs the test suite. Don&#8217;t worry too much about failed tests! You can also optionally nuke your database to start fresh again by running:</p>
<pre>mongo diaspora-development
&gt; db.dropDatabase()</pre>
<p>Note that this requires MongoDB to be on your PATH. Finally, run the server again:</p>
<pre>bundle exec thin start</pre>
]]></content:encoded>
			<wfw:commentRss>http://tom.net.nz/2010/09/installing-diaspora-on-windows/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Still finding bugs</title>
		<link>http://tom.net.nz/2010/09/still-finding-bugs/</link>
		<comments>http://tom.net.nz/2010/09/still-finding-bugs/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 03:21:39 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://tom.net.nz/?p=396</guid>
		<description><![CDATA[Sometimes bugs really astound me. The current tom.net.nz theme has been active for at least 6 months. When I first developed the theme, it was in Firefox, and looked great. But then I started using Chrome and noticed the following: That is, sidebar text that looked fine in Firefox was now weirdly spaced out in [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes bugs really astound me. The current tom.net.nz theme has been active for at least 6 months. When I first developed the theme, it was in Firefox, and looked great. But then I started using Chrome and noticed the following:</p>
<p><a href="http://tom.net.nz/wp-content/uploads/2010/09/sidebar.png"><img class="alignnone size-full wp-image-397" title="sidebar" src="http://tom.net.nz/wp-content/uploads/2010/09/sidebar.png" alt="" width="371" height="389" /></a></p>
<p>That is, sidebar text that looked fine in Firefox was now weirdly spaced out in Chrome, and some elements (e.g. Archive date links) that were meant to be plain text now had Cufon styling.</p>
<p>For the longest time (well ok, maybe ~2 hours &#8211; still, a long time for such a minor annoyance), I searched my code, and tried out many different things in order to find a fix. I tried changing the Cufon selector (bypassing jQuery, for example), getting deep into the WordPress API to modify the output of the archive date list, messing with CSS, upgrading Cufon/jQuery, etc etc etc. Nothing I tried gave satisfactory results. Eventually I just gave up, and chalked it up as a behaviour oddity of jQuery selectors or Cufon, or something (I just knew it was nothing to do with me &#8211; how could it be, after putting so much time into it, right?!).</p>
<p>So today I was preparing to describe this oddity to someone as being a concrete example of weird JS in Chrome, and I happened to find this in part of the source:</p>
<pre class="brush:html">&lt;li&gt;&lt;h1&gt;&lt;a href="/"&gt;Home&lt;/a&gt;&lt;h1&gt;&lt;/li&gt;</pre>
<p>See the problem? I had fudged the closing <strong>h1</strong> tag. So basically, the behaviour I was seeing was not a bug in any of the libraries I was using, but rather Chrome and Firefox choosing to treat my broken code differently. It was also a frustratingly simple fix to what I had assumed was a complex problem (and had spent considerable time trying to fix). Going back for a second look, I found the 6-month-old bug almost by accident, in the space of about 30 seconds.</p>
<p>So at long last, my sidebar works correctly in all major browsers. Hurray! I just wish I&#8217;d had the aptitude to run my HTML through a validator or check it fully by hand back when the problem first manifested&#8230; Hindsight, as always, is 20/20.</p>
]]></content:encoded>
			<wfw:commentRss>http://tom.net.nz/2010/09/still-finding-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.905 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-06 04:33:46 -->

