Java @#$@#$@#$ sucks!

Oct 31, 2008 00:46

So, I just had a 9:45pm to 12:15am call out to work....

Because: An application, written in Java, blew up. It not only blew up, but it trashed a disk. Including wiping out the superblock. The backup superblocks didn't seem to exist, either. We had some of the data backed up, but had also done some editing directly on this copy...

SO, $150 later, we have a recovery solution, data is recovered to another disk and my time will be billed in tomorrow.

On the plus side, I have solved my inability to get mounted volume lists into arrays, so I coded the arrays by hand. I can itterate 5 folders on 5 drives quite quickly, so things are OK with that.

On the other hand, does anyone know why this code doesn't work on OSX?

#!/bin/sh
FOO=( bar string 'some text')
foonum=${#FOO}

How doesn't it work? foonum always seems to be 10, no matter what length FOO is.
Previous post Next post
Up