<?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>BanniBlog &#187; Tech</title>
	<atom:link href="http://www.michaelbannister.co.uk/blog/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michaelbannister.co.uk/blog</link>
	<description>pointless ramblings</description>
	<lastBuildDate>Tue, 22 Feb 2011 00:16:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>I need a Wii bit of advice…</title>
		<link>http://www.michaelbannister.co.uk/blog/2008/03/08/i-need-a-wii-bit-of-advice%e2%80%a6/</link>
		<comments>http://www.michaelbannister.co.uk/blog/2008/03/08/i-need-a-wii-bit-of-advice%e2%80%a6/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 16:08:28 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.michaelbannister.co.uk/blog/2008/03/08/i-need-a-wii-bit-of-advice%e2%80%a6/</guid>
		<description><![CDATA[I&#8217;ve ordered a Nintendo Wii. This will be my first ever games console, so I need a bit of advice on what games to get. So far, I&#8217;ve ordered: The Wii with Sports Pack Extra Wii-mote and Nunchuck (I share the flat with 2 others so would be fun to have multiplayerness) Rayman&#8217;s Ravin Rabbids [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve ordered a Nintendo Wii. This will be my first ever games console, so I need a bit of advice on what games to get.  So far, I&#8217;ve ordered:</p>

<ul>
<li>The Wii with Sports Pack</li>
<li>Extra Wii-mote and Nunchuck (I share the flat with 2 others so would be fun to have multiplayerness)</li>
<li>Rayman&#8217;s Ravin Rabbids (or however it&#8217;s spelt), on the grounds that for multiplayer silliness we might get bored with Sports quite quickly.  Now, this one I bought from gamestation.co.uk and decided to risk buying a &#8216;used&#8217; rather than a new copy, as it&#8217;s cheaper.  Is this a good idea?</li>
</ul>

<p>I also intend to get Super Mario Galaxy as all reviews I&#8217;ve read were positively glowing, and I have had a brief go at it on a friend&#8217;s Wii and was quite captivated by the whooshiness of everything.</p>

<p>So, at some point – though not just yet – I will be looking for more games.  I&#8217;ve been reading around and so far I&#8217;m tempted by these:</p>

<ul>
<li>The Legend of Zelda: Twilight Princess (N.B. I have never played a Zelda game!)</li>
<li>Metroid Prime 3: Corruption (hey, I need at least <em>one</em> shooty game…)</li>
</ul>

<p>Any hints, tips, suggestions?</p>

<p>Perhaps I will chronicle my first console experiences here in the weeks to come.</p>

<p>(By the way, having noticed the last thing I posted publicly here on this blog, I should probably comment that I am single, having broken up with Katy at New Year.  London–Glasgow was pretty difficult.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelbannister.co.uk/blog/2008/03/08/i-need-a-wii-bit-of-advice%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Beware of the Leopard</title>
		<link>http://www.michaelbannister.co.uk/blog/2006/08/08/beware-of-the-leopard/</link>
		<comments>http://www.michaelbannister.co.uk/blog/2006/08/08/beware-of-the-leopard/#comments</comments>
		<pubDate>Mon, 07 Aug 2006 23:44:56 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.michaelbannister.co.uk/blog/2006/08/08/beware-of-the-leopard/</guid>
		<description><![CDATA[The WWDC coverage at Engadget is pretty good, with lots of pictures. Basically, we&#8217;ve got up to 3GHz dual dual-core Xeon (Woodcrest) Mac Pros, Xeon Xserves coming in a couple of months, and some info about what&#8217;s going to be in Leopard. Notably cool things under that last heading include: “Spaces” (a very polished-looking implementation [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.engadget.com/2006/08/07/live-from-wwdc-2006-steve-jobs-keynote/">WWDC coverage at Engadget</a> is pretty good, with lots of pictures.  Basically, we&#8217;ve got up to 3GHz dual dual-core Xeon (Woodcrest) <a href="http://www.apple.com/macpro/">Mac Pros</a>, Xeon Xserves coming in a couple of months, and some info about what&#8217;s going to be in Leopard.  Notably cool things under that last heading include: <a href="http://www.apple.com/macosx/leopard/spaces.html">“Spaces”</a> (a very polished-looking implementation of virtual desktops), <a href="http://www.apple.com/macosx/leopard/timemachine.html">“Time Machine”</a> (ditto automated backup solution) and <a href="http://www.apple.com/macosx/leopard/dashboard.html">“Web Clips”</a> in Dashboard (grab a specific area of a webpage, and turn it into a Dashboard widget).  No doubt there will now be lots of speculation over the features they aren&#8217;t announcing.</p>

<p>I&#8217;m going to try sleeping again.  I think the cup of strong tea I drank just before going to bed actually affected me.  Weird.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelbannister.co.uk/blog/2006/08/08/beware-of-the-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby joy</title>
		<link>http://www.michaelbannister.co.uk/blog/2006/06/21/ruby-joy/</link>
		<comments>http://www.michaelbannister.co.uk/blog/2006/06/21/ruby-joy/#comments</comments>
		<pubDate>Wed, 21 Jun 2006 08:58:43 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.michaelbannister.co.uk/blog/2006/06/21/ruby-joy/</guid>
		<description><![CDATA[This is mainly to annoy Emma. She mentioned that she&#8217;d had to implement a conversion between base 36 and base something-else (64?). I cannot begin to describe how horrible that would be in COBOL. But in Ruby&#8230; ;-) Admittedly, to do this more &#8220;the Ruby way&#8221;, I&#8217;d write this as a module, or a mixin, [...]]]></description>
			<content:encoded><![CDATA[<p>This is mainly to annoy Emma.  She mentioned that she&#8217;d had to implement a conversion between base 36 and base something-else (64?).  I cannot begin to describe how horrible that would be in COBOL.  But in Ruby&#8230; ;-)</p>

<p>Admittedly, to do this more &#8220;the Ruby way&#8221;, I&#8217;d write this as a module, or a mixin, or something.  But for now, this will do.  Call it proof of concept, if you will.  I&#8217;m very happy with the conversion from a string in base <em>b</em> to an internal integer type, as it uses a beautiful method called &#8220;inject&#8221;; this is, to a certain extent, very much like the &#8220;foldl/foldr&#8221; of ML which I learnt in my CompSci course.  It&#8217;s so elegant!
Want to be able to do something similar with the conversion back to string, but I&#8217;m pretty sure I can&#8217;t.</p>

<pre><code>#!/usr/local/ror/bin/ruby -w
# This works up to base 64. Easily extensible,
# just add more to the $base_ch array.

$base_ch = Array.new [('0'..'9').to_a,
                      ('a'..'z').to_a,
                      '+','/',
                      ('A'..'Z').to_a].flatten

def int_from_base(str,base)
  str.split(//).inject(0) {|v,d| v*base + $base_ch.index(d)}
end

test = int_from_base("7f3ks0g6",36)
puts test
</code></pre>

<p>&#8211;> 581417181510</p>

<pre><code>def int_to_str_base(num,base)
  result = ""
  while (num &gt; 0) do
    result &lt;&lt; $base_ch[num % base]
    num /= base
  end
  result.reverse
end

out = int_to_str_base(test,64)
puts out
</code></pre>

<p>&#8211;> 8tvay56</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelbannister.co.uk/blog/2006/06/21/ruby-joy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>computing outdoors</title>
		<link>http://www.michaelbannister.co.uk/blog/2006/06/11/computing-outdoors-2/</link>
		<comments>http://www.michaelbannister.co.uk/blog/2006/06/11/computing-outdoors-2/#comments</comments>
		<pubDate>Sun, 11 Jun 2006 18:40:19 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.michaelbannister.co.uk/blog/2006/06/11/computing-outdoors-2/</guid>
		<description><![CDATA[Well, I went and bought the MacBook. I&#8217;m still getting it set up how I want it, but I have transferred all my old email across and got Safari bookmarks &#38; Address Book synchronising nicely between my 2 Macs. I am now sitting in the garden, have sent the emails I wrote whilst on the [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I went and bought the MacBook.  I&#8217;m still getting it set up how I want it, but I have transferred all my old email across and got Safari bookmarks &amp; Address Book synchronising nicely between my 2 Macs.  I am now sitting in the garden, have sent the emails I wrote whilst on the train to Cambridge yesterday, and finished my first nontrivial bash script (which renders and saves manpages as PDFs, plus an md5 hash so that if the manpage is updated (for whatever reason) the PDF will be re-generated.  OK, so an experienced shell-scripter would probably call that trivial, but it&#8217;s not immediately obvious what conditions have to be put in [[ ]] and that sort of thing, and the fact that the manpage says $(cmd) is recommended over `cmd` but I don&#8217;t know if there&#8217;s a difference, or what difference it makes when a command is run in a subshell, or… well, you get the picture.</p>

<p>Had a lovely time in Cambridge; went up yesterday afternoon, saw friend#1, then met CULES(friends#2-n) on Jesus Green, then went to friend#2&#8242;s house with CULES, had BBQ and laughed at people in cold paddling pool, then went to see X-Men III (entertaining).  This morning I had a very pleasant wander around town before having breakfast in Café Carrington, then sat on the Paddock in college for a while and friend#n+1 came to chat.  Finally had lunch with friend#n+2 and her mum.  So, lots of people seen, lots of sunshine enjoyed &#8211; a success!</p>

<p><em>N.B. friends are numbered in the order in which they appear, rather than by importance!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelbannister.co.uk/blog/2006/06/11/computing-outdoors-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MmmmmmmmmmmacBook</title>
		<link>http://www.michaelbannister.co.uk/blog/2006/05/16/mmmmmmmmmmmacbook/</link>
		<comments>http://www.michaelbannister.co.uk/blog/2006/05/16/mmmmmmmmmmmacbook/#comments</comments>
		<pubDate>Tue, 16 May 2006 19:33:57 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.michaelbannister.co.uk/blog/2006/05/16/mmmmmmmmmmmacbook/</guid>
		<description><![CDATA[Apple finally released the MacBook, the Intel-based sucessor to the iBook. It comes in 3 models, at 3 prices. The cheapest is £749 and is very tempting. The other two are priced at £899 and £1028.99 and differ in only two ways: hard disk size (60GB vs. 80GB) and colour (white vs. black). So thats, [...]]]></description>
			<content:encoded><![CDATA[<p>Apple finally released the <a href="http://www.apple.com/macbook/">MacBook</a>, the Intel-based sucessor to the iBook.  It comes in 3 models, at 3 prices.  The cheapest is £749 and is <em>very</em> tempting.  The other two are priced at £899 and £1028.99 and differ in only two ways: hard disk size (60GB vs. 80GB) and colour (white vs. black).  So thats, say, £100 difference <em>because of the colour</em>?!  WTFOMGBBQ!??!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelbannister.co.uk/blog/2006/05/16/mmmmmmmmmmmacbook/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Host transfer complete</title>
		<link>http://www.michaelbannister.co.uk/blog/2006/05/04/host-transfer-complete/</link>
		<comments>http://www.michaelbannister.co.uk/blog/2006/05/04/host-transfer-complete/#comments</comments>
		<pubDate>Thu, 04 May 2006 21:16:47 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.michaelbannister.co.uk/blog/2006/05/04/host-transfer-complete/</guid>
		<description><![CDATA[My site is now hosted by Prime Hosting. I&#8217;ve switched away from WebFusion for 3 reasons: I was paying too much. WebFusion only offered me 1 MySQL database; I now get 5, which is plenty. Prime Hosting offers Ruby and Ruby on Rails support. This is a Good Thing™ as Ruby is cool. :-) I [...]]]></description>
			<content:encoded><![CDATA[<p>My site is now hosted by <a href="http://www.primehosting.co.uk/">Prime Hosting</a>.  I&#8217;ve switched away from <a href="http://www.webfusion.co.uk/">WebFusion</a> for 3 reasons:</p>

<ol>
<li>I was paying too much.</li>
<li>WebFusion only offered me 1 MySQL database; I now get 5, which is plenty.</li>
<li>Prime Hosting offers <a href="http://www.ruby-lang.org/en/">Ruby</a> and <a href="http://www.rubyonrails.org/">Ruby on Rails</a> support.  This is a Good Thing™ as Ruby is cool. :-)</li>
</ol>

<p>I think I have successfully transferred all content from my old site; this took a bit of faffing as I had this blog, a <a href="http://www.phpbb.com/">phpBB</a> forum and an <a href="http://www.simplemachines.org/">SMF</a> forum, plus some random crap.</p>

<p>Unfortunately, in the MySQL unload/reload the character sets of my posts and comments seem to have been munged a bit.  Since I like Unicode (well, UTF-8) and I like typing in &#8220;special&#8221; characters like ellipsis (…), Trademark (™) and en- and em-dashes (– and —), there are a fair few posts with glitches, as they are now apparently Latin-1 in the database.  Or something.  I can&#8217;t figure it out, but if I change them through the WordPress interface, it seems to work.</p>

<p>I want a <a href="http://www.moogmusic.com/detail.php?main_product_id=14">Theremin</a>.  OH WOW!  Moog Music is due to release a sort of cut-down Minimoog: the <a href="http://www.moogmusic.com/detail.php?main_product_id=227">Little Phatty</a>.  Yum!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelbannister.co.uk/blog/2006/05/04/host-transfer-complete/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Not long to wait…</title>
		<link>http://www.michaelbannister.co.uk/blog/2005/10/16/not-long-to-wait%e2%80%a6/</link>
		<comments>http://www.michaelbannister.co.uk/blog/2005/10/16/not-long-to-wait%e2%80%a6/#comments</comments>
		<pubDate>Sun, 16 Oct 2005 19:27:31 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.michaelbannister.co.uk/blog/2005/10/16/not-long-to-wait%e2%80%a6/</guid>
		<description><![CDATA[Apple announced another press event for this Wednesday, mentioning something about their pro range of products. This can only mean PowerMac updates at last! :) Saw Wallace &#38; Gromit in The Curse of the Were-Rabbit yesterday with Emma and Paul. Was good fun, but unfortunate that circumstances had forced me into going to a 2pm [...]]]></description>
			<content:encoded><![CDATA[<p>Apple announced another press event for this Wednesday, mentioning something about their pro range of products.  This can only mean PowerMac updates at last!  :)</p>

<p>Saw <em>Wallace &amp; Gromit in The Curse of the Were-Rabbit</em> yesterday with Emma and Paul.  Was good fun, but unfortunate that circumstances had forced me into going to a 2pm showing, as there were lots of small children in the cinema.  Need to bear this in mind next month when I go to see <em>Harry Potter and the Goblet of Fire</em>.  Also this weekend found the trailer for the latter film (on Apple&#8217;s site).  I still can&#8217;t get used to Michael Gambon as Dumbledore; in the trailer he shouts a lot and sounds much scarier than he should.  Maybe they&#8217;re trying to decrease the fluffiness of it as the books get darker.  No idea how they&#8217;ll fit in any more than about 20% of the story, though!</p>

<p>I&#8217;ve installed Ruby on Rails on my computer; haven&#8217;t tried it yet as I discovered my installation of MySQL had gone a bit weird.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelbannister.co.uk/blog/2005/10/16/not-long-to-wait%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hoping for &#8220;…and another thing&#8221;</title>
		<link>http://www.michaelbannister.co.uk/blog/2005/10/12/hoping-for-%e2%80%a6and-another-thing/</link>
		<comments>http://www.michaelbannister.co.uk/blog/2005/10/12/hoping-for-%e2%80%a6and-another-thing/#comments</comments>
		<pubDate>Wed, 12 Oct 2005 20:38:58 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://www.michaelbannister.co.uk/blog/?p=9</guid>
		<description><![CDATA[Apple&#8217;s &#8220;one more thing…&#8221; gave us iTunes 6 (hot on the heels of iTunes 5), video-playing iPods, iTMS selling videos (what kind of quality, I wonder?) and a thinner iMac with &#8220;Front Row&#8221;, a remote control, built-in iSight and no modem. I&#8217;m disappointed. Partly because I don&#8217;t see the point of video on an iPod. [...]]]></description>
			<content:encoded><![CDATA[<p>Apple&#8217;s &#8220;one more thing…&#8221; gave us iTunes 6 (hot on the heels of iTunes 5), video-playing iPods, iTMS selling videos (what kind of quality, I wonder?) and a thinner iMac with &#8220;Front Row&#8221;, a remote control, built-in iSight and no modem.</p>

<p>I&#8217;m disappointed.  Partly because I don&#8217;t see the point of video on an iPod.  The screen&#8217;s simply too small to be able to enjoy it.  320 x 240 resolution?  Ha!  (But then, I thought the same about camera phones.)  Spurred on by ThinkSecret&#8217;s articles on the announcement, I had been hoping for PowerMacs with dual-core G5s with IBM&#8217;s PowerPC 970MP chips, and updated PowerBooks.  Perhaps they&#8217;ll turn up soon.</p>

<p>Too braindead to write more&#8212;an effect of staring at COBOL all day.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelbannister.co.uk/blog/2005/10/12/hoping-for-%e2%80%a6and-another-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>G&amp;S: the Ring-Wraiths?</title>
		<link>http://www.michaelbannister.co.uk/blog/2005/10/05/gs-the-ring-wraiths/</link>
		<comments>http://www.michaelbannister.co.uk/blog/2005/10/05/gs-the-ring-wraiths/#comments</comments>
		<pubDate>Wed, 05 Oct 2005 06:43:36 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.michaelbannister.co.uk/blog/?p=6</guid>
		<description><![CDATA[Reading Tom Holt&#8217;s The Portable Door, I came across this wonderful line (emphasis mine): Married sisters in Broitwich and unreliable cousins made much more sense in the cold light of morning than Gilbert and Sullivan bearing down on him like a brace of Nazgul. Intriguing news items on the Mac rss feeds this morning: Apple [...]]]></description>
			<content:encoded><![CDATA[<p>Reading Tom Holt&#8217;s <em>The Portable Door</em>, I came across this wonderful line (emphasis mine):</p>

<blockquote>
  <p>Married sisters in Broitwich and unreliable cousins made much more sense in the cold light of morning than Gilbert and Sullivan bearing down on him <em>like a brace of Nazgul</em>.</p>
</blockquote>

<p>Intriguing news items on the Mac rss feeds this morning: Apple has announced a &#8220;special event&#8221; in San Jose in a week&#8217;s time, entitled <a href="http://www.macworld.com/news/2005/10/04/appleevent/index.php">One more thing&#8230;</a>.  My money&#8217;s on either dual-core PowerMacs, or something totally new.  But perhaps something totally new would have been announced at a bigger event.  I can&#8217;t wait to see what it is.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michaelbannister.co.uk/blog/2005/10/05/gs-the-ring-wraiths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  www.michaelbannister.co.uk/blog/category/tech/feed/ ) in 0.25032 seconds, on Feb 6th, 2012 at 10:19 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 6th, 2012 at 11:19 am UTC -->
