Saturday, March 13, 2010

Two Problems with SuperDuper backup

I've not been having much luck with OS X backup. I really wanted Retrospect 8.x to work, but every rational voice I trust tells me to stay away from it. It must be terrible to be the responsible product manager.

Time Capsule/Time Machine works ok, but it's not suited for offsite rotation. Carrying around unencrypted data is not a great idea.

SuperDuper! is suitable for offsite rotation, but it has the same problem. Even though it can backup to an image, the image isn't encrypted. You can create an encrypted disk image and have SD do a daily "smart backup" to that; in my testing SD will load the backup on demand and even load the encrypted image (as long as the pw is stored in your local keychain).

There have been many requests for the author to add encryption but he's held off. I hope he'll come around eventually.

The other problem with SuperDuper backup is that you can't test it. The automatic smart reconciliation feature requires payment first. Even EMC provides a 1 month evaluation copy of Retrospect, but Shirt Packet doesn't allow us to test the key backup features of SuperDuper.

See also:

Thursday, March 11, 2010

The OS X Snow Leopard "Connected As" MobileMe bug

In 10.6.2 I can replicate the same bug described here ...
OS 10.6 - how to change "connected as" default name - Mac-Forums.com
I have an imac & a macbook on my network. when I'm on my imac & i click on the sidebar to connect to my macbook, the same "connected as" name always comes up. i don't remember where this name came from (it's actually my mobileme email address) it's not a name i have listed under users who can share on my macbook. after connecting i have do disconnect then quickly click connect so i can enter in the username i want to use, if i don't then it automatically connects back under the name i don't want. i just want to reset the default "connect as" i guess I'm trying to say. i don't have this problem when connecting from my MacBook
It's a Snow Leopard bug. If you enable MobileMe Snow Leopard tries to authenticate with a remote machine using the MobileMe name instead of a username. I think it's some version of a directory service; in theory it probably lets you easily connect to a remote account with the same MobileMe credentials -- even if has a different username and password. It fails, however, if you try to connect to a share with a different associated MobileMe account.

When this bug hits you can't use the normal "Disconnect" or "Connect As" features. Editing the Keychain doesn't help. You can try clicking "Connect As" very quickly after Disconnecting and it might respond.

If you turn off MobileMe then you can connect and disconnect normally and the "Connect As" feature works. If you turn MobileMe back on the bug returns.

If you save files using this MobileMe authentication scheme on the remote share I think you may run into ugly permissions problems (such as 45,000 0 length files this evening on one failed write attempt).


Update: There's a Take Control book on permissions due out soon. The announcement blog post sounds ominous. I'm going to buy that book, I'll ask the author to check out this MobileMe bug too. Since Apple last updated their troubleshooting permissions document in 2008, and their screen shots go back to 10.2, the author has his hands full.

Update 3/11/2010: Given my recent experiences, I decided it was time to migrate Emiy's account to the new machine, and clean out the old accounts. I did a firewire migration and it went very quickly. After verification and testing I deleted her account on the old 10.5 iMac. On restart my old account on that machine had her user name, but all of my content. So the permissions were more than a bit screwed up over there. I deleted that account as well.

Why you shouldn't use OS X ACLs

The OS X file security mechanism (aka "permissions") was archaic eight years ago. Now it's the living dead.

The somewhat less decayed alternative is to use OS X Access Control Lists (ACLs). They are not widely used, though some geeks use them to share media collections among multiple machine accounts. (This kind of file sharing is not otherwise possible [1] without hacks that remind us that OS X is a dying desktop solution).

This, however, is not necessarily wise. This warning is embedded in Retrospect Professional 7.7 Mac OS Client preferences for ACL backup ...
Allow the Retrospect Client to examine Access Control Lists (ACLs) on Intel Macintoshes. This may cause Retrospect to freeze due to a defect in Apple's implementation of ACLs.
EMC's products are notoriously buggy, so I suspect "freezing" rather than, say, throwing an error message is an EMC bug. On the other digit, however, I believe them. This feels true based on my own experiences, and it confirms a hunch of mine that one should avoid ACLs. Of course this is a good general principle -- don't use features of operating systems and software that are not widely used. A corollary is that you shouldn't consider uncommonly used features when evaluating modern software -- they probably don't work.

[1] Last April Tidbits claimed iPhoto '09 does enable multi-user sharing. It is, however, still undocumented by Apple and thus risky. Even so, I might give it a cautious try once I happy with my 10.6 backup solutions. I'm not happy yet.

Sunday, March 07, 2010

Using an HDTV as a low vision monitor - initial test

We have a 21" CRT. We known nothing about television.

On the other hand, my mother likes television and she has lost much of her vision due to macular degeneration. She has difficulty reading the text on a large CRT set to 1024.x768. (LCDs display poorly at non-maximal resolution, and at maximal resolution the font sizes are far too small for her).

Modern HD TVs run at 30" screen at screen resolutions usually seen on 20" computer monitors. So a 30" HD TV might produce a more readable display.

To test this theory I took my MacBook to Best Buy and tried several displays using the mini-DVI to VGA adapter. The results were pretty bad; clearly VGA won't work. (For one thing it drives the display at 60 Hz when it needs 120.)

I didn't have an HDMI to DVI Adapter Cable so I couldn't test HDMI input results. I'm hoping they'll be much better. I'll update this post with future results.

Update 4/5/10: I found a 2006 Coding Horror post on using an HD TV as a monitor. I'd read it some time ago but, of course, had forgotten it. That old post was pretty positive, but I don't hear of people actually doing it now.

Saturday, March 06, 2010

iPhone Voice Memos.app - the missing manual

It took me fifty years to learn to tie my shoes. So it's not surprising that it took me months to figure out how to use the "simple" iPhone Voice Memos app.

I doubt many users could have as much trouble as I with an app that seems to have only two buttons, but if you're one of the chosen this is for you.

To begin with, I need to explain the wrong way to use the app. The wrong way is to tap the red button to start, then tap it again to stop. Wrong. Than puts you in pause mode, and to quit recording you might next tap the right side black icon, then go to another screen, then tap the Done icon and so on.

Here's the right way to use the app without an Apple headset. Headset instructions follow.

1. On startup you tap the red button to record. (Ok, I got that far.) You need to hold the microphone reasonably close to your mouth, the app isn't designed to be used for recording lectures and the like -- just for voice memos.


2. Ok, here's the trick. While recording the red button has changed from a circle to two parallel vertical red bars. It's a pause button. What you might miss, because your eye has been pulled to the red button, is that the odd "grill" button (3 black horizontal bars) has also changed. It's now a black square.


3. When you're done, don't tap on the red pause button. Tap on the right black button. Yes, the one that used to be 3 bars but now, if you're paying better attention than I, you will see is a black square.

Tap the black square and you're done.

3. What happens if you tap the red button? You go into Pause mode.


Pause mode looks just like start mode, except for the big red top banner that stays on whatever you do on the phone. In Pause mode the black button is 3 horizontal bars. Now if you tap on the (multimodal, nefarious) black button you go to review mode.

4. In review mode the app will start playing back your last recording. You can click Done to stop and quit or you can play or delete your saved recordings (swipe to delete).


At the point you can see that if your intent is to record and stop, then hitting the red button while recording is a mistake. It puts you in pause mode, and exiting from pause mode involves several precision taps. If you're dictating while driving, this is dangerous. If you fall into the pause trap, your best option is to tap the red button again to return to record mode, then tap the black button to exit.

The Voice Memos.app behaves differently if you're wearing an Apple headset. From a previous post of mine  ...
Gordon's Tech: iPhone Voice Memos.app - the secret feature

I wasn't that impressed with Voice Memos.app when if first appeared with OS 3. I joined the chorus complaining about the audio levels -- or lack thereof. It only works if you talk directly into the phone or headset mike. The record button should be huge, instead the UI is given over to a pointless graphic. It takes too many taps to close a recording. And so on.

There was, I thought, only one good feature of Voice Memos.app. It's fast. iTalk Lite had great features, but it was too damned slow to launch and record (I'd have paid for the pro version if it were five times faster).

