<?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>Matt Daubneys Blog</title>
	<atom:link href="http://daubers.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://daubers.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 25 Mar 2012 19:34:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Reading Hackspace Door Entry System</title>
		<link>http://daubers.co.uk/2012/03/25/reading-hackspace-door-entry-system/</link>
		<comments>http://daubers.co.uk/2012/03/25/reading-hackspace-door-entry-system/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 19:34:30 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[mosquitto]]></category>
		<category><![CDATA[mqtt]]></category>
		<category><![CDATA[rfid]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=393</guid>
		<description><![CDATA[Maybe 6 months ago I started going to Reading Hackspace. For those of you unaware, wikipedia describes a hackspace as &#8220;a location where people with common interests, often in computers,technology, science, digital or electronic art (but also in many other realms) can meet, socialise and/or collaborate.&#8221; In the past 6 months of hanging out with the Hackspace people, I&#8217;ve probably learnt more than in [...]]]></description>
			<content:encoded><![CDATA[<p>Maybe 6 months ago I started going to <a title="Reading Hackspace" href="http://www.readinghackspace.org.uk" target="_blank">Reading Hackspace</a>. For those of you unaware, wikipedia describes a hackspace as &#8220;a location where people with common interests, often in <a title="Computer" href="http://en.wikipedia.org/wiki/Computer">computers</a>,<a title="Technology" href="http://en.wikipedia.org/wiki/Technology">technology</a>, <a title="Science" href="http://en.wikipedia.org/wiki/Science">science</a>, <a title="Digital art" href="http://en.wikipedia.org/wiki/Digital_art">digital</a> or <a title="Electronic art" href="http://en.wikipedia.org/wiki/Electronic_art">electronic art</a> (but also in many other realms) can meet, <a title="Socialization" href="http://en.wikipedia.org/wiki/Socialization">socialise</a> and/or <a title="Collaboration" href="http://en.wikipedia.org/wiki/Collaboration">collaborate</a>.&#8221; In the past 6 months of hanging out with the Hackspace people, I&#8217;ve probably learnt more than in the previous 12.</p>
<p>Reading Hackspace has recently aquired a physical space to work in, and in order to help things along I offered to build the RFID based door system. As with all systems of this manner, the spec was changed a couple of times along the way, and probably will be changed again in the future.</p>
<p>The door system is composed of three parts:</p>
<ol>
<li>An Arduino based card reader connected to an electronic lock</li>
<li>An MQTT server (namely the epic <a title="Mosquitto MQTT Server" href="http://mosquitto.org/" target="_blank">Mosquitto</a>)</li>
<li>A python script that uses a SQL database to authenticate users running on an Ubuntu server.</li>
</ol>
<p>A full write up is in progress on the <a title="Reading Hackspace WIki Door Entry System" href="http://readinghackspace.org.uk/wiki/Projects/DoorEntrySystem" target="_blank">Reading Hackspace wiki </a>. Here&#8217;s a quick pic of the reader screwed to the door.</p>
<p><a href="http://daubers.co.uk/wp-content/uploads/2012/03/20120311_125832.jpg"><img class="aligncenter size-medium wp-image-394" title="Hackspace RFID Door System" src="http://daubers.co.uk/wp-content/uploads/2012/03/20120311_125832-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>And a video of the system working!</p>
<p><iframe src="http://www.youtube.com/embed/H1JNykWHfgI" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2012/03/25/reading-hackspace-door-entry-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bzr+MQTT=Win \o/</title>
		<link>http://daubers.co.uk/2011/12/31/bzrmqttwin-o/</link>
		<comments>http://daubers.co.uk/2011/12/31/bzrmqttwin-o/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 17:07:58 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[mqtt]]></category>
		<category><![CDATA[notifications]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=380</guid>
		<description><![CDATA[I&#8217;ve been meaning to post this for a little while, but now seems as good a time as any My little team in the office has expanded since I started as the only developer. With two other devs on board managing the bzr commits has meant a little extra overhead to make sure I know [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been meaning to post this for a little while, but now seems as good a time as any <img src='http://daubers.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>My little team in the office has expanded since I started as the only developer. With two other devs on board managing the bzr commits has meant a little extra overhead to make sure I know when new revisions have been pushed. Thinking there had to be a better way then getting people to email me when they do a commit and push to the main branch I went digging through the bzr docs.</p>
<p>It turns out I&#8217;ve been &#8220;doing it wrong™&#8221;. The bzr repo was setup so that people could connect to it using sftp as that was a quick easy way to get things rolling when it was needed. Apparently bzr has an inbuilt <a title="bzr server docs" href="http://doc.bazaar.canonical.com/beta/en/user-guide/server.html">&#8220;smart server&#8221;</a> that can run scripts on certain hooks when certain events take place. This looked like the way to go!</p>
<p>First thing was setting up the smart server. I threw Apache onto the dev box, install mod-wsgi (because it&#8217;s so much better than mod-python) and started reading through the instructions. About an hour of screaming and poking I got the system running  as a smart server, meaning I could push using bzr+http instead of sftp. Now came the difficult part.</p>
<p>It seems that only very specific events can be hooked into on the server side. This wasn&#8217;t immediately obvious from the <a title="bzr docs on hooks" href="http://doc.bazaar.canonical.com/beta/en/user-guide/hooks.html">bzr docs</a>, but a little shouting, throwing things at the monitor and emptying nerf after nerf at the keyboard eventually got me to the hook I wanted specifically.</p>
<p>Now I had the ability to hook into things with bzr, but where could I send the events that it was generating? EMail was a bit dull, so I went back to MQTT, with the thought of commits could now light a lamp in the office when they happen <img src='http://daubers.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The code for the server side bzr plugin is below. You just need to drop it into your .plugins directory for your smart server (ensuring you set this up in you wsgi configuration).</p>
<pre>from bzrlib import branch
import mosquitto as mqtt
import os

mqttServerIp = "192.168.0.250"

def post_push_hook(push_result):
    branchFolder = [x for x in str(push_result.branch.__dict__['_base']).replace("//","/").split("/") if x]
    connectSendDisconnect("new branch revision: "+str(push_result.new_revno),branchFolder[1])

def connectSendDisconnect(msg, branchName):
    mqttc = mqtt.Mosquitto("bzrlib"+str(os.getpid()))
    mqttc.connect(mqttServerIp, 1883, 60, True)
    mqttc.publish("/code/"+branchName, msg, 1, False)
    mqttc.loop()
    mqttc.disconnect()

branch.Branch.hooks.install_named_hook('post_change_branch_tip', post_push_hook, "My post_push hook")</pre>
<p>Magic! Now a message will be sent on the &#8220;/code/branchName&#8221; topic every time a commit happens <img src='http://daubers.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Using some borrowed python magic from <a href="http://chemicaloliver.net/programming/first-steps-using-python-and-mqtt/">http://chemicaloliver.net/programming/first-steps-using-python-and-mqtt/</a> I&#8217;ve made it integrate into the default Ubuntu notifications system so a nice little box pops up informing me of a commit and the new revision number of the branch <img src='http://daubers.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Doubles aces!</p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2011/12/31/bzrmqttwin-o/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduinos, MQTT and Light levels</title>
		<link>http://daubers.co.uk/2011/09/04/arduinos-mqtt-and-light-levels/</link>
		<comments>http://daubers.co.uk/2011/09/04/arduinos-mqtt-and-light-levels/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 13:54:36 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[EasyRadio]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[homeeasy]]></category>
		<category><![CDATA[mosquitto]]></category>
		<category><![CDATA[mqtt]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=377</guid>
		<description><![CDATA[Since watching Andy Pipers talk on MQTT at Oggcamp, I&#8217;ve been trying to understand and use Mosquitto with my Arduinos. I&#8217;ve got a few sensors lying around to test this with (and have ordered some more \o/ ) and have started to have some success. Installing Mosquitto is a doddle. I added the ppa to one of [...]]]></description>
			<content:encoded><![CDATA[<p>Since watching <a href="http://blip.tv/episode/5493280" target="_blank">Andy Pipers talk on MQTT</a> at Oggcamp, I&#8217;ve been trying to understand and use <a href="http://mosquitto.org/" target="_blank">Mosquitto</a> with my Arduinos. I&#8217;ve got a few sensors lying around to test this with (and have ordered some more \o/ ) and have started to have some success.</p>
<p>Installing Mosquitto is a doddle. I added the <a href="https://launchpad.net/~mosquitto-dev/+archive/mosquitto-ppa/" target="_blank">ppa</a> to one of my household servers, then just apt-get install mosquitto. MQTT broker up and running in a matter of minutes. The first thing I setup to check if it was working was a simple python program that would just connect to the broker and send &#8220;Hello World&#8221; to the &#8220;hello&#8221; topic. I wrote a second little python script to just listen to the &#8220;hello&#8221; topic and print out the message from any updates. Most of the code was borrowed from <a href="http://chemicaloliver.net/programming/first-steps-using-python-and-mqtt/" target="_blank">this blog post</a> which was incredibly helpful <img src='http://daubers.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>With that running happily, I moved on a stage. Digging out an <a href="http://daubers.co.uk/2010/11/07/arduino-powered-lights-and-heating/" target="_blank">old shield</a> for my arduino that I made to control the lights in my flat using some home easy sockets and an RF chip, I added an LDR and used the thermister that was already on the board. This simple set of components means I can now monitor both the temperature and light levels in one of the rooms of my flat. Using an ethernet shield for the arduino also means that I can then report that information to my Mosquitto broker using the arduino mqtt <a href="http://knolleary.net/arduino-client-for-mqtt/" target="_blank">library</a>.</p>
<p>What will I do with all this information? Well, initially I&#8217;m going to write an mqtt to sql bridge (might use this an excuse to learn postgres now mysql has an uncertain OSS future) and will setup some scripts to graph the information. I&#8217;ll probably change this sketch to control the lights in the flat, so I could have a machine somewhere sending a message to the mqtt broker at a set time to turn the lights on in the bedroom (a simple mqtt powered alarm clock <img src='http://daubers.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). Hopefully I&#8217;ll write a small application using the app indicator framework for Ubuntu (and growl for OSX) to tell me when certain thresholds are passed, especially for the other sensors I have coming (Alcohol, Gas, Smoke and humidity). I might write another bridge to use the google cloud messaging system to add an alert on my phone as well.</p>
<p>There&#8217;s a whole world of possibilities out there, thanks to so many people building these various components and libraries that make hacking fun toys so much easier <img src='http://daubers.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Many thanks to all those who have developed the frameworks, libraries and services that I&#8217;m using and for making the F/OSS to make life even easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2011/09/04/arduinos-mqtt-and-light-levels/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A quick hack to cheer up a rubbish couple of weeks</title>
		<link>http://daubers.co.uk/2011/08/24/a-quick-hack-to-cheer-up-a-rubbish-couple-of-weeks/</link>
		<comments>http://daubers.co.uk/2011/08/24/a-quick-hack-to-cheer-up-a-rubbish-couple-of-weeks/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 07:44:19 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=372</guid>
		<description><![CDATA[Simply apt-get install libnotify-bin and then add the following to your crontab */10 * * * * DISPLAY=:0.0 XAUTHORITY=~/.Xauthority notify-send &#8220;Don&#8217;t forget&#8221;  &#8221;you&#8217;re awesome&#8221; Then every ten minutes, this will happen: Just to cheer yourself up after a really rubbish few weeks.]]></description>
			<content:encoded><![CDATA[<p>Simply apt-get install libnotify-bin and then add the following to your crontab</p>
<blockquote><p>*/10 * * * * DISPLAY=:0.0 XAUTHORITY=~/.Xauthority notify-send &#8220;Don&#8217;t forget&#8221;  &#8221;you&#8217;re awesome&#8221;</p></blockquote>
<p>Then every ten minutes, this will happen:</p>
<p><a href="http://daubers.co.uk/wp-content/uploads/2011/08/hooray.gif"><img class="aligncenter size-medium wp-image-373" title="Because I'm awesome" src="http://daubers.co.uk/wp-content/uploads/2011/08/hooray-300x161.gif" alt="" width="300" height="161" /></a>Just to cheer yourself up after a really rubbish few weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2011/08/24/a-quick-hack-to-cheer-up-a-rubbish-couple-of-weeks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Day 3: Printers and Development</title>
		<link>http://daubers.co.uk/2011/07/03/day-3-printers-and-development/</link>
		<comments>http://daubers.co.uk/2011/07/03/day-3-printers-and-development/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 10:06:14 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[learning]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=365</guid>
		<description><![CDATA[This is where I&#8217;ll slightly move away from &#8220;the average persons&#8221; tasks. Day to day I write or manage software projects, and for this experiment to continue I need to be able to do that on my laptop. Generally I work day to day using python in Eclipse with the pydev extension. This is relativley [...]]]></description>
			<content:encoded><![CDATA[<p>This is where I&#8217;ll slightly move away from &#8220;the average persons&#8221; tasks. Day to day I write or manage software projects, and for this experiment to continue I need to be able to do that on my laptop. Generally I work day to day using python in Eclipse with the pydev extension. This is relativley easy to get going on Windows, download a JDK, install eclipse, download/install python, install pydev. Job done. However I wanted to play with the Microsoft blessed languages, so I downloaded and installed Visual C# express as well. C# is a language I&#8217;ve had to use before, so I&#8217;m a bit rusty, but should be able to pick it up relativley quickly, and a big kudos to MS as the Visual Studio envornment is still probably the best IDE on the planet (I&#8217;m open to suggestions of others which do the job as well, but I&#8217;ve yet to play with one that does).</p>
<p>c# uses the .net framework to do all the heavy lifting. It&#8217;s a bit like Java in that it&#8217;s compiled into byte code and then interpreted so isn&#8217;t as fast as something like C++ but makes up for that by being easy and fast to develop in. Some of the widgets that come with the new .net framework (such as the graphing widget) are pretty fantastic and really do make life easy. In a couple of hours I&#8217;d refamiliarised myself with the language and written a short program that took in a CSV export from my Current Cost recording box and turned it into a nice graph. Doing the same using the GTK toolkit would probably take a bit longer with a little hacking around as there&#8217;s no dedicated graphing widget (that I&#8217;m aware of), so you&#8217;d have to generate the graph either on the fly by drawing it at a lower level or by creating a jpg and then displaying that in an image box.</p>
<p>One minor issue with the Visual Studio express suite is that there is no built in in subversioning system. At work, and most of the time at home, I tend to use the bzr suite of tools. A quick look on the bzr website and that&#8217;s also available for Windows. Download, install and it integrates very nicely into the My Computer interface, and can be called from the command prompt. Easy.</p>
<p>A lot of my dev work is for server stuff, so putty and winscp were downloaded and installed successfully on top of that as well.</p>
<p>Printers are another problem and a bit of a nightmare. I have an HP Photosmart C4180 All-in-One that I bought some time ago while I was at university. Having long since lost the driver disk for this, I nievley just plugged it in and hoped Windows would just find it as Ubuntu does. No such luck. It goes away and gives me a list of printers which mine isn&#8217;t in and then offers me the option to go to the Windows update site to find even more. I click that button and wait 5 minutes&#8230; then another 5 minutes&#8230; then it gives me a bigger list of printers. My printer is in this list (why it couldn&#8217;t just have said &#8220;We found your printer! Here is the driver.&#8221; rather than me spending 5 minutes scrolling through a badly sorted list I don&#8217;t know) and then installed it. The scanner wouldn&#8217;t work without the software from HP, but otherwise the thing worked as expected.</p>
<p>I have to admit, the boot time for Windows is now slowing down considerably. But my games work and it&#8217;s not overly getting in my way yet. So we&#8217;ll see.</p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2011/07/03/day-3-printers-and-development/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Day 2: Music and pictures</title>
		<link>http://daubers.co.uk/2011/06/11/day-2-music-and-pictures/</link>
		<comments>http://daubers.co.uk/2011/06/11/day-2-music-and-pictures/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 15:10:40 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[learning]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[photos]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=357</guid>
		<description><![CDATA[All of my music and my images are backed up onto a small NAS I have at home. Simple! I thought daftly. Mount the NAS, copy the files into My Music and carry on. Again, so very wrong. Copying a single folder works, trying to copy all of them at the same time doesn&#8217;t! This [...]]]></description>
			<content:encoded><![CDATA[<p>All of my music and my images are backed up onto a small NAS I have at home. Simple! I thought daftly. Mount the NAS, copy the files into My Music and carry on. Again, so very wrong. Copying a single folder works, trying to copy all of them at the same time doesn&#8217;t! This is very annoying! How would I go about mending this in Linux? 3 lines of bash, or&#8230; rsync!</p>
<p>Googling around, I found that windows has a command in the command prompt called robocopy (I&#8217;m on windows and forced onto a command prompt, go figure) The command seems to be &#8220;robocopy z:\ c:\Users\Matt\Music /MIR&#8221;, and this seems to be working!</p>
<p>Windows Media Player seemed to pick up all of my MP3 files relativley quickly, and found/retrieved the album art where it was missing as well. However, all of my Ogg files where not found and not playable. A quick google around for an ogg codec for windows finds <a href="http://www.vorbis.com/setup_windows/" target="_blank">vorbis.com</a> and a codec for &#8220;DirectShow based players&#8221;. It seems to imply WMP is one of these, so I grab it, install it, and can play my Ogg files! Although it doesn&#8217;t show the total running time in the playlist like it does MP3s for some reason. Never mind!</p>
<p>The only other music I tend to listen too is from Spotify. A quick trip to their website to grab the Windows client, and that wors straight away. Nice and easy <img src='http://daubers.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Photo&#8217;s are a completley different kettle of fish. I have a total of 56.7GB of photos on my network storage. When I&#8217;m in Ubuntu I tend to only keep a smallish selection of these on the laptop. So for the purposes of this experiment, I&#8217;ll just import the ones from this year. At a mere 6.67GB, this should take about an hour off the slow network storage. I left this to copy, came back and tried to find some photo management software. Windows 7 seems to come with the &#8220;Windows Live Photo Gallery&#8221;, so trying to use the default software I fired this up. It asked me to sign in with my Windows Live ID (which I have courtesy of my XBox 360) and the quite quickly shows me all the photos I&#8217;ve just imported.<a href="http://daubers.co.uk/wp-content/uploads/2011/06/WindowsLiveGallery.png"><img class="aligncenter size-medium wp-image-360" title="Windows Live Photo Gallery" src="http://daubers.co.uk/wp-content/uploads/2011/06/WindowsLiveGallery-300x168.png" alt="" width="300" height="168" /></a>Helpfully it also throws me a message saying it can&#8217;t open some file types (namely my Canon RAW files) and I need something called a &#8220;codec&#8221; to view them. It then takes me staright to the Canon download site for the raw codec. Quite handy. A 28MB download later and a reboot, all my pictures are now visable and viewable.</p>
<p><a href="http://daubers.co.uk/wp-content/uploads/2011/06/wpg.png"><img class="aligncenter size-medium wp-image-362" title="Windows Live Photo Gallery" src="http://daubers.co.uk/wp-content/uploads/2011/06/wpg-300x168.png" alt="" width="300" height="168" /></a>This seems to be just as usable as Shotwell, I can tag pictures, browse by dates, see the various metadata for each image, there is a small amount of editing possible. It feels a bit clunky though. Occasionally you can&#8217;t double click to preview a photo, you have to right click then go preview. Otherwise it seems more than capable for my mediocre photo managing tasks.</p>
<p>Tomorrow, I&#8217;ll attempt something a bit more taxing. I&#8217;ll try and get the printer working and have a look into application development in Windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2011/06/11/day-2-music-and-pictures/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Day 1: Reinstall Windows</title>
		<link>http://daubers.co.uk/2011/06/09/day-1-reinstall-windows/</link>
		<comments>http://daubers.co.uk/2011/06/09/day-1-reinstall-windows/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 14:38:41 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[packard bell]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=352</guid>
		<description><![CDATA[To replicate a new users experience, I thought I&#8217;d start by restoring my laptop back to just having Windows 7, as factory default. Since Ubuntu takes about 10 minutes to install this should be easy, turns out this was a bit of a mistake. Modern computers don&#8217;t tend to come with any recovery media, just [...]]]></description>
			<content:encoded><![CDATA[<p>To replicate a new users experience, I thought I&#8217;d start by restoring my laptop back to just having Windows 7, as factory default. Since Ubuntu takes about 10 minutes to install this should be easy, turns out this was a bit of a mistake.</p>
<p>Modern computers don&#8217;t tend to come with any recovery media, just a partition on the HDD to recover your system if it&#8217;s broken. Mine had a Utility to create some DVD&#8217;s to replicate this if there was an issue with the drive itself. Now the recovery partition on my laptop is apparently corrupt <img src='http://daubers.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  So I dug out my DVD&#8217;s I created when I received the machine, popped disk one into the drive to find that the DVD had perished sitting in the drawer for 14 months or so. &#8220;No worries!&#8221; thought I, Packard Bell support should be able to ship me some recovery media!</p>
<p>A 20 minute phone call later (at 10p a minute) and they offer to ship me the recovery media for the bargain basement price of just £51.16. Considering I could buy a new copy of Windows for £60 I wasn&#8217;t impressed at all and promptly told them so. After failing to justify the charge for software I already own, I gave up. About to consider the whole thing a waste of time, someone offered to loan me a Windows 7 OEM install DVD that I could just type my serial number into. The serial number would be on the sticker on the laptop, &#8220;Huzzah!&#8221; I thought.</p>
<p>But no, the sticker has in fact worn to the point it&#8217;s unreadable. Now completely stuck, I went to bed with the thought of giving up on the whole thing. If I was an average user I&#8217;d either have been stiffed for a charge of £51.16 now, given up and bought a new laptop, or just given up completely.</p>
<p>As I slept I had a dream&#8230;. many moons ago, when I created the recovery DVDs I vaguely remembered making ISO files of each one. Rummaging through my assorted boxes/drawers of old computer kit I found my old external hard drive (without the case, which had failed). Popped it into a USB SATA dock and found the ISO files. How a non-technical user is supposed to get through all this rubbish I have no idea.</p>
<p>DVD&#8217;s burnt, I popped them into the laptop. An hour and 2 dvd changes later, the system reboots to a &#8220;Starting Windows&#8221; screen, then reboots again. Another windows loading screen with &#8220;Preparing your system for first use&#8221; appears, then &#8220;Setup is checking video performance&#8221;. Then, a miracle happens! Something actually worked and I can setup a username, password, timezone, security settings and network. Windows goes away for a bit to &#8220;Finalize settings&#8221; , pops to a welcome splash with a symbol of a clock and &#8220;2 min&#8221; underneath it. 3 minutes later I&#8217;m presented with the chance to register my laptop (which I decline) and the chance to activate my free 60 day trial of Norton antivirus (which I decline). Then I have a desktop!</p>
<p>Since I told Windows to download important updates it goes away and does so immediately after the preinstalled rubbish passes. While it&#8217;s doing that I promptly remove Norton and start removing the preinstalled rubbish that Packard Bell decided to bundle with the machine. After loading the control panel, I&#8217;m immediately interrupted by &#8220;Launch Manager&#8221; installing something&#8230;. Apparently this is PB preloading more rubbish I probably don&#8217;t want or need. Best to wait for that to finish I think. Oop, and thats decided to reboot the machine for me. Good thing I did wait in the end. After that reboot, I set about removing all the packard bell rubbish, and Norton Antivirus. About half an hours work there to get it all off the machine, and in that time Windows has downloaded yet more updates. A reboot to install those and clear out the last of the preinstalled gumpf, and I have a clean Windows 7 install! Check the windows update status, 82 more updates to install. Button clicked, sit and wait. Another reboot, and I get a box asking me to choose my browser. I ask it for firefox and it goes away and downloads the setup program. I install firefox, just clicking next, then browse through to get AVG (the free virus scanner). Download and install and windows pops up telling me more updates are ready to install. Install those, reboot again, and I appear to have hit the last of them! Finally!</p>
<p>Now! All of my documents are in ODF format, so a quick trip to the Libre Office website and &#8230;. the machine hangs. HDD spinning, but UI unresponsive. Shall leave it a little while to see what happens. Oop, it reboots and tells me it&#8217;s not shut down normally. Let it boot backup normally and try again! It appears it was installing new updates again. Let it update and rebooted again. Install LibreOffice.</p>
<p>This time all is successful, and I have what I consider to be a useful desktop machine! Now to just use this now and see how things go.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2011/06/09/day-1-reinstall-windows/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>From Linux to Windows for 30 days</title>
		<link>http://daubers.co.uk/2011/06/09/from-linux-to-windows-for-30-days/</link>
		<comments>http://daubers.co.uk/2011/06/09/from-linux-to-windows-for-30-days/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 07:42:48 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[learning]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[30days]]></category>
		<category><![CDATA[experiment]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=347</guid>
		<description><![CDATA[Having recently read this article about a journalist trying to use Ubuntu for 30 days, and having seen similar articles in the past, I&#8217;ve decided on an experiment. For the past &#8230;&#8230; many years I&#8217;ve used Linux (of various flavours) as my primary desktop OS. I&#8217;ve used Windows in the past for games and the [...]]]></description>
			<content:encoded><![CDATA[<p>Having recently read <a href="http://www.pcworld.com/businesscenter/article/229187/30_days_withubuntu_linux.html">this</a> article about a journalist trying to use Ubuntu for 30 days, and having seen similar articles in the past, I&#8217;ve decided on an experiment.</p>
<p>For the past &#8230;&#8230; many years I&#8217;ve used Linux (of various flavours) as my primary desktop OS. I&#8217;ve used Windows in the past for games and the like, but haven&#8217;t used it for anything else since Windows XP was new. Very ingrained in my mind these days is the &#8220;Linux way&#8221; of doing things. If something&#8217;s broken, try and fix it, help others fix issues they may not be able to resolve themselves and so on.</p>
<p>The experiment I propose is this, I intend to reverse the article quoted above. There are a few caveats on this however, I&#8217;m a slightly more advanced user than the chap writing that article, and have used Windows before (sometime in the past!). I&#8217;ll try and keep this more or less regularly updated with how things go with various productivity tasks and my day to day jobs. Hopefully the things I learn will be useful somewhere!</p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2011/06/09/from-linux-to-windows-for-30-days/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Banishing the Demons of Distraction Redux</title>
		<link>http://daubers.co.uk/2011/05/20/banishing-the-demons-of-distraction-redux/</link>
		<comments>http://daubers.co.uk/2011/05/20/banishing-the-demons-of-distraction-redux/#comments</comments>
		<pubDate>Fri, 20 May 2011 22:12:17 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[learning]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[annoyances]]></category>
		<category><![CDATA[distractions]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=342</guid>
		<description><![CDATA[My fight against distractions has carried on further. This brief episode is brought to you by the theory of &#8220;scratching your own itch&#8221;. There are a lot of things that annoy me with various tasks I perform every day. This past week I&#8217;ve been taking note of each one, and I count 78 in total. [...]]]></description>
			<content:encoded><![CDATA[<p>My fight against distractions has carried on further. This brief episode is brought to you by the theory of &#8220;scratching your own itch&#8221;.</p>
<p>There are a <span style="text-decoration: underline;">lot</span> of things that annoy me with various tasks I perform every day. This past week I&#8217;ve been taking note of each one, and I count 78 in total. Each one of those 78 things could probably be fixed very easily, but because I&#8217;m generally running around like a headless chicken trying to get things done, I don&#8217;t even think about fixing them, I just put up with them and carry on. A fair few of these are things that take a while to fix, like the office being short of physical space because of all the orders coming in/out at the moment. Other issues are easy to fix, like the fact that it takes me 30 minutes to an hour to do a quick analysis of some testing data. This is a problem I can solve easily with a smattering of python and a little concentration. In fact, I&#8217;m intending to tackle this on Sunday by going into the office when it&#8217;s quiet, and just making this problem vanish.</p>
<p>A few other problems on that list of 78 can also be solved with code, some easily, some not so. Some can be solved by a few simple changes in my work routine, like the fact I constantly go to do a task, get pulled away by something else, and then forget what I was going to do. Keeping a simple log book of what I&#8217;m doing during the day would solve this easily. It would be better if this was digitized in some form, but for now a simple notebook will probably make a huge difference. This distraction on its own has probably caused me to lose my train of thought more times this week than any other on the list.</p>
<p>So how id my fight going? I&#8217;m much more aware of what causes me to be distracted after the past week or so. It&#8217;s taking me time to come to terms with each of those distractions and to deal with them, but ultimately, I am becoming more productive in a given period of time. The next big thing I&#8217;m going to have to tackle is project methodology. Since I don&#8217;t even have a passing familiarity with any of the standard methodologies, this is going to take some research, some thought and  a lot of conversations in order to find the best one to suite the needs of my team at work. As always, any pertinant reading material suggestions are always welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2011/05/20/banishing-the-demons-of-distraction-redux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Banishing the demons of distraction</title>
		<link>http://daubers.co.uk/2011/05/08/banishing-the-demons-of-distraction/</link>
		<comments>http://daubers.co.uk/2011/05/08/banishing-the-demons-of-distraction/#comments</comments>
		<pubDate>Sun, 08 May 2011 15:25:14 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[concentration]]></category>
		<category><![CDATA[distractions]]></category>
		<category><![CDATA[hacking life]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://daubers.co.uk/?p=338</guid>
		<description><![CDATA[For a little while now I&#8217;ve been getting quite annoyed with myself for being very easily distracted (be it with llamas, badgers, narwhals or whatever). This has meant that my general level of productivity has been somewhat&#8230;&#8230; low. I have a list of running projects as long as my arm, none of which get enough [...]]]></description>
			<content:encoded><![CDATA[<p>For a little while now I&#8217;ve been getting quite annoyed with myself for being <strong>very </strong>easily distracted (be it with <a href="http://www.albinoblacksheep.com/flash/llama" target="_blank">llamas</a>, <a href="http://www.badgerbadgerbadger.com/" target="_blank">badgers</a>, <a href="http://www.weebls-stuff.com/songs/Narwhals/" target="_blank">narwhals</a> or whatever). This has meant that my general level of productivity has been somewhat&#8230;&#8230; low. I have a list of running projects as long as my arm, none of which get enough attention because I flit form one to the other almost hourly. The situation as is obviously needs addressing.</p>
<p>From what little intelligence I can bring to bear on the problem, this should be able to be broken down into a few different variables:</p>
<ol>
<li>Environmental</li>
<li>Physical</li>
<li>Grey-mushial (?)</li>
</ol>
<h3>Environmental</h3>
<p>Fixing environmental problems is relativley easy. If I want to concentrate on a task now I use my Mac Mini. Not because OSX is any more productive than Ubuntu I hasn&#8217;t to add, but because it is in a room on a desk with a comfortable chair in a comfortable working position. There is no television, no games consoles or anything else around to take my attention away from what I&#8217;m attempting to do.</p>
<p>In the office at work, I try and keep my desk clear of clutter. When there is a lot going on, or a lot of noise around, the twin help of Spotify and a decent pair of headphones can help keep me inside my own head and in my comfortable work zone. Anything I would sit and watch constantly for updates or results is now being reworked to email me or notify my some other way so that I can carry on concentrating on the more important tasks rather than waiting for something else to finish.</p>
<h3>Physical</h3>
<p>With this I refer to my general physical fitness and general wellbeing. I am quite aware that I don&#8217;t get enough exercise, but have yet to generate a plan to resolve this. Until recently I had no idea how well I ate. Throwing together a nasty hackey database in Django (<a href="https://code.launchpad.net/~daubers/+junk/CaloryDB" target="_blank">code</a>), I actually discovered I don&#8217;t eat too badly&#8230; but can binge on chocolate when things get a bit stressful! This is quite easy to rectify by stopping buying lunch and making it in advance. I still crave the chocolate quite a lot during the day, but hopefully this will fade away given some time!</p>
<h3>Grey-mushial</h3>
<p>This is what&#8217;s going on in my head and possibly the hardest part of the whole cycle to change. When I get frustrated with something I lose the will to carry on with something. This is normally the major factor in why I jump from project to project, task to task without completing things. I get frustrated and annoyed that I can&#8217;t do something so move onto something else I can do. This has a lot of negative impact as it means that sometimes I struggleto learn something new and overcome certain issues. This is quite hard to change, but I&#8217;m attempting to bring some positive re-inforcement to bear on the problem. Craving chocolate when being frustrated isn&#8217;t helping things, however, if I now manage to solve a problem that&#8217;s frustrating me then I can have some chocolate. This helps me motivate myself to push through the problems that keep me stumped, frustrated and annoyed.</p>
<p>Actually keeping my mind on task is another seperate problem. This, at the moment, I have no idea how to solve. I&#8217;ve started reading around this and started reading up on Zen as a lot of Zen practice seems to be based on either keeping your mind on a single thing or emptying your mind of all things completley. This may help, this may not help! Anything I struggle to concentrate on I make a note of what it is, hopefully some kind of pattern will emerge from the mess over time. For some reason, one thing I really can concentrate on without being distracted is painting my 40k models. I have no idea at all why this specifically is so easy to concentrate on, but an interesting observation none the less.</p>
<p>Why bring all this up on here? Well, for a start this place is one of my projects that gets overlooked quite frequently, and secondly so that if anyone does have any dealings with myself where I start something and don&#8217;t necessarily stick to it for a period of time&#8230;.. let me know in case I haven&#8217;t noticed. There is a lot of Ubuntu stuff I&#8217;d love to do if I could just get over these daft concentration issues!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://daubers.co.uk/2011/05/08/banishing-the-demons-of-distraction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

