<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:pikuorguk</id>
  <title>pikuorguk</title>
  <subtitle>pikuorguk</subtitle>
  <author>
    <name>pikuorguk</name>
  </author>
  <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom"/>
  <updated>2009-11-12T22:50:30Z</updated>
  <lj:journal userid="11937819" username="pikuorguk" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://pikuorguk.livejournal.com/data/atom" title="pikuorguk"/>
  <link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:322575</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/322575.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=322575"/>
    <title>Mont Blanc</title>
    <published>2009-11-12T22:50:30Z</published>
    <updated>2009-11-12T22:50:30Z</updated>
    <category term="landscape"/>
    <content type="html">&lt;p&gt;A nice photo of Mont Blanc taken a few years ago when I went to Chamonix.&lt;/p&gt;
&lt;a href="http://www.piku.co.uk/2009/11/12/mont-blanc"&gt;&lt;img src="http://www.piku.co.uk/gallery/d/543-10/IMG_2200.JPG" alt="Gallery image" /&gt;&lt;/a&gt;
&lt;br /&gt;
Originally posted from &lt;a href="http://www.piku.co.uk"&gt;Landscape Photography&lt;/a&gt;. Please leave comments &lt;a href="http://www.piku.co.uk/2009/11/12/mont-blanc#comments"&gt;over there&lt;/a&gt;.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:322431</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/322431.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=322431"/>
    <title>Testing</title>
    <published>2009-11-12T22:40:03Z</published>
    <updated>2009-11-12T22:46:22Z</updated>
    <category term="urban"/>
    <content type="html">&lt;p&gt;Here&amp;#8217;s a nice test post of an Ambulance. Facebook people should see the Image, Livejournal people should see the image, and those of you watching in RSS should also see it.&lt;/p&gt;
&lt;p&gt;Or it&amp;#8217;ll not work and I&amp;#8217;ll get confused.&lt;/p&gt;
&lt;p&gt;OK so it failed, this is an attempt at wiggling things so some new code is tested out. Livejournal and RSS feeds work, it&amp;#8217;s the WordBook plugin that&amp;#8217;s not working right.&lt;/p&gt;
&lt;a href="http://www.piku.co.uk/2009/11/12/testing"&gt;&lt;img src="http://www.piku.co.uk/gallery/d/1157-1/DSC_3861_sml.jpg" alt="Gallery image" /&gt;&lt;/a&gt;
&lt;br /&gt;
Originally posted from &lt;a href="http://www.piku.co.uk"&gt;Landscape Photography&lt;/a&gt;. Please leave comments &lt;a href="http://www.piku.co.uk/2009/11/12/testing#comments"&gt;over there&lt;/a&gt;.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:322293</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/322293.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=322293"/>
    <title>Festive Berries</title>
    <published>2009-11-12T21:40:27Z</published>
    <updated>2009-11-12T21:56:29Z</updated>
    <category term="urban"/>
    <content type="html">&lt;p&gt;Here&amp;#8217;s some nice festive berries, and a little demonstration of what &amp;#8216;&lt;a href="http://en.wikipedia.org/wiki/Depth_of_field"&gt;depth of field&lt;/a&gt;&amp;#8216; is.&lt;/p&gt;
&lt;a href="http://www.piku.co.uk/2009/11/12/festive-berries"&gt;&lt;img src="http://www.piku.co.uk/gallery/d/1155-1/DSC_3785_sml.jpg" alt="Gallery image" /&gt;&lt;/a&gt;
&lt;br /&gt;
Originally posted from &lt;a href="http://www.piku.co.uk"&gt;Landscape Photography&lt;/a&gt;. Please leave comments &lt;a href="http://www.piku.co.uk/2009/11/12/festive-berries#comments"&gt;over there&lt;/a&gt;.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:322035</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/322035.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=322035"/>
    <title>Google Mail, five years on&amp;#8230;</title>
    <published>2009-11-11T23:50:59Z</published>
    <updated>2009-11-11T23:50:59Z</updated>
    <category term="technology"/>
    <category term="personal"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/11/12/google-mail-five-years-on#comments"&gt;over there (better!)&lt;/a&gt;.&lt;p&gt;I&amp;#8217;ve installed Google Desktop for some useful and fun gadgets to fill my second monitor with. Currently the GMail gadget is indexing five years worth of email which is going to take ages. I had a look through my mail and found my first GMail ever, it was the welcome message, look&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;First off, welcome. And thanks for agreeing to help us test Gmail. By now you probably know the key ways in which Gmail differs from traditional webmail services. Searching instead of filing. A free gigabyte of storage. Messages displayed in context as conversations.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;A whole gigabyte of space for email! crazy! &lt;img src="http://www.piku.org.uk/diary/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /&gt;  You know what? Five years and eighteen &lt;strong&gt;thousand&lt;/strong&gt; emails later, I&amp;#8217;ve only used 700MB. I now have seven gig of space, it&amp;#8217;s going to take a long long time to fill that.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ve got one of those Google Wave accounts too, but it&amp;#8217;s not that useful. I seem to recall mention of it having the ability to work in businesses, on their own servers. I like cloud computing, but I don&amp;#8217;t trust other people with my data. I&amp;#8217;d much prefer if I could run my own cloud on my machine here. Some sort of Google Docs server would be great, I&amp;#8217;d use that all the time. Something where my server is the main store, but then Google&amp;#8217;s system is a mirror, with edits and changes magically propagating throughout the whole system. Local data with remote access and off-site backup, all in one system without any extra steps required. That&amp;#8217;d be a killer system.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:321721</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/321721.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=321721"/>
    <title>Photography Training</title>
    <published>2009-11-11T19:38:06Z</published>
    <updated>2009-11-11T19:38:06Z</updated>
    <category term="urban"/>
    <content type="html">&lt;p&gt;As I teach A-Level Photography, I was fortunate enough to get a place on an exam-board run training course yesterday. Most training courses are a bit dull. We tend to get shoehorned into a small events room in some random hotel, to be waffled at by some bloke and his PowerPoint slideshows. Everyone goes to these for two simple reasons; it&amp;#8217;s a (paid) day off work, and there&amp;#8217;s free food.&lt;/p&gt;
