my pet programming project

Over several years now I have worked sporadically to catalog hypothetical fullerenes — i.e. convex closed surfaces built of pentagons and hexagons. Last year I tossed out my old work in C to start over in Python, whose list primitive and transparent memory management made it easier to extend and generalize the project, which I now describe as enumerating and classifying roughly-convex surfaces formed of roughly-equilateral triangles. The primary goal, I suppose, is to practice my programming; another is to build a database of nonspherical “geodesic dome” shapes.

I had the idea of working the search tree in horizontal bands: find all forms with up to N vertices, saving the partial solutions for the next pass, which would read them from a file and build on them the forms with up to N+8 vertices, and so on. But my programming studies never touched on file i/o beyond the crudest, so I let that aspect sit until I learned more.

Recently I learned about Python’s shelve module, a transparent database interface which seemed just the ticket . . . until the partials file ate all the free space on my disc! <voice=”Marvin the Martian”>Back to the drawing board.</voice>

Posted in mathematics, me!me!me!, neep-neep | 1 Comment

one desert is much like another

How about relocating Israel to Mexico?

Posted in politics | Leave a comment

science in your kitchen

Finding the Speed of Light with Marshmallows

Posted in sciences | Leave a comment

du rififi chez les chats

Fluffie had an abscess in her tail, on the underside near the base, apparently caused by a bite. (What puzzles us is how the Other Cat got close enough to inflict it.) Several hundred dollars later, the base of her tail is shaved all around, and she suffers the indignity of a conical collar. Tomorrow I, lucky devil, get to stay home and babysit.

Posted in pets | Leave a comment

in search of monsters to destroy

Way the heck back in November one Jim Henley, of whose blog I have just now become aware, made a very interesting point about foreign intervention:

And out of the preceding ingredients the final, general case against “humanitarian intervention” arises like a word appearing in a bowl of alphabet soup — it’s a cruelty to the people you profess to want to help. . . . As soon as the Hutu government inaugurated its slaughter of the Tutsis, Belgium pulled the troops out, so they wouldn’t get hurt. Belgian lives were more important to the Belgian government and people than Tutsi lives. The preference was forgiveable. The pretense that things were otherwise, which was what the deployment of “peacekeepers” constituted, was not. How many Tutsis died because of the false security Belgium’s pantomime of concern engendered? Absent Belgium’s “humanitarian” intervention, the Tutsi would have known ahead of time what was true anyway: they were on their own and needed to look to their own defense.

Awfully decent of Mr Henley to provide a ‘best of’ menu.

Posted in blogdom, militaria | Leave a comment

“. . . unless it would inconvenience the Government.”

CBSNews.com:

Moussaoui said he has $30,000 and wants to hire a Muslim lawyer to act as an adviser — but cannot do so because the government has frozen his money.
Precht said he knew of no case that would allow Moussaoui to allege a violation of his rights because of a government asset freeze.

Of course not, because that trick is only used on really bad guys, to whom the Sixth Amendment does not apply.

Posted in constitution | Leave a comment

pedal power

While waiting for a bus one morning last week, I saw (across the street) a man with one foot, on a bicycle. I guess he was pushing along the ground with his one foot; I spotted him as he came to a stop. Having stopped, but before dismounting, he took a dummy foot from a bag and prepared to install it on his stump. Why didn’t he put the foot on and use it to pedal? I imagine that would be easier than walking with it, and more effective than riding without it.

Posted in California | Leave a comment