Categories
Software and Programming

PHP: Pain, Hate, Programming

An apparently recent upgrade of PHP on this server lead me to update a mediawiki and debug Tom Sella‘s venerable post directionality wordpress plugin, which was working fine on my box (PHP 5.3.3-1ubuntu9.3) but not on the server (PHP 5.3.6-8), apparently because \w in regular expressions now matches Hebrew characters. My fix was to replace this line:

$c_eng = $this->count_it($text, '/\w+/u');

with this one:

$c_eng = $this->count_it($text, '/[\p{Latin}\d\_]+/u');

Not sure if it will work everywhere, but seems to fix the problem here.

OK, so now I can start doing $WORK…

Categories
Science Fiction and Fantasy

Late Bloomer: H. P. Lovecraft Sex Ed

via jwz.

Categories
Science Fiction and Fantasy

Apes Will Rise, Dudes will abide

Rise Of The Planet Of The Apes – Teaser Trailer (YouTubie)

Because the problem one of the problems amongst the problems with Planet of the Apes the remake was the disconnect between the apes and us. And because Battle for Planet of the Apes is probably the tensest movie of the original series (Planet of the Apes and Beneath the Planet of the Apes are probably the best, Escape the most poignant).

Categories
Science Fiction and Fantasy

Attack The Block Trailer

Via Guyster, the trailer for upcoming movie Attack The Block, featuring Nick Frost with silly hair and made by Shaun of the Dead people:

Categories
Roleplaying

D&D Linkery

Ask Chris – what 5 superheroes would you play D&D with?

Which brings me to my first point: Much as it might surprise you, there is no way in hell I would play D&D with Batman.

every pre-fabbed dungeon ever – a blueprint for nearly every D&D game you read/wrote/played/ran.

2. You kill some monsters. They don’t have anything cool to steal, but the players go as far as disrobing the dead for the couple coppers the boots will re-sell for. A secret door leads to room 5, which doesn’t really matter since the players will definitely backtrack to make sure they get the xp and gp in room 3.