Ain’t computers great

For security I’ve been storing all my work stuff on an encrypted disk image. I knew the dangers of this going in – not only was I taking a substantial risk using disk images at all, but I was going with a sparse image to boot. Must be that masochistic streak. Long story short, the… Read more

Stupid Intel

Yeah yeah, I suppose I’m just going to have to get used to it now with Apple moving to x86, but that doesn’t mean I have to like it. I’m talking about the wrong endianness, of course: little-endian. That’s what the problem was with the directory recursion; I was reading the cluster address as big… Read more

Interesting file names

Yes, I think it’s broken. 😜 On the upside, “Code” definitely is a directory. 🙂 /Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) – Current offset: 96/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) – Current condensed directory entry: AC/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile) – Current offset: 128/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:534 (FATOpenFile) – Current condensed directory entry: CODE /Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:491 (FATOpenFile) – Current block logical address: 19374080/Users/wadetregaskis/Documents/School/Fifth Year/ENP/Project/FATShell/FATDriver.c:514 (FATOpenFile)… Read more

Better FAT reading

I’ve finally gotten back to working on the FAT driver for ENP, and I’ve made pretty good progress in the short time I’ve been working on it. Previously I was only reading the first block of a directory entry, because I wasn’t then moving to the next block. I also didn’t have any code to… Read more

AppleScript to calculate “most liked” band

Ordering by most plays or rating only works on a per song basis in iTunes. So, write an AppleScript to calculate some kind of per-artist (and possibly per-album) ranking. A simple implementation would be to sum the ratings of all the songs by each artist, or sum their play count. Alternatives include just an average… Read more

Progress, yes, I’m making progress!

(that’s a Gune quote from Titan A.E., for those of you out there without culture :P ) Despite not feeling too smash hot last night, I did end up going to kayaking nonetheless. In fact, before that I dropped by Roxanne’s place for an hour or so, just to chat. I like talking to Roxanne;… Read more