What this is and why it′s here

I have deactivated my Twitter account. My blog feed and the weather are RSS feeds, and the moon and sun data is parsed from an HTML document. The album picker is an AJAX widget.

It′s here because... I can!

I have had no requests from any security agency for user-data from any of my sites. Watch carefully for the removal of this notice
N.B. I don′t actually collect any user-data for them to request!

5 random albums on my iPod:

Largely for when I can't decide what to listen to.

Christian Death: 1988) Sex And Drugs And Jesus Christ
Black, Joe: 2013) Satan in A Sunday Hat
Dylan, Bob: 1967) John Wesley Harding
Mars Volta, the: 2005) Scabdates (Live Album)
Skinny Puppy: 1989) Rabies

The Kitchen Sink

Last updated Tue, 14 Jan 2014 13:30:59 +0000

Do not go gentle into that good night

Do not go gentle into that good night, Old age should burn and rave at close of day; Rage, rage against the dying of the light. Though wise men at their end know dark is right, Because their words had … Continue reading

php WTF

The following code works: <?php class TestClass { static function test_method($foo) { global $x; return str_replace('twitter', $x, $foo); } } $x = 'wibble'; ob_start( function ($html) { $pattern = '~(<a .*?href=["\'])([^"\']+)(["\'].*?>.*?</a>)~'; return preg_replace_callback( $pattern, function ($matches) { $y = TestClass::test_method($matches[2]); … Continue reading

Another fold of the treefrog

This is probably the last in the series of posts based around the frog and its base. See earlier posts: here, here, and here. Here’s another version I’ve folded of the treefrog from Lang’s Origami Design Secrets. I used the … Continue reading

The source code for the @markov_bible twitter feed

A bit of background about Markov Chains might help for a start. A while ago, I stumbled across a bit of Python for generating Markov Chains here. Basically it takes a large body of text (in this case, the King … Continue reading

The Second Coming

Turning and turning in the widening gyre The falcon cannot hear the falconer; Things fall apart; the centre cannot hold; Mere anarchy is loosed upon the world, The blood-dimmed tide is loosed, and everywhere The ceremony of innocence is drowned; … Continue reading