Monday, December 24, 2007

OS X Bugs of the week: Image Capture and GarageBand

Two OS X bugs this week: one new and one probably older. Note I run as a non-admin user.

The new one is Image Capture. I presume this one came with this past week's batch of sercurity fixes. When I use IC to transfer files from a memory card, I usually create a new folder to hold them. This week I can create the folder, but I can't use it. IC isn't quite sure it exists. I have to restart IC to get it to see the new folder. Finder can see it. I wouldn't be surprised if this bug shows up elsewhere.

The other bug comes with GarageBand, and it's more of a design flaw. I've never bothered with GB, but my niece is a fan [1]. She created a GB project that I wanted to move from my account to a guest account. I found:
  • When moved to Share and then to the Guest desktop the Guest had no access (privilege problem -- the privilege/Share dysfunction is a deep OS X design flaw -- moving to Share should revise privileges)
  • When I changed privileges and opened the project in GarageBand GB crashed (I submitted the crash report)
It turns out to share a GB project you need to export as 'archival' so it includes loops rather than references them. Fair enough, the bugs here are:
  1. Blowing up because of a reference error is a bug.
  2. Why don't the references work on a single machine? I'm suspecting this is yet another case of Apple's depressing move away from global file identifiers to DOS 2.1 hard coded paths, probably coupled with incorrectly storing a referenced file in a user account.
  3. The old, old design flaw that moving a package to the Shared folder doesn't set access privileges in a sensible fashion (maybe 10.5 fixes this?).
[1] I've wondered with Apple bothers with GB. Turns out kids like it -- a lot. GB is the reason my niece is getting a MacBook for her birthday. If Apple gets the bugs out of 10.5 by then that purchase may lead to another Mac in that home (their XP machines are routinely rendered useless by viruses and XP entropic decay). So Apple has quality issues, but they know how to optimize the iLife package to sell machines.

Update 12/27/07: Image Capture PPC doesn't show this bug. It's only in Image Capture Intel, and I suspect the bug isn't truly a part of Image Capture, but rather some Intel specific Finder bug.

Friday, December 21, 2007

Halamka's recommendations for camcorder, TV and computer

LiHalamka's tech picks:k 20" iMac, Sharp Aquos or SONY Bravia TV and two firewire based camcorders. Good picks. I'll ask him to test the camcorders with iChat.

Monday, December 17, 2007

Leopard's account switching bug

When 10.5.3 comes out I'll check to see if this is fixed before installing it. Until then I'm on 10.4...
Macintouch Leopard: Bugs and Fixes

Leopard blocks switching between file shared accounts.

I file shared 2 user accounts on a Leopard (host) computer. From a second Leopard (client) computer I can connect (have read/write access) to the first shared account, then disconnect and connect the second account. But then when I disconnect and try to reconnect to the first account my request is ignored. The only way I can then connect to the first account is to create a new account on the client! But this new client account is also blocked if I switch to the second shared account and try to switch back. A second Leopard client computer on the LAN has the exact same problem.

But Tiger and Panther client machines on the LAN don't have this problem. They can switch between the shared accounts on the Leopard host computer with no problem.

I called Apple Technical Support of 12/10/07 and they were able to duplicate the problem on multiple computers. They are forwarding the issue to Engineering. I'm surprised there aren't more reports on this issue...

Sunday, December 16, 2007

Experiments in DRM removal and re-encoding

We don't let much DRM into our lives, but I have a few FairPlay'd tunes I bought the kids when I was less strict.

I'd like to include them in the AAC CDs I put the childrens' playlists on, but our SONY car stereo doesn't do FairPlay. Of course I could burn a CD then re-encode the tunes to MP3 or AAC, but I'd tried that before and the results were awful. The re-encoded tune sounded like AM music (few remember how bad that sounded!).

This time, though, I'd try re-encoding at 320 kbps, no VBR, 44.1 sampling. I figured I'd also try the iMovie HD DRM removal trick. [1]

The iMovie HD trick turned out to be a nuisance -- I'd rather just burn a CD. Curiously, however, I got much better results this time than previously.

