Author Archives: markfiend

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

Posted in Poetry | 1 Comment

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 | Leave a comment

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.

Posted in frog, Origami | Leave a comment

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

Posted in Python | Leave a comment

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

Posted in Poetry | Leave a comment

Frog base extended

Following on from the previous two posts, if you unfold your frog base so that it’s back to a flat square, you will see that the crease pattern looks something like this:

Posted in frog, Origami | Leave a comment

…and from a frog-base to a frog

Take your frog base (see previous post)

Posted in frog, Origami | 2 Comments