Archives

All posts for the month May, 2009

What in the hell is with programmers and their completely unusable error messages?

I could at least respect "Error 0: I hate you." or the slightly less insulting "Dude, I can't handle that.". A smart program would not only give a real response like "Unknown codec" but it would give a hint as to the name of the codec and maybe even where to go to get codecs or troubleshoot further.

Continue Reading

autotest.sh

Holy shit. I was able to complete my largest and most complex shell script to date.  It was a nearly total rewrite of a series of scripts that act as an automated testing environment.

That sounds fancy, but it's not.  The basic idea is that as you edit, you save a lot.  Well, I do.  Now every time I save, the change is noticed and the script is run automatically. It even goes one step further, doing some debugging if your script fails to run.

Continue Reading

I've been doing some work on a scripting test environment which would automatically run a test suite while I'm editing, triggered when I save.

I've already completed a rather complex version of it.. well I've completed three versions of it.

  1. Bash
  2. Boo
  3. Zsh

I want to merge all this effort into one mega-script which can be easily adapted to any scripting/programming language. Therein lies the problem. There are some tricks which I want to invoke in a bash and zsh environment in order to do some extra debugging.

Continue Reading