<?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>John Beynon</title>
	<atom:link href="http://john.beynon.org.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://john.beynon.org.uk</link>
	<description>Confessions of a code Junkie and anything else i fancy!</description>
	<lastBuildDate>Wed, 13 Jan 2010 12:56:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>My first OSX failure and my new backup routine</title>
		<link>http://john.beynon.org.uk/2010/01/10/my-first-osx-failure-and-my-new-backup-routine/</link>
		<comments>http://john.beynon.org.uk/2010/01/10/my-first-osx-failure-and-my-new-backup-routine/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 13:03:44 +0000</pubDate>
		<dc:creator>johnb</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://john.beynon.org.uk/?p=950</guid>
		<description><![CDATA[Last week I suffered my first OSX failure on my 2 year old iMac. This machine is on 24&#215;7 with a bit of &#8217;sleep&#8217; here and there. It&#8217;s my primary machine at home used for iTunes syncing along with the occasional browser session, nothing too strenuous.

I came home from work on Monday and noticed it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://john.beynon.org.uk/wp-content/uploads/2010/01/apple_imac.jpg"><img class="alignleft size-full wp-image-952" title="apple_imac" src="http://john.beynon.org.uk/wp-content/uploads/2010/01/apple_imac.jpg" alt="" width="260" height="230" /></a>Last week I suffered my first OSX failure on my 2 year old iMac. This machine is on 24&#215;7 with a bit of &#8217;sleep&#8217; here and there. It&#8217;s my primary machine at home used for iTunes syncing along with the occasional browser session, nothing too strenuous.</p>
<p><span id="more-950"></span></p>
<p>I came home from work on Monday and noticed it was just showing a background wallpaper, no mouse response or such like so I resorted to a hard reboot. On rebooting I was presented with the grey boot background and an image of a flash folder &#8211; uh oh! My first Mac boot failure. Now I wouldn&#8217;t have been concerned as I use <a href="http://mozy.com/">Mozy</a> an online backup tool (a bargain at $4.95 for unlimited backup) but in this case I&#8217;d just added a load of videos from my wedding and honeymoon and knew that it was taking a while to backup &#8211; one downside of online backup. I also make heavy use of <a href="https://www.getdropbox.com/referrals/NTExMTg2MDc5/">DropBox</a> with symbolic linking so important stuff like bash customisations, ssh keys etc are shared between my machine as well as various project directories so I knew these were all safe.</p>
<p>I booted from the Snow Leopard CD (holding down the C key) to run the disk utility but a verify/repair didn&#8217;t work and kept returning &#8216;Invalid Node Structure&#8217; message. Uh oh! Then I remembered about &#8216;Target Disk Mode&#8217; using a Firewire cable between two Macs and holding down the &#8216;T&#8217; key on boot &#8211; all this let me connect to was my Vista boot camp partition &#8211; ah, so I could browse that but not the OSX partition. I figured out that if it were a hardware problem the Vista partition wouldn&#8217;t have booted, but it did.</p>
<p>Still getting nowhere I did a bit of Googling and eventually found software that enabled me to see the contents of the OSX partition so I hurried out and got myself an external 1Tb drive so I could copy the data off resound to the fact I&#8217;d be rebuilding this machine &#8211; which again wasn&#8217;t really a problem since this Mac was originally Tiger, then upgraded to Leopard and subsequently Snow Leopard.</p>
<p>After rebuilding the machine the drive I&#8217;d previously purchased was immediately enabled as a Time Machine backup volume, moved the data back from the disk to where it should be on the computer and reinstalled Mozy (after contacting technical support to find out what it would do since it would already have the data backed up and I haven&#8217;t restored it from them).</p>
<p>So now reflecting back on this scenario I&#8217;ve come to a number of conclusions. Firstly, backup, backup, backup.</p>
<ul>
<li>Online backup tools like Mozy, Carbonite are great to get your most important and valuable data (I&#8217;m thinking primarily Photos and Videos) out of your house but are severely limited by upload speeds and presumably download speed if you&#8217;ve got a lot of data stored to retrieve.</li>
<li>DropBox is great for smaller content, documents, code repositories (my Rails projects using GIT are in a DropBox folder, no need to remote sync to locations like GitHub)</li>
<li>Local backup is still essential, getting data out of your house covers you if your house burns down or such like but hardware failure is much more likely &#8211; if you&#8217;re not already get yourself an external drive to use as a Time Machine vault. I noticed that you can restore a machine from Time Machine backup during the rebuild process &#8211; this would have saved me significant time and effort had I already been using Time Machine.</li>
<li>Lastly, OSX isn&#8217;t as rock solid as I thought. There are plenty of &#8216;<a href="http://www.google.co.uk/search?q=invalid+node+structure">Invalid Node Structure</a>&#8216; results on Google but I couldn&#8217;t find any definitive answer/solution to the problem.</li>
</ul>
<p>Hope that helps someone&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://john.beynon.org.uk/2010/01/10/my-first-osx-failure-and-my-new-backup-routine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>UK Broadband Tax &#8211; WTF?</title>
		<link>http://john.beynon.org.uk/2009/12/09/uk-broadband-tax-wtf/</link>
		<comments>http://john.beynon.org.uk/2009/12/09/uk-broadband-tax-wtf/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 19:26:48 +0000</pubDate>
		<dc:creator>johnb</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[taxes]]></category>

		<guid isPermaLink="false">http://john.beynon.org.uk/?p=942</guid>
		<description><![CDATA[So there&#8217;s two things in life that are certain &#8211; death and taxes.
The Chancellor of the UK has in his wisdom today announced/confirmed in his pre-budget announcements that a new &#8216;Broadband Tax&#8217; will be introduced that will be used to;
&#8230;.fund the installation of &#8220;super-fast&#8221; broadband to 90% of the population by 2017.
It will be £6 [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-946" title="9953-digitalbritain" src="http://john.beynon.org.uk/wp-content/uploads/2009/12/9953-digitalbritain.jpg" alt="9953-digitalbritain" width="260" height="230" />So there&#8217;s two things in life that are certain &#8211; death and taxes.</p>
<p>The Chancellor of the UK has in his wisdom today announced/confirmed in his pre-budget announcements that a new &#8216;Broadband Tax&#8217; will be introduced that will be used to;<span id="more-942"></span></p>
<blockquote><p>&#8230;.fund the installation of &#8220;super-fast&#8221; broadband to 90% of the population by 2017.</p></blockquote>
<p>It will be £6 a year and everyone in the UK with a land line will have to pay the tax. WTF? That&#8217;s pretty much 99% of the population I&#8217;d imagine aiming to raise around £150m a year to fund the roll out.</p>
<p>So, let me get this straight &#8211; The government is taxing me to pay a private company (British Telecom) to roll out fast broadband to the population???? I already have fast broadband thanks, I saw the light and left BT&#8217;s crappy antiquated copper crap and went to Virgin Media where I really do enjoy 10Mb of speed and can wind it up to 50Mb if I so choose.</p>
<p>It&#8217;s also to fund roll out of broadband to &#8216;rural areas&#8217; &#8211; does the government not think that perhaps people move to rural areas to get away from modern tech? Broadband has been rolling out quite steadily over the past years and yes, maybe the UK is behind the rest of the world in speeds but haven&#8217;t we got more pressing issues to worry ourselves with like the mess the bankers got this country in and the massive bailouts <del datetime="2009-12-09T19:15:55+00:00">I&#8217;m</del> we are already paying for!!</p>
<p>The good news is the conservatives say they would scrap this &#8216;legislation&#8217; if they got into power &#8211; Labour your days are numbered!</p>
]]></content:encoded>
			<wfw:commentRss>http://john.beynon.org.uk/2009/12/09/uk-broadband-tax-wtf/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gotcha using cfscript queryservice with in clause</title>
		<link>http://john.beynon.org.uk/2009/11/30/gotcha-using-cfscript-queryservice-with-in-clause/</link>
		<comments>http://john.beynon.org.uk/2009/11/30/gotcha-using-cfscript-queryservice-with-in-clause/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 10:16:44 +0000</pubDate>
		<dc:creator>johnb</dc:creator>
				<category><![CDATA[ColdFusion]]></category>

		<guid isPermaLink="false">http://john.beynon.org.uk/?p=939</guid>
		<description><![CDATA[Here&#8217;s one that had me stumpted for a little while.
We have all our CFCs implemented using CFSCRIPT as CF9 has provided us the ability to do and we had a situation where we needed to perform a SQL query with an IN clause. In tags that&#8217;s a pretty routine query but in script we kept [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s one that had me stumpted for a little while.</p>
<p>We have all our CFCs implemented using CFSCRIPT as CF9 has provided us the ability to do and we had a situation where we needed to perform a SQL query with an IN clause. In tags that&#8217;s a pretty routine query but in script we kept getting errors.</p>
<pre lang="ColdFusion">queryservice.setName("users");
queryservice.setdatasource(get('datasourcename'));
queryservice.addParam(name="usergroups",value=params.usergroups,list="yes");
result = queryservice.execute(sql="select email from users where user_group_id in (:usergroups) ");
writeDump(result.getResult());</pre>
<p>Seems pretty straightforward right? We knew that params.usergroups may be a list so we&#8217;d accounted for that in the addparam &#8211; it&#8217;s a series of checkboxes for the user to select using this syntax we got the error message returned;</p>
<p>Named Sql parameter &#8216;usergroups)&#8217; used in the query not found in the queryparams</p>
<p>Well, after some more head scratch we found the problem &#8211; when you&#8217;re using named parameters using a notation similar to symbols in Ruby with brackets in the SQL statement they need to have a space AFTER the name of the parameter! So (:usergroups) becomes (:usergroups ) &#8211; notice the extra space.</p>
<p>Hope that helps someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://john.beynon.org.uk/2009/11/30/gotcha-using-cfscript-queryservice-with-in-clause/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Storing your assets on Amazon S3</title>
		<link>http://john.beynon.org.uk/2009/09/25/storing-your-assets-on-amazon-s3/</link>
		<comments>http://john.beynon.org.uk/2009/09/25/storing-your-assets-on-amazon-s3/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 08:56:38 +0000</pubDate>
		<dc:creator>johnb</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Amazon AWS]]></category>

		<guid isPermaLink="false">http://john.beynon.org.uk/?p=919</guid>
		<description><![CDATA[Amazon S3 makes it really simple to get your assets, aka your stylesheets, images etc off your webserver. There are numerous advantages for this &#8211; not only can it save you money in bandwidth it also has an affect on your website performance.

Most browsers (if they comply with the RFC) will open a maximum of [...]]]></description>
			<content:encoded><![CDATA[<p>Amazon S3 makes it really simple to get your assets, aka your stylesheets, images etc off your webserver. There are numerous advantages for this &#8211; not only can it save you money in bandwidth it also has an affect on your website performance.</p>
<p><span id="more-919"></span></p>
<p><img class="alignright size-full wp-image-925" title="screenshot" src="http://assets0.beynon.org.uk/wp-content/uploads/2009/09/screenshot.png" alt="screenshot" width="260" height="230" />Most browsers (if they comply with the RFC) will open a maximum of 4 HTTP connections to a single URL, that is to say that it is able to load 4 assets simultaneously from a URL &#8211; this behaviour is easy to see if you use the Net panel of Firebug, you see the assets &#8217;stair stepping&#8217; as they load.</p>
<p>Now the easiest way to boost your page load time is to create (assuming you have the necessary access to the server) a new virtual server pointing at your assets folder and have it setup with host headers like assets0.yourdomain.com, assets1.yourdomain.com and then ensure that your assets load from http://assets0.yourdomain.com etc&#8230;but this still means that it&#8217;s coming from the same server.</p>
<p>Enter Amazon S3. It&#8217;s marketed as &#8217;storage for the internet&#8217;. It&#8217;s cheap storage with cheap access rates which can be public or private &#8211; to give you some idea of price I store about 25Gb of photos up there and my last bill was about $3 &#8211; granted those photos are not accessed so I&#8217;m not paying for GET requests since I&#8217;m not requesting the data but I sleep soundly knowing all my photos are safely backed up out of my house (I use <a href="http://www.jungledisk.com/">JungleDisk</a> on my Mac/PC to perform this backup for me!) Anyhow, I digress.</p>
<p>Amazon S3 can be accessed in a variety of ways &#8211; the simplest is to use the <a href="https://addons.mozilla.org/en-US/firefox/addon/3247" target="_blank">S3FOX</a> plugin for Firefox. With S3 you start off creating a &#8216;bucket&#8217;. Whilst you can name a bucket anything, it&#8217;s best to keep it globally unique using a FQDN, such as assets0.mydomain.com. Amazon will let you create a none globally unique bucket name but behind the scenes it would have been made unique. There are infact different rules for buckets stored in the EU, these must be DNS compatible</p>
<p>Buckets by default are private along with anything you place in the bucket &#8211; to allow the assets to be public you need to edit the ACL for the bucket and allow &#8216;Everyone&#8217; read access and apply this to the subfolders too. Assuming you&#8217;ve done that then your assets would now be accessible via http://s3.amazonaws.com/assets0.mydomain.com/ and also via http://assets0.mydomain.com.s3.amazonaws.com/.</p>
<p>But it doesn&#8217;t stop there &#8211; assuming you&#8217;ve setup a FQDN name for your bucket, eg assets0.mydomain.com then you can create a CNAME record in your own DNS for your domain named assets0.mydomain.com and set the value to assets0.mydomain.com.s3.amazonaws.com and then load the assets directly from http://assets0.mydomain.com.</p>
<p>For a more detailed instruction set on Amazon S3 consult the <a href="http://docs.amazonwebservices.com/AmazonS3/latest/index.html?VirtualHosting.html">Amazon documentation</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://john.beynon.org.uk/2009/09/25/storing-your-assets-on-amazon-s3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Importing data into a Rails application</title>
		<link>http://john.beynon.org.uk/2009/09/21/importing-data-into-a-rails-application/</link>
		<comments>http://john.beynon.org.uk/2009/09/21/importing-data-into-a-rails-application/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 16:37:50 +0000</pubDate>
		<dc:creator>johnb</dc:creator>
				<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://john.beynon.org.uk/?p=896</guid>
		<description><![CDATA[There will come a time when you need to import data into your Rails application. Our time was now. We needed to move some data from a PHP based forum into a shiney new Rails application using Eldorado for it&#8217;s forums (this fortunately followed a very similar schema) &#8211; which means nice shiney ActiveRecord models. [...]]]></description>
			<content:encoded><![CDATA[<p>There will come a time when you need to import data into your Rails application. Our time was now. We needed to move some data from a PHP based forum into a shiney new Rails application using Eldorado for it&#8217;s forums (this fortunately followed a very similar schema) &#8211; which means nice shiney ActiveRecord models. We were provided a mySQL backup of the existing forums so off we went.</p>
<p>So where to start &#8211; well at first glance it seemed like it was going to be troublesome but it turns out it&#8217;s not that bad thanks to ActiveRecord. First up, we need to create a connection to a mySQL server &#8211; we&#8217;ll do this via database.yml (fortunately you can have multiple db connections per application);</p>
<pre class="brush: ruby">
# database.yml
legacy:
adapter: mysql
database:
host: 127.0.0.1
username:
password:
</pre>
<p>Then we essentially needed to &#8216;ActiveRecord-ify&#8217; the legacy models coming from the mySQL database &#8211; fortunately ActiveRecord makes this super simple. So we created a Legacy:Base class which extended ActiveRecord base classes;</p>
<pre class="brush: ruby">
# legacy.rb
class Legacy::Base &lt; ActiveRecord::Base
self.abstract_class = true
establish_connection &quot;legacy&quot;
end
</pre>
<p>The we simply created legacy models for each model in the mySQL database extending our legacy base class &#8211; the only thing these needed to know was the name of the table they corresponded to &#8211; just to make sure ActiveRecord was happy. (It turns out that our tables used an &#8216;id&#8217; column akin to AR so didn&#8217;t need to explicitly set this on each model)</p>
<pre class="brush: ruby">
...
# legacy.rb
class Legacy::ForumCategory &lt; Legacy::Base
set_table_name &#039;forum_categories&#039;
#set_primary_key &#039;id&#039;
end
</pre>
<p>This now meant we could do the following in script/console;</p>
<p><img class="alignnone size-full wp-image-909" title="Screen shot 2009-09-21 at 17.27.47" src="http://john.beynon.org.uk/wp-content/uploads/2009/09/Screen-shot-2009-09-21-at-17.27.47.png" alt="Screen shot 2009-09-21 at 17.27.47" width="260" height="230" /></p>
<p>By extending the legacy base class which extended ActiveRecord our legacy models get full ActiveRecord support rolled into them &#8211; so it&#8217;s then super simple to iterate over the data and create a new model object for use in the new application, populate the object and then save it. And of course, since it&#8217;s ActiveRecord we don&#8217;t care what the target database is.</p>
<p>In the end, we created a rake task to create a repeatable process for importing the users from the DB &#8211; which also allowed us to handle any situations where the data we were trying to insert into our new models was failing validation.</p>
]]></content:encoded>
			<wfw:commentRss>http://john.beynon.org.uk/2009/09/21/importing-data-into-a-rails-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring servers with Server Density</title>
		<link>http://john.beynon.org.uk/2009/09/17/monitoring-servers-with-server-density/</link>
		<comments>http://john.beynon.org.uk/2009/09/17/monitoring-servers-with-server-density/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 18:58:51 +0000</pubDate>
		<dc:creator>johnb</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://john.beynon.org.uk/?p=875</guid>
		<description><![CDATA[ Serverdensity.com is a new UK based, hosted server monitoring solution. Think Nagios, but given a Web 2.0 makeover but not quite as many features and certainly not as complicated to configure. I&#8217;m not sure where I heard about them from, but I&#8217;m glad I did.

Monitoring is done via an agent (written in python) installed [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-877" title="serverdensity" src="http://john.beynon.org.uk/wp-content/uploads/2009/09/serverdensity.jpg" alt="serverdensity" width="260" height="230" /> <a href="http://www.serverdensity.com">Serverdensity.com</a> is a new UK based, hosted server monitoring solution. Think Nagios, but given a Web 2.0 makeover but not quite as many features and certainly not as complicated to configure. I&#8217;m not sure where I heard about them from, but I&#8217;m glad I did.</p>
<p><span id="more-875"></span></p>
<p>Monitoring is done via an agent (written in python) installed on the server to give access to various standard metrics as well as stats exposed by mod_status on Apache. At the moment it&#8217;s only supported on Linux/OSX but they are working on a Windows agent.</p>
<p>Server Density provides both a web based dashboard as well as an iPhone application (free). The dashboard displays summary data as well as various graphs which reveal what&#8217;s going on on your server. Alerts can be configured against metrics and delivered via email, sms as well as iPhone notifications! My first iPhone application which uses notifications! Woohoo!</p>
<p><img class="alignright size-medium wp-image-879" title="photo" src="http://john.beynon.org.uk/wp-content/uploads/2009/09/photo-200x300.jpg" alt="photo" width="200" height="300" />You&#8217;re able to trial the full service for 30 days, after which you can continue to monitor a single server but without the pleasure of the iPhone app, limited alerts and data is only retained for 1 month. After the trial period is over it&#8217;s going to cost you £10/$15 a month per server &#8211; a tad pricey I think though.</p>
<p>I&#8217;ve been using it for a few days now and already have caught 2 instances where my server was overloaded and using overly high amounts of resources &#8211; no real bother since I&#8217;m running on the Rackspace Cloud so just allocated more resources to my server.</p>
<p>The team behind it also have an excellent blog at <a href="http://blog.boxedice.com">http://blog.boxedice.com</a> which has some *REALLY* insightful posts into how they outgrew Virtual Servers, moving from a relational DB to a non relational DB (MongoDB) and how they implemented iPhone push notifications &#8211; it&#8217;s well worth subscribing too!</p>
<p>If you&#8217;re in the market for server monitoring then it&#8217;s worth taking a look at!</p>
]]></content:encoded>
			<wfw:commentRss>http://john.beynon.org.uk/2009/09/17/monitoring-servers-with-server-density/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My new password management technique</title>
		<link>http://john.beynon.org.uk/2009/09/02/my-new-password-management-technique/</link>
		<comments>http://john.beynon.org.uk/2009/09/02/my-new-password-management-technique/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 18:41:30 +0000</pubDate>
		<dc:creator>johnb</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://john.beynon.org.uk/?p=769</guid>
		<description><![CDATA[So we&#8217;re all guilty of it &#8211; we have one favorite password (or hopefully a selection of passwords) that we use around various sites for our  email, IM clients, twitter, facebook etc etc. If we&#8217;re not guilty of this crime &#8211; our wives, girlfriends, partners, family members, friends certainly will be! I&#8217;ve never been comfortable [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-790" title="passwordmaker" src="http://john.beynon.org.uk/wp-content/uploads/2009/09/passwordmaker.jpg" alt="passwordmaker" width="260" height="230" />So we&#8217;re all guilty of it &#8211; we have one favorite password (or hopefully a selection of passwords) that we use around various sites for our  email, IM clients, twitter, facebook etc etc. If we&#8217;re not guilty of this crime &#8211; our wives, girlfriends, partners, family members, friends certainly will be! I&#8217;ve never been comfortable with this method &#8211; sure it&#8217;s convenient but in these times we need to be ever more aware of protecting our online identity.</p>
<p><span id="more-769"></span></p>
<p>As a result of this weeks <a href="http://www.twit.tv/floss84">FLOSS</a> which had Eric Jung author of FoxyProxy on the show, he also spoke about his other tool <a href="http://passwordmaker.org/">PasswordMaker</a> which really attracted my attention.</p>
<p>PasswordMaker does exactly what it says on the tin, makes passwords. It exists in a variety of formats, a <a href="https://addons.mozilla.org/en-US/firefox/addon/469">Firefox extension</a>, an <a href="http://passwordmaker.org/Mac_Widget">OSX desktop widget</a>, an <a href="http://passwordmaker.org/passwordmaker.html">online version</a> (with code available as download) and many more! But where PasswordMaker differs is that it will generate you a complex password for each site/resource you visit and you don&#8217;t need to store them anywhere &#8211; you only need to remember one password &#8211; &#8220;One password to rule them all!&#8221;</p>
<p>It works by taking your master password along with the address of a website (usually just the domain bit or any other string) and generating you a complex password using a one way hash &#8211; it will generate the same password every time if you enter the same master password, account settings and address/text string so you don&#8217;t ever need to store the generated passwords, you simply regenerate them each time &#8211; and with the multitude of methods available to generate passwords it&#8217;s made really simple. There are many different encryption algorithms to choose from, password lengths, password characters so provided you use the same settings whenever you want to retrieve your password then you&#8217;ll always get the same password returned.</p>
<p>The Firefox extension makes it really simple &#8211; on clicking the icon you are presented with a screen to enter your master password, the &#8216;using text&#8217; field will have been prefilled with the domain of the site (configurable to use subdomain, query string etc too via options) you are visiting. Once you enter your master password, the extension will generate a password which you can copy to the clipboard and use it from there &#8211; it even clears it after a set amount of time.</p>
<p>Should you need to generate a password for say MSN, then you can override the address with a simple string of text say &#8216;msnmessenger&#8217; which will then be used to produce a password for you &#8211; equally server logins, FTP accounts, DB connections &#8211; provided you have a master password and a memorable unique identifier for the thing being secured then it will work for you &#8211; provided you can accept a minor inconvenience to have to enter your master password each time you need to use it.</p>
<p>It&#8217;s really worth checking out! Why not try it on a few sites and set how you get on&#8230;surely being safer on the internet is worth a little inconvenience?</p>
<p>ps If you have room for another podcast then add <a href="http://www.twit.tv/floss">FLOSS</a> to your pod catcher &#8211; it stands for Free Libre Open Source Software.</p>
]]></content:encoded>
			<wfw:commentRss>http://john.beynon.org.uk/2009/09/02/my-new-password-management-technique/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Opensource Mapping</title>
		<link>http://john.beynon.org.uk/2009/08/11/opensource-mapping/</link>
		<comments>http://john.beynon.org.uk/2009/08/11/opensource-mapping/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 09:23:14 +0000</pubDate>
		<dc:creator>johnb</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://john.beynon.org.uk/?p=761</guid>
		<description><![CDATA[In this weeks Floss the guys interview Steve Coast from OpenStreetMap.org. I&#8217;d never heard of OpenStreetMap but it&#8217;s certainly impressive and does exactly what it says on the tin open source street maps &#8211; built as a Wiki (using RoR) to allow users to edit and contribute to maps, including paths, directions, POIs &#8211; I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-792" title="OpenStreet Map" src="http://john.beynon.org.uk/wp-content/uploads/2009/08/Screen-shot-2009-09-10-at-22.56.55.png" alt="OpenStreet Map" width="134" height="159" />In this weeks <a href="http://www.twit.tv/floss81" target="_blank">Floss</a> the guys interview Steve Coast from <a href="http://openstreetmap.org" target="_blank">OpenStreetMap.org</a>. I&#8217;d never heard of OpenStreetMap but it&#8217;s certainly impressive and does exactly what it says on the tin open source street maps &#8211; built as a Wiki (using RoR) to allow users to edit and contribute to maps, including paths, directions, POIs &#8211; I&#8217;ve just added some new data on the map around where I live. Looking around my areas they have way more detail than any of the &#8216;big&#8217; providers, Google, Yahoo etc. Plus being open source it&#8217;s licensed under creative commons so if you&#8217;re in a position where the EULA for Google Maps just isn&#8217;t going to work for you, eg behind a login, intranet etc then it may be worth checking OpenStreetMap.org out and contributing!</p>
<p>The guys also spoke about <a href="http://www.mapstraction.com/" target="_blank">Mapstraction</a>. This is REALLY interesting. Rather than coding your maps to a specific mapping API, mapstraction provides an API to 11 of the major mapping providers allowing you to switch providers at will! Granted you would need to wait for the mapstraction API to catch up with a providers API but removing lockin to a certain provider can only be a good thing. We have a number of sites implemented with different mapping providers so being able to use a common API would be damn handy!</p>
]]></content:encoded>
			<wfw:commentRss>http://john.beynon.org.uk/2009/08/11/opensource-mapping/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>iPhone 3.0.1 bugs</title>
		<link>http://john.beynon.org.uk/2009/07/31/iphone-3-0-1-bugs/</link>
		<comments>http://john.beynon.org.uk/2009/07/31/iphone-3-0-1-bugs/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 21:36:21 +0000</pubDate>
		<dc:creator>johnb</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://john.beynon.org.uk/?p=758</guid>
		<description><![CDATA[Right, now that Apple has released 3.0.1 which perhaps was a force of hand after the SMS exploit was revealed let&#8217;s see what bugs have been fixed in 3.0.1 update.
Camera app bug seems to have been fixed &#8211; taking a picture now the taken image minimises to the bottom left corner as it should do.
The [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-794" title="iPhone" src="http://john.beynon.org.uk/wp-content/uploads/2009/07/Screen-shot-2009-09-10-at-22.59.32-173x300.png" alt="iPhone" width="173" height="300" />Right, now that Apple has released 3.0.1 which perhaps was a force of hand after the SMS exploit was revealed let&#8217;s see what bugs have been fixed in 3.0.1 update.</p>
<p>Camera app bug seems to have been fixed &#8211; taking a picture now the taken image minimises to the bottom left corner as it should do.</p>
<p><span style="text-decoration: line-through;">The sync bug seems to be fixed too &#8211; previously after plugging in my iPhone into not my usual sync&#8217;ed MAC would cause the current play position to be reset to when it was last synced with master but now it does seem to retain the position correctly.</span></p>
<p>Update 2nd Sept &#8211; It turns out this bug is not fixed!!</p>
<p>Apps seem to load faster than on 3.0 rather than the slight pause that existed prior but it does screen that the pause on the black screen still occurs when you reboot the phone.</p>
<p>Any other fixes or new bugs introduced found?</p>
]]></content:encoded>
			<wfw:commentRss>http://john.beynon.org.uk/2009/07/31/iphone-3-0-1-bugs/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>IIS Custom Errors &#8211; Note to Self</title>
		<link>http://john.beynon.org.uk/2009/07/28/iis-custom-errors-note-to-self/</link>
		<comments>http://john.beynon.org.uk/2009/07/28/iis-custom-errors-note-to-self/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 08:43:09 +0000</pubDate>
		<dc:creator>johnb</dc:creator>
				<category><![CDATA[Geek Stuff]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://john.beynon.org.uk/2009/07/28/iis-custom-errors-note-to-self/</guid>
		<description><![CDATA[I jut got caught out by this one so thought I best post it for posterity.
In IIS when configuring a custom error page for say a 404 error you have the option of specifying a URL or a File (via an absolute path) to the friendly error page you wish to display.
As obvious as it [...]]]></description>
			<content:encoded><![CDATA[<p>I jut got caught out by this one so thought I best post it for posterity.</p>
<p>In IIS when configuring a custom error page for say a 404 error you have the option of specifying a URL or a File (via an absolute path) to the friendly error page you wish to display.</p>
<p>As obvious as it seems now but if you specify a URL say /errors/404.htm then you will not get a 404 header returned by the webserver instead you get a 200 ok &#8211; which in hind sight makes total sense. To get a correct 404 header returned you need to use the file option and browse to the file you wish to display.</p>
]]></content:encoded>
			<wfw:commentRss>http://john.beynon.org.uk/2009/07/28/iis-custom-errors-note-to-self/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