&lt;p&gt;This training session was different though. For a start it was in York, which is a really nice place, and secondly we were told to wander around taking photos of the place to practise our own photography skills. It&amp;#8217;s no good teaching photography if you can&amp;#8217;t do it yourself, after all. It was great, I go all sorts of places and wish I had just five minutes to walk around and take photos, but never get the chance. Yesterday I was being told explicitly to walk around for an hour and take photos.&lt;/p&gt;
&lt;p&gt;I even learnt something too &lt;img src="http://www.piku.co.uk/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /&gt;  Use the histogram on your camera and try to make it look like a mountain or bumpy field, with no strange gaps or high spikes at the edges. Do this by adjusting the aperture and shutter speed.&lt;/p&gt;
&lt;a href="http://www.piku.co.uk/2009/11/11/photography-training"&gt;&lt;img src="http://www.piku.co.uk/gallery/d/1153-1/DSC_3839_sml.jpg" alt="Gallery image" /&gt;&lt;/a&gt;
&lt;br /&gt;
Originally posted from &lt;a href="http://www.piku.co.uk"&gt;Landscape Photography&lt;/a&gt;. Please leave comments &lt;a href="http://www.piku.co.uk/2009/11/11/photography-training#comments"&gt;over there&lt;/a&gt;.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:321458</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/321458.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=321458"/>
    <title>Skulltag &amp;#8211; What a lot of fun</title>
    <published>2009-11-01T00:15:46Z</published>
    <updated>2009-11-01T00:15:46Z</updated>
    <category term="personal"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/11/01/skulltag-what-a-lot-of-fun#comments"&gt;over there (better!)&lt;/a&gt;.&lt;div class="wp-caption alignleft" style="width: 310px"&gt;&lt;a href="http://www.piku.org.uk/diary/wp-content/uploads/2009/11/skulltag.jpg"&gt;&lt;img class="size-medium wp-image-2074" title="skulltag" src="http://www.piku.org.uk/diary/wp-content/uploads/2009/11/skulltag-300x225.jpg" alt="Skulltag, it&amp;#39;s Doom... but with real networking" width="300" height="225" /&gt;&lt;/a&gt;&lt;p class="wp-caption-text"&gt;Skulltag, it&amp;#39;s Doom... but with real networking&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;During my time at school, before overclocking Celerons and wasting my life on the Internet became the &amp;#8220;in&amp;#8221; thing, I used to spend quite a lot of time playing Doom. It was, in fact the reason I spent 30 quid on a 10Base2 network card, length of coax cable and learnt all about this stuff called &amp;#8220;&lt;a href="http://en.wikipedia.org/wiki/Internetwork_Packet_Exchange"&gt;IPX Networking&lt;/a&gt;&amp;#8220;.&lt;/p&gt;
&lt;p&gt;Me and a friend used to take it in turns to drag our entire PC setup &amp;#8211; featuring &amp;#8216;massive&amp;#8217; 15&amp;#8243; monitors and Cirrus Logic VLB graphics cards &amp;#8211; around to the other&amp;#8217;s house. Since neither of us could drive, this required a willing parent. And then we&amp;#8217;d spend all night playing Doom, followed by Doom 2 when it came out. There was even one night where we clocked the frag counter, just to see what&amp;#8217;d happen (it loops back round to zero).&lt;/p&gt;
&lt;p&gt;All of that was back in 1994, and over the following years Doom has come out on pretty much everything from your toaster to digital camera. Well, maybe not the toaster, but I bet someone somewhere has tried, probably using an Arduino and Twitter account. I must have bought this damn game more times over the years than anything.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.piku.org.uk/diary/2009/11/01/skulltag-what-a-lot-of-fun#more-2073"&gt;Read the rest of this entry &amp;raquo;&lt;/a&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:321057</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/321057.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=321057"/>
    <title>Adding Lua to my software</title>
    <published>2009-10-30T19:23:11Z</published>
    <updated>2009-10-30T19:23:11Z</updated>
    <category term="engine"/>
    <category term="featured"/>
    <category term="scripting"/>
    <category term="lua"/>
    <category term="design"/>
    <category term="c++"/>
    <content type="html">&lt;div class="wp-caption alignleft" style="width: 310px"&gt;&lt;a href="http://error_success.piku.org.uk/wp-content/uploads/2009/10/lua-working.png"&gt;&lt;img class="size-medium wp-image-131" title="lua-working" src="http://error_success.piku.org.uk/wp-content/uploads/2009/10/lua-working-300x230.png" alt="lua-working" width="300" height="230" /&gt;&lt;/a&gt;&lt;p class="wp-caption-text"&gt;My code running a Lua script&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Well, this is a bit fun! One of the main points of my game environment is that I should be able to easily modify entity behaviour without having to hard code anything into the environment itself. After a bit of thought, the programming language &lt;a href="http://www.lua.org/"&gt;Lua&lt;/a&gt; seemed to be the best idea.&lt;/p&gt;
