Category Archives: Uncategorized

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

Posted in Uncategorized | 1 Comment

Some thoughts on the various “Occupy” movements

This post was largely prompted by a tweet from @HollyS_: “Hose them out of there!” – James Wale. lol in reference to the London ‘Occupy’ camping trip. Brill My reply on @markfiend: @HollyS_ yeah because brutal police suopression of lawful … Continue reading

Posted in Uncategorized | 7 Comments

Some thoughts on the Chronicles of Thomas Covenant.

As I’ve finally got around to starting the second book of the Final Chronicles, Fatal Revenant, it has brought a few thoughts concerning the series to mind. (If you’re not familiar with Covenant, the wikipedia entry provides a good starting … Continue reading

Posted in Uncategorized | Leave a comment

In which I lose all respect for Richard Dawkins

So… Rebecca Watson was recently propositioned in a lift, at an atheist conference, by a strange man, at 4am. She quite rightly complained that this was (at best) a little creepy, and made her uncomfortable. Richard Dawkins posted on the … Continue reading

Posted in Uncategorized | 1 Comment

Atlas Shrugged

There are two novels that can change a bookish fourteen-year old’s life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emotionally stunted, … Continue reading

Posted in Uncategorized | 1 Comment

ScienceBlogs, Pepsi, and corporate shills

This morning I saw a post on MarkCC’s Good Math, Bad Math entitled Seed, Conflicts of Interest, and Sleaze. “Ooh,” thinks I, “this looks like just another storm in the blogosphere teacup!” But then I actually read the post.

Posted in Uncategorized | 2 Comments