April 11th, 2003

(no subject)

Mac's are a disaster... And I can say that with confidence now that I've worked one a few. Oh the horror...

Just 2 examples:

Mac OS X can't properly copy it's own files... Picture that, dropping to a command prompt and issuing a 'cp' on any file with a resource fork will lose you the resource fork. But you can use 'ditto' instead. Helloo?! If you can implement that in ditto, you could've implemented it in cp as well, one would assume... [now fixed in 10.4 Fancy that, it took them only 4 major versions to make copying files easy]

Mac OS 9 is also great: try using applescript (ok don't, no really, not if you're near a window in a high building anyway). So I have this perfectly working command that executes in one second. Hit 'play' in the applescript editor, and it runs. Takes about a second. Hit play again and it runs again (repeated it few times to make sure). All great. Now copy the code and paste it right after itself. Should be same thing as running it twice no? Now run it
....
.....
......
............................................ .......................................................... ...........................................................................
Wtf? This now takes 2 hours (accidentally (or not?) the same time as the timeout in the script) !?!?!?!?!?

Then a collegue tells me it might be a good idea to do a :

tell application "finder"
activate
end tell

in between the two, and whadayaknow, now it runs in a second or two as expected!?!?! However can anyone have ever done any serious work on that? No wonder little software was available for it... Can't bear to think how anyone could've written software on it... This is worse than windows 3.1! With the difference that no one in his right mind would ask any software developer today to support Windows 3.1.

Not that windows is perfect, and never having tried linux, I'll refrain from commenting on that right now, but come on... at least get the basics right. Or am I to far beyond the basics already?

On the other hand, I do have a usb keyboard connected to another usb keyboard connected to a mac (os 9!) because the cable is too short. Try that with windows 3.1 (wouldn't even want to gamble on that working in XP!).