That was before I discovered the secret feature.

If you're wearing Apple's earset and you have Voice Memos running, one click of the microphone switch starts recording, a second click stops and saves.

So if I'm driving with my right earset in, I can click dictate and click again. No distraction, no multi-taps, no delays. This is a great feature. Now I love Voice Memos.

So, where the #$$!$ is this documented? My Google searching can't find mention of this feature. Heck, I can't find any documentation on Voice Memos.app...

... PS. There is Apple documentation on some of the microphone switch's features. You can use it, for example, to decline an incoming call (hold 2 seconds) or to switch and hold (click once) or switch and kill (hold 2 seconds). No mention of Voice Memos.app though.

Friday, March 05, 2010

Little Snitch exposes network killing MobileMe behavior

My mothers modem lights were flickering madly -- but I couldn't see why. All was quiet.

It wasn't just the lights -- the network performance sucked. Sometimes things would rush down, but at other times they'd just hang. Crazy.

Naturally I blamed Videotron. Nice people, but last time we had a problem they had to replace her router twice. As usual I got an agreeable support person. Everything tested out for him, but I couldn't run the Videotron speed test - it took ages to load. He wanted to test further, but I thanked him and told him I'd check things out internally.

You see, I'd lied to him about not having a router installed. Yeah, that's bad. I felt guilty because once he'd confirmed their network was ok I had a hunch where the problem was.

