Tuesday, December 12, 2006

Spotlight for a Simple Finder user: How?

Update 12/12/06: You can't delete a file in Simple Finder.

Think about it.

Simple Finder is proof positive that Apple is quite capable of producing absolute cr*p. I wasted several hours of work experimenting and learning Apple's undocumented Simple Finder, only to realize I could create files in SF, but I couldn't delete them.

Simple Finder in OS 8 was an important addition to the OS. In OS X it's an blight, a festering sore, a sick joke on Apple's customers. (Can you tell I'm annoyed?).

--------------------

My mother's Mac Mini will run Simple Finder -- at least for a while. I've been experimenting with SF and, if one ignores the official way to configure it and uses the 'Full Finder' configuration method (more on all this is a later post, I'll create a future link) I think it will work. Nisus Writer Express, which can be configured to look and feel like a very simple word processor (it's really quite powerful), will be her writing tool.

The biggestA relatively minor problem is that Simple Finder knocks out Spotlight. That's right, there's no way for an SF user to use Spotlight to find items. Kind of ironic, since Spotlight is in part a response to the complexity of the folder/hiearchy world.

So now I'm looking for a Spotlight front end. I searched on one I've licensed (MoRU), that led me this post where the comments mention a few others [1]: Hawk Wings: Two apps for a smarter Spotlight. I'll also play with Launchbar and see how that will work -- but a simple Spotlight front-end that works with Simple Finder, and that can be constrained to only search Documents, is what I'm looking for. I'll see if I can configure MoRU to do that.

Any suggestions?

[1] My favorite technique for finding good reviews of a class of products is to find two product names, search on the two together, then find three, search on the three together, etc. Chances are a review that discusses 2-3 competing products is a genuine review, not a fake.

Update 12/12/06: I tried creating a smart folder that would emulate a spotlight interface, using the trick of defining the smart folder to show all files created in the past 99 years. Alas, smart folders are inert in Simple Finder. Then I tried MoRU ($10). It works pretty well, and with a bit of tweaking I was able to create a simple interface. It even supports zooming the UI. So far MoRU is looking like a good bet, but I'll try a few others.

Lessons from another XP disk crash

Another year, another 3 disk deaths. Laptops are murder on drives. I lost two in my work (Dell) laptop, one from my home (iBook) laptop. Only the most recent Dell death was suspicious, the other drives were about 3 years old and they'd been worked far beyond reason. Laptop drives are not designed to be flogged continuously, they can't get rid of the heat fast enough.

Still, the cost of these dead drives is high; the lost productivity costs on the XP drives probably exceeded the costs of the laptops -- much less the drives. There was no data loss thanks to my backup obsession and some advance warning of each failure, but the time required to restore a complex XP work environment is daunting. The big problem with XP is that critical user data files and metadata are scattered all over the drive and registry, but a 'clone' restore isn't well supported by most automated backup systems. OS X is vastly better of course, but still imperfect -- I'm most interested in what 10.5 will do to speed this process.

A picked up a few more XP lessons from this recent series. Here they are:
  • Funny noises are a common warning of impending disk failure, but in the latest case I was experiencing some inexplicable problems with network connectivity. It was very hard to figure out what was causing these. Turns out bits of the disk were dying, taking out XP system components.
  • The clue that my software unreliability was due to a failing drive were seek errors on my backups. Retrospect Pro didn't makes as big a deal of this as I would have liked, but at least I knew enough to chase down the report. Errors on backup systems always need to be investigated, and a 'seek error' is a mark of doom.
  • The windows Event Viewer (note this web page, reviewed 9/06, is missing about half its content. I think Microsoft has outsourced its knowledge base management to Apple.) was catching the disk errors, and quietly recording them. Did it scream a warning every time this happened? No, why should it? Warnings like that might distract me from Microsoft's Vista marketing effort. Lesson: Use filter settings on the event viewer to show only alerts and warnings and check it once a week. I'll keep an eye out for a utility that generates a real alert for me based on checking the event viewer log, I'm sure one exists for XP. I'm also going to take another look at XP disk error monitoring utilities.
  • Most backup software, when it encounters a disk error, just stops. Of course one would prefer it continue and get as much as it can, then announce the disk error in red letters several inches high ...
  • If you delete an XP user profile, it doesn't go to the trash. It's just gone. Data recovery software works well on this kind of goof, however. If you ever do this, turn off the machine immediately and take the drive out! (Ok, so this was only tangentially related to the drive crash. I was naively/stupidly following the advice of tech support when trying to sort out the network errors that were, in fact, drive failure errors). My backup was a bit out of date (see fail on drive error, above), so we tried data recovery software first (OnTrack) and it worked very well.
  • When copying files from an old drive or backup repository to a new drive Windows copy is way too slow and unreliable. xcopy has a switch to ignore errors (important given those seek errors); it works but doesn't log the errors -- so you don't know what to fetch from the backup. I prefer robocopy.exe (free from Microsoft, see resource kit, below). Here's the command line example: ROBOCOPY D:\WORK E:\ROBOCOPY /V /TEE /S /E /COPY:DAT /B /R:5 /W:2 /NP /LOG:E:\ROBOCOPYLOG_061117B.TXT. Note OnTrack will do offset read/writes to try to get things ROBOCOPY can't, but ROBOCOPY is free. I ran robocopy. exe on my flaky drive before resorting to backup, the bad sectors only knocked out one data file which was easy to restore.
  • When sorting out the new machine, start by downloading and installing XP Power Toys (I always need to run TweakUI to fix the worse annoyances of XP, and install the power tab switcher and command-here, etc) and the Win server 2003 resource kit.

Monday, December 11, 2006

Firewire bus problems: an apple kb article

The firewire bus has often been flaky on Apple's machines. Sometimes it stops working, sometimes it restarts under peculiar circumstances. I've always thought this was somehow related to Apple's complex hardware abstraction approach and the complexity of what firewire does (a sort of peer-to-peer mini-lan). Whatever the cause for this perennial problem, it's interesting to note that Firewire audio devices can create a problem that's solvable by an SMU reset on some machines (see link for how to do the SMU reset):
Power Mac G5 (Late 2005), iMac G5 (Ambient Light Sensor): FireWire bus stops responding after computer restarts with FireWire audio device attached

If a FireWire audio device is connected to a Power Mac G5 (Late 2005) or an iMac G5 (Ambient Light Sensor) while the computer is restarting, the FireWire bus will stop responding and no FireWire devices will be detected on the bus. The device may stop responding or stop charging, depending on the specifics of the device.

Sunday, December 10, 2006

Configuring a simplified OS X machine: Simple Finder

Grooaan. I've muttered and complained about how almost-good OS X Simple Finder is -- but I never noticed the Finder menu option to 'Run Full Finder'. Here's the article:
Mac OS X 10.4 Help: Simplifying the desktop

You can simplify the desktop and Finder menus using Simple Finder. Simple Finder is a simplified version of the Mac OS X Finder with fewer menus and limited access to the items on your hard disk...

...users see only three folders in the Dock: Documents, My Applications, and Shared. Any documents they create are saved to their Documents folder. The applications they see in My Applications are the ones you select for them in Accounts preferences. They can also access items you place in the Shared folder.

... To get administrative access to the computer while this user is logged in to Simple Finder, you can choose Finder > Run Full Finder, and enter your name and password. (You'll be able to make changes only if your account has administrative privileges.) When you're done, choose Finder > Return to Simple Finder.
With admin access it's easy to extend Simple Finder by adding icons and folders to the desktop. Note Simple Finder does not actually block users from running software, it only blocks easy access to applications from the Finder. As well as icons put in shared folder, the admin user can switch to Full Finder and put icons on the desktop. [Update: Alas, they disappear when you switch to Simple Finder. Probably the biggest defect with Simple Finder is the inability to lay out icons on the desktop.]

I think Apple should include a brief mention of Simple Finder in their printed documentation. There was a story out recently that many Mac users are over 55. I think for quite a few folks over 70 Simple Finder can be a good introduction to the OS. If Apple really introduces remote maintenance with 10.5, and if they do a few tweaks to SF (including renaming it to something like 'Fast Finder'), and a bit of marketing, they'll have natural market with elder users and true computerphobes. (I happen to think one can make a good case for computerphobia btw.)

Saturday, December 09, 2006

How Google Reader beats Bloglines

I'm a longtime Bloglines fan, but there's a flaw there. Bloglines shares all feeds by default. You can mark a feed as private, but it will still be found by searches. So it's not a good place to put a Backpackit feed that exposes business ideas, for example.

Google Reader is private by default. Only items in the shared folder are public. Users can subscribe to the shared folder, thereby doing secondary syndication. I'm going to try GR for a while.

Friday, December 08, 2006

Apple kb: unable to delete file - system immutable flag

Wow. This is ugly. There's a defect in OS X where the "system immutable bit" is applied incorrectly, the result is an immortal file or folder. The fix is non-trivial:
Unable to move, unlock, modify, or copy an item in Mac OS X

... If you have attempted to unlock a file in the Finder but it is still locked, follow these steps to remove the system immutable bit from affected files, which can cause this issue.

Mac OS X 10.4 or later

1. Start in single-user mode; for instructions see Mac OS X: How to Start up in Single-User or Verbose Mode.
2. Type this, followed by Return: mount -uw /
3. Type this, followed by Return:
cd /Library/Preferences/SystemConfiguration

4. Type this, on a single line, followed by Return:
defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true

5. Type this, followed by Return: sh /etc/rc

6. Wait for the on screen text to stop scrolling and then press Return
7. Type this, followed by Return:
find / -flags schg -exec chflags noschg {} \;

8. Once this is finished, type this followed by Return:
rm /Library/Preferences/SystemConfiguration/autodiskmount.plist

9. Type this followed by Return: reboot
Geez, why not ask users to fire up a hex editor? I had a delete problem once (only), but the OS X 'secure delete' (it's on the Finder menu) took care of it. Next I'd try using Disk Utility and/or fsck. This would be my very last option. One hopes Apple will deal with this in a future version of Disk Utility -- or figure out how this bug gets triggered.

Gmail now a full replacement for ISP email services

This may be old, but it's happened so gradually it passed me by. Gmail, still in "beta", has morphed into a complete replacement for traditional ISP email services.

Sure it's been a great email client for years -- I've used it since about day one. At first, however, it was a standalone webmail service. Then Google introduced POP functionality (alas, not IMAP, which is what geeks really want). Then they combined POP with archiving and forwarding -- so you can pick up email from the inbox and Gmail will automatically archive it. Lately, and I didn't noticWhat I didn't notice, they've added authenticated SMTP (sending services). The latter passed me by, but it's documented in Gmail's email configuration directions. Maybe Google reasoned, correctly, that distinguishing between POP and SMTP would just confuse everyone -- so they only announced the POP portion.

With spam filtering [1], POP, and authenticated SMTP [2] Gmail is a full replacement for ISP email services. Users of traditional email clients (OS X Mail.app, Outlook Express, Mozilla, Thunderbird, etc) who start out with Gmail can switch ISPs with impunity, without any loss of email services [3]. Users who need a very simplified email interface (visual issues, elderly, etc) can use special market email software with Gmail.

Email is a big part of the identity management and reputation management functions that will be fundamental in the next 20 years. Google has stealthily split this functionality from connectivity provision. Clever of them. Now, how did I miss this?

[1] Not on forwarded email - so beware!. It works well on email sent directly to gmail.com
[2] Some trash-quality ISPs block the ports used for authenticated SMTP.
[3] Just forward from the ISP provided email. If Gmail managed spam on forwarded email it would be just about perfect.