5 random albums on my iPod:
Largely for when I can't decide what to listen to.
Glitter, Gary: comp) 20 Greatest Hits
Queen: live) 1986 - Live Magic
Miranda Sex Garden: 1994) Peep Show (single)
Various Artists: comp) The Dark Side
Pink Floyd: 1977) Animals
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 →