<?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/"
	>

<channel>
	<title>Povich - Jim Whiteside spouting squit</title>
	<atom:link href="http://povich.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://povich.co.uk/blog</link>
	<description>Ramblings of Jim Whiteside, and some good old Norfolk squit.</description>
	<pubDate>Sun, 07 Feb 2010 11:21:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Books that changed my life</title>
		<link>http://povich.co.uk/blog/2010/02/books-that-changed-my-life/</link>
		<comments>http://povich.co.uk/blog/2010/02/books-that-changed-my-life/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 11:21:31 +0000</pubDate>
		<dc:creator>jaydublu</dc:creator>
		
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://povich.co.uk/blog/?p=222</guid>
		<description><![CDATA[I&#8217;ve been thinking a lot about this recently; that most of the key changes in my life have a book associated with them, and the process of compiling this list has been quite enlightening.

Maplin Electronics Catalogue - Early 1980&#8217;s and I&#8217;m a schoolboy having been introduced to electronics by the gift of an electronics kit [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been thinking a lot about this recently; that most of the key changes in my life have a book associated with them, and the process of compiling this list has been quite enlightening.</p>
<ul>
<li><strong>Maplin Electronics Catalogue</strong> - Early 1980&#8217;s and I&#8217;m a schoolboy having been introduced to electronics by the gift of an electronics kit one Christmas - of all the sources of information available to me the Maplin Catalogue had to be my favourite - I devoured every page, tried to understand every component and product and what they could do, and fantasised about building many of the projects - alas it was mostly fantasy and &#8216;window shopping&#8217; - but I must have learnt something in those days. Strangely, there&#8217;s almost nothing on the Internet about them (other than other people looking) - am I the only one with fond memories of the 1980&#8217;s Maplin Catalogues with their futuristic sci-fi covers?</li>
<li><strong>I Robot</strong> - of all the Asimov books, this has to be my favourite, and I credit it with my belief that nothing is impossible - taking the premise of the elegant &#8216;three laws of robotics&#8217; that you would think covered all eventualities, what would the result be of some unimaginable situation - of course with hindsight it all makes sense, but who could forseen a robot lying as a result of the accidental ability to read minds for instance?</li>
<li><strong>Programming the Z80</strong> by Rodney Zaks - not that I did much Z80 programming - my first computers were 6502 based - but this book helped me take the fundamental leap from a basic understanding of digital electronics to an appreciation of the inner workings of microprocessors. I first learned to program on an Acorn Atom with 2K of RAM (yes, 2048 bytes!!!) and the disciplines of squeezing every last ounce out of available resources set me up for later career in embedded systems - I still enjoy the ability to work in assembler even though most of my time is spent in much higher level languages with unimaginable resources to squander. I wonder how the next generations of geeks and techies will cut their teeth in the fundamentals, in the age of &#8216;GUIs&#8217; and &#8216;IDEs&#8217; and &#8216;RAD&#8217; and &#8216;frameworks&#8217;? Would anyone now be able to shoehorn a game such as <a href="http://en.wikipedia.org/wiki/Elite_%28video_game%29" target="_blank">Elite </a>onto the meagre resources offered by the BBC Micro?</li>
<li><a href="http://oreilly.com/catalog/9781565924192" target="_blank"><strong>CGI Programming with Perl</strong></a> - This was the main book that helped me take the leap onto the Internet - whilst I now predominantly use PHP I still have a fondness for Perl (perhaps related to my love of lower level languages as described above) and it was through learning how to use Perl as a CGI scripting language to develop dynamic websites that helped me understand the &#8216;pleasures&#8217; of the Internet, client / server architectures etc. Again, I wonder whether the next generation of developers who don&#8217;t have to go through this process will get as full an understanding of &#8216;why&#8217; to go with &#8216;how&#8217;?</li>
<li><strong><a href="http://idler.co.uk/books/how-to-be-idle/" target="_blank">How to be Idle</a></strong> by Tom Hodgkinson - it&#8217;s probably a bit early to claim this as a life changing book as I&#8217;ve not yet finished reading it, but it symbolises a change I feel coming. I don&#8217;t know if this is a mini midlife crisis but I&#8217;ve recently been reviewing the way I life my life and my attitudes to the world and those around me. This book suggests that much that is wrong with the world comes from how unnatural the 9-5 &#8216;must achieve&#8217; worth ethic is. Many quotes from philosophers, thinkers (and idlers) have been striking a real chord, and helping me come to the conclusion that it&#8217;s OK to be content with what I do achieve while living a happy life, rather than feeling guilty because of course I could work harder and achieve more yet be miserable.</li>
</ul>
<p>One thing is for certain, I&#8217;m looking forward to finding out what the next phase of my life will bring, and wondering what the accompanying books will be.</p>
]]></content:encoded>
			<wfw:commentRss>http://povich.co.uk/blog/2010/02/books-that-changed-my-life/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Don&#8217;t let the b******d machines win!</title>
		<link>http://povich.co.uk/blog/2010/01/dont-let-the-bd-machines-win/</link>
		<comments>http://povich.co.uk/blog/2010/01/dont-let-the-bd-machines-win/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 15:35:56 +0000</pubDate>
		<dc:creator>jaydublu</dc:creator>
		
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://povich.co.uk/blog/?p=215</guid>
		<description><![CDATA[Believe it or not, I don&#8217;t think I really like computers - they&#8217;re the most frustrating, irritating, stress inducing devices I can imagine. But, it seems I do have a particular talent for getting them to do what I, or others, want them to do.
Of course I would like to say that part of my [...]]]></description>
			<content:encoded><![CDATA[<p>Believe it or not, I don&#8217;t think I really like computers - they&#8217;re the most frustrating, irritating, stress inducing devices I can imagine. But, it seems I do have a particular talent for getting them to do what I, or others, want them to do.</p>
<p>Of course I would like to say that part of my apparent success is due to years of study and experience having given me the ability to &#8216;think like a machine&#8217; - or more accurately to be able to appreciate at quite a high level what&#8217;s going on inside the little black boxes - but I would also say that another part is an innate stubbornness and determination not to be beaten by a sliver of silicon.</p>
<p>Some days, no mater how hair-brained an idea you come up with might be - it just &#8216;works&#8217;. Other times, even the simplest most proven task fights back and you get nowhere, or as is often the case seem to go backwards. But I hold a strong belief that if machines and the things they do for us are to be worth anything, they should work for us rather than us having to work around how the machines want to do things.</p>
<p>Of course I&#8217;m not really suggesting that there&#8217;s some deep &#8216;conspiracy of the machines&#8217;, or that they have to handled like some wayward puppy you&#8217;re trying to house train, but I would suggest that to succeed in getting the most out of machines you do have to persevere and for goodness sake don&#8217;t let them see any fear in your eyes!</p>
]]></content:encoded>
			<wfw:commentRss>http://povich.co.uk/blog/2010/01/dont-let-the-bd-machines-win/feed/</wfw:commentRss>
		</item>
		<item>
		<title>To update or not to update</title>
		<link>http://povich.co.uk/blog/2009/12/to-update-or-not-to-update/</link>
		<comments>http://povich.co.uk/blog/2009/12/to-update-or-not-to-update/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 15:16:22 +0000</pubDate>
		<dc:creator>jaydublu</dc:creator>
		
		<category><![CDATA[life]]></category>

		<category><![CDATA[administration]]></category>

		<category><![CDATA[servers]]></category>

		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://povich.co.uk/blog/?p=213</guid>
		<description><![CDATA[There’s a sweet contentment knowing that a system is fully up to date and patched, but how uncomfortable it soon becomes when you find out there’s a new update or patch – leading to the nagging question of if / when to go through the grief of updating.
On the one hand, you know you should [...]]]></description>
			<content:encoded><![CDATA[<p>There’s a sweet contentment knowing that a system is fully up to date and patched, but how uncomfortable it soon becomes when you find out there’s a new update or patch – leading to the nagging question of if / when to go through the grief of updating.</p>
<p>On the one hand, you know you should apply updates as soon as you can to get any potential benefit of new features, bugfixes or even improved security and performance – but anyone who has been around long enough will know that even the simplest patch can upset an otherwise stable system and be a royal pain to resolve.</p>
<p>That leads to the temptation to procrastinate and put off updating systems until it can’t be avoided any longer, but the longer updates are left the more they build up, and the worse the process of updating becomes – again you may hear the sigh of bitter experience?</p>
<p>I’m not just talking about applications like Wordpress and Drupal, or the dreaded Windows Update – there are so many constant reminders from all sorts of systems to ‘update now?’ And I’m talking about minor updates rather than the biggies like Vista -&gt; Windows 7 or Drupal 6 -&gt; Drupal 7 – those you have a choice, but minor updates you really don’t, it’s more a matter of ‘when’ than ‘if.</p>
<p>Here is a summary the guidelines that I try and stick to:</p>
<p><strong>Have a regular ‘maintenance period’</strong> – Accept that maintenance is a fact of life, and schedule an appropriate amount of time at least monthly to review logs, apply updates and other housekeeping tasks to maintain a healthy system. Of course this implies that the more systems you look after, the more time will be spent in maintenance, but that cannot be avoided – without tlc systems tend to ask for your attention when it’s not so convenient!</p>
<p><strong>Don&#8217;t do updates on a Friday afternoon</strong> – As tempting as it may be to slip this task in at the end of the week if your ‘proper work’ allows, it’s tempting fate and if you have problems with an update you might not have enough time to resolve it, or you might shortcut testing and not spot an issue until Monday. Make sure you have set enough time aside to do it properly, and you’re in the right frame of mind.</p>
<p><strong>Design your system to be maintained </strong>– when carrying out initial installation and configuration, think ahead to how you are going to apply and test updates and patches, and migrate changes between environments. Good decisions at the start make life so much easier six months down the line. Documentation and good naming conventions are key. And of course as part of your deployment there was a test plan that can be used to validate updates?</p>
<p><strong>Prepare and maintain a documented maintenance procedure</strong> – It makes the task much less daunting to know that you have a ‘script’ worked out rather than having to keep re-inventing the wheel. Wikis are ideal for the purpose as they’re easy to create and maintain. Anything you have to spend time figuring out so that next time you don&#8217;t have to struggle to remember it, or work it out again. If you find information that’s wrong or missing, fix it, and keep documentation updated as your system evolves.</p>
<p><strong>Read the release notes</strong> - try to get an understanding of what the update or patch you&#8217;re about to apply will change so you can analyse potential risks and identify any mitigating measures you might take, and to also identify what testing you can do to satisfy yourself all&#8217;s OK afterwards.</p>
<p><strong>Once you start – don&#8217;t stop until you finish</strong> – it’s probably worse half applying updates than not applying them, and even harder to do maintenance next time. So no distractions, and remember the ‘not on Friday afternoon’ rule.</p>
<p><strong>Pat yourself on the back afterwards</strong> – it’s a necessary job, so make sure you get your due reward. If you&#8217;re doing this for someone else (a client) make sure they appreciate the effort it takes, and don’t be apologetic about taking the time to do it properly. Few people notice a well running system, but you soon get shouted as when it goes titsup, so sleep well in the knowledge that all is right with the world again and you have done a proper job!</p>
]]></content:encoded>
			<wfw:commentRss>http://povich.co.uk/blog/2009/12/to-update-or-not-to-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Storing dates in Drupal Schema API</title>
		<link>http://povich.co.uk/blog/2009/09/storing-dates-in-drupal-schema-api/</link>
		<comments>http://povich.co.uk/blog/2009/09/storing-dates-in-drupal-schema-api/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 17:25:34 +0000</pubDate>
		<dc:creator>jaydublu</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://povich.co.uk/blog/?p=210</guid>
		<description><![CDATA[This one caught me out for a good while - I&#8217;ve got my own data stored in a database using Drupal&#8217;s Schema API and one field I want is a date, so I used the &#8216;datetime&#8217; type. But whenever I came to use a value anywhere I couldn&#8217;t get any of Drupal&#8217;s date formatting functions [...]]]></description>
			<content:encoded><![CDATA[<p>This one caught me out for a good while - I&#8217;ve got my own data stored in a database using Drupal&#8217;s Schema API and one field I want is a date, so I used the &#8216;datetime&#8217; type. But whenever I came to use a value anywhere I couldn&#8217;t get any of Drupal&#8217;s date formatting functions to work - they were expecting a unix timestamp (makes sense) but the Schema API uses &#8216;datetime&#8217; as a field type on MySQL so was getting a MySQL date string in return.</p>
<p>The answer was not to use datetime as a schema type, but int, and when passing data make sure you pass a timestamp. format_data() and views_handler_field_date etc. will then work as expected.</p>
<p>But it makes you wonder who left this mantrap lying around for foolhardy developers like me to fall into?</p>
]]></content:encoded>
			<wfw:commentRss>http://povich.co.uk/blog/2009/09/storing-dates-in-drupal-schema-api/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drupal Views bulk export</title>
		<link>http://povich.co.uk/blog/2009/08/drupal-views-bulk-export/</link>
		<comments>http://povich.co.uk/blog/2009/08/drupal-views-bulk-export/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 16:06:54 +0000</pubDate>
		<dc:creator>jaydublu</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[web development]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[subversion]]></category>

		<category><![CDATA[version control]]></category>

		<category><![CDATA[views]]></category>

		<guid isPermaLink="false">http://povich.co.uk/blog/?p=205</guid>
		<description><![CDATA[I&#8217;ve been using Drupal in earnest since the New Year, and I have to say that I wish I&#8217;d discovered it sooner. It&#8217;s by no means perfect, but I think perfection is impossible with CMS systems and it&#8217;s doing everything I need it to.
Initially I was sceptical about using the Views module - I was [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://drupal.org/" target="_blank">Drupal</a> in earnest since the New Year, and I have to say that I wish I&#8217;d discovered it sooner. It&#8217;s by no means perfect, but I think perfection is impossible with CMS systems and it&#8217;s doing everything I need it to.</p>
<p>Initially I was sceptical about using the <a href="http://drupal.org/project/views" target="_blank">Views</a> module - I was thinking that Views are just for people who can&#8217;t be bothered to do proper PHP, but then I got into them and discovered the power and simplicity, and I have to say my first approach to most content display challenges in Drupal now tends to use Views.</p>
<p>But this leads on to one of my biggest gripes about Drupal - how much of the site configuration is stashed in the database where there is little accountability or control - I much prefer having files in the filesystem where you can use <a href="http://subversion.tigris.org/" target="_blank">Version Control</a>.</p>
<p>Then I discovered <em>bulk export</em> which does all of that - and it makes a big difference in safe use of Views. This is how I&#8217;ve done things several times now quite successfully:</p>
<ul>
<li>Carry out rapid development using the Views UI as normal.</li>
<li>Enable the <em>Views Exporter</em> module - this turns on the &#8216;bulk export&#8217; tab under &#8216;tools&#8217; in the Views admin</li>
<li>In Site Building &gt; Views &gt; Tools &gt; Bulk Export, select the views that you want to export, and enter the name of the module you want to store the views code in and hit &#8216;export&#8217;</li>
<li>Follow the instructions on the next page to add snippets to the .info and .module files, and to create the .views_default.inc file</li>
<li>In Site Building &gt; Views &gt; Tools &gt; Basic, click &#8216;Clear Views Cache&#8217; button</li>
<li>The right hand-most link against the views you exported in the admin list should now have changed from &#8216;delete&#8217; to &#8216;revert&#8217; - go ahead and &#8216;revert&#8217; all the views you exported</li>
</ul>
<p>That&#8217;s it - simples!</p>
<p>If you need to make any changes to exported Views, there are two approaches:</p>
<ol>
<li>Modify the exported php directly in the .views_default.inc file - these changes should be immediately reflected on the site, but you might need to hit &#8216;Clear Views Cache&#8217; just to be sure.</li>
<li>Use the Views UI, and re-export the views again, save the updated .views_default.inc file, then hit &#8216;revert&#8217; on the list to use the file version</li>
</ol>
<p>I&#8217;ve found it very useful when there are two or more enviornments being used for development (e.g. dev and live) to be able to spot that a local change has been made to an exported view by the presense of the &#8216;revert&#8217; link - using diff on exports gives you a clue to what setting changed - a bit fiddly but not as bad as trying to go through every setting the UI one at a time to spot the difference. It&#8217;s also very reassuring to have Subversion (or your vrsion control system of choice) keep all your various environments in sync.</p>
<p>The final trick to pass on that has made my life much simpler is proper use of names and tags in views - if all the views for your module have the same prefix to their name, and the same tag, it makes it much easier to spot them all in lists, and to select them all together when you come to re-export them - it&#8217;s very embarrassing if you miss one and a whole section disappears from the site! If you need to rename or add tags - it&#8217;s easy to spot in the exported code where they can be changed, and that&#8217;s something you can&#8217;t do through the UI.</p>
<p>Now if only I could get more of Drupal&#8217;s config in the filesystem this way &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://povich.co.uk/blog/2009/08/drupal-views-bulk-export/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Collections</title>
		<link>http://povich.co.uk/blog/2009/08/collections/</link>
		<comments>http://povich.co.uk/blog/2009/08/collections/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 18:22:04 +0000</pubDate>
		<dc:creator>jaydublu</dc:creator>
		
		<category><![CDATA[life]]></category>

		<category><![CDATA[hifi]]></category>

		<category><![CDATA[vinyl]]></category>

		<guid isPermaLink="false">http://povich.co.uk/blog/?p=203</guid>
		<description><![CDATA[
So here&#8217;s the thing - I heard some Lou Reed on TV last night and I realised I hadn&#8217;t heard Transformer for far too long, so this afternoon I decided to finally get around to digging out and plugging all the various bits of my good-old-fashioned analogue hi-fi together again after far too long.
Having got [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://xkcd.com/625/" target="_blank"><img class="alignnone" title="Collections" src="http://imgs.xkcd.com/comics/collections.png" alt="" width="740" height="201" /></a></p>
<p>So here&#8217;s the thing - I heard some <a href="http://en.wikipedia.org/wiki/Lou_Reed" target="_blank">Lou Reed</a> on TV last night and I realised I hadn&#8217;t heard <a href="http://en.wikipedia.org/wiki/Transformer_(album)" target="_blank">Transformer</a> for far too long, so this afternoon I decided to finally get around to digging out and plugging all the various bits of my good-old-fashioned <a href="http://povich.co.uk/blog/?p=150">analogue hi-fi</a> together again after far too long.</p>
<p>Having got over that fact I seem to have mislaid Lou Reed, the first album  that caught my eye from my cherished vinyl collection as I scanned for something to put on was Fairground Attraction<a href="http://en.wikipedia.org/wiki/The_First_of_a_Million_Kisses" target="_blank"> &#8220;The first of a million kisses&#8221;</a>.</p>
<p>So I breath a deep contented breath, close my eyes, lean back in the chair and wonder why the hell it is that I haven&#8217;t done this for &#8230; probaly a good 10 years!!! My mind wanders further, and I realise that I&#8217;ve had this album for almost two decades, and although a few tracks on side one are like old friends I don&#8217;t know if I played the whole album more than a couple of times, but it&#8217;s great. So what other gems are in the modest collection of 200 odd LPs that I once put so much thought into? Given that most of the music is probably more than 20 years old - what have I missed in the mean time? Yikes - there can&#8217;t be enough hours in the day to find out what I&#8217;ve missed or am missing!!!!</p>
<p>But then I realise I have the same thought when I browse through my boxes of old novels looking for the next book to read again, and discover an old favourite, or something I once bought and never got around to reading, and also when I look for a film to watch out of the DVD collection (at least I finally threw all the videos away after they went mouldy or I&#8217;d have them to worry about too).</p>
<p>Half way through side2 (oh how I love vinyl - so tactile!) and I&#8217;ve decided that I don&#8217;t care. In all the various collections I have squirreled about in cupboards or sheds, on shelves and in boxes (and don&#8217;t get me started on tools, or bits of electronics) I&#8217;ve got more than enough to keep me fully occupied and amused for the rest of my life even if I worked at it full time - what does it matter if I&#8217;m missing other stuff - what I&#8217;ve got already is more than I will ever need and it&#8217;s all just fantastic even if it is often more than 20 years old!</p>
<p>As I mellow with time, it seems I&#8217;m becoming content with what I have - the grass is pretty green over here so why worry about the other side of the bridge?</p>
<p>I love vinyl!</p>
]]></content:encoded>
			<wfw:commentRss>http://povich.co.uk/blog/2009/08/collections/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Server monitoring</title>
		<link>http://povich.co.uk/blog/2009/07/server-monitoring/</link>
		<comments>http://povich.co.uk/blog/2009/07/server-monitoring/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 16:39:24 +0000</pubDate>
		<dc:creator>jaydublu</dc:creator>
		
		<category><![CDATA[review]]></category>

		<category><![CDATA[tinkering]]></category>

		<category><![CDATA[monitoring]]></category>

		<category><![CDATA[munin]]></category>

		<category><![CDATA[nagios]]></category>

		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://povich.co.uk/blog/?p=198</guid>
		<description><![CDATA[I think I&#8217;ve finally found an almost perfect suite of tools to monitor webserver performance and availability - it&#8217;s only taken five years!
The most recent discovery that has me all excited is Munin - I&#8217;d heard of it before but can&#8217;t think why I&#8217;ve never given it a go. It&#8217;s a fantastic tool for recording [...]]]></description>
			<content:encoded><![CDATA[<p><img title="mysql_queries-week Munin" src="http://povich.co.uk/blog/wp-content/uploads/2009/07/mysql_queries-week.png" alt="mysql_queries-week Munin" hspace="5" width="297" height="202" align="right" />I think I&#8217;ve finally found an almost perfect suite of tools to monitor webserver performance and availability - it&#8217;s only taken five years!</p>
<p>The most recent discovery that has me all excited is <a href="http://munin.projects.linpro.no" target="_blank">Munin</a> - I&#8217;d heard of it before but can&#8217;t think why I&#8217;ve never given it a go. It&#8217;s a fantastic tool for recording all sorts of useful metrics in rrdtool stylee graphs - far too much info in fact as it&#8217;s bringing out my hypochondriac tendencies.</p>
<p>I&#8217;ve been using <a href="http://www.nagios.org" target="_blank">Nagios</a> for years - although Ubuntu distros make it easier to set up it is still a bit like hard work, but once it&#8217;s set up it&#8217;s great. I&#8217;m using nrpe plugins to remotely monitor many of the same metrics as Munin is recording on a suite of servers, but Nagios is set to generate alerts if they go out of tolerance. Once you get the thresholds right it can warn you of impending trouble before a site actually fails - a theory which actually worked a few weeks back when alerts for page response time and processor load allowed me to take evasive action before a site actually crashed.</p>
<p>I&#8217;ve got a utility script or two, such as one which monitors MySQL replication, which is regularly polled by Nagios which triggers an alert if a certain string isn&#8217;t found. I&#8217;m sure there is a plugin or other cunning way to get Nagios to do this without a script, but this was easy, and it works!</p>
<p>Finally for in-house tools, good old <a href="http://awstats.sourceforge.net" target="_blank">AWStats</a> for logfile analysis gives me an idea of raw traffic served.</p>
<p>For remote tools, I use an <a href="http://www.aql.com">email to sms gateway</a> to allow Nagios to alert me of critical problems if I&#8217;m not at my machine, for a second opinion and as a safeguard I also subscribe to a remote monitoring service - of the many I&#8217;ve tried I favour <a href="http://www.alertra.com" target="_blank">Alertra</a>, but also use <a href="http://www.pingdon.com">Pingdom </a>occasionally. Finally <a href="http://www.google.com/analytics" target="_blank">Google Analytics </a>allows traffic analysis within the site, and that&#8217;s about it.</p>
<p>But as the BBC says, <a title="Server Density" href="http://www.serverdensity.com/" target="_blank">other services</a> are also available.</p>
]]></content:encoded>
			<wfw:commentRss>http://povich.co.uk/blog/2009/07/server-monitoring/feed/</wfw:commentRss>
		</item>
		<item>
		<title>This guy loves statistics!</title>
		<link>http://povich.co.uk/blog/2009/05/this-guy-loves-statistics/</link>
		<comments>http://povich.co.uk/blog/2009/05/this-guy-loves-statistics/#comments</comments>
		<pubDate>Fri, 08 May 2009 16:49:21 +0000</pubDate>
		<dc:creator>jaydublu</dc:creator>
		
		<category><![CDATA[life]]></category>

		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://povich.co.uk/blog/?p=193</guid>
		<description><![CDATA[
I&#8217;ve seen some of these charting tools in things like Google Analytics but thought it was just a gimmick, but not only is this stuff entertaining, but makes the data informative and what&#8217;s more adds weight to the conclusions.
Thanks to Robbie for this.
]]></description>
			<content:encoded><![CDATA[<p><object width="334" height="326" data="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent" /><param name="bgColor" value="#ffffff" /><param name="flashvars" value="vu=http://video.ted.com/talks/embed/HansRosling_2006-embed_high.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/HansRosling-2006.embed_thumbnail.jpg&amp;vw=320&amp;vh=240&amp;ap=0&amp;ti=92" /><param name="src" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" /><param name="bgcolor" value="#ffffff" /><param name="allowfullscreen" value="true" /></object></p>
<p>I&#8217;ve seen some of these charting tools in things like Google Analytics but thought it was just a gimmick, but not only is this stuff entertaining, but makes the data informative and what&#8217;s more adds weight to the conclusions.</p>
<p>Thanks to <a href="http://overthink.co.uk/blog/" target="_blank">Robbie</a> for this.</p>
]]></content:encoded>
			<wfw:commentRss>http://povich.co.uk/blog/2009/05/this-guy-loves-statistics/feed/</wfw:commentRss>
		</item>
		<item>
		<title>When to rebuild?</title>
		<link>http://povich.co.uk/blog/2009/04/when-to-rebuild/</link>
		<comments>http://povich.co.uk/blog/2009/04/when-to-rebuild/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 16:05:30 +0000</pubDate>
		<dc:creator>jaydublu</dc:creator>
		
		<category><![CDATA[life]]></category>

		<category><![CDATA[tinkering]]></category>

		<category><![CDATA[agile]]></category>

		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://povich.co.uk/blog/?p=189</guid>
		<description><![CDATA[This post can relate to so many things - stylesheets, php code, glass fibre moulds - at some point when you&#8217;ve gone through a few iterations of an agile like process, you start thinking &#8220;If I&#8217;d known I was going to end up doing this, I would have started differently&#8221;
When you&#8217;re so close to completing, [...]]]></description>
			<content:encoded><![CDATA[<p>This post can relate to so many things - stylesheets, php code, glass fibre moulds - at some point when you&#8217;ve gone through a few iterations of an <a title="Agile is here to stay" href="/blog/?p=167">agile like process</a>, you start thinking <em>&#8220;If I&#8217;d known I was going to end up doing this, I would have started differently&#8221;</em></p>
<p>When you&#8217;re so close to completing, yet you know deep down it&#8217;s getting messy overcomplex and perhaps not as &#8216;nice&#8217; as it could be, the decision of whether to leave it as-is because it works or to take the opportunity to rebuild everything before you go any further becomes almost unbearable.</p>
<p>But then I suppose is that not what the <a title="Wikipedia: perpetual beta" href="http://en.wikipedia.org/wiki/Perpetual_beta" target="_blank">perpetual beta</a> is all about, and eventually you get the opportunity to go for v2.0 (or 1.0 even)? In the mean time if it&#8217;s not doing any harm, leave it alone - you know it will only open up another can of worms if you start from scratch again!</p>
]]></content:encoded>
			<wfw:commentRss>http://povich.co.uk/blog/2009/04/when-to-rebuild/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Can&#8217;t log in to Drupal site in IE7, but can in Firefox?</title>
		<link>http://povich.co.uk/blog/2009/03/cant-log-in-to-drupal-site-in-ie7-but-can-in-firefox/</link>
		<comments>http://povich.co.uk/blog/2009/03/cant-log-in-to-drupal-site-in-ie7-but-can-in-firefox/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 11:20:41 +0000</pubDate>
		<dc:creator>jaydublu</dc:creator>
		
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://povich.co.uk/blog/?p=186</guid>
		<description><![CDATA[Not unique to Drupal, but common to any that use cookies to maintain login session information. I&#8217;ve met it before, but I just lost an hour and I have a brick shaped imprint in my forehead again, so I thought I&#8217;d drum into my head &#8230; don&#8217;t use underscores in domain names!
So often when using [...]]]></description>
			<content:encoded><![CDATA[<p>Not unique to Drupal, but common to any that use cookies to maintain login session information. I&#8217;ve met it before, but I just lost an hour and I have a brick shaped imprint in my forehead again, so I thought I&#8217;d drum into my head &#8230; <strong>don&#8217;t use underscores in domain names</strong>!</p>
<p>So often when using subdomains for setting up dev sites etc., it&#8217;s so easy to use site_dev.domain.com or similar. But, underscores are not valid characters in domain names.</p>
<p>Firefox is forgiving, and behaves as you would hope, but IE7, Opera etc. won&#8217;t properly set cookies on domains with underscores.</p>
<p>Solution - use hyphens instead e.g. site-dev.domain.com</p>
]]></content:encoded>
			<wfw:commentRss>http://povich.co.uk/blog/2009/03/cant-log-in-to-drupal-site-in-ie7-but-can-in-firefox/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
