Monthly Archives: July 2010

Basics-Picavet – Kite Aerial Photography Electronic Resources

I might have an opportunity in a couple of weeks to go do some kite flying at an upcoming picnic, and I thought that I might give a quick try at quick and dirty kite photography. After all, I’ve been musing about lofting a camera up high using a weather balloon, so why not start with elevations of just a few hundred feet? I haven’t given this much study or thought, but I know that designing an appropriate rig for attaching the camera to the line is a key element. My idea is to loft my old Canon SD1100 on a little gadget which is known as (I had to look it up) a Picavet. It’s a fiendishly simple and clever device for keeping the camera basically level while attached to the kite string. Check it out:

Basics-Picavet – Kite Aerial Photography Electronic Resources – KAPER

I’ll probably tack this together sometime next week after a quick trip to the hardware store. Stay tuned for pictures.

Anybody want to take over the domain telescopemaking.org?

I’ve had the domain telescopemaking.org for a long time (even longer than brainwagon.org) but I haven’t been keeping up with refreshing any of the content on it in years. Rather than just continuing to maintain the aging content, I’d like to pass the domain off to someone who might make better use of it. Are any of my readers interested?

10,000 Monkeys Typing…with a Unix/sh challenge…

I was testing some code that I wrote for analyzing cryptograms, and decided that the easiest way to do so would be to get some random text, drawn from the letters A-Z. A moments thought yielded this method, without even programming anything:

tr -d -c A-Z < /dev/urandom | dd ibs=10000 count=1

The tr generates the required data, and the dd truncates it to the desired number of characters. But for tidiness, I'd like to have the output broken up so that each line consists of 50 characters, with spaces inserted between every 5 characters (I won't begrudge you if you leave a dangling space at the end of each line). I couldn't figure out a simple way to get that to happen all in one command line and using standard utilities. I can of course write a little Python utility, or even perl, but can anyone think of a clever short way to do this?

Addendum: Tom pointed out something interesting about the command that I listed above: it doesn’t work the way I think it does. Apparently the ibs is the input block size, which dd dutifully allocates, and the count is the number of read system calls that the system issues. For reasons which escape me, it does not try to make sure that it actually received a full input block: it will nicely return short blocks if it finds them, and doesn’t bother retrying to get more. Hence, it works rather erratically when using a pipe as input, particularly when the writes from the upstream process may flush in odd intervals.

The Burger Lab: The Ins-n-Outs of an In-N-Out Double-Double, Animal-Style | A Hamburger Today

I have fond memories of In-N-Out. In fact, one is fairly near my house, so I don’t need to go deep into my past: I can simply go over there and get one whenever the mood strikes me. I recognize that the burgers themselves aren’t (to the truth be told) particularly all that good. I suspect that my fondness for them stems from a memory of the first time I had one, when the In-N-Out in Pinole had just opened, I was in the process of hunting for my first house. Carmen and I stopped in, and had a couple of them, and whether it was the stress of the day or whatever, I thought they were the best thing on earth.

Some others seem to have similar notions. This article was interesting, because a fanatic went to the trouble of dissecting their burgers and making them at home. That he used mathematics and their nutritional information as clues is just a bonus. Check it out:

The Burger Lab: The Ins-n-Outs of an In-N-Out Double-Double, Animal-Style | A Hamburger Today.

Wikileaks, and the Report on the Barnhouse Effect

My iPad blinked a CNN headline this weekend that Wikileaks had published a vast number of previously secret reports on the ongoing war in Afghanistan. While the furor over this doesn’t seem to have reached the level of, say, Lindsay Lohan in prison might, it does nevertheless seem to have generated some significant chatter in the blogging universe.

As the father of a young man currently serving in the Armed Forces (thankfully not in Afghanistan) I am a bit concerned that this release of information may provide aid to enemy combatants. If that is your fear, then I understand it, and I won’t try to argue against it. Our children are precious beyond reasonable measure, and keeping them safe is the first priority of any parent.

And yet, I’m not really outraged by the Wikileaks publication, and I guess I can thank Kurt Vonnegut for that.

In his short story Report on the Barnhouse Effect, Professor Arthur Barnhouse develops the ability to control physical objects through a power he calls “dynamo-psychism”. It begins with him just being able to bust a crap game by controlling dice rolls, but as he practices, his power grows until he literally becomes a super weapon. At this point, he presents himself to the U.S. government, who is eager to test his powers and add them to their arsenal. After a successful test, the generals turn around to find that Barnhouse has disappeared, leaving a note that declares that he is the “first weapon with a conscience”, and that he won’t permit himself to be used by them. Barnhouse goes into hiding, and then begins The War of the Tattle Tales. Whenever a government tries to stockpile weapons, someone merely needs to leak its existence to the press, and Barnhouse would eradicate it.

Wikileaks is starting a similar war. I’m not going to argue whether our “War of Terror” has been worth the monetary or human costs: quite frankly, I’m not sure either way. But we certainly can’t formulate an informed debate by simply hiding or ignoring the reality of the costs involved. Wikileaks is shaming us all by forcing us to abandon our plausible deniability and to address the real human costs of the war, and to balance them against the importance of our objectives. If this proves to be disruptive to our foreign policy, then I would submit that perhaps our foreign policy needed disruption.

Could the publication of this information be dangerous for American troops? Yes, quite possibly. I’m not sure I’d have the guts to publish this information, because I am not sure I could stand the responsibility. But let’s be clear: our troops are already in danger. Our foreign policy decisions put them in danger. We should be arguing and debating about whether the risks that they have agreed to undertake on our behalf are truly worth the cost that they will pay.

It is said that nobody likes a tattle-tale. Certainly if you are the one being tattled on, you probably don’t like it. But ultimately, the truth is the truth, and it is probably best not to hide it or deny it. Sunlight is the best disinfectant.

In closing, I’d like to thank all the brave men and women of our armed forces: you are brave beyond anything I know, and it is my deepest hope that you all complete your duties and return to your friends and family who love you.

Addendum: On a lighter note, Dimension X produced a radio version of Report on the Barnhouse Effect, which you can find on archive.org (MP3). It’s not quite as good as the real short story, but it’s not terrible either.

Addendum: Elwood pointed out that Julian Assange gave a talk about Wikileaks at TED. For your consumption:


Primality testing with Perl regexs

WordPress › Error

There has been a critical error on this website.

Learn more about troubleshooting WordPress.