<?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>whitehandkerchief.co.uk</title>
	<atom:link href="http://whitehandkerchief.co.uk/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://whitehandkerchief.co.uk/blog</link>
	<description></description>
	<lastBuildDate>Fri, 29 Jun 2012 16:44:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Raspberry Pi GPIO #2 &#8211; Motion Sensor</title>
		<link>http://whitehandkerchief.co.uk/blog/?p=109</link>
		<comments>http://whitehandkerchief.co.uk/blog/?p=109#comments</comments>
		<pubDate>Fri, 29 Jun 2012 16:39:08 +0000</pubDate>
		<dc:creator>Whiteh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://whitehandkerchief.co.uk/blog/?p=109</guid>
		<description><![CDATA[When I bought my Raspberry Pi, this is the main thing I wanted to do with it.  I wanted to implement low level hardware using the GPIO &#8211; and sensors were the components which really interested me.  So, motion sensing was the first step I took. I did a lot of research for this one <a href='http://whitehandkerchief.co.uk/blog/?p=109' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>When I bought my Raspberry Pi, this is the main thing I wanted to do with it.  I wanted to implement low level hardware using the GPIO &#8211; and sensors were the components which really interested me.  So, motion sensing was the first step I took.</p>
<p>I did a lot of research for this one &#8211; components weren&#8217;t that cheap.  They&#8217;re not earth-shatteringly expensive, but they&#8217;re the kind of price where you don&#8217;t want to be re-buying a lot of stuff if you keep making it set on fire.</p>
<p>Finding a motion sensor which would work with the 3.3v or 5v lines provided by the GPIO on the Raspberry Pi was the first step, followed closely by how best to provide power and receive a signal from it.</p>
<p><strong>PIR Sensors</strong></p>
<p>Passive Infra-Red (PIR) sensors basically detect temperature changes between sections of a viewing range.  This means if a person (a source of heat) moves between two sectors within the sensors field of &#8216;vision&#8217; &#8211; this is detected as movement.  PIR sensors are well used in alarm sensors.  The great thing about being based on temperature is that they work in the dark and ideally suited for sensing people rather than&#8230;curtains in the wind (let&#8217;s say) which could cause problems for other, more literal interpretations of &#8216;motion&#8217; sensors.</p>
<p>The overlap with security systems can be annoying.  Search for &#8216;PIR sensors&#8217; on <a href="http://www.maplin.co.uk/search?criteria=pir+sensors">Maplin&#8217;s website</a> and you&#8221;ll be fronted with the security system kind and motion activation security lights&#8230;none of which are useful for our purpose.  I found Rapid had a <a href="http://www.rapidonline.com/Electronic-Components/Sensors/Pir-Sensors">fairly good selection</a> of PIR sensors which would work within the 3.3v-5v range the Pi can support.  I opted for the <a href="http://www.rapidonline.com/Electronic-Components/Passive-infrared-motion-sensors-32112">Panasonic</a> one that they sell.  They come in a few varieties, but each has a fairly decent range (2.5-10m).</p>
<p>To get started, I went for the standard (5m) range component (in white &#8211; part no. 61-1502).  The plan being that if it worked, I might try the 10m one later.</p>
<p><strong>Wiring it up</strong></p>
<p>Someone else had already asked on the <a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?t=6308&amp;p=82290">Raspberry Pi forum</a> which resistors were best to use for this kind of sensor (which was helpful) &#8211; so in the end the circuit looked the same for mine. (NB: they also did a very helpful write-up of their project <a href="http://www.sennir.co.uk/Journal/Raspberry_pi_Movement_sensor">here</a>)</p>
<div class="wp-caption aligncenter" style="width: 463px"><a href="http://www.sennir.co.uk/Journal/Raspberry_pi_Movement_sensor"><img title="Wiring diagram" src="http://www.sennir.co.uk/images/uploads/rpipirwiring-revised.png" alt="" width="453" height="295" /></a><p class="wp-caption-text">Diagram for wiring motion sensor to the Raspberry Pi<br />Credit: http://www.sennir.co.uk/Journal/Raspberry_pi_Movement_sensor</p></div>
<p>One slight difference to this diagram &#8211; I attached the &#8216;out&#8217; line to GPIO2 on p1-13. (NB: For a look at the GPIO pins and reading their names, check <a href="https://docs.google.com/file/d/0B2-00drKdqF0V09YSHgxcTEtelk/edit">this resource</a>)</p>
<p>I also left the LED hooked up from my <a href="http://whitehandkerchief.co.uk/blog/?p=100">first exercise with GPIO</a> as a separate circuit as follows:</p>
<p>3.3v -&gt;  620 ohm resistor (probably far too high, but it’s all I had in a reasonable range) -&gt; Green LED (~2.1V) -&gt; GPIO 7 (p1-07)</p>
<p>I will update with a breadboard layout diagram (which might be a bit easier to replicate) shortly.</p>
<p><strong>The</strong> <strong>Software</strong></p>
<p>Just to recap, we want the software to take the input signal from the sensor and, if there is movement detected, light the LED.</p>
<p>So here&#8217;s the Python script I wrote, using the <a href="http://pypi.python.org/pypi/RPi.GPIO/">RPi.GPIO library</a> again:</p>
<pre>from time import sleep
import RPi.GPIO as GPIO
GPIO.setup(13,GPIO.IN) # Pin 13 - input from motion sensor
GPIO.setup(7, GPIO.OUT) # Pin 7 - output to LED
while 1:
        move = GPIO.input(13)     # Check input from sensor False=no movement, True=movement
        GPIO.output(7,not(move))  # Turn LED on/off
        print move
        sleep(0.5)                # Wait 0.5 seconds</pre>
<p>Interestingly, I haven&#8217;t changed any settings with the GPIO pins &#8211; so the way my LED is set up sending &#8216;False&#8217; turns the LED on and vice versa &#8211; hence the not(move) statement.</p>
<p>And that&#8217;s it really.  The (pretty rubbish) video of the finished thing is here:<br />
<object width="420" height="315" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/zPrAQiFrnQI?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="420" height="315" type="application/x-shockwave-flash" src="http://www.youtube.com/v/zPrAQiFrnQI?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>I have some close-up photos of the breadboard with the circuit a little clearer &#8211; I will update with them soon.</p>
<p>Thanks for reading &#8211; hope this is helpful!</p>
]]></content:encoded>
			<wfw:commentRss>http://whitehandkerchief.co.uk/blog/?feed=rss2&#038;p=109</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Raspberry Pi GPIO #1</title>
		<link>http://whitehandkerchief.co.uk/blog/?p=100</link>
		<comments>http://whitehandkerchief.co.uk/blog/?p=100#comments</comments>
		<pubDate>Sun, 17 Jun 2012 15:28:30 +0000</pubDate>
		<dc:creator>Whiteh</dc:creator>
				<category><![CDATA[RaspberryPi]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[GPIO]]></category>
		<category><![CDATA[RasPi]]></category>

		<guid isPermaLink="false">http://whitehandkerchief.co.uk/blog/?p=100</guid>
		<description><![CDATA[The Raspberry Pi (an ARM based computer for ~£30) has been shipping for a couple of months now and I&#8217;ve been lucky enough to receive mine already.  The basic setup for the Pi is now well documented, but I&#8217;m running mine on the ARCH Linux build published on the Raspberry Pi website. The focus of <a href='http://whitehandkerchief.co.uk/blog/?p=100' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>The <a href="http://www.raspberrypi.org">Raspberry Pi</a> (an ARM based computer for ~£30) has been shipping for a couple of months now and I&#8217;ve been lucky enough to receive mine already.  The basic setup for the Pi is now well documented, but I&#8217;m running mine on the ARCH Linux build published on the Raspberry Pi website.</p>
<p>The focus of the Raspberry Pi project as a whole has been machines for education &#8211; enthusing children to get low-level and learn how computers work.  At £30 they are a great educational tool &#8211; if you do something wrong, it isn&#8217;t the end of the world.  Likewise, the project has had a great response from hobbyists for pretty much the same reason.  Although similar devices have been around for a fair while (think Arduino, Pandaboard, etc.) it&#8217;s been tough to escape the buzz the Pi has generated.</p>
<p>So, on to my motives for getting my grubby paws on one.  I enjoy getting my hands dirty and making things.  With computing, that&#8217;s been largely limited to software.  The Pi offers many ways to interface with hardware, allowing me the opportunity to dust off my soldering iron, re-live my Electronic Products GCSE and try my best to keep the <a href="http://en.wikipedia.org/wiki/Magic_smoke">magic smoke</a> inside the device where it belongs.</p>
<p>I&#8217;ll try to post my progress here, starting with this.  A whistle-stop rush through Maplin and a bored Saturday morning and I give you&#8230;.a flashing LED:</p>
<p><object width="420" height="315" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/8citRTWDR4E?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="420" height="315" type="application/x-shockwave-flash" src="http://www.youtube.com/v/8citRTWDR4E?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>Fairly simple, I know, but you gotta start somewhere I guess.  So the circuit goes:</p>
<p>5V -&gt; 620 ohm resistor (probably far too high, but it&#8217;s all I had in a reasonable range) -&gt; Green LED (~2.1V) -&gt; GPIO 4 (pin 13)</p>
<p>Not really complicated enough to warrant a diagram, so that&#8217;s your lot.</p>
<p>All this is driven by a Python program based on the <a href="http://pypi.python.org/pypi/RPi.GPIO">RPi.GPIO library</a>, which looks like this:</p>
<pre>from time import sleep
import RPi.GPIO as GPIO
GPIO.setup(13, GPIO.OUT) # Set GPIO 4 (pin 13) to output mode
while 1:
     GPIO.output(13, False) # Set GPIO 4 low
     sleep(1)
     GPIO.output(13, True) # Set GPIO high
     sleep(1)</pre>
<p>&nbsp;</p>
<p>So, by setting the GPIO pin low/high you turn the LED on/off (with a 1 second delay, in this case).</p>
<p>Although this is a fairly simple accomplishment, I had a lot of fun doing it and I&#8217;m looking forward to trying something else with GPIO fairly shortly.</p>
<p>I&#8217;ve done a lot of reading about the Pi, GPIO, RPi.GPIO, LEDs, electronics and the like, but I&#8217;d really like to thank <a href="http://www.youtube.com/user/RaspberryPiBeginners">RaspberryPiBeginners</a> over on YouTube, I found <a href="http://www.youtube.com/watch?v=q_NvDTZIaS4&amp;feature=plcp">this video</a> and accompanying materials really useful.</p>
<p>Thanks for reading, hope to have something else to show you soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://whitehandkerchief.co.uk/blog/?feed=rss2&#038;p=100</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Hosting!</title>
		<link>http://whitehandkerchief.co.uk/blog/?p=97</link>
		<comments>http://whitehandkerchief.co.uk/blog/?p=97#comments</comments>
		<pubDate>Thu, 19 Apr 2012 11:15:56 +0000</pubDate>
		<dc:creator>Whiteh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://whitehandkerchief.co.uk/blog/?p=97</guid>
		<description><![CDATA[Hi! I&#8217;m sure no one noticed my half hour of downtime this afternoon &#8211; I was changing hosts to http://www.zyma.com &#8211; check them out! It was much easier than I expected to be honest and I&#8217;m sure it will be worth it, with less constrictions and more tools to play with]]></description>
				<content:encoded><![CDATA[<p>Hi!  I&#8217;m sure no one noticed my half hour of downtime this afternoon &#8211; I was changing hosts to http://www.zyma.com &#8211; check them out!</p>
<p>It was much easier than I expected to be honest and I&#8217;m sure it will be worth it, with less constrictions and more tools to play with <img src='http://whitehandkerchief.co.uk/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://whitehandkerchief.co.uk/blog/?feed=rss2&#038;p=97</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BoxUK Hackathon &#8211; #GoodHack</title>
		<link>http://whitehandkerchief.co.uk/blog/?p=53</link>
		<comments>http://whitehandkerchief.co.uk/blog/?p=53#comments</comments>
		<pubDate>Tue, 22 Nov 2011 21:08:34 +0000</pubDate>
		<dc:creator>Whiteh</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BoxUK]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[gritly]]></category>
		<category><![CDATA[hackathon]]></category>

		<guid isPermaLink="false">http://whitehandkerchief.co.uk/blog/?p=53</guid>
		<description><![CDATA[Participating in a hackathon has been on my to-do list for a few years now and the BoxUK event (held at the Cardiff University Student&#8217;s Union) offered the opportunity to finally get it scratched off.  Luckily I wasn&#8217;t the only one in the department interested in attending and so we had a team sorted out <a href='http://whitehandkerchief.co.uk/blog/?p=53' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>Participating in a hackathon has been on my to-do list for a few years now and the BoxUK event (held at the Cardiff University Student&#8217;s Union) offered the opportunity to finally get it scratched off.  Luckily I wasn&#8217;t the only one in the department interested in attending and so we had a team sorted out before the event itself and even the makings of an idea for an app.  It all went rather well.</p>
<p>For those who haven&#8217;t come across a hackathon before it&#8217;s an event where people involved in app development (programmers, designers, graphical designers etc.) gather together, split in to teams, lock themselves in a room with caffeine and pizza for a day or two and make (or &#8216;hack&#8217;) something.  It&#8217;s meant to be intense, creative and challenging &#8211; a day or two isn&#8217;t a long time to make something and this is coupled with long hours and often working with strangers.  For people interested in software development and with a high enough caffeine dependency, it&#8217;s a pretty cool way to spend a weekend.</p>
<p>My motivation for taking part was simple &#8211; I really like programming.  Having spent my career to date in academia, I don&#8217;t often get to actually make products that people might use.  Making something exciting with other people is what I think development should be about, not merely making tools for a job.  This offered an opportunity to be really creative with what we do.  Studying for a PhD can also be suffocatingly isolating and so working with other people appealed greatly.  I haven&#8217;t really worked on software with other people &#8211; I have always been a solitary coder, so this was set to be an interesting experience.  I did have high hopes for the event and it didn&#8217;t disappoint.</p>
<p>The brief for this event (referred to as &#8216;goodhack&#8217;) was to create an application which would be for &#8216;the social good&#8217; &#8211; or would benefit society in some way.  It could be a website, mobile app, bio-mechanical implant, whatever &#8211; so long as it would benefit people, somehow.  We had just 12 short hours to make this product (although it ended up more like 9) so we needed ideas that fit the time frame.</p>
<p>In a typically British manner, we settled on tackling weather-based issues &#8211; namely the chaos that semi-frozen rain often invokes throughout the nation.  We looked towards mapping accident blackspots during snowy/icy weather (based on data from the government) and augmenting this with real-time information from Twitter feeds.  The ultimate aim of this was to suggest areas which required gritting, or roads to avoid during the worst of the wintry weather.</p>
<p>And so, Gritly was born.  Well&#8230;it took a bit more work than that, but you get what I mean.  I won&#8217;t share a link yet, as it I&#8217;m not hosting it, but if I can in the future, I will.  For now, here&#8217;s a screenshot:</p>
<p><a href="http://whitehandkerchief.co.uk/blog/?attachment_id=59" rel="attachment wp-att-59"><img class="aligncenter size-medium wp-image-59" title="gritly" src="http://whitehandkerchief.co.uk/blog/wp-content/uploads/2011/11/gritly-300x216.png" alt="gritly interface" width="300" height="216" /></a></p>
<p>While we chose the students union in Cardiff as the demo location, it turns out there weren&#8217;t many accidents in it&#8217;s vicinity, but you can see the yellow circle which indicates the location on the map.</p>
<p>Martin and Matt handled getting/organizing the <a href="http://data.gov.uk/dataset/road-accidents-safety-data" target="_blank">historical data</a>, plotting it on a map and eventually launching the app.  Accidents are displayed according to their severity and can be clicked on to get more information, such as the weather/road conditions at the time.  My responsibility within the project was the real-time data from Twitter including getting tweets with a certain hashtag, extracting the (mandatory) postcode from the tweet and translating it in to a lat/long co-ordinate so they could also be placed on the map.  In all, the division of labour worked, and we had an hour to kill in the pub before the group demos.</p>
<p>This event produced some great apps, especially given the short time frame.  They ranged from mobile apps to help people navigate Cardiff, to automatically translating tweets and Twitter streams, to web-based games.  Each team (some even worked solo) introduced their app, and gave their motivation for making it, the technologies they used and what they planned to do to finish it off.</p>
<p>After the demos, judges appointed by BoxUK chose their favourite app, a runner up and the best individual participant.  The prize giving was a School of Computer Science whitewash, with a group of first year undergraduates taking the runner up prize for their online noticeboard, a third year undergraduate winning the best individual and gritly being awarded the judges favourite app.</p>
<p>So that was my adventure in hackathons &#8211; it was a great way to spend my Sunday and I&#8217;m very glad I went.   I&#8217;m also very grateful to my team-mates and to BoxUK for putting on the event in the first place.  I will definitely be attending more events like this and I highly recommend you do the same.</p>
<p>&nbsp;</p>
<p>Here are some other (much better &#8211; they even have pictures) write-ups of the event, by various people involved:</p>
<p><a href="http://www.boxuk.com/news/box-uks-public-hacking-event-a-resounding-success">http://www.boxuk.com/news/box-uks-public-hacking-event-a-resounding-success</a></p>
<p><a href="http://martinjc.com/2011/11/22/boxuk-for-the-social-good-hackday/">http://martinjc.com/2011/11/22/boxuk-for-the-social-good-hackday/</a></p>
<p><a href="http://johngreenaway.co.uk/hack-day-for-the-social-good">http://johngreenaway.co.uk/hack-day-for-the-social-good</a></p>
<p><a href="http://www.cardiff.ac.uk/news/articles/diwrnod-hacio-7933.html">http://www.cardiff.ac.uk/news/articles/diwrnod-hacio-7933.html</a></p>
<p><a href="http://www.cs.cf.ac.uk/newsandevents/hackday.html">http://www.cs.cf.ac.uk/newsandevents/hackday.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://whitehandkerchief.co.uk/blog/?feed=rss2&#038;p=53</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Less than 100 days to go!</title>
		<link>http://whitehandkerchief.co.uk/blog/?p=54</link>
		<comments>http://whitehandkerchief.co.uk/blog/?p=54#comments</comments>
		<pubDate>Fri, 20 May 2011 14:16:56 +0000</pubDate>
		<dc:creator>Whiteh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://whitehandkerchief.co.uk/blog/?p=54</guid>
		<description><![CDATA[According to my Creamfields countdown, there are less than 99 days left until a fantastic weekend filled with sun, music and great times! Since the Monday after Creamfields 2010, I&#8217;ve been looking forward to donning my neon gear, painting my face and partaking in Creamfields 2011, so the fact that we&#8217;ve left the triple figures <a href='http://whitehandkerchief.co.uk/blog/?p=54' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>According to my Creamfields countdown, there are less than 99 days left until a fantastic weekend filled with sun, music and great times!</p>
<p>Since the Monday after Creamfields 2010, I&#8217;ve been looking forward to donning my neon gear, painting my face and partaking in Creamfields 2011, so the fact that we&#8217;ve left the triple figures fills me with child-like glee.  The fact that the Chemical Brothers are there this year has only heightened this excitement to near embolism levels!</p>
<p>GET ME THERE NOW!!!! <img src='http://whitehandkerchief.co.uk/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://whitehandkerchief.co.uk/blog/?feed=rss2&#038;p=54</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google vs. Bing &#8211; let&#8217;s compare Japan earthquake responses&#8230;</title>
		<link>http://whitehandkerchief.co.uk/blog/?p=47</link>
		<comments>http://whitehandkerchief.co.uk/blog/?p=47#comments</comments>
		<pubDate>Mon, 14 Mar 2011 10:55:29 +0000</pubDate>
		<dc:creator>Whiteh</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://whitehandkerchief.co.uk/blog/?p=47</guid>
		<description><![CDATA[Twitter was ablaze Saturday night (12/03) with hate directed at the official Bing Twitter feed.  We won&#8217;t know which way round it happened but someone had either half thought through a social-media based response to the Japanese earthquake; or half thought through a ridiculous social media-based marketing campaign.  I guess we have to make up <a href='http://whitehandkerchief.co.uk/blog/?p=47' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>Twitter was ablaze Saturday night (12/03) with hate directed at the official Bing Twitter feed.  We won&#8217;t know which way round it happened but someone had either half thought through a social-media based response to the Japanese earthquake; or half thought through a ridiculous social media-based marketing campaign.  I guess we have to make up our own minds.  Here&#8217;s the tweet anyway:</p>
<p><a rel="attachment wp-att-48" href="http://whitehandkerchief.co.uk/blog/?attachment_id=48"><img class="aligncenter size-medium wp-image-48" title="Bing Japan Tweet" src="http://whitehandkerchief.co.uk/blog/wp-content/uploads/2011/03/bing_tweet-300x58.png" alt="" width="300" height="58" /></a></p>
<p>They quickly apologised for people misinterpreting this Tweet as nothing but a shallow attempt to get lots of publicity as a condition of their support for victims of a horrible disaster.  They also said that they&#8217;d donated the full $100k&#8230;but not before they&#8217;d had a few retweets I would imagine.</p>
<p>Meanwhile, on the other end of the search spectrum, Google released <a title="Google Person Finder" href="http://japan.person-finder.appspot.com/?lang=en" target="_blank">this tool</a> which tries to help unite people affected by the quake with the people around the world that are worried about them and looking for news.  People affected by the quake can post messages, which can then be searched through.  It was hurriedly put together by a team of people in Google&#8217;s Tokyo office, and thanks to efforts from people across the company (and the world) it was up and running just an hour after the quake.  While I&#8217;m writing this, it&#8217;s showing over 145,000 messages posted, meaning that it is currently helping a lot of people.  On top of this, according to<a title="Ken Miura Google Blog Post" href="http://googleblog.blogspot.com/2011/03/assembling-resources-following.html?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+blogspot%2FMKuf+%28Official+Google+Blog%29&amp;utm_content=Google+UK" target="_blank"> this blog post</a> by one of the Tokyo office employees responsible for the tool Google also donated $250,000  to the relief effort &#8211; two and a half times that which Bing gave, no tweets required.</p>
<p>They&#8217;ve also produced a quick access guide to up-to-date information and news feeds at the <a title="Google Disaster Response - Japanese Earthquake and Tsunami" href="http://www.google.com/crisisresponse/japanquake2011.html" target="_blank">Google disaster response site</a>.  Here there are phone numbers, locations of shelters and aid on a map and an aggregated news feed for minute-by-minute information.  An important measure, where access to information is critical.</p>
<p>Response to disasters like this is important and any tools that can be provided in the hope of alleviating the burden on those affected should be made available.  While it may not help everyone and may not save lives, getting people in touch with their loved ones is both important and difficult in these situations.  Phone lines are down, infrastructure in ruins, but leaving a lasting message somewhere people can find it might just help some people out.   Granted, not everyone will have access to a computer and the internet there yet, but apparently there&#8217;s been 145,000 uses for it so far.</p>
<p>The quick-thinking of Google in response to new information challenges means, in this case, it comes out on top for me &#8211; no competition.  Providing both tools and aid to the relief effort or a cheap, half-thought-through marketing/aid campaign &#8211; not really a tough one.  I know, Google are gonna get lots of praise for this, and lots of publicity so I guess we could debate their motives behind it, but given this was produced rapidly in the Tokyo offices (affected themselves) I have to assume this was more a humanitarian gesture&#8230;one that they deserve the publicity for.</p>
]]></content:encoded>
			<wfw:commentRss>http://whitehandkerchief.co.uk/blog/?feed=rss2&#038;p=47</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creamfields 2011 lineup &#8211; the countdown has begun!</title>
		<link>http://whitehandkerchief.co.uk/blog/?p=31</link>
		<comments>http://whitehandkerchief.co.uk/blog/?p=31#comments</comments>
		<pubDate>Sun, 06 Mar 2011 14:01:02 +0000</pubDate>
		<dc:creator>Whiteh</dc:creator>
				<category><![CDATA[Festivals]]></category>
		<category><![CDATA[Gigs]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Creamfields]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://whitehandkerchief.co.uk/?p=31</guid>
		<description><![CDATA[It&#8217;s that time of year again! The Creamfields lineup was announced on Annie Mac&#8217;s Friday night Radio 1 show &#8211; and it looks pretty damn promising. Festival regulars such as Tiesto, David Guetta and Calvin Harris are to be joined by the likes of Laidback Luke, Magnetic Man, Erol Alkan and last but definitely not <a href='http://whitehandkerchief.co.uk/blog/?p=31' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s that time of year again!  The Creamfields lineup was announced on Annie Mac&#8217;s Friday night Radio 1 show &#8211; and it looks pretty damn promising.</p>
<p>Festival regulars such as Tiesto, David Guetta and Calvin Harris are to be joined by the likes of Laidback Luke, Magnetic Man, Erol Alkan and last but definitely not least &#8211; The Chemical Brothers!  Very exciting <img src='http://whitehandkerchief.co.uk/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>After putting on an awesome show last year, the Swedish House Mafia tent is back on the Sunday this year &#8211; with SHM headlining themselves.  Annie Mac will also have her own tent again this year and will be the headline act &#8211; I&#8217;m aiming to get there early this year as the crowd was bulging out of the tent for her awesome set and laser show last year.  Some other personal highlights lined up for the weekend: Example , Chicane and Skrillex &#8211; looking forward to em all.</p>
<p>Tiesto is (currently) down to headline the Clublife tent on the Saturday after closing the festival on the Main Stage in front of a massive crowd last year.  I hope his set and The Chemical Brothers (who are headlining the North Stage) don&#8217;t overlap.</p>
<p>According to the Creamfields website there are some more acts to be announced, including on the North Stage for the Sunday.  I am hoping that another big act is announced play out the weekend there (fingers crossed for Daft Punk at the moment &#8211; would make the best weekend ever!).</p>
<p>Needless to say after the lineup announcement the F5 spamming started over at ticketline.com waiting for tickets to go on sale.  We did okay and it didn&#8217;t take long before we had parted with a fair chunk of cash to secure our place.  So now all that&#8217;s left to do is get excited <img src='http://whitehandkerchief.co.uk/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>A countdown to the festival has been added to the front page of the website so that I (and you) will keep getting reminded that it isn&#8217;t far away.  My Spotify playlist with my favourite tracks from the artists at the festival is now under construction &#8211; I&#8217;ll post more about it when there&#8217;s some progress.</p>
<p>Ciao for now!</p>
]]></content:encoded>
			<wfw:commentRss>http://whitehandkerchief.co.uk/blog/?feed=rss2&#038;p=31</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mogwai + The Twilight Sad &#8211; Cardiff Union &#8211; 18/02/11</title>
		<link>http://whitehandkerchief.co.uk/blog/?p=39</link>
		<comments>http://whitehandkerchief.co.uk/blog/?p=39#comments</comments>
		<pubDate>Sat, 19 Feb 2011 20:03:21 +0000</pubDate>
		<dc:creator>Whiteh</dc:creator>
				<category><![CDATA[Gigs]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Cardiff]]></category>
		<category><![CDATA[Cardiff Union]]></category>
		<category><![CDATA[Mogwai]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[Post-rock]]></category>
		<category><![CDATA[The Twilight Sad]]></category>

		<guid isPermaLink="false">http://whitehandkerchief.co.uk/?p=39</guid>
		<description><![CDATA[Mogwai have been a staple in my music collection for a few years now, and they&#8217;ve always been close to the top of my &#8216;must see&#8217; list.  They didn&#8217;t disappoint. The Twilight Sad have been a rather recent (but extremely welcome) addition &#8211; ever since I heard they were supporting to be honest.  They&#8217;re rapturous music <a href='http://whitehandkerchief.co.uk/blog/?p=39' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>Mogwai have been a staple in my music collection for a few years now, and they&#8217;ve always been close to the top of my &#8216;must see&#8217; list.  They didn&#8217;t disappoint.</p>
<p>The Twilight Sad have been a rather recent (but extremely welcome) addition &#8211; ever since I heard they were supporting to be honest.  They&#8217;re rapturous music with stunning, gritty vocals (with accent in tact) make them definitely worth a listen.  They&#8217;re set was burdened by the fact that the sound system was blatantly not set up for them; a great shame as they gave an energetic, emotional performance.  The drummer, Mark Devine, was manning the merch stall afterwards and was getting a lot of praise.  I&#8217;m glad, because the crowd didn&#8217;t seem to get all that in to it &#8211; and they were getting heckles from some (rather drunk) people behind me.</p>
<p>Mogwai didn&#8217;t have sound system problems &#8211; they sounded awesome.  All but for the vocals on Mexican Grand Prix, their third encore song.  While I can recognise songs, I can never tell you what they&#8217;re called, so I can&#8217;t give specifics, but they were very tight.  Impressively so, given the complexity of their particular brand of music.  Two disappointments, no Mogwai Fear Satan or Glasgow Mega-Snake (though I thought they played this, I was mistaken&#8230;again with the rubbish with the names thing).</p>
<p>All in all, good times had by all I think &#8211; &#8216;cept £3.50 for a crappy bottle of Fosters&#8230;that was a joke!  We got pretty close to the front for Mogwai&#8217;s set &#8211; was easily done as it wasn&#8217;t a &#8216;mosh-pit&#8217; style gig.  We were surrounded by pricks for the second half of their set, who tried to get the crowd to &#8216;dance more&#8217; despite having no rhythm.  There&#8217;s always one or two&#8230;and they tend to always find me.</p>
<p>For those interested the <a title="Mogwai Setlist, Cardiff 18-02-11" href="http://www.setlist.fm/setlist/mogwai/2011/cardiff-university-cardiff-wales-13d22545.html" target="_blank">setlist is here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://whitehandkerchief.co.uk/blog/?feed=rss2&#038;p=39</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turing Lecture 2011 with Donald Knuth</title>
		<link>http://whitehandkerchief.co.uk/blog/?p=14</link>
		<comments>http://whitehandkerchief.co.uk/blog/?p=14#comments</comments>
		<pubDate>Fri, 04 Feb 2011 19:42:42 +0000</pubDate>
		<dc:creator>Whiteh</dc:creator>
				<category><![CDATA[Academic]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Geekery]]></category>

		<guid isPermaLink="false">http://whitehandkerchief.co.uk/blog/?p=14</guid>
		<description><![CDATA[Last night was this year&#8217;s Turing Lecture, an evening with Donald Knuth, which was a no holds barred Q&#38;A with the man himself.  This, I feel, was a great opportunity &#8211; it is quite rare to meet one of the greats in your field in such an informal setting.  There was no real academic content <a href='http://whitehandkerchief.co.uk/blog/?p=14' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>Last night was this year&#8217;s Turing Lecture, an evening with Donald Knuth, which was a no holds barred Q&amp;A with the man himself.  This, I feel, was a great opportunity &#8211; it is quite rare to meet one of the greats in your field in such an informal setting.  There was no real academic content to the evening, even though some of the issues are some of the biggest facing computer scientists at the moment &#8211; such as the &#8220;P=NP&#8221; problem and the future of classic digital computing models with more &#8216;analogue&#8217; technologies like Quantum Computing on the horizon.  Don, often avoiding really answering the question, employed many stories, anecdotes and interesting observations without including swathes of scientific material &#8211; offering a very interesting and entertaining insight in to the way he works and thinks.</p>
<p>I also took the chance to buy (and get signed) the long awaited (first half of) Volume 4(a) of <em>The Art of Computer Programming</em> covering combinatorial algorithms (see pics below).</p>

<a href='http://whitehandkerchief.co.uk/blog/?attachment_id=18' title='IMAG0031'><img width="150" height="150" src="http://whitehandkerchief.co.uk/blog/wp-content/uploads/2011/02/IMAG0031-150x150.jpg" class="attachment-thumbnail" alt="Don Knuth with his honorary professorship" /></a>
<a href='http://whitehandkerchief.co.uk/blog/?attachment_id=19' title='IMAG0035'><img width="150" height="150" src="http://whitehandkerchief.co.uk/blog/wp-content/uploads/2011/02/IMAG0035-150x150.jpg" class="attachment-thumbnail" alt="&quot;Best wishes, Mark! Don Knuth&quot;" /></a>
<a href='http://whitehandkerchief.co.uk/blog/?attachment_id=20' title='IMAG0032'><img width="150" height="150" src="http://whitehandkerchief.co.uk/blog/wp-content/uploads/2011/02/IMAG0032-150x150.jpg" class="attachment-thumbnail" alt="The Art of Computer Programming Vol 4a: Combinatorial Algorithms" /></a>

]]></content:encoded>
			<wfw:commentRss>http://whitehandkerchief.co.uk/blog/?feed=rss2&#038;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New website, new hamster</title>
		<link>http://whitehandkerchief.co.uk/blog/?p=8</link>
		<comments>http://whitehandkerchief.co.uk/blog/?p=8#comments</comments>
		<pubDate>Tue, 01 Feb 2011 22:26:05 +0000</pubDate>
		<dc:creator>Whiteh</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Hamsters]]></category>
		<category><![CDATA[procrastination]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://whitehandkerchief.co.uk/blog/?p=8</guid>
		<description><![CDATA[As my website has recently found new digs and a new look &#8211; I thought I&#8217;d find a new hamster as well. Pretty much all of my websites have had a hamster somewhere &#8211; no reason to stop now so there ya go (top right, in case you missed it). While I don&#8217;t think I&#8217;m <a href='http://whitehandkerchief.co.uk/blog/?p=8' class='excerpt-more'>[...]</a>]]></description>
				<content:encoded><![CDATA[<p>As my website has recently found new digs and a new look &#8211; I thought I&#8217;d find a new hamster as well.  Pretty much all of my websites have had a hamster somewhere &#8211; no reason to stop now so there ya go (top right, in case you missed it).</p>
<p>While I don&#8217;t think I&#8217;m infringing anything using this image (I found it somewhere and took the crap white background off it &#8211; copyright symbols still there though) I found it <a href="http://i.ehow.com/images/a02/57/lm/choose-hamster-wheel-800X800.jpg" target="_blank">here</a> &#8211; credit where it&#8217;s due.</p>
<p>Well, I only really did this to procrastinate &#8211; lots of work to do, better get back to it.</p>
<p>See yas later! <img src='http://whitehandkerchief.co.uk/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://whitehandkerchief.co.uk/blog/?feed=rss2&#038;p=8</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
