Skip to content

Monthly Archives: February 2012

Python list incomprehension

Here’s an oddity of Python that I stumbled upon, which has turned me off doing anything even remotely complicated with list comprehensions. For those following along at home, fire up your ipython now. In [1]: array = [[1,2,3], [4,5,6], [7,8,9]] In [2]: [ sum(col) for col in array ] Out[2]: [6, 15, 24] So far [...]

’Ow’s yer ’elf?

Mission accomplished: the thought of writing this entry has driven me to exercise. Not much exercise, mind you: 20 minutes of yoga this evening. But more than nothing, ergo better than nothing. “Nothing?” you ask, “but whatever happened to running, and to rowing?” What happened this week is that I got ill. (Possibly helped along [...]

How’s my (mental) health?

When I don’t exercise and sleep enough, I get either jittery and hyperactive or depressed. (Sometimes I get jittery and hyperactive and depressed, which isn’t any more fun.) This is a self-perpetuating condition, since being either jittery and hyperactive or depressed tends to interfere with my sleep and to make me reluctant to exercise. So: [...]

Ice, ice, baby

For the southern hemisphere folks: do you realise that we’re going through a little ice age over here? Today I cycled down the very middle of the Prinsengracht, one of the major canals of Amsterdam. We went around the corner to the Entrepotdok, where some hard-working locals were keeping a central lane scraped clean for [...]

How to end a relationship (a cautionary tale about making backups)

Olga has finished her (second) MSc thesis and sent it to her committee. Of course that’s cause for celebration, and I’m very proud of her. But I wanted to talk about what happened the day she submitted the final copy, which can be summed up thusly: I deleted everything she had written.

The Notion Ink Adam

Some time ago I began questing for a movie-playing device. I may have found one, but unfortunately not one which I necessarily should be buying.