<?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>Blog What I Made</title>
	<atom:link href="http://blog.johnmckerrell.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.johnmckerrell.com</link>
	<description>General geeky postings</description>
	<lastBuildDate>Tue, 02 Jun 2009 08:11:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hacking Location into Hardware</title>
		<link>http://blog.johnmckerrell.com/2009/06/01/hacking-location-into-hardware/?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://blog.johnmckerrell.com/2009/06/01/hacking-location-into-hardware/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 12:58:25 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Geo Stuff]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[harry potter]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[tracking]]></category>
		<category><![CDATA[weasley]]></category>

		<guid isPermaLink="false">http://blog.johnmckerrell.com/?p=408</guid>
		<description><![CDATA[Last weekend I went to the Howduino hack day which by good fortune was happening on my doorstep, in Liverpool. The day was organised by two friends of mine &#8211; Adrian McEwen and Thom Shannon &#8211; who have been doing hardware hacking for quite some time now and wanted to open things up for more [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend I went to the <a href="http://www.howduino.com">Howduino</a> hack day which by good fortune was happening on my doorstep, in Liverpool. The day was organised by two friends of mine &#8211; <a href="http://www.mcqn.com/">Adrian McEwen</a> and <a href="http://ts0.com/">Thom Shannon</a> &#8211; who have been doing hardware hacking for quite some time now and wanted to open things up for more people to get involved.</p>
<p class="centered"><a href="http://www.howduino.com/"><img src="http://blog.johnmckerrell.com/wp-content/uploads/2009/05/howduino-logo.gif" alt="Howduino Logo" title="Howduino Logo" width="510" class="aligncenter size-full wp-image-409" /></a></p>
<p>The day was partly named after <a href="http://arduino.cc/">Arduino</a> (with a bit of Scouse humour mixed in &#8211; &#8220;how do we know?!&#8221;). From their website:</p>
<blockquote><p>Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software.</p></blockquote>
<p>Basically you get a circuit board that has a USB slot, a power slot and a set of digital and analogue inputs and outputs. You can load software onto the circuit board via the USB slot, the software can then run on the board when it is disconnected from the computer and can operate other hardware through the inputs and outputs. Adrian used one of these devices to make the <a href="http://news.bbc.co.uk/1/hi/technology/7962647.stm">famous</a> <a href="http://www.mcqn.com/bubblino">Bubblino</a> twitter monitoring bubble machine and the <a href="http://www.mcqn.com/mazzini">Mazzini power monitoring project</a>. Thom has used it to make, amongst other things, a <a href="http://www.flickr.com/photos/ts0/3154431294/">light tracking mini</a>.</p>
<p>Though Howduino got its name from the Arduino boards, the day was actually more of a general hardware hacking event. <a href="http://www.sophie-green.com/">Sophie Green</a> spent most of the day making artworks using <a href="http://www.flickr.com/photos/ts0/3574987033/">&#8220;brush bots&#8221;</a> which were incredibly simple devices made from motors and batteries mounted on toothbrushes. <a href="http://howduino.pbworks.com/Drawbot">Some people</a> built a <a href="http://www.flickr.com/photos/ts0/3575036837/">&#8220;drawbot&#8221;</a> from scratch on the day and a few people tried making <a href="http://howduino.pbworks.com/Twitter-Race">racing radio controlled cars</a> with movements controlled by twitter hashtags.</p>
<p>My project was suggested by <a href="http://grantbell.co.uk/">Grant Bell</a>, he thought that I should use <a href="http://mapme.at/">mapme.at</a> to create a &#8220;Weasley Clock&#8221;. This clock is described in the Harry Potter books by J.K. Rowling, it is used by the Weasley family to see where each member of the family is. Instead of telling the time, each hand shows a photo of one of the family members, the clock face has a number of locations written around the edge, such as &#8220;Home&#8221;, &#8220;Travelling&#8221;, &#8220;School&#8221;, &#8220;Holidays&#8221; and even &#8220;Mortal Peril&#8221;!</p>
<p class="centered"><a href="http://www.amazon.com/Harry-Potter-NECA-Weasley-Clock/dp/B000TJJIVY/ref=sr_1_1?ie=UTF8&#038;s=toys-and-games&#038;qid=1243843222&#038;sr=8-1"><img src="http://blog.johnmckerrell.com/wp-content/uploads/2009/06/weasley-clock-300x300.jpg" alt="Weasley Clock" title="Weasley Clock" width="300" height="300" class="aligncenter size-medium wp-image-414" /></a></p>
<p>Now one way in which I could&#8217;ve handled this would be to create a web page that showed my location on a picture of one of these clocks. That would be fairly easy to do but much less interesting than the hardware hacking version. I started off by getting hold of an old clock. My Dad has been tinkering with and fixing clocks for years, and often gets given old clocks and told &#8220;This stopped working years ago, thought you might like it&#8221; so fortunately he has a few lying around and gave me this one:</p>
<p class="centered"><img src="http://blog.johnmckerrell.com/wp-content/uploads/2009/06/8wx-225x300.jpg" alt="Clock" title="Clock" width="225" height="300" class="aligncenter size-medium wp-image-419" /></p>
<p>I spent a morning taking it to pieces carefully and working out how it worked, until I pulled the back off it and the chime spring caused an explosion of gears:</p>
<p class="centered"><a href="http://www.flickr.com/photos/mcknut/3553208615/" title="Howduino preparation by John McK, on Flickr"><img src="http://farm4.static.flickr.com/3626/3553208615_4f667b785a.jpg" width="500" height="375" alt="Howduino preparation" /></a></p>
<p>I then took all the bits to Howduino together with a stepper motor that I&#8217;d taken out of a floppy drive. After a short while working with Aaron from <a href="http://oomlout.com/">Oomlout</a> we managed to get the stepper motor going but then I had the problem of connecting the motor to the clock. After many hours of trying to glue and solder the small stepper motor on I finally decided to ask around to see if anyone else had stepper motors. Fortunately someone did, a much bigger motor that could fit through the black of the clock mechanism and unbelievably had a gear on that meshed perfectly with the gears in the clock. With the application of some super glue and a few pieces of metal &#8220;salvaged&#8221; from an old printer I got the motor attached and turning the hand reliably:</p>
<p class="centered"><object type="application/x-shockwave-flash" width="400" height="300" data="http://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#038;photo_secret=8814d528e0&#038;photo_id=3574999149&#038;flickr_show_info_box=true"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71377"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#038;photo_secret=8814d528e0&#038;photo_id=3574999149&#038;flickr_show_info_box=true" height="300" width="400"></embed></object></p>
<p>Once that was done I had to write some software. The software for moving the clock is fairly simple. As the motor is a &#8220;stepping&#8221; motor it can be controlled very reliably. One step of the motor moves it by a well defined amount, with the gearing from the clock 150 steps of the motor turns the minute hand around in a complete rotation, meaning 12 &times; 150 = 1800 steps will turn the hour hand around completely. I knocked up some Arduino code that reads the current location of the hands from the EEPROM memory on the Arduino. To reset it I manually move the hands to &#8220;midnight&#8221; and zero the EEPROM memory. I can then tell the Arduino to position each of the hands by an hour. As the hands are still geared together I can only put the hour hand between one hand and another, while the minute hand can be precisely positioned. When the clock has moved to the position you&#8217;ve requested, it saves the new location of the hands to the EEPROM memory again so that it&#8217;s safe to be powered off.</p>
<p>To get my location I&#8217;ve knocked up a MapMe_At class which can request the location for a user. It makes a HTTP request to mapme.at, using the <a href="http://www.arduino.cc/en/Main/ArduinoEthernetShield">Arduino Ethernet Shield</a>, pulls down the location and uses a very lightweight JSON parser to pull out the label for the favourite location that I&#8217;m currently at. From my core code I then request the location of two users from mapme.at every minute, convert that location to a position on the clock and then move the hands. When it works it looks really good, I&#8217;m only running the clock forwards at the moment because some of the gearing for the chime is still there and makes funny noises if I run the clock backwards, this means that it can take nearly a minute for the hands to move but considering it&#8217;s unlikely for location changes to happen that often this should be fine. I do seem to have a problem whereby the clock stops working after running for a while so I&#8217;ll have to do some debugging, but as you can see from the photos and the video it is looking pretty good at least!</p>
<p class="centered"><a href="http://www.flickr.com/photos/mcknut/3585018568/" title="Weasley Clock by John McK, on Flickr"><img src="http://farm4.static.flickr.com/3642/3585018568_28e71a58db.jpg" width="500" height="333" alt="Weasley Clock" /></a></p>
<p class="centered"><a href="http://www.flickr.com/photos/mcknut/3585013572/" title="Weasley Clock by John McK, on Flickr"><img src="http://farm4.static.flickr.com/3404/3585013572_780ff5c95f.jpg" width="500" height="333" alt="Weasley Clock" /></a></p>
<p class="centered"><object type="application/x-shockwave-flash" width="400" height="300" data="http://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#038;photo_secret=d0ac8b1f19&#038;photo_id=3585011720"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71377"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#038;photo_secret=d0ac8b1f19&#038;photo_id=3585011720" height="300" width="400"></embed></object></p>
<p>(Unfortunately hardware hacking can have its casualties, as you can see the glass on the face of the clock was one)</p>
<p>I&#8217;ll be taking the clock along with me on the next <a href="http://www.techbustours.com/">Tech Bus Tour</a> from London to Liverpool. I&#8217;ll be updating the face to show our progress between the locations as this should be more interesting than showing that I&#8217;m &#8220;Travelling&#8221; constantly. I&#8217;ll also open source the Arduino source code when I get around to tidying it up.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnmckerrell.com/2009/06/01/hacking-location-into-hardware/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New mapping APIs available from CloudMade</title>
		<link>http://blog.johnmckerrell.com/2009/02/08/new-mapping-apis-available-from-cloudmade/?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://blog.johnmckerrell.com/2009/02/08/new-mapping-apis-available-from-cloudmade/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 11:04:50 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Geo Stuff]]></category>
		<category><![CDATA[Web Stuff]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[cloudmade maps map openstreetmap osm tracking]]></category>

		<guid isPermaLink="false">http://blog.johnmckerrell.com/?p=393</guid>
		<description><![CDATA[If you&#8217;ve been following my Twitters you&#8217;ll be well aware that I&#8217;ve just spent the past week in San Francisco. I came here to attend, and speak at, the launch event for CloudMade&#8217;s new APIs for location based services. CloudMade is a company that was launched around 18 months ago by Steve Coast, the founder [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been following my Twitters you&#8217;ll be well aware that I&#8217;ve just spent the past week in San Francisco. I came here to attend, and speak at, the launch event for <a href="http://www.cloudmade.com/">CloudMade&#8217;s</a> new APIs for location based services. CloudMade is a company that was launched around 18 months ago by Steve Coast, the founder of the OpenStreetMap project, and Nick Black, a core member of the OSM project. The aim of their company is to bring the power of crowd sourced data, specifically OSM data, to more developers and to commercial companies around the world. The first step of this was of course to develop some products to make this possible and to make them available to the world, hence this event.</p>
<p>The event was split into four main sections. Steve started by giving an overview of the OSM project, its history and some glimpses of what&#8217;s likely to happen in the future. Nick then came on stage to explain their ideas behind forming CloudMade and what they&#8217;re doing to get OSM data into the hands of more people. After this I and four other developers who have been working with CloudMade&#8217;s APIs got on stage to give 5 minute presentations about our experiences developing with the new APIs.</p>
<p>Andrew Turner, CTO of GeoCommons, explained how they have integrated CloudMade&#8217;s tiles into their Maker application and talked about how the new Style Editor enables great looking mashups. Jaak Laineste of Nutiteq told us how they&#8217;ve been integrating CloudMade&#8217;s tile, geocoding and routing services into their Mobile map libraries. I talked about my experiences working with the new APIs, though I won&#8217;t go into too much detail here as I wouldn&#8217;t want to spoil the surprise for Thursday. Andre, of Advanced Flash Components, then showed us a live demo of CloudMade&#8217;s APIs being used in a flash application and showed the speedy responses that the API gave.</p>
<p>Cragg Nilson then talked more about the specific products that CloudMade are making available and <a href="http://developer.cloudmade.com/">how people can get access to them</a>. Finally a Q&#038;A session allowed some light interrogation of the CloudMade team before we moved into another room for demo sessions. Jaak, Andre and I all had a plasma screen each that we used to demo what we&#8217;d discussed in our talks. The CloudMade team also demoed various other applications that were using their services, centred around a large range of mobile devices that are able to access the APIs using various applications.</p>
<p>I&#8217;ve been really impressed by what CloudMade are offering considering they are still a young company. While a large reason for the quality of their offerings is down to the great team they&#8217;ve built up, they do also have an advantage in that the data they&#8217;re using, and the license it&#8217;s built upon, allow them to offer so much more to the developers using their products. The OSM dataset is incredibly rich and can cover a wide range of features that often don&#8217;t get much coverage from standard data providers. Also because the data is free CloudMade can make all of it available in their APIs without having to worry about extra charges such as you might get if you wanted to return vectors from existing data providers.</p>
<p>Now the good news, if you&#8217;re reading this thinking &#8220;I wish I could&#8217;ve gone to San Francisco and seen these great talks&#8221;, you need not fret. The whole event is being repeated in London on Thursday 12th. It&#8217;s currently oversubscribed but if you are interested in going I believe they&#8217;ve managed to arrange extra room so there shouldn&#8217;t be a problem with more people going. <a href="http://developer.cloudmade.com/event/launch?new=true">This page should give more details about the CloudMade launch event in London</a>.</p>
<p>Oh yes, and as a hint to what I&#8217;ll be talking about on Thursday, take a look at the new logo for one of my existing mapping sites:</p>
<p class="centered">
<img src="http://blog.johnmckerrell.com/wp-content/uploads/2009/02/mapmeat-logo.png" alt="mapme.at logo" title="mapme.at logo" width="212" height="61" class="alignnone size-full wp-image-395" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnmckerrell.com/2009/02/08/new-mapping-apis-available-from-cloudmade/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Postcodes are Important!</title>
		<link>http://blog.johnmckerrell.com/2009/01/03/postcodes-are-important/?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://blog.johnmckerrell.com/2009/01/03/postcodes-are-important/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 22:21:52 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Geo Stuff]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[freethepostcode]]></category>
		<category><![CDATA[ifreethepostcode]]></category>
		<category><![CDATA[postcode]]></category>

		<guid isPermaLink="false">http://blog.johnmckerrell.com/?p=369</guid>
		<description><![CDATA[I spotted this article about postcodes on the BBC a few days ago. It points out how UK postcodes in their current form have been around for almost 50 years. Postcodes are of course hugely important. Though there have been stories over the years of Royal Mail managing to deliver poorly addressed, or even cryptically [...]]]></description>
			<content:encoded><![CDATA[<p>I spotted <a href="http://news.bbc.co.uk/1/hi/uk/7803267.stm">this article about postcodes</a> on the BBC a few days ago. It points out how UK postcodes in their current form have been around for almost 50 years. Postcodes are of course hugely important. Though there have been stories over the years of Royal Mail managing to deliver poorly addressed, or even <a href="http://badatsports.com/2008/return-to-sender-artist-puts-royal-mail-to-the-test/">cryptically addressed</a> items, the fastest and most reliable of getting a letter delivered is to make sure you address it with a postcode. Postcodes are also being used increasingly by personal navigation devices and online mapping services as a really simple and short way of identifying locations.</p>
<p>Considering how important and useful postcodes are, you would think that the post office would want to make it as easy as possible to get hold of information relating to postcodes. On the contrary, while it&#8217;s not particularly hard, it is prohibitively expensive. This, of course, is where the <a href="http://www.freethepostcode.org/">Free the Postcode</a> project comes in. As such I&#8217;d like everyone reading this blog to make sure in this coming 50th year of postcodes that they submit as many postcodes to Free the Postcode as they can. Hopefully someone will make an Android, J2ME or Symbian app to make this easy, but in the meantime if you have an iPhone then there&#8217;s a new version of iFreeThePostcode available to you now.</p>
<p>I&#8217;ll talk about the new version in a moment but first I thought I&#8217;d mention how successful the app has been so far. My main source for statistics has been iTunes Connect, this is part of iTunes you generally don&#8217;t see. This is what I used to upload the app originally and setup my contracts. Apple also provide some basic sales data which can be downloaded in tab separated files. When I added the app I was able to choose what stores to make it available in but I decided not to limit it, so that visitors to the UK would still be able to help if they wanted to. Using the files I&#8217;ve found these are the top 5 countries that have downloaded the app:</p>
<table align="center">
<tr>
<td>GB</td>
<td>1683</td>
</tr>
<tr>
<td>US</td>
<td>535</td>
</tr>
<tr>
<td>CA</td>
<td>77</td>
</tr>
<tr>
<td>FR</td>
<td>69</td>
</tr>
<tr>
<td>IT</td>
<td>66</td>
</tr>
<tr>
<td>Others</td>
<td>684</td>
</tr>
<tr>
<th style="width:6em">Total</th>
<th>3114</th>
</tr>
</tr>
</table>
<p>With so many people downloading the app you might think we&#8217;d had huge numbers of submissions to freethepostcode.org. Maybe 2 per person, home and work? Or at least 1 per UK person to download? Well, while that hasn&#8217;t been the case, I&#8217;ve found that over the past month and a half since the app was released, nearly 50% of postcodes submitted to freethepostcode.org have come from my app. A few days ago I received the following stats from <a href="http://www.larted.org.uk/~dom/">Dom</a>, the administrator of freethepostcode.org:</p>
<blockquote><p>In November 307 out of 1723 submissions were from iFreeThePostcode.<br />
In December 587 out of 1199 submissions were from iFreeThePostcode.</p></blockquote>
<p>So in December that was 49% of the submissions, and using a little maths I&#8217;m guessing at about 59% for the 9 days in November that the app was available. I&#8217;m really happy with that, but hopefully with the bugs ironed out, we&#8217;ll be able to get that even higher in the coming months. And so onto the new release&#8230; </p>
<p>Two days ago the new version of <a href="http://blog.johnmckerrell.com/ifreethepostcode/">iFreeThePostcode</a> went live on the app store. I&#8217;ve noticed a few negative reviews on the App Store saying things like &#8220;I tried to click the button to submit and it didn&#8217;t work, 1 star!&#8221; It seems that my existing way of telling you that the accuracy of your location wasn&#8217;t high enough was a little too subtle. Originally I set the button status to disabled, all this seems to do though is change the text colour from blue to black, not the most obvious change. I also colour the accuracy label red or green depending on whether it&#8217;s accurate enough.</p>
<p class="centered"><a href="http://blog.johnmckerrell.com/ifreethepostcode/"><img src="http://blog.johnmckerrell.com/wp-content/uploads/2009/01/ifreethepostcode-screenshot.png" alt="iFreeThePostcode v1.0 Screenshot" title="iFreeThePostcode v1.0 Screenshot" width="320" height="480" class="aligncenter size-full wp-image-372" /></a></p>
<p>The new version replaces the overly subtle &#8220;disabled&#8221; button with a label when the accuracy is not enough, this label also shows when you haven&#8217;t submitted a postcode or email address. I&#8217;m hoping this label will be clear enough and that people will now try waiting for a more accurate location. It&#8217;s a good thing to remember that not everyone installing your app will be a technophile, but then even amongst my techy friends there were people who couldn&#8217;t tell why they weren&#8217;t able to submit. I&#8217;ve also made sure that the app remembers the postcode that you&#8217;ve put in. The original version didn&#8217;t do this because I wanted to make sure that people didn&#8217;t accidentally submit the same postcode in different locations, but I&#8217;ve realised that this is unlikely to happen, whereas it&#8217;s quite possible that someone might be copying the postcode from an email or a contact, and might want to flick between iFreeThePostcode and another app without the postcode being removed.</p>
<p>If you&#8217;ve got an iPhone and have installed the app, please leave some positive feedback on the iTunes page to counteract the negative feedback. If you do have criticisms then contact me directly or leave comments on the blog post and I&#8217;ll try to put fixes in the next version. If you own an iPhone and haven&#8217;t installed the app, why not?! Head over to the <a href="http://blog.johnmckerrell.com/ifreethepostcode/">iFreeThePostcode page</a> for more information and for the iTunes link.</p>
<p>Oh yes, final thing to mention, this version is of course open source again, see the above link to download if you&#8217;re interested in finding out how it works. Patches welcome!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnmckerrell.com/2009/01/03/postcodes-are-important/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>BarCamp Liverpool</title>
		<link>http://blog.johnmckerrell.com/2009/01/02/barcamp-liverpool/?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://blog.johnmckerrell.com/2009/01/02/barcamp-liverpool/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 11:59:26 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Geo Stuff]]></category>
		<category><![CDATA[barcamp]]></category>
		<category><![CDATA[barcampliverpool]]></category>
		<category><![CDATA[bcliverpool]]></category>
		<category><![CDATA[liverpool]]></category>
		<category><![CDATA[meatlicense]]></category>
		<category><![CDATA[openstreetmap]]></category>
		<category><![CDATA[osm]]></category>

		<guid isPermaLink="false">http://blog.johnmckerrell.com/?p=348</guid>
		<description><![CDATA[
Wow, BarCamp was such a long time ago. Though I had an amazing weekend and felt really inspired by the end of it, real work brought me back down to earth pretty quickly   
So far I&#8217;ve only been to one BarCamp, in Manchester, that was really good but only lasted for one day. [...]]]></description>
			<content:encoded><![CDATA[<p class="centered"><a href="http://www.barcampliverpool.com/"><img src="http://blog.johnmckerrell.com/wp-content/uploads/2009/01/barcampliverpool-300x71.png" alt="BarCamp Liverpool Logo" title="BarCamp Liverpool Logo" width="300" height="71" class="alignnone size-medium wp-image-357" /></a></p>
<p>Wow, BarCamp was such a long time ago. Though I had an amazing weekend and felt really inspired by the end of it, real work brought me back down to earth pretty quickly <img src='http://blog.johnmckerrell.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  </p>
<p>So far I&#8217;ve only been to one BarCamp, in Manchester, that was really good but only lasted for one day. I&#8217;ve also been to a WhereCamp which is basically the same thing specialising in location based services, this one did involve an overnight stay and was also fun (this one actually took place in the Googleplex!). Having had so much fun away from home I was really looking forward to having a BarCamp in my home town.</p>
<p>Something that I&#8217;ve been planning for a while to do at the next Liverpool Mapping Party, when I get around to organising it, was to prepare a big printout of the OSM coverage of Liverpool, get some stickers printed up with POI icons on them, and invite everybody to place stickers where there was missing POIs on the map. As I hadn&#8217;t got around to organising a mapping party I  decided to do this at BarCamp and try to get everyone interested in editing the map. Cue me spending 3 hours the week before trying to finish all the surveying of South Liverpool and then spending hours on the Friday before BarCamp trying to input this data and prepare a PDF file of the map, suitable to be printed at A0 size. I managed to email my PDF over to the printers at 2:30 on Friday afternoon, fortunately they managed to get it printed within the hour so that I could pick it up on my way to <a href="http://blog.johnmckerrell.com/2008/12/09/the-amazing-iphone/">the iPhone event</a>. Unfortunately though the print-out came out looking great, and the vector-based PDF file had given a great result, for some reason all the road names were missing! This is the second A0 printout I&#8217;ve done that has had problems so I&#8217;m definitely going to have to spend more time on it if I try again.</p>
<p class="centered"><a href="http://www.flickr.com/photos/52127104@N00/3086935380/" title="South Liverpool is mapped on OSM?! by John McK, on Flickr"><img src="http://farm4.static.flickr.com/3095/3086935380_bebeb9dec6.jpg" width="375" height="500" alt="South Liverpool is mapped on OSM?!" /></a></p>
<p>This is a photo of the map at the beginning of the weekend. Unfortunately it didn&#8217;t look much different at the end, only a few people bothered putting stickers on it. This was a little surprising to me but I guess that actually most of the people at BarCamp were from outside of Liverpool, and most of the ones from within Liverpool were from the parts that had been mapped. There was also an issue that the map was at such a small scale, and the stickers so big, that each one covered an area of about 1km<sup>2</sup>. I think the idea could still work but definitely needs to to be done with a larger scale map, more like the type of area you&#8217;d try to cover at a mapping party.</p>
<p>The talks at BarCamp were quite varied. Unfortunately as it has been so long now I can&#8217;t remember too many of the ones I went to, and I haven&#8217;t been able to find a full set of photos of the sessions board. <a href="http://www.mcqn.net/mcfilter/archives/computers/barcamp_liverpool.html">Adrian did a good writeup here</a> that you should read. I do remember a few of the sessions I went to though including one from Gill Hunt of <a href="http://www.liverpoolventures.com/">Liverpool Ventures</a> who talked about VCs and how to look for funding. Last thing on Saturday there was also the &#8220;Bitchin&#8217; Pitches&#8221; session. I used this one to talk about my iPhone app <a href="http://blog.johnmckerrell.com/ifreethepostcode/">iFreeThePostcode</a>, it was good to get up alongside all the other pitches and talk about my app, but as I wasn&#8217;t really looking for money or anything like that there wasn&#8217;t actually all that much point and I didn&#8217;t end up winning a prize.</p>
<p>In the evening we all went to the bar downstairs at which Microsoft was sponsoring drinks. Beer tokens were handed out by the organisers which we all dutifully exchanged for beer at the bar. The &#8220;Bitchin&#8217; Pitches&#8221; session also continued into the party with the best pitches being repeated in front of everyone. <a href="http://missgeeky.com/">Melinda Stockington</a> pitched her idea of a site that allowed you to log how often you read books and Adrian pitched his <a href="http://www.mcqn.com/weblog/mazzini_monitors_its_first_appliance">Arduino based Mazzini project</a> for which he won first prize!</p>
<p>Due to the effectiveness of the MS sponsored drinks we were a bit late arriving on the Sunday but when I got there I decided to go for the &#8220;Let&#8217;s talk about sex&#8221; session as I couldn&#8217;t find anything else that interested me. I wasn&#8217;t really sure what to expect from a load of Geeks talking about sex, it wasn&#8217;t quite as scary as you might expect though and most of it was a discussion of relationships and the Internet, including things such as the volatility of the &#8220;relationship status&#8221; on Facebook. Much amusement when someone suggested the use of HTTP error codes in sexual situations, the following being the ones I found most amusing:</p>
<ul>
<li>411 Length Required</li>
<li>413 Request Entity Too Large</li>
<li>405 Method Not Allowed</li>
<li>416 Requested Range Not Satisfiable</li>
</ul>
<p>I don&#8217;t know if we covered normal status codes on the day but I just noticed the following could be used too:</p>
<ul>
<li>100 Continue</li>
<li>201 Created (pregnancy ensues!)</li>
</ul>
<p>After this I went to a talk about &#8220;CodeWiki&#8221; which unfortunately I wasn&#8217;t really paying attention to at the time. This was followed by John O&#8217;Shea&#8217;s discussion about his <a href="http://www.meatlicence.org.uk/">Meat License Proposal</a>. Again I wasn&#8217;t really paying attention at first, sitting at the back playing on my laptop. After a while though his talk made me pay attention, basically he&#8217;s proposing that to eat meat a person might have to obtain a &#8220;Meat License&#8221;. To get a license the person would have to have killed an animal with their own hands. It sounds fairly grotesque, but I found it a really interesting proposal and raises some good questions about how much we know of what goes into making the food we eat. Afterwards I talked to John about some work that he&#8217;s done as co-director of an artist&#8217;s collective that could make some good use of maps, hopefully I&#8217;ll be in touch with him again soon (just as soon as I get around to replying to his email!)</p>
<p>Later on in the day I gave a talk about the use of location tracking services on the iPhone. Really it was just to give me an opportunity to talk about <a href="http://mapme.at">mapme.at</a> and get some opinions of what people expected from this type of service. It was also good to chat to Paul Stringer about his experiences from creating <a href="http://theamazingiphone.com/">Coffee Buzz</a>.</p>
<p>The final talk that I went to was Adrian&#8217;s <a href="http://www.mcqn.net/mcfilter/archives/liverpool/barcamp_liverpool_dont_just_change_the_world_improve_it.html">Don&#8217;t Just Change the World&#8230; Improve It!</a>. This was a good inspirational talk, it reminded us that the North-West was the birthplace of the industrial revolution and probably has a few environmental debts to repay, so if we can get involved with this side of things it would be a great way to repay those debts. Maybe I just liked his talk because his last slide was one of my photos!</p>
<p>This artwork was actually just outside the door to the venue for BarCamp and it really summed up Adrian&#8217;s talk well, this quote is definitely something to live by:</p>
<blockquote><p>FIRST RULE OF THE COSMOS<br />
GET OFF YOUR ARSE<br />
&#038; MAKE IT HAPPEN</p></blockquote>
<p><a href="http://www.flickr.com/photos/52127104@N00/3088617051/" title="First law of the cosmos by John McK, on Flickr"><img src="http://farm4.static.flickr.com/3034/3088617051_bfc01afb9f.jpg" width="500" height="374" alt="First law of the cosmos" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnmckerrell.com/2009/01/02/barcamp-liverpool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Amazing iPhone</title>
		<link>http://blog.johnmckerrell.com/2008/12/09/the-amazing-iphone/?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://blog.johnmckerrell.com/2008/12/09/the-amazing-iphone/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 09:16:38 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[barcamp]]></category>
		<category><![CDATA[barcampliverpool]]></category>
		<category><![CDATA[bcliverpool]]></category>
		<category><![CDATA[liverpool]]></category>
		<category><![CDATA[theamazingiphone]]></category>

		<guid isPermaLink="false">http://blog.johnmckerrell.com/?p=329</guid>
		<description><![CDATA[Wow, I&#8217;ve just had the most geeked out weekend ever, so big in fact that I&#8217;m going to have to split it into two blog posts. It started on Friday with The Amazing iPhone event. I had been planning to go to this event for a few weeks but it was only on Monday of [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, I&#8217;ve just had the most geeked out weekend ever, so big in fact that I&#8217;m going to have to split it into two blog posts. It started on Friday with <a href="http://www.theamazingiphone.com/">The Amazing iPhone</a> event. I had been planning to go to this event for a few weeks but it was only on Monday of last week that I got a call telling me that the organisers would like me to give a short 5 minute talk at the event. Obviously I jumped at the chance to talk about my experiences of iPhone development, and of course to hawk iFreeThePostcode and my own freelance services!</p>
<p class="centered"><a href="http://theamazingiphone.com/"><img src="http://blog.johnmckerrell.com/wp-content/uploads/2008/12/amazingiphone-300x54.gif" alt="" title="The Amazing iPhone" width="300" height="54" class="aligncenter size-medium wp-image-332" /></a></p>
<p>The Amazing iPhone was essentially an opportunity to launch a report that the guys at <a href="http://www.kisky.co.uk/">Kisky Netmedia</a> have spent the past few months putting together. The report is a freely available (CC licensed) download that looks at the iPhone and covers the effects it&#8217;s having on the overall mobile landscape, what opportunities it&#8217;s creating and what development skills are required to create apps for it. Phil Redmond, the creator of such TV hits as Grange Hill, Brookside and Hollyoaks actually gave an introduction to the event and explained the reasons that he loved his iPhone and how he saw it representing a real change in the culture of internet use in the future. Katie Lips of Kisky Netmedia followed this by giving an overview of the report. The report starts by introducing us to the iPhone and then tries to explain the fanaticism and dedication shown by people who own one, also covering &#8220;The Cult of Mac&#8221;. It then talks a little about the history of the mobile phone business, covering what came before the iPhone, the players involved in the industry, how they worked and mistakes they perhaps made. We&#8217;re then taken through a timeline of the iPhone&#8217;s entrance into popular culture and some statistics on sales, growth and market share. The report goes on to cover many other subjects including the attempts by existing manufacturers to compete with the iPhone, who is using the iPhone (consumers and enterprises alike), before going on to talk about apps, the app store and the development skills required to create your own apps.</p>
<p>Three developers then gave an interesting mix of their opinions on iPhone development. Dave Verwer of Shiny Development talked about his recently released <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=298074203&#038;mt=8">Charades</a> app and talked about his experiences as an existing Objective C and Cocoa developer starting out on the iPhone platform. Matt West of Westbright Ltd then told us about his upcoming Zombie Slayer game and told us about his previous work on Palm devices and the difficulties he had handling the distribution process, which is made much easier by Apple with the App Store. Lastly I gave my talk, unfortunately I&#8217;d been really busy preparing for BarCamp and so had only knocked together my slides a few hours previous. I began by giving an overview of my background in web development and my involvement in the Open Street Map project. I then talked about <a href="http://blog.johnmckerrell.com/ifreethepostcode/">iFreeThePostcode</a>, the reasons for its existence and why the iPhone is such a good device for it. I followed this by mentioning my routing app, how the limited specifications of a mobile device made this sort of app more difficult to write but how the capabilities that the iPhone has should allow me to create a great app. If you&#8217;re interested <a href="http://www.slideshare.net/johnmckerrell/john-mckerrells-slides-for-amazing-iphone-event-2008-presentation">you can see my slides on slideshare</a>.</p>
<p>After our talks Paul Stringer, also of Kisky Netmedia, gave a half hour overview of how they set about creating an iPhone app &#8211; CoffeeBuzz &#8211; and the insights that this process gave them which they then put into the report. After this we had a Q&#038;A session which saw all the speakers answering questions offered by the audience. My main input of course was on location related questions but a good range of questions were asked, including of course the inevitable &#8220;I don&#8217;t want to use O2, can I hack the iPhone?&#8221;. After the event we all hung around to enjoy some free refreshments and chat to the attendees. It was good to see such a varied crowd including other local developers through to people from a variety of different businesses. I&#8217;d definitely recommend reading the report so head over to <a href="http://theamazingiphone.com/">The Amazing iPhone</a> site now to download it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnmckerrell.com/2008/12/09/the-amazing-iphone/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>iPhone Developer for Hire</title>
		<link>http://blog.johnmckerrell.com/2008/11/29/iphone-developer-for-hire/?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://blog.johnmckerrell.com/2008/11/29/iphone-developer-for-hire/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 14:38:18 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Geo Stuff]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[postcode]]></category>
		<category><![CDATA[publicdomain]]></category>

		<guid isPermaLink="false">http://blog.johnmckerrell.com/?p=290</guid>
		<description><![CDATA[I am now a &#8220;published&#8221; iPhone developer. My first app  &#8211; iFreeThePostcode &#8211; went live on the app store a week ago, you can find more information about it on this page.
Before October I had never written Objective-C. Also I haven&#8217;t written a huge amount of C over the years, so it was quite [...]]]></description>
			<content:encoded><![CDATA[<p>I am now a &#8220;published&#8221; iPhone developer. My first app  &#8211; <a href="http://blog.johnmckerrell.com/ifreethepostcode/">iFreeThePostcode</a> &#8211; went live on the app store a week ago, you can find more information about it on <a href="http://blog.johnmckerrell.com/ifreethepostcode/">this page</a>.</p>
<p>Before October I had never written Objective-C. Also I haven&#8217;t written a huge amount of C over the years, so it was quite interesting to try this out. Every time I&#8217;d looked at Objective-C so far I&#8217;d always thought it looked a bit odd with the crazy square brackets and the strange method names. In fact here&#8217;s a sample from iFreeThePostcode, this is a basic function that receives a new location, stores it for later use and passes it on to another object too:</p>
<p class="centered"><a href="http://blog.johnmckerrell.com/wp-content/uploads/2008/11/objective-c.png"><img src="http://blog.johnmckerrell.com/wp-content/uploads/2008/11/objective-c-300x129.png" alt="" title="Sample of Objective C" width="300" height="129" class="alignnone size-medium wp-image-301" /></a></p>
<p><iframe src="http://rcm.amazon.com/e/cm?t=mckenterprisesch&#038;o=1&#038;p=8&#038;l=as1&#038;asins=0321503619&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="float: right; margin: 5px; width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
<p>At Liverpool <a href="http://geekup.org/">GeekUp</a> in September <a href="http://shinydevelopment.com/">Dave Verwer</a> gave a talk about iPhone development. It was quite a basic talk but afterwards I was talking to Dave and he suggested I tried reading &#8220;Cocoa Programming for Mac OS X&#8221; by Aaron Hillegass. I also got the same recommendation from <a href="http://colmmcmullan.wordpress.com/">Colm McMullan</a>, creator of <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=291798717&#038;mt=8">Yofe</a>, so I decided it must be worth reading. I read the whole book while on holiday and the following week set about writing my first app. If you&#8217;re planning to start writing iPhone apps I&#8217;d definitely recommend this book, if you feel like using the Amazon link on the right then I&#8217;ll even make money when you buy it!</p>
<p>My first app was actually not iFreeThePostcode but was in fact a routing app. I&#8217;ve taken the <a href="http://wiki.openstreetmap.org/index.php/Gosmore">Gosmore</a> routing library from Open Street Map, the same library that&#8217;s used for <a href="http://www.yournavigation.org/">www.yournavigation.org</a>, and have ported it to Objective-C. It actually works really well on the iPhone and can give speedy routes, though so far I&#8217;ve had to limit it to small datasets. Hopefully that&#8217;s a limitation I&#8217;ll be able to work around. It was when I was ready to add the GPS support to this app that I decided it would probably be easier to try with a simpler app first, and from there iFreeThePostcode was born.</p>
<p>iFreeThePostcode is a ridiculously simple app. The aim of it is to allow you to submit postcodes to the <a href="http://www.freethepostcode.org/">Free the Postcode</a> project. This is a project to create a public domain postcode database in the UK, a much cheaper option than the existing database which costs a lot when bought from the Royal Mail. When you start up the app it shows you a few text boxes and your current latitude and longitude (or &#8220;Loading&#8230;&#8221; initially). Your horizontal accuracy is also shown and will start off in red. When your accuracy goes below 100m it will turn green and you will be able to submit your postcode. You have to enter the postcode as two separate parts, i.e. &#8220;EC4A2DY&#8221; would be entered as &#8220;EC4A&#8221; and &#8220;2DY&#8221;. You also need to enter a valid email address, this is to stop spammers sending useless data and to allow some tracking of who has submitted what postcodes. If someone is found to be submitting copyrighted data, their submissions could therefore be removed. Once you click submit you should get a success or failure message. Failures can be caused by not entering a valid email address or postcode, or by problems communicating with the server. If your submission succeeds you will receive an email containing a special link. Click on the link and your submission should show up in the <a href="http://www.freethepostcode.org/currentlist">current public domain list of UK postcodes</a> the next day!</p>
<p>I really hope that by making submissions to Free the Postcode really easy that a lot more postcodes will be submitted. Obviously this is only useful to iPhone users but by most accounts there&#8217;s a lot of us out there, also this might inspire someone else to write a similar app for Android, Symbian or Windows Mobile phones which would take the idea to even more people.</p>
<p>Though there&#8217;s not a lot of code in this app I&#8217;ve decided to make it open source. Hopefully it will help someone who&#8217;s looking to get started with iPhone development. A few of the more interesting parts would be the code for handling the current location and the code for submitting the postcode to the website. To download the source code head over to the <a href="http://blog.johnmckerrell.com/ifreethepostcode/">iFreeThePostcode page</a>. The code that I&#8217;ll make available initially is basically the same as the code that is live except that I&#8217;ve gone through it to add some more comments. There are a few bugs that I&#8217;m aware of though and I&#8217;ll work on them soon and release a new version to the app store as soon as they&#8217;re done. For more information keep an eye on that page.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnmckerrell.com/2008/11/29/iphone-developer-for-hire/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHPNW, web conferences hit the North</title>
		<link>http://blog.johnmckerrell.com/2008/11/26/phpnw-web-conferences-hit-the-north/?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://blog.johnmckerrell.com/2008/11/26/phpnw-web-conferences-hit-the-north/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 14:01:10 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Web Stuff]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpnw]]></category>
		<category><![CDATA[phpnw08]]></category>

		<guid isPermaLink="false">http://blog.johnmckerrell.com/?p=268</guid>
		<description><![CDATA[Though I&#8217;ve spent most of the past three years writing JavaScript, the first five years of my professional career was spent writing PHP. Just 6 months after leaving university I was leading the project to rebuild the fa-premier.com website (now 4thegame.com). This site was, and still is, one of the leading websites for football news, [...]]]></description>
			<content:encoded><![CDATA[<p>Though I&#8217;ve spent most of the past three years writing JavaScript, the first five years of my professional career was spent writing PHP. Just 6 months after leaving university I was leading the project to rebuild the fa-premier.com website (now <a href="http://www.4thegame.com/">4thegame.com</a>). This site was, and still is, one of the leading websites for football news, results and stats. As you can imagine this was a big challenge for someone pretty much fresh out of uni. To get the project finished in a short space of time we brought in a few contractors including a guy called Noel Walsh, and a guy called <a href="http://blog.solutionperspectivemedia.co.uk/">Jeremy Coates</a>. At the end of the project we said &#8220;thank you and goodbye&#8221; to the two contractors, and I never heard from them again. That was, until a month ago when I got a LinkedIn request from Jeremy.</p>
<p>Soon after, Jeremy invited me along to the monthly <a href="http://phpnw.org.uk/">PHP North West</a> gathering and while I was there Jenny Dunphy managed to persuade me that I should sign up for the upcoming <a href="http://conference.phpnw.org.uk/">PHPNW conference</a>.</p>
<p class="centered"><a href="http://conference.phpnw.org.uk/phpnw08/" title="phpnw08 PHP Conference 22/11/2008"><img src="http://conference.phpnw.org.uk/phpnw08/wp-content/uploads/2008/08/phpnw08_conference_logo_details_175x142.png" title="phpnw08 PHP Conference 22/11/2008" alt="phpnw08 PHP Conference 22/11/2008" border="0" width="175" height="142" /></a></p>
<p>I wasn&#8217;t sure what to expect from the conference. The topics in the <a href="http://conference.phpnw.org.uk/phpnw08/?page_id=118">schedule</a> looked quite varied and interesting but I&#8217;ve been away from PHP for a long time and there was potential for me to be bamboozled. On the other hand I might learn huge amounts to bring me back up to date. For most of the day there was two tracks running so I&#8217;ll give a quick summary of the talks that I attended here and then finish with a few conclusions from the day. I didn&#8217;t take any notes on the day so some of these may be a bit sketchy.</p>
<h3>Welcome Keynote: KISS (Keep It Simple, Stupid)</h3>
<p>In this talk Derick Rethans reminded us all that simple solutions can be far more useful than heavily designed systems in many cases. He reminded us that JavaScript should only be used when necessary, and that pages should always work without it. He also pointed out that though frameworks can be great, there are times when they can just be unnecessary and might slow things down. He also showed us a few of his favourite examples of sites that could just do with being a little more basic. This was quite a light talk but was a good intro to the day while we were all still waking up.</p>
<h3>MySQL EXPLAIN Explained</h3>
<p>Adrian Hardy&#8217;s talk was a good introduction to the use of the EXPLAIN statement in MySQL. He took us through a number of examples of increasingly complex SQL statements and showed how EXPLAIN could be used to alert you to the inefficiency of the queries. He also did a good job of explaining the best ways to create indexes on your tables and simple ways to make sure they get used.</p>
<h3>Regular Expression Basics</h3>
<p>Ciarán Walsh took us through the basics of regular expressions. Though the subject matter was, as promised, quite basic; it was also thorough and hopefully would give a head start to anyone who hadn&#8217;t really used regular expressions before. I have written many regexes before but still found the talk interesting and did learn a few things that I hadn&#8217;t used before: using the &#8216;x&#8217; modifier to allow comments in a complicated regex and the ability to use named matches, and the demos of the ctype functions were also useful.</p>
<h3>What’s new, what’s hot in PHP 5.3</h3>
<p>Johannes Schlüter is the release manager for PHP 5.3 and he took us through some of the new features that we can expect to see in the next release. This was especially interesting for me as I&#8217;ve been away from the PHP community for so long that everything he talked about was new. He started by explaining how 5.3 actually contained all of the features that had been slated for the 6.0 release, except for UTF8 support which is taking longer than expected to finish. The new features include such wonders as namespacing (with the contentious backslash operator), PHP archives &#8211; PHAR files &#8211; which should hopefully ease distribution of PHP code, support for anonymous functions &#8211; a feature of JavaScript that I&#8217;ve been wanting recently when writing PHP &#8211; and, surprisingly, new support for GOTO!</p>
<h3>From HTML to Drupal in 30 minutes</h3>
<p>With a few potential projects coming up that will require many aspects that you would find in a standard CMS I was quite interested to see what would be covered by this Drupal tutorial. James Panton and Chris Maiden took us through the process of pulling <a href="http://conference.phpnw.org.uk/">the homepage for the PHPNW conference</a> into Drupal. The main aim of the session was to show how simple it was to create a new theme for Drupal, trying to avoid the classic problem of CMSes that all installations look the same. They started with the original HTML file for the PHPNW conference site and replaced sections of code to add in the dynamic parts that they wanted which was a great way to show the possibilities for reskinning Drupal. I might have liked to see more mention of the capabilities of Drupal but they did a good job of covering what they needed to in the thirty minutes they had.</p>
<h3>HTML 5: What’s that all about?</h3>
<p>Smylers, a fellow Leeds University alumni, took us through the process by which HTML 5 is being designed and the aims that the W3C and WHATWG groups have for it. It was good to hear that with HTML 5 they&#8217;re trying to take on board the issues that have cropped up with previous versions of HTML and the design processes those have had. It seems that the main aim for HTML 5 is to ensure the browsers behave as similarly as possible, offering a level playing field for website designers. The spec for HTML 5 will go into detail about what the browser should do if it comes across HTML that it doesn&#8217;t recognise, the priority here being not that browsers expect perfect websites, but that the browsers will be able to guarantee that they handle the bad markup in the same way as other browsers. The spec will even offer a full set of test cases, a first for a HTML spec.</p>
<h3>Twittex: From idea to live in 7 days</h3>
<p>Now I hadn&#8217;t intended to go to this talk, I didn&#8217;t really think I&#8217;d find it too interesting. I&#8217;ve done PHP projects, I didn&#8217;t feel that I needed to listen to how someone implemented their code, which frameworks they chose, that sort of thing. Fortunately this wasn&#8217;t what Stuart Herbert talked about, the talk was in fact more around the management and marketing of the project, and the issues they had. He explained that on the day that Twitter announced that the UK would no longer be having twitter SMS updates, he decided that <a href="http://www.gradwell.net/">his company</a> should work on a project to bring SMS back. They worked on the project over the course of a week, essentially 6 days coding and 1 day testing, and ended up first to market. Unfortunately when they tried to publicise their efforts they found that nobody was interested any more, a week had passed since the announcement and people weren&#8217;t so excited any more. Stuart took us through some of the lessons learnt such as the fact that they should have announced their intentions as soon as they had decided to start the project. TweetSMS and a few other sites had done this and had allowed people to register their interest so that once their solution was ready, they would have a ready supply of people willing to pay money to receive SMSes. They did manage to get an impressive product out after 7 days though by building on their existing infrastructure.</p>
<h3>Panel Discussion: State of the Community</h3>
<p>The final session was a panel discussion chaired by Jeremy Coates with Steph Fox, Ivo Jansch, Scott MacVicar and Felix De Vliegher answering questions. They started by answering some pre-selected questions and then went on to answer some questions from the audience. The questions covered a variety of topics and the discussion got quite heated at times (backslash namespace operator!) Overall though I enjoyed this session and it was definitely a good way to find out the general state of the community and see what people&#8217;s opinions were on various matters.</p>
<h3>Conclusions</h3>
<p>Overall I think the conference went well, I certainly enjoyed myself. It was well organised and I didn&#8217;t really encounter any problems during the day. About the worst thing I could say was that I didn&#8217;t find any sandwiches that I liked for my packed lunch (these were provided for us), but with central Manchester right next to the venue that wasn&#8217;t really a problem. Registration was painless and probably quicker than I&#8217;ve had at any other conference I&#8217;ve been to. The selection of talks was good and varied, finding enough good material for two tracks at the first conference was a pretty impressive achievement. Fortunately I can say that over the course of the day I didn&#8217;t find myself bamboozled and I did manage to pick up plenty of new knowledge from the talks. I really hope that they put the conference on again next year and I&#8217;m sure I&#8217;ll sign up if they do!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnmckerrell.com/2008/11/26/phpnw-web-conferences-hit-the-north/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New simple URI based map redirection service: mapof.it</title>
		<link>http://blog.johnmckerrell.com/2008/11/07/new-simple-uri-based-map-redirection-service-mapofit/?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://blog.johnmckerrell.com/2008/11/07/new-simple-uri-based-map-redirection-service-mapofit/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 10:20:17 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Geo Stuff]]></category>
		<category><![CDATA[Web Stuff]]></category>
		<category><![CDATA[directions]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[geohash]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[redirection]]></category>
		<category><![CDATA[route]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[uri]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[Useful]]></category>

		<guid isPermaLink="false">http://blog.johnmckerrell.com/?p=243</guid>
		<description><![CDATA[I can finally announce, after first mentioning it two months ago, that my new web app is live.
mapof.it is a really simple app that lets you get access to maps easily, no matter what browser you&#8217;re using. To view a map of a location just put the name of the location after the slash in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://mapof.it/"><img align="right" src="http://blog.johnmckerrell.com/wp-content/uploads/2008/11/mapofit.gif" alt="" title="mapof.it logo" width="162" height="34" class="alignright size-full wp-image-248" /></a>I can finally announce, after <a href="http://twitter.com/mcknut/statuses/907312941">first mentioning it</a> two months ago, that my new web app is live.</p>
<p><a href="http://mapof.it">mapof.it</a> is a really simple app that lets you get access to maps easily, no matter what browser you&#8217;re using. To view a map of a location just put the name of the location after the slash in the URI. So to see a map of New York, for instance, just go to <a href="http://mapof.it/new york">mapof.it/new york</a>. You can see a route between two places by just listing the two places with a slash between them. To get a route between two UK postcodes you could go to <a href="http://mapof.it/ec4a+2dy/ec1n+2ns">mapof.it/ec4a 2dy/ec1n 2ns</a>.</p>
<p>It&#8217;s such a small and simple app that there&#8217;s not really much else left to say in this blog post. Please <a href="http://mapof.it/">head over to the site</a>, take a look at the examples and have a play. I&#8217;ll be adding more features in the coming days and weeks so it&#8217;s worth keeping an eye on it. If you have any suggestions for new features or have any problems, I&#8217;m experimenting with <a href="http://getsatisfaction.com/">Get Satisfaction</a> for this project so <a href="http://getsatisfaction.com/mkecomputinglimited/products/mkecomputinglimited_map_ofit">head over there and let me know your thoughts</a>.</p>
<p>I realise it hasn&#8217;t only been 2 months since I sent that twitter but also since my last blog post. I&#8217;ve got one nearly completed and a few more in mind so hopefully there&#8217;ll be more soon. I&#8217;ve also been posting more recently to <a href="http://blog.mapme.at/">blog.mapme.at</a> so head over there if you haven&#8217;t seen it, hopefully there&#8217;ll be a few more posts on there soon as well.</p>
<p>UPDATE: Some sites don&#8217;t handle single line queries too well and can be improved by sending the country code as a separate parameter. You can now do this by putting a colon followed by the country code after your query, for example, <a href="http://mapof.it/mm/liverpool:gb">mapof.it/mm/liverpool:gb</a> &#8211; more examples on the site: <a href="http://mapof.it/">mapof.it</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnmckerrell.com/2008/11/07/new-simple-uri-based-map-redirection-service-mapofit/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Location tracking on a &#8220;geo&#8221; social network</title>
		<link>http://blog.johnmckerrell.com/2008/08/28/location-tracking-on-a-geo-social-network/?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://blog.johnmckerrell.com/2008/08/28/location-tracking-on-a-geo-social-network/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 20:17:04 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Geo Stuff]]></category>
		<category><![CDATA[Web Stuff]]></category>
		<category><![CDATA[fireeagle]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[social network]]></category>
		<category><![CDATA[tracking]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.johnmckerrell.com/?p=228</guid>
		<description><![CDATA[A few days ago I spoke at GeekUp Liverpool about a site that I&#8217;ve been playing around with for just over a year. This is the second time I&#8217;d spoken publicly about it, the last being at WhereCamp, so I thought I really should put something on my blog too.
mapme.at is a site that I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I spoke at <a href="http://geekup.org/">GeekUp</a> <a href="http://upcoming.yahoo.com/event/1025399/">Liverpool</a> about a site that I&#8217;ve been playing around with for just over a year. This is the second time I&#8217;d spoken publicly about it, the last being at <a href="http://wherecamp.pbwiki.com/WhereCamp2008">WhereCamp</a>, so I thought I really should put something on my blog too.</p>
<p><a href="http://mapme.at/">mapme.at</a> is a site that I&#8217;ve been working on to allow me to log my location in a number of different ways. I originally set it up after the BBC/Yahoo Hack Day in 2007 as somewhere to put the code that I&#8217;d written for tracking my location using DNS. Since then I unfortunately haven&#8217;t really had much time to spend on it but have managed to develop some parts of it so that it has, for instance: FireEagle and Twitter (direct messages) integration, mapping location through DNS, email, web and mobile app, and the beginnings of a social network aspect.</p>
<p>I recently set-up a blog for it too, <a href="http://blog.mapme.at/2008/08/26/welcome-to-the-mapmeat-blog/">the first post highlights a few of the reasons that I think location tracking can be useful on the web</a>. I&#8217;ll probably go into more details on that in future posts too. The second post is more instructional, about signing up and creating your first &#8220;favourite&#8221; on the site, again I&#8217;ll likely write a few more posts along those lines. I&#8217;m also hoping to go into some detail on the development of the site, including some issues I come across &#8211; the first of which is likely to be looking at methods of removing errors that my GPS sends through to the site.</p>
<p>Though the site has been in development for over a year, I really been able to put much time into developing it, tending to add a feature that I want from time to time. Also the site is in definite need of some sprucing up, hopefully I&#8217;ll get to that, or get someone else onto it soon. That said  it&#8217;s quite functional and has a number of interesting ways that you can use to log your location, so get on there and set yourself up with an account or <a href="http://blog.mapme.at/2008/08/26/welcome-to-the-mapmeat-blog/">read more over on the mapme.at blog</a>.</p>
<p class="centered"><img src="http://blog.johnmckerrell.com/wp-content/uploads/2008/08/weekend-run.png" alt="Trace of a 5k run on the River Mersey" title="" width="500" height="315" class="size-full wp-image-229" />Trace of a 5k run on the River Mersey <br />(straight lines are my trip from and to home which I didn&#8217;t trace).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnmckerrell.com/2008/08/28/location-tracking-on-a-geo-social-network/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OSM Quality Evaluation</title>
		<link>http://blog.johnmckerrell.com/2008/08/11/osm-quality-evaluation/?&amp;owa_from=feed&amp;owa_sid=</link>
		<comments>http://blog.johnmckerrell.com/2008/08/11/osm-quality-evaluation/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 12:20:23 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Geo Stuff]]></category>
		<category><![CDATA[coverage]]></category>
		<category><![CDATA[evaluation]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[openstreetmap]]></category>
		<category><![CDATA[osm]]></category>
		<category><![CDATA[quality]]></category>

		<guid isPermaLink="false">http://blog.johnmckerrell.com/?p=216</guid>
		<description><![CDATA[Muki Haklay recently put together a blog post about a report that he has been working on over the past year on the evaluation of Open Street Map (OSM) data. I thought I&#8217;d link to it here partly to highlight the interesting work he&#8217;s done here and also to make a few comments. If you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>Muki Haklay recently put together a blog post about a report that he has been working on over the past year on the evaluation of Open Street Map (OSM) data. I thought I&#8217;d link to it here partly to highlight the interesting work he&#8217;s done here and also to make a few comments. If you&#8217;re at all interested in the OSM project then be sure to head over there and read it.</p>
<p>One of the aspects that I thought he may have missed relates to the way OSM relates the history of OSM entities. <a href="http://povesham.wordpress.com/2008/08/07/osm-quality-evaluation/#comment-124">A comment I made</a> on his blog follows:</p>
<blockquote><p>As far as I can tell though the research doesn’t take into account the history of elements in OSM? When you’re looking at the number of users that have worked on an area, you may actually be discounting users who have worked on an area in the past but whose username was then replaced by later edits? I think it’s very important to take this into account as the very peer-reviewing that you are demanding can actually result in the appearance of *less* usernames.</p></blockquote>
<p><a href="http://povesham.wordpress.com/2008/08/07/osm-quality-evaluation/#comment-125">His reply</a> makes it clear that he has thought of this and that he&#8217;s happy that by inspecting the data at the level of nodes this is less likely to be an issue. It&#8217;s true that in the majority of cases a fix would involve simply moving a node or two along a way. Even though both of the main editors now give you the ability to move a whole way (and all the nodes) at once, which would result in the replacing of the username on the way and all nodes, I&#8217;ll admit that this is unlikely to happen very often. That said though, I&#8217;m still a little nervous about completely ignoring the history. Any comparison that concentrated on nodes, e.g. only POIs, rather than ways and nodes would have to take this into account much more but clearly Muki&#8217;s aware of this and is likely to take it into account in the future.</p>
<p class="centered"><a href="http://blog.johnmckerrell.com/wp-content/uploads/2008/08/difference-os-osm-england-a.png"><img src="http://blog.johnmckerrell.com/wp-content/uploads/2008/08/difference-os-osm-england-a-300x244.png" alt="" title="Differences between OS Meridian and OSM in England" width="300" height="244" class="alignnone size-medium wp-image-220" /></a></p>
<p>The report (and indeed the blog post) features the above image showing the difference in coverage between OS Meridian and OSM across England. Blue areas show where OSM coverage is good and red shows bad coverage (compared with OS Meridian). I was initially disheartened by the big red blob over Liverpool and most of the North of England. When I looked at the full size version and squinted a bit I was able to see that South Liverpool shows up as a very small blue smudge amongst the red. The following image is  a closeup featuring Liverpool and Manchester. From this it&#8217;s much easier to see the South Liverpool and Chester are actually pretty well mapped as well as the South West quadrant of Manchester and a few other places, but the majority of the North needs work. Think we need to get some mapping parties planned!</p>
<p class="centered"><a href="http://blog.johnmckerrell.com/wp-content/uploads/2008/08/difference-manchester-liverpool-a.png"><img src="http://blog.johnmckerrell.com/wp-content/uploads/2008/08/difference-manchester-liverpool-a-300x166.png" alt="" title="Differences between OS Meridian and OSM in Manchester and Liverpool" width="300" height="166" class="alignnone size-medium wp-image-219" /></a></p>
<p>(It&#8217;s also worth noting that the data used for this is at least a few months old by now too, I know the Wirral is looking much better these days and some work is being done on Manchester and Leeds)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.johnmckerrell.com/2008/08/11/osm-quality-evaluation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
