Wrapup of that last miserable day at work (Updated)
I consider to rename this Nat!'s piss and moan web journal
Just after the last update the internet router went dead, which just kind of fit into the general mood of how things were going.
Well the linker did "wing" it so I could link and build the packages. Next day on site installing the release I got hit by the problem, that some of our plists are not what the new NSPropertyListSerialization likes. Instead of giving just a warning and crunching through, Apple's programmer opted to raise an exception there. Not reading those plists would've meant a no show - not good!. So I needed to write a plist parser at the customers site to read them in and use NSPropertyListSerialization to write them out "properly" again. Then I found out that writing OpenStep files is not supported by Foundation... only just not quite as fast as I would like as I wrote something like this:
dictionary = [NSDictionary dictionaryWithObject:@"Value" forKey:@"Key"]; error = nil; data = [NSPropertyListSerialization dataFromPropertyList:dictionary format:NSPropertyListOpenStepFormat errorDescription:&error]; NSLog( @"what gives? %@ %@", data, error);
which yields what gives? (nil) (nil)
and some head
scratching. You actually need to write
dictionary = [NSDictionary dictionaryWithObject:@"Value" forKey:@"Key"]; error = @"xxx"; data = [NSPropertyListSerialization dataFromPropertyList:dictionary format:NSPropertyListOpenStepFormat errorDescription:&error]; NSLog( @"what gives? %@ %@", data, error);
to get what gives? (null) Property list format
kCFPropertyListOpenStepFormat not supported for
writing
.
Curse Apple again! I wrote the plist out in XML format, which for
demo purposes was OK, but might bite me later because there are
still some Mac OS X Server 1.2 machines there.
Corrections
Apple Music Store: Seems that 12 tracks from the same album cost
$9.99 instead of $12, not much a difference for the argument
though. I looked perused the current selection of albums at the
store, noticed that "metal" isn't even in the genre listing. I did
find Slayer and Iron Maiden, but did not find any Bloodbath, Opeth,
Katatonia, In Flames, Dimmu Borgir, Children of Bodom, Cradle Of
Filth, Emperor. I did find 16 Horsepower though, which I think is
fairly obscure, so I have JUST a little inkling that the record
selection is as "safe" as in GUM record store probably was in the
times of Breschnew :)
In terms of speed and presentation the shop is excellent!
Memos
Should check if installing the 10.2 developer tools magically fixed the wrong header. Otherwise reinstall.