<?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>purestblue</title>
	<atom:link href="http://purestblue.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://purestblue.com</link>
	<description>always running with scissors</description>
	<lastBuildDate>Thu, 18 Apr 2013 13:08:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>The world is full of idiots (1)</title>
		<link>http://purestblue.com/2011/11/17/the-world-is-full-of-idiots-1/</link>
		<comments>http://purestblue.com/2011/11/17/the-world-is-full-of-idiots-1/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 13:44:33 +0000</pubDate>
		<dc:creator>Justin Catterall</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://purestblue.com/?p=63</guid>
		<description><![CDATA[Something cropped up in a newsgroup today, specifically one which goes by the acronym ucsm and is dedicated to the discussion of Apple Macintosh computers. Someone mentioned that some sat nav owners are entering their home address as that of the local police station. The (dubious) logic being that if your sat nav is stolen [...]]]></description>
				<content:encoded><![CDATA[<p>Something cropped up in a <a href="http://en.wikipedia.org/wiki/Usenet">newsgroup</a> today, specifically one which goes by the acronym <a href="http://groups.google.com/group/uk.comp.sys.mac/topics?lnk">ucsm</a> and is dedicated to the discussion of Apple Macintosh computers. Someone mentioned that some sat nav owners are entering their home address as that of the local police station. The (dubious) logic being that if your sat nav is stolen the thief doesn&#8217;t then go and break into your house (why would he?). The navigational side of this logic is that the owner of the sat nav does know how to get from the local police station to their home.</p>

<p>What I was what kind of idiot puts their home into a sat nav, don&#8217;t these people know where they live?<span id="more-63"></span>I live in East Sussex, if I&#8217;m in Edinburgh I head south and pick up signs for London/M25, and I know which of the A2, A20, A21, A22, A23 gets me nearest to home. If I&#8217;m in Cornwall I head east, and aim for the A272. If I&#8217;m coming from somewhere from which I&#8217;ve never come before I head in the general direction of home until I see names of towns I recognise as being near to where I live. Any fool should know the towns around one&#8217;s area, and where one lives in relation to them. Finding my way <em>home</em> is <em>always</em> easy.</p>

<p>If going <em>from</em> home to somewhere I&#8217;ve never been before, if I don&#8217;t have an idea of where it is in the UK (Scotland, Wales, North-East/West, West Country, etc) I&#8217;ll at least get myself a clue before setting off and then, as I&#8217;m closing my destination (mostly > 50% of the overall distance) the sat nav may come in handy. For example, I&#8217;ve never been to Northumberland, if I was required to get to, say, Alnwick, I&#8217;d head north and between here and the north side of the M25 I&#8217;d be juggling in my head the long distance between the end of the M1, on A roads instead of motorways with the long way round M6 and then crossing to Northumberland somewhere north of Wigan but before Carlisle. I doubt there&#8217;s that much in it (the way I drive) &#8211; fuel consumption or time but I&#8217;d probably go A1(M) as I&#8217;ve never been up the A1 north of York so the view would be different. If I had sat nav I&#8217;d not turn it on until, if on the A1(M), I got to Durham (Co. not city), and if going up the M6 I&#8217;d probably turn it on around the Manchester/Liverpool junctions, not knowing how I was going to cross the Dales/Penines. I mean, this stuff isn&#8217;t rocket science, our country is really quite small compared with many.</p>

<p>How do people who need the sat nave to get from their front door to Asda and back again <em>every</em> time manage to work out how to even operate the damn device?! This reliance on technology is causing brains to turn soup. The genetic branching of Morlock and Eloi from homo sapiens has begun, I believe it happened some time around 1950.</p>
]]></content:encoded>
			<wfw:commentRss>http://purestblue.com/2011/11/17/the-world-is-full-of-idiots-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boot from USB pen drive</title>
		<link>http://purestblue.com/2011/06/16/boot-from-usb-pen-drive/</link>
		<comments>http://purestblue.com/2011/06/16/boot-from-usb-pen-drive/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 11:20:08 +0000</pubDate>
		<dc:creator>Justin Catterall</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer]]></category>

		<guid isPermaLink="false">http://purestblue.com/?p=61</guid>
		<description><![CDATA[The biggest hurdle I had installing Debian on my new server was getting the Debian Net Install ISO onto a USB stick in a way that would be bootable. My new server hardware doesn&#8217;t have an optical drive, nor does it need it. It does, however, happily boot from USB. I tried using Disk Utility [...]]]></description>
				<content:encoded><![CDATA[<p>The biggest hurdle I had installing <a href="http://www.debian.org/">Debian</a> on my new server was getting the Debian Net Install ISO onto a USB stick in a way that would be bootable.</p>

<p><span id="more-61"></span>
My new server hardware doesn&#8217;t have an optical drive, nor does it need it. It does, however, happily boot from USB.</p>

<p>I tried using Disk Utility under OS X to write the ISO to the memory stick, but for some reason I couldn&#8217;t mount the ISO, OS X said that it didn&#8217;t contain a valid file system &#8211; which was rubbish because I did get the ISO onto the memory stick and installing Debian with it was a piece of cake.</p>

<p>I also tried using the <pre><code>dd</code></pre> command, all that did was copy the disk image to the device, but it was not bootable, and was not what I wanted.</p>

<p>I found various suggestions around the web, but I couldn&#8217;t make them work. I eventually found <a href="http://unetbootin.sourceforge.net/">UNetbootin</a>, a project hosted by <a href="http://sourceforge.net/">SourceForge</a>. UNetbootin will extract the contents of an ISO and write them to a USB stick in exactly the same way that they would be written to a CD (which was the original intention with ISOs).</p>

<p>To make the USB bootable UNetbootin also adds some other code to the device, this through me when I booted from my USB memory stick. I expected to see a regular Debian boot screen but was instead shown something else, though it contained a menu that had all the regular Debian options. I chose install and it all went smoothly &#8211; which is how I&#8217;ve always found a Debian install.</p>

<p>So that&#8217;s a big thumbs up for UNetbootin, it&#8217;s available for OS X, Linux, and Windows, and it&#8217;s free. A big thank you to the authors.</p>
]]></content:encoded>
			<wfw:commentRss>http://purestblue.com/2011/06/16/boot-from-usb-pen-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Replacement</title>
		<link>http://purestblue.com/2011/06/16/server-replacement/</link>
		<comments>http://purestblue.com/2011/06/16/server-replacement/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 10:59:48 +0000</pubDate>
		<dc:creator>Justin Catterall</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computer]]></category>

		<guid isPermaLink="false">http://purestblue.com/?p=60</guid>
		<description><![CDATA[Did you see the post regarding a Linux install to a Mac Mini? Well I&#8217;m not happy with it because it&#8217;s not as stable as I&#8217;d like. For some reason the partition information becomes corrupt; everything is OK after a reboot but I can&#8217;t figure out why it&#8217;s happening in the first place, there&#8217;s nothing [...]]]></description>
				<content:encoded><![CDATA[<p>Did you see the post regarding a <a href="http://purestblue.com/?p=46">Linux install to a Mac Mini</a>? Well I&#8217;m not happy with it because it&#8217;s not as stable as I&#8217;d like. For some reason the partition information becomes corrupt; everything is OK after a reboot but I can&#8217;t figure out why it&#8217;s happening in the first place, there&#8217;s nothing in the logs I can put my finger on and blame.</p>

<p><span id="more-60"></span>
This problem could be due to the fact that the hardware is quite new, and I&#8217;m having to run a custom Linux kernel; maybe the code for some of the hardware isn&#8217;t quite good enough for production use. Or it could be due to a hardware problem, I&#8217;ve already had to return one which died completely on me while partitioning the disk for a Linux install.</p>

<p>So I&#8217;m going to retire the Mini from Linux duties (if it still crashes under OS X then I can attribute that to hardware).</p>

<p>If the Mini is being retired then I need a replacement server, step forward a great deal from <a href="http://www.google.co.uk/search?client=safari&amp;rls=en&amp;q=hp+proliant+cashback&amp;ie=UTF-8&amp;oe=UTF-8&amp;redir_esc=&amp;ei=Q8P5TZvgAsO1hAeT852FAw">Hewlett Packard</a> on a ProLiant MicroServer with a 250GB HD, 1GB RAM, Athlon II Neo N36L 64bit processor, £240 and get £100 cashback. It&#8217;s a good looking server, much bigger, however, than the Mac Mini, and probably less powerful, but it&#8217;s going to be a server so that&#8217;s not a problem, no 3d games here.</p>

<p>I&#8217;ve already added another 2GB of RAM and it has three empty drive bays behind a front opening door (no need to remove screws and open the case) for easy upgrade of the storage.</p>

<p>One thing it doesn&#8217;t have is an optical drive, though it will boot from a USB drive or memory stick.</p>
]]></content:encoded>
			<wfw:commentRss>http://purestblue.com/2011/06/16/server-replacement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Markdown</title>
		<link>http://purestblue.com/2011/03/08/untitled/</link>
		<comments>http://purestblue.com/2011/03/08/untitled/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 13:14:39 +0000</pubDate>
		<dc:creator>Justin Catterall</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[bloggin textmate markdown]]></category>

		<guid isPermaLink="false">http://purestblue.com/?p=49</guid>
		<description><![CDATA[Markdown is a type of computer language&#8230; hold it, don&#8217;t switch off just yet, it&#8217;s not that dull. Those of us who write blogs sometimes have to deal with HTML, and that&#8217;s ugly and a whole lot more typing than we really need to do to say what we want to say. Markdown lets you [...]]]></description>
				<content:encoded><![CDATA[<p>Markdown is a type of computer language&#8230; hold it, don&#8217;t switch off just yet, it&#8217;s not that dull. Those of us who write blogs sometimes have to deal with HTML, and that&#8217;s ugly and a whole lot more typing than we really need to do to say what we want to say. Markdown lets you avoid <em>most</em> of the HTML you are likely to need to type. Let me explain&#8230;</p>

<p><span id="more-49"></span>
Instead of typing <code>&lt;h1&gt;A Title&lt;/h1&gt;</code>, you just need to type <code># A Title</code>, for <code>&lt;h2&gt;Subtitle&lt;/h2&gt;</code> it&#8217;s <code>## Subtitle</code>. In addition, markdown doesn&#8217;t require you to remember all the HTML escape sequences for <code>&amp;&lt;&gt;#</code>  etc., you can just type the literal character and markdown will take care of the code for the entity for you, nice.</p>

<p>For all the details about markdown take a look at the <a href="http://daringfireball.net/projects/markdown/">Daring Fireball</a> web-site. See, there&#8217;s another great markdown feature, automatic link creation, rather than have me explain it, read what the <a href="http://daringfireball.net/projects/markdown/syntax#link">documentation</a> says about it.</p>

<p>Anyway, I&#8217;m hoping to be blog more often, and consequently I expect much of this stuff to become known, rather than having to refer to the web-site all the time. But, until this stuff <em>is</em> knowledge, here&#8217;s my quick reference guide.</p>

<table>
    <tr>
        <th colspan="2">Formatting</th>
    </tr>
    <tr>
        <th>markdown</th>.
        <th>html equivalent</th>
    </tr>
    <tr>
        <td># Title</td>.
        <td>h1</td>
    </tr>
    <tr>
        <td>## Subtitle</td>.
        <td>h2 &#8230; up to ###### for h6</td>
    </tr>
    <tr>
        <td>_word_ or *word*</td>
        <td>emphasis</td>
    </tr>
    <tr>
        <td>__word__ or **word**</td>.
        <td>strong</td>
    </tr>
    <tr>
        <th colspan="2">Lists</th>.
    </tr>
    <tr>
        <td>`*`, `+`, or `-`</td>
        <td>unordered list item</td>
    </tr>
    <tr>
        <td>1. </td>.
        <td>ordered lists (<i>n</i>. you must include the dot)</td>
    </tr>
    <tr>
        <th colspan="2">Links</th>
    </tr>
    <tr>
        <td colspan="2">This is where it gets really good, you should read about it on the Daring Fireball</td>
    </tr>
    <tr>
        <td>[link text](link)</td>
        <td>&lt;a href=&quot;http://link/&quot;&gt;link text&lt;/a&gt;</td>
    </tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://purestblue.com/2011/03/08/untitled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vi &#8211; keyboard navigation</title>
		<link>http://purestblue.com/2011/03/08/vi-keyboard-navigation/</link>
		<comments>http://purestblue.com/2011/03/08/vi-keyboard-navigation/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 12:22:55 +0000</pubDate>
		<dc:creator>Justin Catterall</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[vim vi navigation]]></category>

		<guid isPermaLink="false">http://purestblue.com/?p=48</guid>
		<description><![CDATA[vi, the unix text editor, is an incredibly useful and powerful piece of software. It is daunting to learn at first, but it&#8217;s the one piece of software that you can be 99.9% certain of finding on any *nix type system. And if the machine isn&#8217;t working right, it may be the only tool you [...]]]></description>
				<content:encoded><![CDATA[<p>vi, the unix text editor, is an incredibly useful and powerful piece of software. It is daunting to learn at first, but it&#8217;s the one piece of software that you can be 99.9% certain of finding on any *nix type system. And if the machine isn&#8217;t working right, it may be the only tool you have to fix it, so it&#8217;s useful to know how to use it.</p>

<p><span id="more-48"></span>
The general stuff, switching modes, search and replace, those I pretty much have remembered. It&#8217;s the stupidly simple stuff, navigating around the document, that gets me. OK, so a modern keyboard has <code>end</code>/<code>home</code> keys and also <code>page up</code> and <code>page down</code>, as well as the cursor keys, but vi doesn&#8217;t know about these (though I&#8217;m sure it can be programmed with a macro), so to scroll large quantities of text can be very frustrating. I don&#8217;t use any of this stuff often enough for these things to be remembered through repetition, so I&#8217;ve created this page so that I can just refer here when I need to know!</p>

<table width="100%">
    <tr>
        <th colspan="2">Screen navigation</th>
    </tr>
    <tr>
        <td width="20%">H</td>
        <td width="80%">top line of screen</td>
    </tr>
    <tr>
        <td>M</td>
        <td>centre line of screen</td>
    </tr>
    <tr>
        <td>L</td>
        <td>bottom line of screen</td>
    </tr>
    <tr>
        <td>ctrl+f</td>
        <td>forward (down) one screen</td>
    </tr>
    <tr>
        <td>ctrl+b</td>
        <td>backward (up) one screen</td>
    </tr>
    <tr>
        <td>ctrl+u</td>
        <td>up half a screen</td>
    </tr>
    <tr>
        <td>ctrl+d</td>
        <td>down half a screen</td>
    </tr>

    <tr>
        <th colspan="2">Document navigation</th>
    </tr>
    <tr>
        <td>gg</td>
        <td>first line of document</td>
    </tr>
    <tr>
        <td>G</td>
        <td>last line of document</td>
    </tr>

    <tr>
        <th colspan="2">Word navigation</th>
    </tr>
    <tr>
        <td>b</td>
        <td>back one work</td>
    </tr>
    <tr>
        <td>w</td>
        <td>word step forward</td>
    </tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://purestblue.com/2011/03/08/vi-keyboard-navigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Debian on an Intel Mac Mini</title>
		<link>http://purestblue.com/2011/01/13/installing-debian-on-an-intel-mac-mini/</link>
		<comments>http://purestblue.com/2011/01/13/installing-debian-on-an-intel-mac-mini/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 19:41:44 +0000</pubDate>
		<dc:creator>Justin Catterall</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://purestblue.com/?p=46</guid>
		<description><![CDATA[I found installing Debian on a Mac Mini very difficult, but it needn&#8217;t be. There are many instructions and suggestions around the web, but I couldn&#8217;t find all the information in one place, and when things went wrong I could find no help. So, now that I&#8217;ve got a working install I thought I&#8217;d blog [...]]]></description>
				<content:encoded><![CDATA[<p>I found installing Debian on a Mac Mini very difficult, but it needn&#8217;t be. There are many instructions and suggestions around the web, but I couldn&#8217;t find all the information in one place, and when things went wrong I could find no help. So, now that I&#8217;ve got a working install I thought I&#8217;d blog it in the hope to help other avoid the problems I had.</p>

<p><span id="more-46"></span>
My Mini is a late 2010 model, the Model Identifier is</p>

<blockquote>
  <p>Mac Mini 4,1</p>
</blockquote>

<p>You can find the model identifier of your machine by selecting Apple menu -> About this mac -> More Info. The model identifier is shown in the hardware overview.</p>

<p>I don&#8217;t know which models this information will work with, but if you try it with a different model please let me know of your success, or any problems you had so that others may benefit.</p>

<h2>Overview</h2>

<p>My preference is for a net install of <a href="http://debian.org/" title="Debian main site">Debian</a>. This way I have the most up-to-date security patches and fixes, and my machine should be good to go when I&#8217;m finished with the install.</p>

<p>I chose to keep OS X on my machine in a small partition in case I need it for a firmware update at a later date.</p>

<p>There are two major problems with putting Linux on a Mac &#8211; an Intel one at least. The first of these is that Macs have no <a href="http://en.wikipedia.org/wiki/BIOS" title="Link to Wikipedia explanation of BIOS">BIOS</a>, what they have instead is <a href="http://en.wikipedia.org/wiki/Extensible_Firmware_Interface" title="Link to Wikipedia explanation of EFI">EFI</a>. Linux needs a BIOS so that it knows how to interact with the hardware. We get around this with problem with a replacement EFI called <a href="http://refit.sourceforge.net/" title="Refit sourceforge project">rEFIt</a>.</p>

<p>The second major problem is the hardware in these boxes is either new, and therefore not in the regular install kernels, or it is set up to work in some non-standard way.</p>

<p>These problems lead us to need a custom install disk for this hardware, it may be that, in time, install disks become available that overcome these problems. Fortunately someone has already done this work for us, <a href="http://wiki.debian.org/MacMiniIntel">this web-page</a> has a link to custom net install .ISO that can be used to boot the system and perform the net install. It also has the kernel you will need to boot machine after install.</p>

<h2>Step one</h2>

<p>Use Boot Camp Assistant to partition your hard drive. You can find BCA in the Utilities folder within the Applications folder. You can drag the partitions and re-size to however you want, I partitioned mine so that OS X has about 20 gigabytes, which is plenty, and it leaves a round 300 gigabytes for Linux. This machine is now a mail/news/web/samba server on a home network, if you&#8217;re installing for a different purpose then you&#8217;ll likely need to resize the partitions differently.</p>

<p>I set the new partition type to FAT, it stands out better when it comes to partitioning within the Debian install. When Boot Camp Assistant asks for the Windows disk (why don&#8217;t Apple acknowledge that people might want to install Linux?!) quit the program, it&#8217;s already done it&#8217;s job.</p>

<h2>Step two</h2>

<p>Download and install <a href="http://refit.sourceforge.net/" title="Refit sourceforge project">rEFIt</a>. This is another reason for keeping OS X on the system, the rEFIt files reside in the OS X partition, I haven&#8217;t investigated, but there may be other ways to have rEFIt on the sytem without retaining OS X, but this works for me.</p>

<h2>Step three</h2>

<p>Put the CD burned from the .ISO mentioned above (<a href="http://www.ocf.berkeley.edu/~seunghun/mac-mini/debian-squeeze-i386-netinst-mac-mini.iso">or linked directly here</a>) into the drive and then re-boot. At the sound of the &#8216;bong&#8217; (what <em>is</em> that sound called?) press and hold the &#8216;c&#8217; key, this will cause the machine to boot from the CD. From the boot menu choose &#8216;Advanced options&#8217; and then &#8216;Expert install&#8217; <em>it is important that you do not choose the regular install as this does not give you the option to install the custom kernel</em>.</p>

<h2>Step four</h2>

<p>Go through the install steps as they are presented to you, take note of which <code>/dev</code> your &#8216;/&#8217; partition is on &#8211; you&#8217;ll need this for when you install the grub or lilo. Any that are skipped are either not important, or you can deal with them post-install.</p>

<p>At some point you&#8217;ll be presented with a list of possible kernels that you can install, you must install the one that comes with the .ISO, it&#8217;s <code>linux- image-2.6.35-stlee-mac-mini-i686</code>, this is the one with the drivers for your hardware.</p>

<p>When it comes to installing the initrd/initramfs <em>choose the generic option</em>, the machine specific option did not work on my Mac Mini, I don&#8217;t know why, but this had me banging my head against the wall for a long time and I didn&#8217;t know why it wouldn&#8217;t work. I spent many hours trying to fix it, but to no avail. Just use the generic version, it works and doesn&#8217;t cause headaches or drowsiness.</p>

<p>I chose grub (it&#8217;s actually grub2) instead of lilo, on a previous install attempt I chose lilo and it didn&#8217;t work, whether lilo would have worked had I chosen the correct initrd/initramfs I don&#8217;t know. Grub doesn&#8217;t tell you where it&#8217;s going to install so you have, at that point, choose to manually set the mount point, and enter the device you noted earlier. I don&#8217;t know how this will work if you are using a separate /boot partition.</p>

<h2>Step five</h2>

<p>Before completing the install and re-booting you must edit the file <code>/etc/defaults/grub</code> and change the line <code>GRUB_CMDLINE_LINUX</code> to include <code>reboot=p nouveau.modeset=0</code> after which you need to execute a shell, and chroot into the install environment and run <code>update-grub</code>. If you forget to do this then you can boot the machine in rescue mode with the install CD, and execute a shell in the install environment and then carry out the above (which is what I had to do). If you don&#8217;t do this then part way through boot you will lose your display! The machine will be up, and all services running, it&#8217;ll even be waiting for you to login, but you&#8217;ll have no display. The reboot argument enables the OS to actually reboot the machine, rather than just halt it waiting for you to manually power-down, it&#8217;s the <code>nouveau.modeset</code> that stops the display disappearing.</p>

<h2>Step six</h2>

<p>You can now eject the disk and reboot, but if you&#8217;ve changed the partition table at all (very likely) you&#8217;ll need to run/re-run rEFIt to get the new partition table read. To do this start Terminal.app and:</p>

<blockquote>
  <h1>cd /efi/refit</h1>
  
  <h1>sudo enable-always.sh</h1>
</blockquote>

<p>That <em>should</em> be all that is required, a reboot at this time should give you the rEFIt boot screen and an option to boot either OS X or Linux, if you choose Linux you should get a grub boot menu showing your Linux install as the default, a rescue version of your Linux install, OS X 32-bit and OS X 64-bit.</p>

<h2>Done</h2>

<p>That&#8217;s it. There were a couple of things that I didn&#8217;t pick up from the <a href="http://wiki.debian.org/MacMiniIntel">wiki.debian.org/MacMiniIntel</a> page that led me to have problems with the install. One was that there is indication that you should use the <code>expert</code> install method (regular install has always been fine for me in the past). And the other was that I didn&#8217;t know to use the <code>generic</code> initrd/initramfs. If I&#8217;d known both of these I&#8217;d not have had any trouble at all.</p>

<p>The MacMiniIntel page is a wiki, so I suppose I could edit it, but it&#8217;s not written well enough for me to just append the necessary, and as it&#8217;s someone else&#8217;s project (having created the net install .ISO) I don&#8217;t want to tread on any toes. I&#8217;ve sent the maintainer an email but had no reply.</p>

<p>I hope this page is found without too much difficulty and helps someone avoid the pitfalls that I experienced. Please comments regarding your experience either way so that I may update the page.</p>
]]></content:encoded>
			<wfw:commentRss>http://purestblue.com/2011/01/13/installing-debian-on-an-intel-mac-mini/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>First sail of the year 2010</title>
		<link>http://purestblue.com/2010/01/24/first-sail-of-the-year-2010/</link>
		<comments>http://purestblue.com/2010/01/24/first-sail-of-the-year-2010/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 20:53:57 +0000</pubDate>
		<dc:creator>Justin Catterall</dc:creator>
				<category><![CDATA[sailing]]></category>

		<guid isPermaLink="false">http://purestblue.com/?p=44</guid>
		<description><![CDATA[The forecast was 3 to 4, North / North-west. Great for sailing in Pevensey Bay. Except I don&#8217;t think we got more than f2. My wife isn&#8217;t always available to sail with me, and friends sometimes have other commitments, so finding crew isn&#8217;t always easy. So I&#8217;ve been wanting to give single-handing a try for [...]]]></description>
				<content:encoded><![CDATA[<p>The forecast was 3 to 4, North / North-west. Great for sailing in Pevensey Bay. Except I don&#8217;t think we got more than f2.</p>

<p>My wife isn&#8217;t always available to sail with me, and friends sometimes have other commitments, so finding crew isn&#8217;t always easy. So I&#8217;ve been wanting to give single-handing a try for a while, but didn&#8217;t want to attempt it with another pair of hands just-in-case. So today I took my wife and she agreed to do nothing while I tried to single-hand.</p>

<p><span id="more-44"></span>
There are some places where single-handing is easier, and some where it&#8217;s harder. The floating mooring we had at Fambridge would have been great, boat hangs to the tide, untie and off you go. Coming back, with minimal way on, up-tide, I don&#8217;t think it would have been too hard to pick up the mooring. But we&#8217;re in a marina, and as Kooshty doesn&#8217;t go backwards with much control (long keel), so we berth forwards. Getting off the pontoon was easy, the wind was just pushing us on so I untied and stepped aboard, prop-walk astern carried us out into the fairway facing the right way. My first real trial was tying up in the lock, but I managed that &#8211; though wouldn&#8217;t fancy doing it in a full lock. After that we had a lovely gently mosey around Pevensey Bay.</p>

<p>Coming back in I managed to get along-side in the lock again &#8211; it was going OK, then went all wrong but I managed to recover and got tied up without any embarrassment. Out of the lock and to our berth. I was taking it very easy, very slowly. We&#8217;re on the left of a finger, on the right of the fairway which means that when turning into the berth the boat has a tendency to drift off the finger pontoon. My intention was to nose in and then reverse, prop-walk and stern-way then carrying us down the fairway a little so that I could approach from the other direction so that when turning into the berth any sideways drift would be onto the pontoon not away from it. All was going well, nose in, astern, slowly back out and down the fairway. This is where it all went horribly wrong.</p>

<p>I pushed the throttle lever (single morse control) forward from neutral and waited for the prop to grip and stop our sternway&#8230; Nothing happened. I gave a bit more throttle, still nothing, uh-oh what&#8217;s this, we&#8217;re going faster backwards. Both gears I had were reverse! By now the bow was coming across the fairway and I was worried about swiping boats with my bow. I asked my wife to go forward to fend off. Luckily I didn&#8217;t hit anything, but by the time my wife got to the bow we were heading backwards, away from the boats I was worried about, and now into an open berth (fortunately between two finger pontoons with no boat on either). I called my wife back and asked her to try and fend off at the rear (I was still trying to steer and find a forward gear) but we had too much way on, we struck the pontoon, I have no idea how fast, it just felt too fast.</p>

<p>Thankfully we didn&#8217;t hit any other boat. The only damage I have been able to see on our boat is minor &#8211; luckily we hit square-on and our stern is straight and flat, the force was taken across the entire stern and not just a corner. I have yet to check inside the stern-lockers for anything not showing from the outside, but I will do next time I&#8217;m at the boat &#8211; I was a bit shaken up at the end of the incident and wasn&#8217;t able to think clearly enough to check at the time.</p>

<p>That our first time out this year ended so badly does depress me a bit. I&#8217;m not sure I&#8217;ve fully thought through the situation yet, and don&#8217;t know if I&#8217;d do anything different if it happened again. I suppose I need to look at the gear box and see whether, if the problem happens again, trying forward gear again and again is likely to cause it to ever engage, if not then it&#8217;s obvious, I just fend off until we stop &#8211; we&#8217;re unlikely to have much way on so hopefully we wouldn&#8217;t go far.</p>
]]></content:encoded>
			<wfw:commentRss>http://purestblue.com/2010/01/24/first-sail-of-the-year-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What it was like to be in the recent Samoan tsunami</title>
		<link>http://purestblue.com/2009/10/03/what-it-was-like-to-be-in-the-recent-samoan-tsunami/</link>
		<comments>http://purestblue.com/2009/10/03/what-it-was-like-to-be-in-the-recent-samoan-tsunami/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 18:26:35 +0000</pubDate>
		<dc:creator>Justin Catterall</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sailing]]></category>

		<guid isPermaLink="false">http://purestblue.com/?p=43</guid>
		<description><![CDATA[Below is a link to a web-page that tells of one sailors experience in Samoa at the time of the recent tsunami. The tale is both wonderful and tragic but is written in a straightforward and gripping way. I think it should be widely read, so I am linking to it here. I can&#8217;t say [...]]]></description>
				<content:encoded><![CDATA[<p>Below is a link to a web-page that tells of one sailors experience in Samoa at the time of the recent tsunami. The tale is both wonderful and tragic but is written in a straightforward and gripping way. I think it should be widely read, so I am <a href="http://www.sail-world.com:80/UK/Gripping-sailors-tale-of-the-Samoa-Tsunami---and-the-lessons/61866">linking to it here</a>.</p>

<p>I can&#8217;t say that I hope you enjoy it because it&#8217;s not that sort of article. But it will make you think.</p>
]]></content:encoded>
			<wfw:commentRss>http://purestblue.com/2009/10/03/what-it-was-like-to-be-in-the-recent-samoan-tsunami/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Youngest round the world sailor.</title>
		<link>http://purestblue.com/2009/08/28/youngest-round-the-world-sailor/</link>
		<comments>http://purestblue.com/2009/08/28/youngest-round-the-world-sailor/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 12:45:38 +0000</pubDate>
		<dc:creator>Justin Catterall</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sailing]]></category>

		<guid isPermaLink="false">http://purestblue.com/?p=42</guid>
		<description><![CDATA[Today it was announced that Dutch authorities have taken into care a thirteen-year-old girl who wants to be the youngest person to sail solo around the world. What business is it of social services (or the Dutch equivalent)? I don&#8217;t condone parents sending children off to take part in dangerous activities, to live their own [...]]]></description>
				<content:encoded><![CDATA[<p>Today it was announced that Dutch authorities have taken into care a thirteen-year-old girl who wants to be the youngest person to sail solo around the world. What business is it of social services (or the Dutch equivalent)? I don&#8217;t condone parents sending children off to take part in dangerous activities, to live their own dreams through their children, but if the child has the necessary skills then why shouldn&#8217;t they attempt something like this?</p>

<p><span id="more-42"></span>
If a thirteen-year-old is able to achieve this, what a wonderful thing it would be to have done. Anyone who has the necessary skills to achieve this feat can only go on to great things. The self-reliance, the resourcefulness, the courage and the stamina. We should be encouraging these attributes wherever they are found, not wrapping those who show them in cotton-wool to protect them from themselves.</p>

<p>If this child is living in a world of fantasy then it should be obvious to anyone with some sailing experience whether the child has the necessary skills and ability. Mental health professionals will know by interviewing her whether she has the mental strength to attempt a challenge such as this. If she has neither the technical nor mental strength to attempt this then she obviously shouldn&#8217;t do it. But if she <strong>does</strong> have what it takes then let her do it. I&#8217;m sure it would be the making of her, as it has been for the few who have gone before.</p>

<p>The risks are a lot less these days than when <a href="http://en.wikipedia.org/wiki/Robin_Knox-Johnston">Sir Robin</a> was the first to do this. Satellites give near pinpoint accuracy of the boats or sailors location, it&#8217;s not impossible for her to be shadowed by another boat with support services aboard, who could pluck her to safety should that be needed. It isn&#8217;t as if she will be out of contact for months on end with no-one having any idea if she is even still alive. With communications as they are it&#8217;s quite possible for there to be minute by minute communication, even a video link. Experts could talk her through problems with boat systems, help with navigation, give weather reports. I admit that this is still a huge challenge, and it is certainly beyond my ability, but don&#8217;t deny someone the chance to do this based on some arbitrary age limit which doesn&#8217;t take into account a persons ability, mental strength, or maturity.</p>

<p>Let her go!</p>
]]></content:encoded>
			<wfw:commentRss>http://purestblue.com/2009/08/28/youngest-round-the-world-sailor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ten rules for computing happiness</title>
		<link>http://purestblue.com/2009/08/13/ten-rules-for-computing-happiness/</link>
		<comments>http://purestblue.com/2009/08/13/ten-rules-for-computing-happiness/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 13:45:09 +0000</pubDate>
		<dc:creator>Justin Catterall</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://purestblue.com/?p=55</guid>
		<description><![CDATA[I came across Alex Payne&#8217;s Rules For Computing Happiness today, and I think they should be shared, so I&#8217;m going to tell you about them here. You might be wondering who this al3x is that his rules have any value, well he&#8217;s a lead developer at twitter, this years favourite fashionable software application. In addition [...]]]></description>
				<content:encoded><![CDATA[<p>I came across Alex Payne&#8217;s <a href="http://al3x.net/2008/09/08/al3xs-rules-for-computing-happiness.html"><em>Rules For Computing Happiness</em></a> today, and I think they should be shared, so I&#8217;m going to tell you about them here.</p>

<p><span id="more-55"></span>
You might be wondering who this al3x is that his rules have any value, well he&#8217;s a lead developer at <a href="http://twitter.com">twitter</a>, this years favourite fashionable software application. In addition to that he&#8217;s been around computing for quite a while, check-out the rest of his site for more details.</p>

<p>al3x&#8217;s rules can be found on the link above. I&#8217;ve condensed them below to a list of the ones I hold dear, and my reasons for holding to these rules. These work for me, and are likely to work for many people, if you&#8217;re just an average Joe User with a home computer that gives you grief more often than it should then perhaps you should consider some of these rules for yourself.</p>

<p>1   Use software that does one thing well.
2   Do not use software that does many things poorly.
3   Use a plain-text editor, and not a word-processor.
4   Use a password manager.
5   Pay for software that is worth paying for, but only after evaluating it for at least two weeks.
6   Do not buy a desktop computer unless you regularly do processor intensive work (video editing, audio editing, 3D rendering).
7   Use a Mac.
8   Use a Linux or BSD server.
9   The only peripheral you need is an external hard-disk for storage.
10  Store all data in an open format.</p>

<h3>Software that does one thing well</h3>

<p>This is very important. Most of our time in any program is spent doing pretty much the same sort of thing. In a text editor you&#8217;re editing text, doing so must be as easy as possible. A good find and replace feature is essential, it&#8217;s even better if it can handle regex (<a href="http://en.wikipedia.org/wiki/Regular_expression">regular expressions</a>). Similarly, an email program should be simple to use and not get in the way of sending and reading mail. It should have a great search feature to find that one message amongst the many, and also good filing options, and filtering to organise your mail logically.</p>

<h3>Software that does many things poorly</h3>

<p>It&#8217;s not so easy for me to expound on this, because over my twenty-plus years as a computer user I find I quickly ditch this kind of software. The old Netscape Navigator program was a bit like this, it was a web-browser, email client, html editor, news-reader and probably a few other things too. A program just cannot be all things to all (wo)men because we each want to use programs in our own way. It may have worked for some people, but most chose separate applications for each task.</p>

<h3>Use a plain-text editor</h3>

<p>So many people forget that it is the words that are important, what they look like or how they are presented is of secondary importance. The words <em>are</em> the message.</p>

<p>A plain-text editor does not distract you with choices of font,  the size of the font or even the colour. There is no choice of paragraph alignment or indentation. What a plain-text editor gives you is a blank canvas on which you can put down your thoughts, whether they be a letter, an essay, your novel, or the code from a computer program. There are no distractions, nothing to inhibit the flow of your thoughts into the computer. And once you have input your thoughts then editing and refining is a clean and simple process too. Once that is done, <strong>then</strong> you might want to fire up Word (better still use <a href="http://www.latex-project.org/">LaTeX</a>) to layout and format the document.</p>

<h3>Use a password manager</h3>

<p>Passwords, oh don&#8217;t you just love &#8216;em. I bet you&#8217;ve got one that you use everywhere, most people have, and that&#8217;s what I had. But it&#8217;s not good, in fact it&#8217;s <strong>really</strong> bad. If someone overseas what you type, or sniffs your password from an internet transaction they can access <strong>everything</strong> your email, your computer, possibly your bank account, anywhere you&#8217;ve used that password on-line &#8211; facebook, amazon, play, ebay, twitter, gmail, yahoo, your entire on-line life.</p>

<p>You <strong>know</strong> that you should have a different password for each login, but you don&#8217;t because it&#8217;s <strong>too hard</strong> to remember them all. <strong>That&#8217;s</strong> where a password manager comes in. You remember one password, it remembers all the others. On Apple OS X, for example, Keychain operates seamlessly with any well-written application and automatically fills in login details (user name and password) for web-sites, FTP programs, network logins, anything. You have a different password for each login, which is more secure (if one is compromised, it&#8217;s only one, not all), and you only have to remember the one password that gives you access to Keychain. Simple. Just make sure that the Keychain password is a secure one.</p>

<h3>Pay for software that is worth paying for</h3>

<p>This is a simple one. If the software is good, and you want to keep using it in the future, through different versions of your favourite operating system then it&#8217;s got to be maintained. It might have been written as a fun project originally, but it&#8217;s probably taken on a life of it&#8217;s own, and the developer has to divide their time between what pays the bills and this project&#8230; now, if this project actually <strong>paid</strong> the bills then it&#8217;d get more attention. So contribute to the developer so that they keep developing whatever it is and you can keep using it.</p>

<h3>Do not buy a desktop computer</h3>

<p>Unless you need all that CPU power (and most of us don&#8217;t unless we&#8217;re rendering 3D images, or editing video) get something portable. Then you can work wherever you want, wherever is comfortable, and on the number 93 bus on the way home when you suddenly have that brilliant idea.</p>

<h3>Use a Mac</h3>

<p>I&#8217;ve spent the last twenty years maintaining the software and hardware at work, that&#8217;s in addition to my management role. Since we ditched MicroSoft on the desktop I spend almost no time doing that at all! I can spend my time on more important tasks. If we need a new machine a MacMini arrives, I unpack it, plug it in and a user is up-and-running in minutes. I don&#8217;t have to spend hours chasing all over the web for up-to-date drivers, or finding the latest PDF reader and anti-virus-firewall-adblocker-anti-spyware gizmo.</p>

<p>Just get a Mac, you know it makes sense. &lt;&quot;>In world without walls, who needs Windows?&lt;&quot;>.</p>

<h3>Use a Linux or BSD server</h3>

<p>I know that setting up or running a server isn&#8217;t for everyone. But for those even slightly technically literate it is such a good thing to have running. While your laptop or desktop is switched off or asleep a server can continue to collect your mail, filter the junk, file mailing-list messages as appropriate, and send out automatic responses in appropriate cases. It can serve web-pages for your domain &#8211; OK, I don&#8217;t do this anymore, my up-link isn&#8217;t fast enough. Maintain a news-server, time-server, file-server. Host backups, a web-cache, automatically update remote web-sites, or take backups of them. In addition to those tasks mine is also an MP3 Jukebox which I access using <a href="https://theremin.sigterm.eu/">Theremin</a> from any machine in the house.</p>

<h3>You only need a hard-disk</h3>

<p>Don&#8217;t print, email! If you want to display photos then get them printed professionally or download them to a digital photo frame. You don&#8217;t need a scanner, you&#8217;ve got a digital camera. All you need is somewhere to back-up your data&#8230; and a Linux/BSD server will do a good job of that!</p>

<h3>Store all data in an open format</h3>

<p>If you want to keep your data it&#8217;s because you might want to refer to it again. Whether it&#8217;s photos, music, letters, dissertation, whatever. But when might you want to refer to it again? If it&#8217;s a few years time then can you be sure you&#8217;ll be able to read the file-format then? I know I can&#8217;t open AppleWorks documents very easily, or Claris Works, or SuperCalc, or WordStar. Who can be certain that in five years time you will have access to software that can open a PSD file?</p>

<p><strong>If it&#8217;s important to you use an open format</strong> &#8211; an open format is one that no company has control over. For example, MicroSoft Word and Excel files are in a format that is not open, MicroSoft knows, and has copyright over, how that file is constructed. This means that you are reliant on MicroSoft to continue to support that format for your future access to that data. The same goes for PhotoShop PSD files, and many, many, other file formats. For a better explanation of an open format take a look at <a href="http://en.wikipedia.org/wiki/Open_format">this Wikipedia page</a>.</p>

<p>Formats that are open are not controlled by one company, and the methods of reading and encoding the files is open to the public. This means that anyone who wants to can write software to access that file format. The real meaning is that the format is unlikely to die.</p>

<p>There are open formats for most media types be it plain text, audio, graphic, or video. <a href="http://en.wikipedia.org/wiki/Open_format#Examples_of_open_formats">Here are some examples</a></p>

<h2>Summary</h2>

<p>When my main computer was a Windows machine I spent time making the computer work which ate into the time I spent actually working. Now that I&#8217;m using a Mac I spend all my time doing my job, there is no time lost to keeping the computer running.</p>
]]></content:encoded>
			<wfw:commentRss>http://purestblue.com/2009/08/13/ten-rules-for-computing-happiness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
