Log in

class Monad m where
    return and Kleisli compose
must form a monoid
Tags: ,
19 February 2008 @ 02:46 pm
Inspired by Ryan North (qwantz) of Dinosaur Comics fame, I proudly present the lyrics to a well-known song.
14 February 2008 @ 07:52 pm
Practical and efficient uses of std::map. Perhaps these will be of use to someone.
Read more...Collapse )
23 January 2008 @ 01:00 am
I estimate that the total amount of time wasted watching the opening credits to Friends is somewhere around 10,000 man-years. I'll Be There For You, do be do, do bee do.

That's about 15% of the time it took to construct the Great Pyramid of Giza.
14 December 2007 @ 11:26 am
Today I took my driving theory test. While still under the weather from our office Christmas thing last night. After about 6 hours sleep. In the snow, up hill (both ways), barefoot, backwards.

I passed.

Multiple choice: 98% (pass = 86%)
Hazard perception: 79% (pass = 59%)
Current Mood: accomplished
02 November 2007 @ 10:02 pm
Many alleged "design patterns" are (at least when implemented in C++) anti-patterns. In this installment of "why I'm right and everyone else is wrong", I'm going to look at Visitor.
Read more...Collapse )
Tags: ,
Current Mood: bitchybitchy
02 November 2007 @ 09:12 pm
I was going to blog about design anti-patterns which are masquerading as patterns tonight, but something more interesting has come up.

If you know me personally, you know that I have ... issues ... with mobile phones. Keeping them working, keeping the battery charged, fighting with those models produced by a certain manufacturer of Wellington boots which insist on turning off for no reason. That sort of thing. So the issue I'm facing tonight is, at least to me, new and exciting.
Intrigued? Read more...Collapse )
Current Mood: amusedamused
22 August 2006 @ 06:21 pm
http://news.bbc.co.uk/2/hi/middle_east/5276200.stm : A Los Angeles judge has ordered that John Mark Karr be sent Colorado -- I wonder how much postage and packaging on that costs.

http://news.bbc.co.uk/2/hi/south_asia/4684652.stm : "They want to test our feelings," protester Mawli Abdul Qahar Abu Israra told the BBC. "They want to know whether Muslims are extremists or not. Death to them and to their newspapers," he said. I guess that settles that, then.

http://news.bbc.co.uk/1/hi/sci/tech/4731360.stm : "I think as a legal strategy, intelligent design is dead. That does not mean intelligent design as a social movement is dead," said Ms Scott. "This is an idea that has real legs and it's going to be around for a long time. It will, however, evolve."

http://news.bbc.co.uk/2/hi/africa/4692898.stm : "There is still apartheid and racism and I will teach my children to hate white people," said Dorothy Moeletsi.
I've somehow ended up spending most of my Saturday researching JavaScript -- I'm not completely sure how or why. I started off with the preconception that it's a toy language, probably partly because of Sun's marketing all those years ago, partly because anything based on (...or just named similarly to...) Java is clearly a toy (right?), and partly because, well, it's a scripting language for the web. But I'd been assured by various trusted sources recently that it's not. So I thought I'd spend a few minutes this morning looking into it.

Warning. This will be a rant, because my head hurts.
Read more...Collapse )
Current Mood: pessimisticpessimistic
Current Music: The Whirr Of Fans at 1.30am
10 December 2005 @ 07:18 am
I'm awake. At 7:15am. This is some kind of record, I'm sure. And it's not the scary I-woke-up-really-really-early kind, oh no. It's the terrifying I-didn't-realize-it-was-much-past-1am kind. I blame my new light bulb -- it's unnatural to be bathed in faux natural light at 5am, and seems to inhibit sleepiness. On the plus (?) side, there's real natural light out of my window now, so I can turn the damn thing off.