5 random albums on my iPod:
Largely for when I can't decide what to listen to.
Mars Volta, the: 2005) Scabdates (Live Album)
Skinny Puppy: 1989) Rabies
Tool: 2001) Lateralus
Iron Maiden: 1984) Powerslave
Suede: 1993) Suede
Last updated Tue, 14 Jan 2014 13:30:59 +0000
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 →
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 →
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 →
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 →
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 →