&lt;p&gt;I was completely amazed at how easy it was to add this to my own software. After compiling it up, a surprisingly small amount of code is required to get the basics working. It was harder working out how to extract the Lua script from the zipfile I am using.&lt;/p&gt;
&lt;p&gt;The screenshot illustrates a very simple Lua script that does nothing more than contain a function called &amp;#8220;think&amp;#8221; which looks like this&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&amp;#8211; Basic test&lt;br /&gt;
function think(xpos, ypos)&lt;/p&gt;
&lt;p&gt;print (&amp;#8221;xpos = &amp;#8221; .. xpos .. &amp;#8221; ypos = &amp;#8221; .. ypos)&lt;br /&gt;
x = xpos&lt;br /&gt;
y = ypos&lt;br /&gt;
return x, y&lt;br /&gt;
end&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;So it takes in two parameters, prints them out, then returns them back to the host C++ application. So my C++ application calls the function in Lua, that prints out the values it received, and then returns them. If you look in the debugger you can see it all works &lt;img src="http://error_success.piku.org.uk/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /&gt; &lt;/p&gt;
&lt;p&gt;Now to work out how to expose data and functions in the C++ application so that Lua can use them. I need things like &amp;#8220;getPlayerPosition&amp;#8221; and so on.&lt;/p&gt;
&lt;p style="border: 1px solid black; padding: 3px;"&gt;&lt;strong&gt;Originally published at &lt;a href="http://error_success.piku.org.uk/2009/10/30/adding-lua-to-my-software/"&gt;Error_Success&lt;/a&gt;. Please leave any &lt;a href="http://error_success.piku.org.uk/2009/10/30/adding-lua-to-my-software/#comments"&gt;comments&lt;/a&gt; there.&lt;/strong&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:320968</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/320968.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=320968"/>
    <title>Debugging my boiler</title>
    <published>2009-10-30T10:36:20Z</published>
    <updated>2009-10-30T10:36:20Z</updated>
    <category term="personal"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/10/30/debugging-my-boiler#comments"&gt;over there (better!)&lt;/a&gt;.&lt;p&gt;I suppose there&amp;#8217;s one benefit to having a knackered heating system &amp;#8211; it requires lots of testing, to work out what&amp;#8217;s wrong with it. It&amp;#8217;s quite nice sitting in a roasting hot house during the day, under the guise of &amp;#8220;testing&amp;#8221; my heating system works.&lt;/p&gt;
&lt;p&gt;Or in this case doesn&amp;#8217;t. The water keeps trying to escape. The boiler man came yesterday, it&amp;#8217;s the same bloke who does the gas inspections, and we had a bit of a play with it. Of course, since he was there things worked better than just me being there. We discovered that the boiler pressurises the system up to 4 bar quite happily, which is bad &amp;#8211; it should only go to 2 bar. Above 3 the safety relief valve should open and send hot water outside through a little drain pipe. Sure enough, dribbling down the wall outside was some very hot water, and the pressure started to drop.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.piku.org.uk/diary/2009/10/30/debugging-my-boiler#more-2071"&gt;Read the rest of this entry &amp;raquo;&lt;/a&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:320756</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/320756.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=320756"/>
    <title>And my boiler&amp;#8217;s broken&amp;#8230;</title>
    <published>2009-10-27T11:11:54Z</published>
    <updated>2009-10-27T11:11:54Z</updated>
    <category term="personal"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/10/27/and-my-boilers-broken#comments"&gt;over there (better!)&lt;/a&gt;.&lt;div class="wp-caption alignleft" style="width: 310px"&gt;&lt;a href="http://www.piku.org.uk/diary/wp-content/uploads/2009/10/DSC_3644.jpg"&gt;&lt;img class="size-medium wp-image-2069" title="DSC_3644" src="http://www.piku.org.uk/diary/wp-content/uploads/2009/10/DSC_3644-300x199.jpg" alt="Leaking boiler" width="300" height="199" /&gt;&lt;/a&gt;&lt;p class="wp-caption-text"&gt;Leaking boiler&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;What you&amp;#8217;re looking at is the underside of my central heating boiler. The crusty white stuff on that pipe is limescale caused by the water in this area. The crusty white stuff shouldn&amp;#8217;t be there, it means that pipe has a leak, and is probably partially responsible for my heating system having no water pressure.&lt;/p&gt;
&lt;p&gt;I tried filling the radiators back up, but as soon as I started the boiler a fairly fast dripping noise came out the bottom of the boiler. A quick look with my torch showed not one, not two but &lt;em&gt;four&lt;/em&gt; leaks on this boiler!&lt;/p&gt;
&lt;p&gt;Here&amp;#8217;s &lt;a href="http://photos.piku.org.uk/v/Misc/Heating+System/DSC_3642.jpg.html"&gt;two of the leaks on the plumbing going to the rest of the house&lt;/a&gt;. And &lt;a href="http://photos.piku.org.uk/v/Misc/Heating+System/DSC_3643.jpg.html"&gt;in this photo are two more leaks&lt;/a&gt;. One is on the pressure relief valve, the other is coming from the back, just above the copper pipe in the background.&lt;/p&gt;
&lt;p&gt;Since this is a rented house I&amp;#8217;ve just phoned the letting agency who are going to have a plumber call me back. Fortunately the boiler is in my kitchen with all the pipework exposed so I can see and hear this stuff happening. If it was locked away in a cupboard I&amp;#8217;d probably never notice.&lt;/p&gt;
&lt;p&gt;And no, this isn&amp;#8217;t the first time I&amp;#8217;ve run the boiler since last winter. I made the point of running it for a few hours each month and it was fine at the weekend when I used it.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:320271</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/320271.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=320271"/>
    <title>Key debouncing and pause modes</title>
    <published>2009-10-21T22:53:33Z</published>
    <updated>2009-10-21T22:53:33Z</updated>
    <category term="engine"/>
    <category term="allegro"/>
    <category term="planning"/>
    <category term="design"/>
    <category term="user input"/>
    <content type="html">&lt;p&gt;For the curious I have spent the past week (off and on) making a pause button work. Yes, after a week of coding I have managed to allow the player to press the &amp;#8216;P&amp;#8217; key and see a little &amp;#8220;The game is paused, press P to unpause, Q to Quit&amp;#8221; box appear on the screen. Not only that, but the player can then actually press &amp;#8216;P&amp;#8217; again and go back to watching a black screen with a red triangle on it (the &amp;#8220;game&amp;#8221;), or press &amp;#8216;Q&amp;#8217; and go back to the main menu.&lt;/p&gt;
&lt;p&gt;Which makes it sound like I&amp;#8217;ve done bugger all really. And that&amp;#8217;s the problem with measuring progress by things you create and can actually demonstrate to other people. You see, what I really achieved this week is&lt;/p&gt;
&lt;p&gt;&lt;a href="http://error_success.piku.org.uk/2009/10/21/key-debouncing-and-pause-modes/#more-127"&gt;Read the rest of this entry &amp;raquo;&lt;/a&gt;&lt;/p&gt;&lt;p style="border: 1px solid black; padding: 3px;"&gt;&lt;strong&gt;Originally published at &lt;a href="http://error_success.piku.org.uk/2009/10/21/key-debouncing-and-pause-modes/"&gt;Error_Success&lt;/a&gt;. Please leave any &lt;a href="http://error_success.piku.org.uk/2009/10/21/key-debouncing-and-pause-modes/#comments"&gt;comments&lt;/a&gt; there.&lt;/strong&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:320041</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/320041.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=320041"/>
    <title>Lenovo S10e Touchpad problems &amp;#8211; how do I disable browser zooming?</title>
    <published>2009-10-18T10:51:02Z</published>
    <updated>2009-10-18T10:51:02Z</updated>
    <category term="technology"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/10/18/lenovo-s10e-touchpad-problems-how-do-i-disable-browser-zooming#comments"&gt;over there (better!)&lt;/a&gt;.&lt;p&gt;Right then, here&amp;#8217;s a nice challenge&amp;#8230; please read carefully because it&amp;#8217;s not the usual thing you&amp;#8217;re already thinking&amp;#8230;&lt;br style="padding: 0px; margin: 0px;" /&gt;&lt;br style="padding: 0px; margin: 0px;" /&gt;I have a Lenovo S10e netbook running XP. It has a Synaptics touchpad with the touchpad drivers installed. For some highly irritating reason, running my finger down the left hand edge (NOT the right) makes my web browser zoom in and out.&lt;br style="padding: 0px; margin: 0px;" /&gt;&lt;br style="padding: 0px; margin: 0px;" /&gt;How do I turn it off? It&amp;#8217;s driving me crazy.&lt;br style="padding: 0px; margin: 0px;" /&gt;&lt;br style="padding: 0px; margin: 0px;" /&gt;I have been into the Synaptics touchpad control panel and disabled all scrolling, touch zones and everything except the tap-to-click. The really irritating thing is it only happens in web browsers, and only zooms them in or out. And it&amp;#8217;s really useless.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:319772</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/319772.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=319772"/>
    <title>Alport Castles</title>
    <published>2009-10-17T19:21:55Z</published>
    <updated>2009-10-17T19:21:55Z</updated>
    <category term="outdoors"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/10/17/alport-castles#comments"&gt;over there (better!)&lt;/a&gt;.&lt;div class="wp-caption alignleft" style="width: 310px"&gt;&lt;a href="http://www.piku.org.uk/diary/wp-content/uploads/2009/10/2009-10-17-12.35.28.jpg"&gt;&lt;img class="size-medium wp-image-2064" title="2009-10-17 12.35.28" src="http://www.piku.org.uk/diary/wp-content/uploads/2009/10/2009-10-17-12.35.28-300x225.jpg" alt="Alport Castles" width="300" height="225" /&gt;&lt;/a&gt;&lt;p class="wp-caption-text"&gt;Alport Castles&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Today me and my dad went for a walk in the Peak District, to a part we&amp;#8217;ve never been to before. At the bottom of the &lt;a href="http://en.wikipedia.org/wiki/Snake_Pass"&gt;Snake Pass&lt;/a&gt; is &lt;a href="http://en.wikipedia.org/wiki/Ladybower_reservoir"&gt;Ladybower Reservoir&lt;/a&gt; and the Derwent Valley. On the moorlands at the top is a place called &lt;a href="http://en.wikipedia.org/wiki/Alport_Castles"&gt;Alport Castles&lt;/a&gt;, a large craggy area that looks like a quarry but is actually a natural landslip.&lt;/p&gt;
&lt;p&gt;The walking was fairly easy (which is good, it&amp;#8217;s been a while since I&amp;#8217;ve been out walking) and once onto the moorland quite flat and straight forward. Once at Alport Castles we walked back towards the reservoir and down to the road where, conveniently a bus turned up and saved us a long four mile trek.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:319606</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/319606.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=319606"/>
    <title>What&amp;#8217;re you looking at?</title>
    <published>2009-10-16T14:18:35Z</published>
    <updated>2009-10-16T14:18:35Z</updated>
    <category term="urban"/>
    <content type="html">&lt;p&gt;After the fun of getting my &amp;#8220;new&amp;#8221; film SLR, an &lt;a href="http://photos.piku.org.uk/v/Misc/asahi+pentax+s1a/"&gt;Asahi Pentax S1a&lt;/a&gt; and the even greater fun of finding camera film (Tesco) and somewhere that&amp;#8217;ll develop it (Boots) I shot a reel of test film. The only thing I was trying to discover was whether the camera worked, ate film, leaked light or was completely knackered.&lt;/p&gt;
&lt;p&gt;And as you can see, it works! It works very well &lt;img src="http://www.piku.co.uk/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /&gt;  The lens is subtly different to my Nikon 50mm prime and I like the effect.&lt;/p&gt;
&lt;a href="http://www.piku.co.uk/2009/10/16/whatre-you-looking-at"&gt;&lt;img src="http://www.piku.co.uk/gallery/d/1152-2/4016861496_1819dfe394_b.jpg" alt="Gallery image" /&gt;&lt;/a&gt;
&lt;br /&gt;
Originally posted from &lt;a href="http://www.piku.co.uk"&gt;Landscape Photography&lt;/a&gt;. Please leave comments &lt;a href="http://www.piku.co.uk/2009/10/16/whatre-you-looking-at#comments"&gt;over there&lt;/a&gt;.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:319268</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/319268.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=319268"/>
    <title>Blogs and websites I like to read</title>
    <published>2009-10-05T22:25:46Z</published>
    <updated>2009-10-05T22:25:46Z</updated>
    <category term="links"/>
    <category term="personal"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/10/05/blogs-and-websites-i-like-to-read#comments"&gt;over there (better!)&lt;/a&gt;.&lt;p&gt;I use Google Reader to follow quite a lot of websites, blogs and anything else interesting that squirts out an RSS feed. For the curious, here is a list of my favourites. I&amp;#8217;m leaving out the well known things like &lt;a href="http://www.xkcd.com"&gt;XKCD&lt;/a&gt;, &lt;a href="http://www.dilbert.com"&gt;Dilbert&lt;/a&gt;, &lt;a href="http://www.hackaday.com"&gt;Hack-a-day&lt;/a&gt; and so on.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://uncertaintimes.tumblr.com/"&gt;http://uncertaintimes.tumblr.com/&lt;/a&gt; I have no idea what this is about, but it never fails to display interesting and random images at least once a day.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://cargocollective.com/learnsomethingeveryday"&gt;http://cargocollective.com/learnsomethingeveryday&lt;/a&gt; Learn something new, every day. Information presented in nice little cartoon drawings.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.dadhacker.com/blog/"&gt;http://www.dadhacker.com/blog/&lt;/a&gt; It&amp;#8217;s a sort of programming based blog, written by Landon Dyer who I believe used to work at Atari and Apple back in the day.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.bytecellar.com/"&gt;http://www.bytecellar.com/&lt;/a&gt; Interesting writings about old computer systems.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://digitaltools.node3000.com/"&gt;http://digitaltools.node3000.com/&lt;/a&gt; A tech blog that writes about various fun and often arty things, such as nice Flash games, strange bits of hardware and art installations.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.trafficengland.co.uk/index.aspx"&gt;http://www.trafficengland.co.uk/index.aspx&lt;/a&gt; Totally not tech related at all, this site simply tells you all about the state of the UK&amp;#8217;s road network. Grab the RSS feed and have your own instant travel update system. If only I could get this in my car and have the relevant reports displayed while I&amp;#8217;m driving about.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://impossible-world.blogspot.com/"&gt;http://impossible-world.blogspot.com/&lt;/a&gt; An art blog that shows Escher-style &amp;#8220;impossible&amp;#8221; drawings.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://fcd3.blogspot.com/"&gt;http://fcd3.blogspot.com/&lt;/a&gt; A programming blog detailing the creation of a Z-Machine interpreter for Infocom games.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I often find these kinds of sites while browsing around the comment fields of popular websites. It&amp;#8217;s fun to click the random links in people&amp;#8217;s signatures&amp;#8230;&lt;/p&gt;
&lt;p&gt;What are your favourite websites to visit? I&amp;#8217;m always interested in new things to read.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:319013</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/319013.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=319013"/>
    <title>Very chilli</title>
    <published>2009-10-05T19:33:49Z</published>
    <updated>2009-10-05T19:33:49Z</updated>
    <category term="personal"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/10/05/very-chilli#comments"&gt;over there (better!)&lt;/a&gt;.&lt;p&gt;It got a bit cold last night. So cold that I had to pile an extra three layers onto my bed to keep me warm. We also had the first frost last night so I made the decision to move my chilli plants indoors where it&amp;#8217;s warmer. I&amp;#8217;m pretty amazed that they&amp;#8217;re continuing to produce peppers, and that they&amp;#8217;re big, bright, shiny red peppers too. The last plants I grew produced loads of fruit, but then dropped dead. Perhaps I can keep these plants growing all year.&lt;/p&gt;
&lt;p&gt;Hopefully bringing the plants indoors will also produce more spicy peppers.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:318842</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/318842.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=318842"/>
    <title>Engine? Framework? Toolkit? The difficulty of naming things</title>
    <published>2009-10-05T19:26:49Z</published>
    <updated>2009-10-05T19:26:49Z</updated>
    <category term="planning"/>
    <category term="game design"/>
    <category term="lua"/>
    <category term="design"/>
    <category term="allegro"/>
    <category term="engine"/>
    <category term="game"/>
    <category term="xml"/>
    <content type="html">&lt;p&gt;I&amp;#8217;m working away on my un-named project, which is starting to take shape nicely. When it&amp;#8217;s eventually finished it&amp;#8217;ll be some sort of game engine-thing for making 2D style sprite based games &amp;#8211; shooters, platformers, and so on. I have no idea what to call it though &amp;#8211; a framework seems to be something like XNA where you have a collection of classes and libraries that can be bolted together and compiled up to make a program. An engine seems to be something similar, or the part of a game you get when all the assets and levels are stripped out &amp;#8211; imagine Doom without its WAD files.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://error_success.piku.org.uk/2009/10/05/engine-framework-toolkit-the-difficulty-of-naming-things/#more-125"&gt;Read the rest of this entry &amp;raquo;&lt;/a&gt;&lt;/p&gt;&lt;p style="border: 1px solid black; padding: 3px;"&gt;&lt;strong&gt;Originally published at &lt;a href="http://error_success.piku.org.uk/2009/10/05/engine-framework-toolkit-the-difficulty-of-naming-things/"&gt;Error_Success&lt;/a&gt;. Please leave any &lt;a href="http://error_success.piku.org.uk/2009/10/05/engine-framework-toolkit-the-difficulty-of-naming-things/#comments"&gt;comments&lt;/a&gt; there.&lt;/strong&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:318670</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/318670.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=318670"/>
    <title>Dear Web Browsers&amp;#8230; please stop being so slow</title>
    <published>2009-10-03T08:57:32Z</published>
    <updated>2009-10-03T08:57:32Z</updated>
    <category term="technology"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/10/03/dear-web-browsers-please-stop-being-so-slow#comments"&gt;over there (better!)&lt;/a&gt;.&lt;p&gt;It&amp;#8217;s 2009, I am sat in front of a dual core 2.6GHz machine. It contains a graphics card capable of throwing millions of polygons around the screen without breaking a sweat. The HDD is capable of some stupidly fast data transfer rate and my RAM is so large I could copy all my 8 and 16 bit software collection into it and still have room to boot Windows. Oh, I also have a 6Mb ADSL2+ connection which is capable of dragging data off the internet at 6-700K/sec (that&amp;#8217;s kilobytes, not kilobits).&lt;/p&gt;
&lt;p&gt;So why does Firefox take 30 seconds to grind itself into life? What&amp;#8217;s it doing? Typing into the Awesomebar produces confusing pauses too. Surely it&amp;#8217;s not that difficult to scan a list of previous URLs looking for likely matches.&lt;/p&gt;
&lt;p&gt;It&amp;#8217;s not just Firefox though. On my work PC IE8 takes forever to do anything at all. Clicking on the &amp;#8220;new tab&amp;#8221; button results in a frustrating two second constipated pause while it says &amp;#8220;Connecting&amp;#8230;&amp;#8221;. Connecting to what? I&amp;#8217;ve not typed in an address yet!&lt;/p&gt;
&lt;p&gt;IE8 did like to tell me I&amp;#8217;d just opened a new tab, in that irritating way Microsoft products do until I switched that off.&lt;/p&gt;
&lt;p&gt;Chrome is a bit of an improvement, but since it has no plugin system I have to put up with adverts on my webpages (yes, I do run Privoxy, but it&amp;#8217;s just not as good) and the odd braindead site saying &amp;#8220;uhh you&amp;#8217;re not running Internet Explorer, go away please&amp;#8221;.&lt;/p&gt;
&lt;p&gt;I won&amp;#8217;t mention badly coded AJAX-driven sites that just &amp;#8230; stop &amp;#8230; for no reason at all because the background HTTP request has silently died and nobody thought to check for that. Google copes with this very well, Twitter seem largely clueless, and occasionally my own Wordpress installation likes to get it wrong and double-post things or not post at all.&lt;/p&gt;
&lt;p&gt;And what&amp;#8217;s with the meaningless progress twirlers that spin around and around? Once upon a time we had a progress bar that&amp;#8217;d fill up. Now it&amp;#8217;s just a thing that spins until either the page loads with the CSS missing, or &amp;#8220;That site failed to load. Here&amp;#8217;s a meaningless page of gibberish about why, which if you read it all will tell you at the bottom to either try reloading the page, or to ask your system administrator for help. After you&amp;#8217;ve gone and messed around with proxy and encryption settings for no reason at all&amp;#8221;.&lt;/p&gt;
&lt;p&gt;One day we&amp;#8217;ll get information instantly and will wonder what all the fuss was about. Although then we&amp;#8217;ll probably be complaining that it takes effort to read the stuff, and why can&amp;#8217;t it just be injected directly into our brains as we sleep.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:318392</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/318392.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=318392"/>
    <title>Bike Advice Needed: Lights</title>
    <published>2009-09-24T09:51:23Z</published>
    <updated>2009-09-24T09:51:23Z</updated>
    <category term="cycling"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/09/24/bike-advice-needed-lights#comments"&gt;over there (better!)&lt;/a&gt;.&lt;p&gt;It&amp;#8217;s getting dark earlier now, and there are many twisty paths where I live. The sort of place you often see on the 6 o&amp;#8217;clock news cordoned off by police tape and a little white tent nearby. According to our local council they&amp;#8217;re called &amp;#8220;nature trails&amp;#8221; (I think the locals read that as &amp;#8220;rubbish dumps&amp;#8221;, but there you go) and they&amp;#8217;re quite good fun to ride along.&lt;/p&gt;
&lt;p&gt;I need a set of lights for the front of my bike that&amp;#8217;ll light the surrounding area up well enough to not be decapitated by low branches, fall down holes, or cycle into some waiting miscreant. I also don&amp;#8217;t have masses of money to spend, but don&amp;#8217;t want to buy rubbish that&amp;#8217;ll break down.&lt;/p&gt;
&lt;p&gt;Advice please, O wise Internet&amp;#8230;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:318032</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/318032.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=318032"/>
    <title>Exploring my local area by bike</title>
    <published>2009-09-23T20:56:18Z</published>
    <updated>2009-09-23T20:56:18Z</updated>
    <category term="cycling"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/09/23/exploring-my-local-area-by-bike#comments"&gt;over there (better!)&lt;/a&gt;.&lt;p&gt;I&amp;#8217;ve been out on my bike once again exploring the local area. Whereas most people tend to cycle down the river&amp;#8217;s edge, looking at the rubbish-strewn dark trails that lead off into the reclaimed wilderness but continuing, I think &amp;#8220;that looks an interesting way&amp;#8221; and set off down it. Sometimes it turns into a nice little loop full of local interest, other times it turns into a bit of a crap ride.&lt;/p&gt;
&lt;p&gt;Today was the second type of trail. It looked quite promising from Google Maps&amp;#8217; satellite view. My aim was to cycle into town but by going down the river. I now know this is not possible, there&amp;#8217;s a railway in the way. I did find where the locals dump their rubbish and old fridges though.&lt;/p&gt;
&lt;p&gt;For the morbidly curious, here&amp;#8217;s the &lt;a href="http://maps.google.co.uk/maps/ms?ie=UTF8&amp;amp;hl=en&amp;amp;msa=0&amp;amp;ll=53.693352,-1.472511&amp;amp;spn=0.028968,0.090895&amp;amp;t=h&amp;amp;z=14&amp;amp;msid=112467959124437989666.00047444bc18cac719deb"&gt;Google Maps link&lt;/a&gt; and you can download the KMZ file &lt;a href="http://www.piku.org.uk/diary/wp-content/uploads/2009/09/Deadend-trail.kmz"&gt;Deadend trail&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;My Google Earth is now collecting a healthy pattern of red tracks running over the reclaimed land either side of the river. Looking at the area now, you&amp;#8217;d never think there used to be a gravel quarry and coal mine. I think I&amp;#8217;ll now try and cycle North up the river itself, rather than the canal part. Ultimately I&amp;#8217;d like to cycle along the Pennine Trail to Leeds and then the other way to wherever it goes.&lt;/p&gt;
&lt;p&gt;I took my previously mentioned &lt;a href="http://www.piku.org.uk/diary/2009/09/21/asahi-pentax-s1a-slr-camera"&gt;Asahi Pentax film camera&lt;/a&gt; with me. Hopefully the pictures will come out and look good. I&amp;#8217;ve almost stopped looking at the back for a preview image &lt;img src="http://www.piku.org.uk/diary/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /&gt; &lt;/p&gt;
&lt;p&gt;Here&amp;#8217;s the stats for today&amp;#8217;s ride&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Created by &lt;a href="http://mytracks.appspot.com/" target="_blank"&gt;My Tracks&lt;/a&gt; on Android.&lt;/p&gt;
&lt;p&gt;Total Distance: 7.52 km (4.7 mi)&lt;br /&gt;
Total Time: 48:27&lt;br /&gt;
Moving Time: 33:32&lt;br /&gt;
Average Speed: 9.35 km/h (5.8 mi/h)&lt;br /&gt;
Average Moving Speed: 13.46 km/h (8.4 mi/h)&lt;br /&gt;
Max Speed: 27.90 km/h (17.3 mi/h)&lt;br /&gt;
Min Elevation: 68 m (222 ft)&lt;br /&gt;
Max Elevation: 84 m (274 ft)&lt;br /&gt;
Elevation Gain: 135 m (444 ft)&lt;br /&gt;
Max Grade: 3 %&lt;br /&gt;
Min Grade: -7 %&lt;br /&gt;
Recorded: Wed Sep 23 16:56:52 GMT+01:00 2009&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Using a T-Mobile G1 with My Tracks is really really good.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:317772</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/317772.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=317772"/>
    <title>links for 2009-09-23</title>
    <published>2009-09-23T14:05:13Z</published>
    <updated>2009-09-23T14:05:13Z</updated>
    <category term="junk"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/09/23/links-for-2009-09-23#comments"&gt;over there (better!)&lt;/a&gt;.&lt;ul class="delicious"&gt;
&lt;li&gt;
&lt;div class="delicious-link"&gt;&lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialC++STL.html#VECTOR"&gt;C++ STL Tutorial&lt;/a&gt;&lt;/div&gt;
&lt;div class="delicious-tags"&gt;(tags: &lt;a href="http://delicious.com/piku/c%2B%2B"&gt;c++&lt;/a&gt; &lt;a href="http://delicious.com/piku/Programming"&gt;Programming&lt;/a&gt; &lt;a href="http://delicious.com/piku/tutorial"&gt;tutorial&lt;/a&gt; &lt;a href="http://delicious.com/piku/vector"&gt;vector&lt;/a&gt; &lt;a href="http://delicious.com/piku/development"&gt;development&lt;/a&gt; &lt;a href="http://delicious.com/piku/stl"&gt;stl&lt;/a&gt;)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:317477</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/317477.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=317477"/>
    <title>Ungodly freaks of nature found in my kitchen</title>
    <published>2009-09-22T15:51:04Z</published>
    <updated>2009-09-22T15:51:04Z</updated>
    <category term="projects"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/09/22/ungodly-freaks-of-nature-found-in-my-kitchen#comments"&gt;over there (better!)&lt;/a&gt;.&lt;div class="wp-caption alignleft" style="width: 310px"&gt;&lt;a href="http://photos.piku.org.uk/v/Misc/freaky+food/"&gt;&lt;img class="size-medium wp-image-2048" title="DSC_3568" src="http://www.piku.org.uk/diary/wp-content/uploads/2009/09/DSC_3568-300x200.jpg" alt="If Cthulhu made veg" width="300" height="200" /&gt;&lt;/a&gt;&lt;p class="wp-caption-text"&gt;If Cthulhu made veg&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Looking like something that&amp;#8217;s crawled straight out of an HP Lovecraft novel, I found these living in the back of my veg basket in the kitchen. Once upon a time they were harmless baby new potatoes, destined to be brutally boiled in water and chewed to pieces.&lt;/p&gt;
&lt;p&gt;And then! subject to nothing more than ambient daylight, a quantity of dog hair and cosmic background radiation they &lt;span style="text-decoration: line-through;"&gt;sprouted quite naturally&lt;/span&gt; mutated beyond all recognition into warped vegetables that Cthulhu itself would be proud of.&lt;/p&gt;
&lt;p&gt;It seems the potatoes sprouted, using up all the energy in the main potato and then attempted to root into the air, put out some shoots and generally make a jolly good stab at turning into potato bushes of their very own. Then things went wrong and survival mode took over, causing smaller potatoes to be formed in some crazy sprouting fractal type mess. The result &amp;#8211; potatoes for pixies.&lt;/p&gt;
&lt;p&gt;Maybe I should leave them in a dish of water to see what happens.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:317328</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/317328.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=317328"/>
    <title>Asahi Pentax S1a SLR Camera</title>
    <published>2009-09-21T21:46:30Z</published>
    <updated>2009-09-21T21:46:30Z</updated>
    <category term="technology"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/09/21/asahi-pentax-s1a-slr-camera#comments"&gt;over there (better!)&lt;/a&gt;.&lt;div class="wp-caption alignleft" style="width: 310px"&gt;&lt;a href="http://photos.piku.org.uk/v/Misc/asahi+pentax+s1a/"&gt;&lt;img class="size-medium wp-image-2045" title="DSC_3532" src="http://www.piku.org.uk/diary/wp-content/uploads/2009/09/DSC_3532-300x199.jpg" alt="Asahi Pentax S1a SLR camera" width="300" height="199" /&gt;&lt;/a&gt;&lt;p class="wp-caption-text"&gt;Asahi Pentax S1a SLR camera&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;I&amp;#8217;ve been given one of these cameras along with a zoom lens and 55mm prime lens by Amy. I &lt;a href="http://www.photoethnography.com/ClassicCameras/index-frameset.html?AsahiPentaxS1a.html~mainFrame"&gt;did some research&lt;/a&gt; on the web and discovered the camera was the first SLR camera with a &lt;a href="http://en.wikipedia.org/wiki/Pentaprism"&gt;pentaprism&lt;/a&gt; and dates back to around 1960. I stripped it down and discovered the clever simplicity of totally manual SLR cameras, there&amp;#8217;s nothing inside them!&lt;/p&gt;
&lt;p&gt;Really nothing, I took the lens off, opened the back, set the shutter to &amp;#8220;Bulb&amp;#8221; mode and upon pressing the shutter release ended up with a giant 35mm hole going right through the camera. Nothing on this camera is electronic, and it&amp;#8217;s so obvious now looking through the lens and twisting the aperture ring to work out how that affects the image.&lt;/p&gt;
&lt;p&gt;It&amp;#8217;s been cleaned out and loaded with film. I&amp;#8217;ve already shot ten &amp;#8220;test&amp;#8221; shots and will take it for a ride about on my bike tomorrow if it&amp;#8217;s not raining. The Asahi Pentax camera is all metal, with a zoom lens that weighs more than my Nikon DSLR body and lens! The lens also has &amp;#8220;Made in USSR&amp;#8221; stamped on it &lt;img src="http://www.piku.org.uk/diary/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /&gt;  This is a camera I&amp;#8217;d be quite happy dangling from my neck while walking through town &amp;#8211; if anyone tried to steal it  I&amp;#8217;d just whack them on the head with it &lt;img src="http://www.piku.org.uk/diary/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /&gt; &lt;/p&gt;
&lt;p&gt;I took &lt;a href="http://photos.piku.org.uk/v/Misc/asahi+pentax+s1a/"&gt;a few photos of it&lt;/a&gt;, and a few photos &lt;a href="http://photos.piku.org.uk/v/Misc/asahi+pentax+s1a/DSC_3539.jpg.html"&gt;looking through the lens&lt;/a&gt;. Meta-photography is sort of amusing.&lt;/p&gt;
&lt;p&gt;Once I&amp;#8217;ve used up the film and found somewhere that can develop it, and assuming the camera doesn&amp;#8217;t leak light like a Lomo I should have some nice photos. It&amp;#8217;s quite hard guessing the exposure settings by eye, but since I shoot in manual on my DSLR I&amp;#8217;m constantly altering the aperture and shutter speeds anyway and I think my guesses should be good.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:317094</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/317094.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=317094"/>
    <title>Day out at Cleggy</title>
    <published>2009-09-21T21:33:38Z</published>
    <updated>2009-09-21T21:33:38Z</updated>
    <category term="outdoors"/>
    <content type="html">Originally posted at &lt;a href="http://www.piku.org.uk/diary"&gt;The Diary&lt;/a&gt;, comment here or &lt;a href="http://www.piku.org.uk/diary/2009/09/21/day-out-at-cleggy#comments"&gt;over there (better!)&lt;/a&gt;.&lt;div class="wp-caption alignleft" style="width: 310px"&gt;&lt;a href="http://photos.piku.org.uk/v/Lincolnshire/cleethorpes+2009/"&gt;&lt;img class="size-medium wp-image-2042" title="cleggy" src="http://www.piku.org.uk/diary/wp-content/uploads/2009/09/cleggy-300x199.jpg" alt="Cleethorpes beach" width="300" height="199" /&gt;&lt;/a&gt;&lt;p class="wp-caption-text"&gt;Cleethorpes beach&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;Yesterday was a nice sunny day, so having not much to do me and Amy went once again to Cleethorpes to do what the English do at the seaside &amp;#8211; wander up and down the beach complaining about the bikes, chavs and the price of the fish and chips.&lt;/p&gt;
&lt;p&gt;While shovelling small change into the amusements we found a Guitar Hero Arcade machine which managed to extract £2 from my pocket in return for a two player game of Rage Against The Machine&amp;#8217;s Bulls on Parade. I think there&amp;#8217;s an XBox 360 or PC inside the cabinet.&lt;/p&gt;
&lt;p&gt;More photos can be found on &lt;a href="http://photos.piku.org.uk/v/Lincolnshire/cleethorpes+2009/"&gt;my photos website&lt;/a&gt;.&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:316863</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/316863.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=316863"/>
    <title>It makes you think&amp;#8230;</title>
    <published>2009-09-18T21:56:25Z</published>
    <updated>2009-09-18T21:56:25Z</updated>
    <category term="allegro"/>
    <category term="game design"/>
    <category term="design"/>
    <category term="game"/>
    <category term="xml"/>
    <content type="html">&lt;p&gt;sitting in a traffic jam. They&amp;#8217;re not very mentally stimulating, the most interest being the insides of your nostrils and the car in front. So while slowly shuffling my way home today I had a think about the design of my game environment.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ve just finished making the engine parse the config part of the XML file. I can now describe using XML what resolution screen to have, whether the mouse or keyboard are required, and whether sound should be enabled. So what should take about five lines of code, now takes an XML parser, some classes and an external file. That&amp;#8217;s progress for you &lt;img src="http://error_success.piku.org.uk/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /&gt; &lt;/p&gt;
&lt;p&gt;The next step is to get the basic environment loop working. I need to be able to open the screen and have standard things like &amp;#8220;quit&amp;#8221; work properly. If you just close an Allegro program it freezes and Windows pops up to kill it off, which isn&amp;#8217;t any good. Especially when debugging, applications that fail to exit correctly make GDB do odd things.&lt;/p&gt;
&lt;p&gt;So, back to the traffic jam, it was very interesting as I managed to get stuck in the middle of a busy junction with cars coming at me from all angles. There&amp;#8217;s lots of roadworks and traffic lights in town, they&amp;#8217;re all out of sequence with each other and much confusion. A bit like my code, and like my code, the new shopping centre will be built, roads widened and traffic lights resynced with each other. Or something, I don&amp;#8217;t think my game environment will have a shopping centre in it. Order will come from the chaos though.&lt;/p&gt;
&lt;p&gt;Computers were invented to remove the mindless repetitive work people used to do. There are certain parts of software development that are somewhat repetitive and ripe for automation. All that boilerplate code every project has, collision detection routines, menu systems, sprite manipulation. The whole lot can be automated away and scripted from outside the code. Less bugs. More effort to begin with, but less effort later on.&lt;/p&gt;
&lt;p&gt;I think, I&amp;#8217;m making this all up as I go along, going off what seems to make sense to me.&lt;/p&gt;
&lt;p style="border: 1px solid black; padding: 3px;"&gt;&lt;strong&gt;Originally published at &lt;a href="http://error_success.piku.org.uk/2009/09/18/it-makes-you-think/"&gt;Error_Success&lt;/a&gt;. Please leave any &lt;a href="http://error_success.piku.org.uk/2009/09/18/it-makes-you-think/#comments"&gt;comments&lt;/a&gt; there.&lt;/strong&gt;&lt;/p&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:pikuorguk:316510</id>
    <link rel="alternate" type="text/html" href="http://pikuorguk.livejournal.com/316510.html"/>
    <link rel="self" type="text/xml" href="http://pikuorguk.livejournal.com/data/atom/?itemid=316510"/>
    <title>It&amp;#8217;s all about the data&amp;#8230;</title>
    <published>2009-09-17T21:42:13Z</published>
    <updated>2009-09-17T21:42:13Z</updated>
    <category term="planning"/>
    <category term="databases"/>
    <category term="design"/>
    <category term="allegro"/>
    <category term="engine"/>
    <category term="game"/>
    <category term="c++"/>
    <category term="xml"/>
    <content type="html">&lt;p&gt;It&amp;#8217;s my opinion, probably because I&amp;#8217;ve written lots of database-driven apps, that all software can be reduced to a simple set of data structures, relations between the data structures, and the operations on those data structures.&lt;/p&gt;
&lt;p&gt;Take, for example, this blog. There is a database table with the posts in, and then some PHP to turn that into readable HTML. Without the database, the site is worthless. The PHP, while important exists solely to display the data.&lt;/p&gt;
&lt;p&gt;The same probably works for games too. Game objects have attributes, it makes sense to store game objects in collections for ease of management &amp;#8211; put all the baddies in a collection, put all the bullets in a collection, collision test the baddies collection against the player, but don&amp;#8217;t collision test the player against their own bullets. Level data contains attributes that are modified for each level. These also need storing in some sort of collection. Enemy AI is merely a type of attribute for each enemy type, and even the actual AI code should just modify known states for each sprite &amp;#8211; &amp;#8216;find player&amp;#8217; &amp;#8216;move to player&amp;#8217; &amp;#8217;shoot at player&amp;#8217; and so on.&lt;/p&gt;
&lt;p&gt;Don&amp;#8217;t forget the game&amp;#8217;s menu system and title screens. They&amp;#8217;re just more data &amp;#8211; &amp;#8220;Display splash.png for 3 seconds, or until mouse pressed&amp;#8221; &amp;#8220;Display main menu until option chosen&amp;#8221;.&lt;/p&gt;
&lt;p&gt;So, because it&amp;#8217;s easier than trying to debug homebrew Nintendo DS code without a debugger, I&amp;#8217;m in the process of making a game environment that accepts an XML control file to set the game up. It won&amp;#8217;t be predesigned for any particular style of game, but it will be designed for 2D sprite-based games.&lt;/p&gt;
&lt;p&gt;It&amp;#8217;s my aim that by writing an XML control file, some enemy AI in a scripting language and drawing the artwork my environment can then render the game. The ultimate aim is to have a reusable game rendering environment that lets me create games of a certain style in a less error-prone way.&lt;/p&gt;
&lt;p&gt;I have a sample XML file created already, and am now using the excellent TinyXML to parse this and turn it into a set of C++ classes. After that I will reuse the sprite management stuff from my DS coding and expose basic sprite functions &amp;#8211; &amp;#8220;move_x&amp;#8221;, &amp;#8220;move_y&amp;#8221;, &amp;#8220;explode&amp;#8221; etc to see if I can make a simple game of some sort.&lt;/p&gt;
&lt;p&gt;I&amp;#8217;m re-using a lot of code that I&amp;#8217;ve used before. I had a basic sprite and screen management system on my DS, which has been ported to Allegro/C++ and some of the code I did in Processing has been used too. I think I&amp;#8217;ll stick with Allegro now, it not only has excellent documentation, but it also works and is complete and so simple to use.&lt;/p&gt;
&lt;p&gt;Robustly parsing XML is possibly more tedious than writing SQL though.&lt;/p&gt;
&lt;p style="border: 1px solid black; padding: 3px;"&gt;&lt;strong&gt;Originally published at &lt;a href="http://error_success.piku.org.uk/2009/09/17/its-all-about-the-data/"&gt;Error_Success&lt;/a&gt;. Please leave any &lt;a href="http://error_success.piku.org.uk/2009/09/17/its-all-about-the-data/#comments"&gt;comments&lt;/a&gt; there.&lt;/strong&gt;&lt;/p&gt;</content>
  </entry>
</feed>
