I was just browsing my Science Magazine RSS feed at home, and encountered this hilarious screen when I clicked to read the full article…
Open Access: The Sooner the Better
August 17th, 2009svn revert equivalent in git
May 26th, 2009I keep wanting to type
git revert
to roll back changes to the last committed version of something—that’s how you’d do it in Subversion—but this isn’t right. This works instead:
git reset --hard HEAD
Classical Revolution Ann Arbor kickoff on Cinco de Mayo
April 28th, 2009I’m getting a first Classical Revolution chamber jam going next Tuesday in Ann Arbor! The first event will be at the Kerrytown Concert House, with other, non-concert house venues to come. If you’re interested in coming, come. If you’re interested in playing, let me know via Facebook or email.
Classical Revolution Ann Arbor
Tuesday, May 5
8 PM
Kerrytown Concert House, 415 N Fourth Ave
XgridLite for Leopard
February 26th, 2009The other day I released XgridLite for Leopard, something which should have happened about a year and a half ago. There are no substantial changes whatsoever, except that version 1.1 works on Leopard. However, it breaks Tiger support, so if you haven’t upgraded yet—I suspect a small minority of the kind of people that use XgridLite—you should still use version 1.0.2.
XgridLite: Dual Tiger/Leopard Functionality?
February 3rd, 2009After confirmation that things seem to work for others on Leopard, I went through and tried to make sure it would work on Tiger again too. I don’t have time to set up a Tiger test box right now, so I’d appreciate it someone who has a Tiger box would test this updated version:
Post your success/lack thereof in the comments!
XgridLite on Leopard, Test Version
January 31st, 2009After debugging some weirdness, I have a version of XgridLite that works on Leopard, I think. Brave testers, download this file:
Then decompress and drag the prefPane into your /Library/PreferencePanes or ~/Library/PreferencePanes
Let me know how it goes!
FYI, the weirdness I ran into goes something like this (as described in a message I just sent to the xgrid-users mailing list):
Hi everyone (particularly Apple folks),
After being out of the loop for a while, I finally got around to getting XgridLite working on Leopard. (Test version about to be posted at code.edbaskerville.com, official release probably by Monday.)
In doing so, I ran into one weirdness that I thought someone might be able to explain. XgridLite simply calls xgridctl to get and set controller state, which seems simple enough. In Tiger, it was sufficient to do this as root using a setuid tool.
In Leopard, however, I found that status calls always returned that the controller was off:
daemon state pid
====== ===== ===
xgridcontrollerd stoppedThis was happening inside the setuid tool even when querying it via sudo as a regular user worked fine:
Agnos:~ ebaskerv$ sudo xgridctl c status
daemon state pid
====== ===== ===
xgridcontrollerd running 12656To get to the bottom of this, I activated the root user on my system and tried it from a root shell, and, sure enough, I’m being told the controller is stopped:
sh-3.2# xgridctl c status
daemon state pid
====== ===== ===
xgridcontrollerd stoppedMiraculously, though, if you run xgridctl via sudo as root, all is fine:
sh-3.2# sudo xgridctl c status
daemon state pid
====== ===== ===
xgridcontrollerd running 12656This gave me the workaround I needed: run xgridctl via sudo as root inside XgridLite. But I still have no idea *why* this is happening, so I’m writing purely out of curiosity. Why is it that running xgridctl status via sudo gives the correct status, while running as root directly does not? One more wrinkle: running xgridctl c start/stop seem to work fine inside my setuid tool (WITHOUT running via sudo), but do NOT work via a root shell!
Any wisdom would be appreciated.
Thanks,
Ed
Two Million
January 20th, 2009Bush’s Last Day
January 19th, 2009Prep on the mall
January 18th, 2009The madness begins…
January 17th, 2009I’m getting more and more excited by the minute. The crowds are beginning to gather–so far, it’s feeling like a busier-than-average tourist season day, but word on the street is than 1 million people will descend on the Lincoln memorial tomorrow for a concert.
The scientologists are here: the cardboard boxes say “L Ron Hubbard Books.” And after seeing the final photo in the set I’m going to go to a cafe to work for a few hours before birthday dinner.


