I turned my suspicions to the other machines on the WLAN, including my MacBook. Sure enough, when I shut the MacBook the modem lights slowed down and the Videotron speed test showed 1mbps downlink and 128K uplink - just what Mom pays for.

So what the heck was the MacBook doing? It's not an XP machine, so I wasn't worried about malware. I don't like installing low level apps that require uninstallers, but I needed to know what was going on. So I installed the $30 Little Snitch 2 utility in demo mode
...Little Snitch has a free, built-in demo mode that provides the same protection and functionality as the full version. The demo runs for three hours, and it can be restarted as often as you like...
It's geeky, but, in short, LittleSnitch worked. The culprit? MobileMe iDisk file sync. If you have a local cached version of your iDisk share OS X Sync is very demanding about synchronizing with the remote MobileMe iDisk. I wouldn't notice this at home, but at my mother's OS X Sync was saturating the 128 kpbs uplink trying to sync a 28 MB file. The only clue to what's going on is a spinning icon seen if you view a Finder window sidebar. Turning off MobileMe sync doesn't stop this. You can only stop it by clicking on the spinning icon or by turning off local disk caching altogether.

So I was wrong, I did have malware. Apple malware.
--
My Google Reader Shared items (feed)

The Mac Mini drive clunk (knock) problem

I'm visiting my mother, so I'm reminded that every few seconds her Mac Mini makes a gentle "clunk" sound. It as though it's knocking for my attention.

Emily wouldn't care or even notice it, and I don't think my mother can hear it, but "people like me" hate noises like that.

When I first noticed a year ago, I figured her drive was failing - though Disk Utility SMART status showed all was well. After a year though, it seems like something else: "hard drive clunk mac mini.

If you turn the volume way up you can hear the sound on YouTube (my mother's mini has the same Futitsu drive). It's not just Fujitsu though, there are utilities to prevent clunking written for Seagate drives. It appears to be an OS/Firmware bug that recurs over the years with different OS drive combinations. I don't recall it in 10.4, so I suspect it was introduced in 10.5 and may be gone in 10.6 (I upgraded my mother to 10.5 about the time I noticed the noise).

Some of the better discussions include ...
There don't appear to be any easy fixes, and since my mother can't hear it I think I'll leave it be. Most of the complaints are a few years old, so I suspect newer drives don't clunk. I also wonder if it's fixed with 10.6, though drive clunking seems to be a cross-platform problem.

I'll update this post if I learn of a better fix.
--
My Google Reader Shared items (feed)