CentOS

Having been used for little but mass storage and updating my Road Angel via VMWare, my Workstation was in need of TLC.

I consolidated my Windows programs onto Parallels on the Mac, disposing of VMWare and Beth’s old Celeron (!) sloth. Impressively, both the Road Angel and Garmin GPS just worked via USB to Parallels.

Replaced White Box Enterprise Linux with CentOS, another reroll of RHEL. Straightforward enough, if time consuming, downloading ISOs, burning, validating, backing up, blah, blah. Chose SE Linux, and now restoring my server processes.

A nice feature was the partitioning tool, which trivially allowed me to keep my old partitioning scheme, transferring my home and backup partitions unmolested. Always glad not to need the tapes.

Google Analytics

Take a look at Google Analytics.

Yet again, Google pull it off. What a great tool. Now I wonder who my reader in Manchester is. Why not announce yourself?

Comic Life

I just discovered that the Mac comes with a program called Comic Life that makes it really easy to assemble photos into comics and publish them on your .Mac homepage:

http://homepage.mac.com/stevenjbaker/comiclife/

Brother DCP-130 vs Mac OS X

Perfect: unpack, install software, connect. Press “scan” button and select “scan to picture” on the printer.

The picture simply appears in your Pictures folder. Too easy.

Obviously, it just printed, in colour, fuss free, first time.

If you don’t get this, you haven’t connected an HP printer to a Mac. Now let’s see how the cartridges last…

OS X vs localhost.local

Why must people deviate from proper standards?

Installing WordPress on a Mac caused me some grief simply because telling PHP to connect to the database at localhost didn’t work. Who would have thought that localhost couldn’t be resolved? I was saved because Beth was ironing my “There’s no place like 127.0.0.1″ T-shirt, prompting me to give it a go.

OS X also does something culpable with the “local” domain, using it for rendezvous or something (it’s been a while since it troubled me).

I’m pretty sure this nonsense has consumed and made worse quite a few hours of my life. I wonder what the cost is globally?

Anyway, bottom line, use 127.0.0.1 in Mac configurations if stuff doesn’t work, particularly if you are installing WordPress and by implication PHP or MySQL.

Where the Windows XP installer crashed today

Parallels XP crash

Restored at last

So, the hard drive on my server failed in February – of course I had a backup – and it’s taken me this long to restore my sites. The trouble with working is…

March was fairly adventure-free apart from, inevitably, motorcycling.

April saw me return to Spain to finish my initial freefall training. It was going so well, until they took the plane away. I actually completed with my tenth consolidation jump at Skydive London – http://www.skydivelondon.co.uk. I’m now sitting here as an “experienced” (ha ha) skydiver, waiting for my next load :-)

Apart from that, there have been new tyres on the BMW, rides with friends, HPC coaching and of course, enjoying the KTM. It’s a hard life.

The XSLT identity transform

Several people have asked me about the following XSLT transform, which I use to start every XML-to-XML stylesheet:

The identity transform in XSLT

What does it do? Nothing useful like this. It just copies all the XML input to the output using recursion. (Think about axes when you look at those XPaths: attributes are not children.)  The identity transform itself is from section 7.5 of the XSLT specification.

It’s useful when you add more templates that match nodes more specifically. It’s a great way to filter or edit large (ish) XML documents for little programming effort, especially over large numbers of documents when combined with some command-line scripting.

(And I just discovered the first things I don’t like about WordPress: escaping works badly, and you can’t upload XSLT in standard config…)

Too easy for words

Apart from installation falling over on permissions (of course), using WordPress, is, in the words of my beloved mechanics teacher, a Mr Atkinson, “Too easy for words.”