Posts

The most successful government program ever?

Libertarians are not talking out their arses when they note that government often does things very inefficiently, that government projects typically fall short of delivering on their promise, at far higher costs than initially projected, and so on. But... There are exceptions. For instance, this program . The durned thing has now run for 55 times as long as was originally predicted. That's not too shabby.

Software Development as a Discovery Procedure

is almost complete . Your comments are welcomed! (And since rob got me all ssh'ed up and sh*t, his comments be especially welcomed!)

McCarthy's B.S.

"John McCarthy's B.S. was in mathematics... He is widely credited for inventing the term artificial intelligence and made many contributions to that field." -- Bjarne Stroustrup,  Programming: Principles and Practice Using C++ Well, I'd say by far his most significant BS was the term "artificial intelligence"!

Succinct, Simple Semaphor Sought

I update my main repos when I log in anywhere. This usually works fine, but some logins kick off two terminals at once, and then the updates in one would fail while the other worked. (And often they alternate failing and working: you see why, right?) This is really no problem... but it offends my aesthetic sensibilities. I should just be attempting these updates once, right? So I tried a very simple semaphor: #!/bin/sh export REPO_SEM="repo_semaphore" # let's update our main repos: if [ ! -e $REPO_SEM ] then # set a semaphore: touch $REPO_SEM cd $GDIR/algorithms; git pull origin master # more updates done here... cd $HOME; rm $REPO_SEM else echo "$REPO_SEM exists: another processes may be doing the update." fi This works... except when I really need it to, when the two logins kick off simultaneously. In the time between the existence test and the touch, both logins are able to proceed. What I would really need is for the if and th...

My hovercraft is full of eels...

and I have a disk in my Mac's DVD drive. My desktop tells me so. The problem is, my Mac has no DVD drive.

I have discovered a new form of anxiety I can suffer from

I'm one of those people who, when I leave the apartment, am sure I left the burner / AC / lights on, and I have to run back and check. Or, at a show, I'm sure I have misplaced my ticket, and I have to check my pocket. And, most often, the fear proves groundless: the burner is off, and the ticket is right where it ought to be. Well, tonight, I left the office, got two blocks away... and had to run back, because I was sure I had forgotten to push my code to my GitHub repo . (This was important because I needed to do more work from home.) And, of course, I found I had pushed it. So now I've got this as well.

Extreme Risk Analytics

Image
Spring 2018 party: