Merlyn the rocket scientist?

J R Stockton collects a lot of useful tidbits about orbital mechanics and the like.

Posted in astronomy | Leave a comment

it’s Bollywood Week

Netflix’s list of new releases this week has five Israëli titles, ten Chinese and 55 Indian – not counting 23 collections of songs from Indian film.

Posted in cinema | Leave a comment

mock violence

Pillow spends much of a typical day on my bed; when I find him there, I tussle with him. Now I have clear evidence that he enjoys these little skirmishes: whenever I go to that room (except at bedtime), he eagerly follows me in and jumps onto the bed.

Yet he never approaches me when I’m not on my feet.

Fluffie, alas, is less friendly to me since Pillow joined us. She still visits me in bed but never jumps on my lap anymore.

Posted in pets | 1 Comment

it even has a distinctive gait

Avahi cleesei

Posted in sciences | Leave a comment

know your weapons

A dreadful blunder in Granada Television’s version (1985) of “The Greek Interpreter”: in a non-canonical scene, Mycroft Holmes refers to a derringer as a “revolver”. Tsk!

Posted in cinema, weapons | Leave a comment

i shot an arrow into the air

My bookmarks file has 4539 entries, most of which I intend to look at “someday”. So I’ve written a little utility (two lines of code, plus scaffolding) that other Unix users may find useful, provided that your favorite browser keeps bookmarks in a textfile (as the Mozilla family does). Once an hour it picks a bookmark at random and opens it in my default browser. My crontab contains this entry:

01 * * * * sh ~anton/bin/bookcron

meaning: at :01 of every hour, run the following shell script:

cd ~anton
cat Library/App*/Firefox/Profiles/*/bookmarks.html | grep -o “http[^\”]*” | python bcp

which extracts any links from any bookmarks files and feeds them to this Python program:

import os
import sys
import random
os.system(“open %s” % random.choice(sys.stdin.readlines()).replace(‘&’,’\\&’) )

The function random.choice picks a random entry from the list. The command open does the right thing on MacOS X, but for other Unices you’ll probably need to replace it with the browser name. The replace() prevents silly things that would otherwise happen when a shell command contains an ampersand.

Posted in neep-neep | 4 Comments

marks on paper

Time to buy a printer, preferably cheap; most likely an Epson or HP all-in-one. Any advice is welcome.

Wednesday: I popped out to Circuit City and bought the cheapest printer-scanner, which happened to be HP’s PSC1400. I had acquired a bit of a bias against Epson anyway because their website seems not to know that Macs exist.

Posted in me!me!me!, neep-neep | Leave a comment