Embracing minimalism June 30th, 2008

Graceful Exits goes straight-edge with Straight Edge, a minimalist theme written by yours truly.

logging.debug(”if only I’d known”) May 22nd, 2008

logging.debug(”if only I’d known”) logging.debug(”if only I’d known”) /* is there any way to turn this off? */ logging.debug(”if only I’d known”) ….

Human discourse will never be the same again May 16th, 2008

Software as a service finally comes of age, with the web’s new-found ability to pipe the sad trombone and instant rimshot directly into your office or home (via b3ta).

Compiling languages down to Javascript May 12th, 2008

If it’s really the case that browsers, virtual machines and IDEs will one day converge, then the first steps would be to run Java, Ruby and other languages in a browser using Javascript. (Hat tip to Nick for the timely links.)
[Edit: run Python using Javascript too.]

With apologies to Hanlon April 7th, 2008

“Never attribute to malware that which can be adequately explained by stupidware.”

How to see Last.fm from the other side of the room with LastJS March 2nd, 2008

Back from a rather physical near-week of team building with work, I’ve been listening to Last.fm today to recuperate and nurse my tired muscles. But with the music playing on our crusty, trusty old purple iMac in one corner, and me in the other reading, drinking tea or otherwise recuperating, how can I tell at [...]

Subversion log messages need not be set in stone January 14th, 2008

Simon Willison mentioned a while back a link to help on how to undo a svn commit in subversion (more a kind of internal branching than an actual undo, of course: but that’s subversion). That’s all very well, but how about undoing the log message for a particular commit?
Say you have a codebase that only [...]

SQL Server error: sqlboot.dll December 17th, 2007

After several administrative steps over a few months, we suddenly found the following error coming from an instance of SQL Server on a virtual machine:

Your SQL Server installation is either corrupt or has been tampered with (unable to load SQLBOOT.DLL). Please uninstall them re-run setup to correct this problem.

Nobody had been keeping an eye [...]

Insert any Javascript bookmarklet December 10th, 2007

As the natural extension of Gareth Rushgrove’s bookmarklets for inserting the Dojo or YUI Javascript toolkits mentioned by Simon, here’s a tidying-up of a bookmarklet I’ve been using to bring in any Javascript using user input via a popup prompt:
Insert-JS bookmarklet

javascript:void(function(){
  var%20s=document.createElement("script");
  s.src=prompt("Full%20URL:");
  document.getElementsByTagName("head")[0].appendChild(s);
}())

I was originally appending it to the body as an invisible div, making use of [...]

Checking the changes for many svn versions, one version at a time October 30th, 2007

Say you want to see both the log and diff of a given svn version, just the differences between it and the previous version, plus log message (i.e. what was committed, and why, for version NUM) The following will work at a bash command prompt:
$ r=NUM; rr=-r`expr $r - 1`:$r; svn log -r$r; svn diff [...]