The original 5.6 MB FairPlay'd tune turned into a 52MB AIFF audio file which I then turned into two non-FairPlay'd AAC files:
  • 128 kpbs (standard): 5.0 MB AAC (so smaller than the original - not good!)
  • 320 kbps non VBR 44.1 AAC (max quality AAC using iTunes encoder): 12.5 MB
Here's the surprise. They all sounded reasonable using my Bose noise canceling headphones. I'd expect the AIFF and original FairPlay'd tune to sound identical, but I'm not sure I'd be able to tell apart the 128 and 320 kpbs re-encoded tunes.

I don't know why I got better results today than in the past. Maybe last time I tried re-encoding as MP3, and the AAC to AIFF to MP3 transformations are tougher than AAC to AIFF to AAC. Maybe my ears are getting worse.

I wouldn't try it for Jazz or classical music, but at least some pop tunes survived the AAC to AIFF to AAC round trip better than I'd expected. I would favor a high bit rate for the reencoding though; I really don't have very good ears.

[1] The trick relies on a quirk of iMovie HD that is not present in iMovie '08. iMovie HD will export the combination of a FairPlay'd soundtrack and a JPG as a non-DRMd AIFF audio file.

Very poor choices in list sorting: iPhoto trumps everyone

Coding Horror did a nice post recently on poor decisions in list sorting. He's a Windows programmer, so he wouldn't know about even worse list sort implementations by Apple's vaunted development team.

Here's the sort order of albums in iPhoto '08's smart album definition UI:



It looks completely random. Not much fun if you're looking for one of a hundred albums. The only saving grace is that if you know the album you want, you can type the first letter and navigate the list that way.

If iPhoto were smarter, and allowed one to include smart albums in the list, things would be even worse.

iTunes has much more powerful "smart list" (query) definitions that can include other smart playlists (queries) and here Apple did things right (actually, I think they quietly improved this in one of their recent updates):



So Apple isn't completely hopeless! It's just that their talent base isn't unlimited.

That should make non-Apple developers feel a bit better.

Friday, December 14, 2007

The single worst defect of Microsoft Access

There's a lot to dislike about Microsoft Access. Even so, I use it intensively. It's a cross between a chainsaw and a swiss army knife with an unfortunate tendency to occasionally remove vital organs.

Powerful, versatile, dangerous.

When I use Microsoft Access I backup my data files very frequently and I set every linked Access data file I'm not actively editing to 'read only' status to protect it (Access table security model ranks high in its sins).

So, lots of bad news. But one insanity stands out above all the rest.

Access has a compulsion to break queries when you use linked files. This is one of those mult-ipart design problems:
  1. The crummy security models and lousy organizational tools means that serious work requires lots of linkages to remote ODBC and Access data sources. (This ability to link across diverse data sources is actually a great power of Access, it extends to Sharepoint's SQL Server tables.)
  2. Links to local sources use hard coded paths.
  3. When a hard coded path changes, or a referenced table name changes, a trap has been set. The first time one opens a query referencing the link to the changed item, the query breaks. Joins vanish. Column names get odd prefixes. There's no warning and no protection.
There are some partial protections:
  1. Use the drive letter substitution trick to reduce the hard coded path problem.
  2. Wrap linked tables in a simple query that you can validate first, then have all other queries reference these "wrapper" queries. It's easy to fix the wrappers, and you don't break all the other queries.
If Access 2007 had fixed this behavior I'd be using it today, but since it's buggy and has design regressions I'm sticking with Access 2003.

There, I feel better now.

Wednesday, December 12, 2007

Google Street View comes to the Twin Cities

About a week ago I noticed a non-working street view icon floating around Saint Paul. Ok, floating around the virtual Saint Paul in Google's server.

I wondered if it was a herald, and, yes, now we have Street View in the Twin Cities. Alas, for better or worse, the Saint Paul coverage ends one block east of my home. So I can't show the Street View image of our house.

I can show my favorite coffee shop though:



The images were taken in summer, so they seem a bit odd in our snowy December.

I wish to be among the first to welcome our Glorious Googlian overlords to the twin cities.