What this is and why it′s here

The Twitter data comes through as a JavaScript powered widget straight from the Twitter site, 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.

Suede: 2013) Bloodsports
Frankie Goes to Hollywood: 1984) Welcome To The Pleasuredome
Human League: 1979) Reproduction
Adam & The Ants: 1994) Adam Ant - B-Side Babies
Hawkwind: 1970) Hawkwind

Tweets by @markfiend

The Kitchen Sink

Last updated Mon, 03 Jul 2017 16:05:02 +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

BBC Weather - Forecast for Leeds, United Kingdom

Thursday: Light Cloud, Minimum Temperature: 13°C (55°F)

Minimum Temperature: 13°C (55°F), Wind Direction: South Westerly, Wind Speed: 9mph, Visibility: Very Good, Pressure: 1002mb, Humidity: 79%, UV Risk: 4, Pollution: Low, Sunset: 21:13 BST

Friday: Light Rain, Maximum Temperature: 21°C (70°F) Minimum Temperature: 14°C (57°F)

Maximum Temperature: 21°C (70°F), Minimum Temperature: 14°C (57°F), Wind Direction: West South Westerly, Wind Speed: 13mph, Visibility: Very Good, Pressure: 1004mb, Humidity: 53%, UV Risk: 5, Pollution: Low, Sunrise: 05:13 BST, Sunset: 21:11 BST

Saturday: Light Cloud, Maximum Temperature: 20°C (68°F) Minimum Temperature: 13°C (55°F)

Maximum Temperature: 20°C (68°F), Minimum Temperature: 13°C (55°F), Wind Direction: West South Westerly, Wind Speed: 11mph, Visibility: Very Good, Pressure: 1006mb, Humidity: 53%, UV Risk: 5, Pollution: Low, Sunrise: 05:15 BST, Sunset: 21:10 BST

Sun and Moon times (in BST) for 2017 July 28, Leeds, UK (from HM Nautical Almanac Office)

Moon Phase at 0 hours today

As of 00:00 today: Waxing Crescent Moon. The age of the Moon is 4.5 days old and the illuminated fraction is 24 per cent.

Sunrise: 05:14
Sunset: 21:11
Moonrise: 11:28
Moonset: 23:31