Thursday, August 11, 2005

Boolean searching in OS X Mail.app

Macintouch - Mail.app (Part 17)

This is an interesting claim -- that Spotlight and Mail.app support Boolean search with the C-style logical operators of & and |. I'll test and verify as an update. Lack of Boolean operators has been a common complaint.
Boolean Searching

Kees Huyser

... According to mail->help->searching:

Use the words 'and,' 'or,' 'not,' and parentheses to refine your search:

'cat and dog' finds email containing both 'cat' and 'dog'
'cat or dog' finds email containing either 'cat' or 'dog'
'cat not dog' finds email containing 'cat' but not 'dog'
'cat and (dog or newt)' finds email containing both 'cat' and 'dog' and email containing both 'cat' and 'newt'

You can also use boolean expressions in the search box:

A & B yields A AND B
A | B yields A OR B
A ! B yields A NOT B.

This also works in Spotlight btw.

Jim Elliott

Kees Huyser's tip about Boolean searches in Mail and Spotlight adds a vast dimension of power to Tiger, with one big caveat: I can't get it to work using the words ("and", "or", even though that's indeed what the Help shows). These words seem to be treated as any other search terms. For example, if I search for "tiger and behavior" I get 12 hits, whereas "tiger behavior" gets me 14, and "tiger or behavior" nets 9. Clearly it's not a Boolean search.

If, however, I use the C-style logical operator symbols ("&", "|") it works beautifully! "tiger & behavior" gets 14 results, the same as "tiger behavior", while "tiger | behavior" yields 2062 hits. (I also tried the words individually and did the arithmetic to verify that Boolean logic added up.)

This is awesome! I had believed that there was no way to tap this power of the Spotlight API from the normal user interface. I am thrilled to find I was wrong. Now I just hope that Apple fixes their help text so that other power users, who haven't been following MacInTouch, can learn how to find exactly what they're looking for.
Update 8/12
Jim Elliott

I left out one crucial detail in my excitement yesterday, and I hope this will help explain why other users were reporting that Boolean searches were not working for them:

You can only perform advanced searches like this when you have chosen "Entire Message" (rather than "From", "To" or "Subject") as the search context. Otherwise it seems to do some sort of stemming "or" search regardless of the punctuation you include. I should also note that this mode, too, contradicts Apple's own help which claims things work in a completely different way. The documenters seem to have been utterly baffled about how Search is supposed to work in this version of Mail, and are compounding our confusion and frustration.

Ron Kaplan

This is related to the extremely useful Boolean search discussion of the last few days. It is now clear that a Boolean formula can be used to search one field of a Mail search, and that the result can be saved as a smart mailbox.

But it seems that it is not possible to use Boolean combinations of criteria across different fields to filter what shows up in that mailbox. You get only top-level "all" (= AND) or "any" (= OR). So suppose you want to have the conditions [Message is in Inbox] AND ([From contains John] OR [Any recipient contains John])

Is there anyway to get nested conditions?


Stephen Hart

Is it possible that some users are getting confused with the quotation marks writers use to indicate what to type? The following two entries yield different results for me in both the Finder and Mail (presumably both using the Spotlight search engine): bird and song "bird" and "song"

The former returns many more hits than the latter, which returns just what I'd expect on my hard drive.

Scanner support remains problematic in Tiger: Epson support

Mac OS X 10.4.2 (Part 29)
Epson Scanner Software Causes Hardware Problems

Smokey Ardisson

Steven K. Roberts wrote in Wednesday's Mac OS X 10.4.2 report that the software for his Epson 4180 was causing massive CPU use, temperature spikes, etc., even when not in use. I'm afraid I can't be very helpful, only to add that it's not specifically 10.4.2 related. I have the same model and experience the same problems under 10.3.9 (and earlier 10.3.x revisions) whenever the EPSON Scan software is open ...

Vincent Cayenne

... Apple's Image Capture will probably drive your scanner with no configuration necessary. When I upgraded to Tiger on my various machines, Epson Scan stopped working. After unsuccessful efforts to get it reinstalled and working, I discovered that Image Capture will drive all the Epson Perfection scanners that I've tried (1650, 1670, 3170, etc.). It may work for you.


Dixie

I have an EPSON Perfection 2450 scanner, which has ONLY been using the VueScan universal driver and never causes any hardware/software problems, when using the preferred Firewire connection. VueScan is constantly being updated (free) by the author Mr. Hamrick, works with EVERY scanner, and is well worth $49.95. Most drivers that are supplied with ANY brand of scanner are nightmares to install/use and are hardly (if ever) updated to eliminate bugs or improve performance.

A rather sophisticated approach to extending wireless networks

Macintouch: Wireless Networking (Part 30)

A very clever approach to extending wireless coverage in the absence of any standard for the extension (I think WDS may be a standard, but it is not well supported):
Wireless Range Extender For Travelers

Gary Ralston

I travel frequently, and often need to extend a wireless signal by 50 - 75 feet. Commonly, I can pick up a signal by a window from the next building, but lose the signal deeper inside the structure, where I wish to work. Wireless Range Extenders are the black sheep of wireless. The various WI-FI standards do not specify how a wireless signal should be captured and repeated, so each manufacturer rolls their own, resulting in incompatibility between brands.

Yesterday, I found a deal on D-Link's TINY and versatile DWL-G730AP Wireless Pocket Router/AP™. As of August 10, 2005 Office Depot in Chicago was selling them at $30 EACH after rebates.

This little device is smaller than a PCMCIA card - about the size of two graham crackers, stacked - and SMART! An external switch changes the mode between client, access point OR router. It draws power from A/C OR USB, and is fully configurable using D-Link's standard web interface. To boot, it supports WPA PSK.

I bought two, switched one into client mode and the other in router mode, taught the client which SSID and channel I wanted to bag,plugged them together, and for $60 USD, had a universal range extender.

To change the default settings, Mac users DO need to know how to create a manual IP on either Ethernet (to customize client or AP mode) or Airport (to tinker with the router). In the Network System Preference, create a location for configuring my various d-link contraptions. Set the IP to 192.168.0.100, subnet mask 255.255.255.0 and gateway 192.168.0.30. Use a browser to connect to 192.168.0.30. The username is Admin, and the default password is blank.
Two devices so the proprietary link is hidden.

Wednesday, August 10, 2005

Dell 2005FPW LCD Display: the poor man's cinema

TidBITS: Expanding the View with a Dell LCD Display

I wish my Samsung 17" CRT would hurry up and die. Maybe if I dropped it a few times ...
Dell, being the giant of the industry, is able to command great prices on the parts it buys, which is one reason the company can offer complete computer systems for relatively little cost. Consequently, Dell frequently puts together deals to move its inventory. In this case, I found the 20.1-inch 2005FPW LCD for around $550. Considering that Apple's original 22-inch Cinema Display cost $4,000, and its current 20-inch model costs $800, the Dell display was a great deal...

...The 2005FPW has a 20.1-inch viewable screen size, supporting a maximum resolution of 1680 by 1050 pixels (1,764,000 pixels). According to the technical specifications, it sports a contrast ratio of 600:1, an image brightness of 300 cd/m2 (candela per square meter, a measure of luminosity), and a viewing angle of approximately 88 degrees vertically and horizontally. In real-world terms, that means the screen is bright, beautiful, and sharp.

That's not all, though. The 2005FPW includes four input types: VGA, DVI-D, S-video, and composite. At first I thought that was marketing jargon that indicated you could simply attach just about any device with included adapters, but no, the monitor includes four separate ports. That enables you to connect four devices and switch between them. My PowerBook G4 connects via the DVI-D port, and for fun I hooked up my old Dell laptop via VGA. A button on the front of the monitor's frame switches among the different inputs.
The iMac does not support an external display other than for (gag) mirroring. (Apple doesn't support multi-monitor desktops on its 'low end' machines. Sad indeed. Once upon a time even a Mac SE supported multi-display desktops.)

There's supposed to be a way to support an external display via a USB device, but I can't believe it would work well (bandwidth). If I could share a 20" Dell between my XP and my 20" iMac, so I could have an on-demand 20" x 20" desktop ...

Update: Ahh. I'd forgotten screen spanning doctor, as mentioned here. I think the Samsung may have a nasty accident shortly before Christmas. What a shame ... I would suggest monitoring the iMac's temperature when increasing the load on the video subsystem however.

GraphicConverter 5.7: I'll take some credit for the timing of some of the new features ...

Lemke Software GmbH, Peine - History GraphicConverter

GC 5.7 is out, and I'll be an eager adopter. I can take a bit of credit for the timing of a few features (in bold, Thorsten implemented them after a request I made to the list -- the crop for photoservice idea is an old suggestion of mine but it's great):


* direct icns export added
* temporary visible grid option added
* exif to exif in xmp metadata conversion added for export as jp2 and png
* bsb import added
* psf import added
* export as favicon added
* export as byte-array header file added
* applescript command for color mode change added
* crop for photoservice supports a userdefined folder
* edit/add EXIF context menu entry added to the browser
* sort into subfolder with exif model added as function to convert&modify
* complex rename by exif data option added to batch rename
* EXIF-GPS tag support added
* support for high res windows icon files added (import)
EXIF in JP2 and PNG is not yet supported by Quicktime/iPhoto, but I'll add that request to Apple's site.

Tuesday, August 09, 2005

Pixel sizes on different monitors (Ray Sanders, via Macintouch)

MacInTouch: timely news and tips about the Apple Macintosh

The iBook 12" screen pixel pitch is very small, yet my aging eyes reads text readily there ...
Ray Sanders provided a table comparing pixel sizes for a variety of monitors:

Pixel Pitch
(mm) DPI 12-point equiv. Notes

0.353 72 12 traditional Mac glass CRT
0.339 74.9 11.5 another common glass CRT
0.297 85.5 10.1 I saw something at the Dell site with this pitch
0.294 86.4 10 Dell 1905FP
0.28 90.7 9.5 calculated, est. pitch of the 14.1-in iBook
0.258 98.4 8.8 current models of Apple Cinema Displays
0.254 100 8.6 center point of today's crop of flatscreens
0.24 105.8 8.2 calculated, est. pitch of the 12.1-in. iBook
Compare to printing at 300 dpi.

Free OS X battery utility

MacInTouch: timely news and tips about the Apple Macintosh

myBattery 1.0 displays battery information for recent PowerBooks and iBooks. It shows not only the current battery charge in relation to the maximum battery charge (as mAh and as a percentage) but also the current battery capacity in relation to the original battery capacity, which indicates how well the battery is aging. In addition, it shows the number of battery load cycles and the age of the Mac, and it can display an alert if the wrong charger is connected. myBattery is free (donations welcome) for Mac OS X 10.4 and is available as a Universal Binary to run on Intel-based Macs.
I'm seeing quite a few 'universal binary' notes lately.

Monday, August 08, 2005

Remote control of a Tiger desktop

macosxhints - Some Apple Remote Desktop client features

I want to be able to control by iMac Tiger machine. Turns out Tiger now includes a VNC server -- Apple Remote Desktop client. This bundled servers is slower than OSXVNC but supports fast user switching and dual monitor displays. Directions for use are here.

TightVNC and 'Chicken of the VNC' are recommended clients for the iBook. TightVNC has a Windows version as well.

Update 10/13/05: NYET. TightVNC is strictly windows. Chicken of the VNC threw a zlib error and died. VNCViewer locked up my machine -- turns out it's years old. Tiger has a built-in VNC client, but there doesn't appear to be a low cost VNC Cient for the Mac that will support my iMac display. Apple Remote Desktop is $200.00, Timbuktu Remote is also costly (you need two licenses?). I guess I have to wait for Apple to support this feature.

Saturday, August 06, 2005

Using WDS to and OS X connection sharing to post this from my PC

We've moved -- across the alley. So we keep our neighbors and friends, but I've lost my broadband connection -- for at least four days. Qwest can move our phone line instantly (same number), but DSL takes time -- even though our new home had Qwest DSL until 10 days ago.

Fortunately two neighbors have wireless I can leach from momentarily. I couldn't get Jim's to work, but Peter's window is about 70 yards away -- unobstructed site line.

Peter put his Airport Extreme Base Station (AEBS) in his window and I put mine in the facing window. Then the fun began. It took some time and some false starts, but I got WDS to work. Part of the problem was I did my configuration purely wirelessly, flipping between my wireless LAN and Peter's. I think Apple's WDS configuration works much better if one is physically connected to the main (host) base station. Doing it wirelessly is like changing wheels on a moving unicycle. It did work though.

This article does provide some useful information: AirPort Extreme and Express: Using WDS to create a network from multiple base stations.

A few notes:

1. Peter was using WPA2 Personal encryption. I used to use very insecure WEP (legacy reasons) but I switched my network encryption to match his (I think this may be necessary for the merger to work). Both AEBS had been flashed to the latest release and all machines were using latest AirPort software.

2. I set my AEBS to "neutral" -- dispense IP addresses, etc.

3. I then took control of Peter's AEBS and followed the WDS directions. I added my AEBS as a client. At first I was asked for the network password, then for the base station (administrative) password. This took a few tries and wasn't at all very smooth. I think I should have been wired into Peter's AEBS to do this. The automatic configuration did work though.

4. When it was done my old network was nowhere to be seen, but now I could join Peter's network directly. (I think part of the problem happens because I was wirelessly on Peter's network, but after my AEBS joined his I had to hop to mine.)

5. I could then use my iMac at the other end of the house -- in the new office. I turned on internet connection sharing and connected the internal ethernet to my switch. My PC then got it's IP address from the iMac.

So, in conclusion, my PC is connecting to the iMac via wired ethernet, then the iMac is acting as a bridge via 802.11g to my AEBS, which is now a mobile base station communicating to Peter's AEBS which has a wired connection to Peter's DSL modem.

And to think only a few years ago I was using Telnet after hours to dial-up to remote BBSs out east ...

Update 8/14/05

Qwest is, of course, beind on my DSL services so I'm still using this kludgy connection. I've learned a few things about Tiger's Internet Connection sharing:
  1. The PC gets a 192.168.2.2 address. Oddly enough the iMac's ethernet IP address is quite odd, neither a 10.x or 192.x address but rather 169.x. So the client PC and host Mac are on very different 'networks'. The Mac can't see any shares on the PC, but the PC can see Mac shares. (If I turn off connection sharing and set my PC's IP to match the ethernet IP of the iMac then the network does fine.
  2. Retrospect can't find its clients because they're basically in a different network.
Update 8/15/05

I'm making a bit more progress. Now even when I enable Tiger's Internet Connection sharing my PC can be seen by my iMac (the two are connected by wired ethernet) and Retrospect/Windows can "see" the Retrospect client on the Tiger machine. Here's the trick:
  1. I noticed when Internet Connection Sharing was enabled, and the PC was set up to use DHCP, it got a 192.168.2.x address (commonly used legal range for internal networks). So I set the PC to manually use 192.168.2.20 as its address and configured the DNS servers to my ISP's servers.
  2. I then set the ethernet IP address on the iMac manually to be 192.168.128.200. So it was on the same network.
  3. Retrospect/Windows still couldn't see the iMac client, so I turned off Retrospect Client on the iMac, then turned off the AirPort, then turned Retrospect Client on again. I was then able to find it from the PC. I then reenabled AirPort on the iMac and was again able to see Retrospect client. (I knew to try this because I've noticed before that Retrospect Client gets "stuck" on the AirPort irregardless of my OS X network port preference configuration; even when there's a physical link Retrospect ignores it. I have to disable the AirPort to get it to use the wired link. I don't know if this is an OS X or Retrospect bug, but Retrospect is, in general, the crummiest piece of non-Microsoft software I've ever used.
PS. Qwest is even further behind on getting my DSL configured.

Update 8/16

I've just discovered that I can't set the AirPort to WPA2 only -- that isn't an option for G3 iBooks. Probably note enough horsepower. Makes me wonder how much of a battery drain WPA is. I've noticed my iBook losing power pretty quickly. I'm going to monitor xBattery with the AirPort on and off ...

Wednesday, August 03, 2005

Good advice on new iMac purchases: run hardware test immediately

Macintouch: iMac G5 (Part 12)

I'm definitely going to do this:
My advice? If you buy an iMac, get it set up, run Software Update, then run Apple Hardware Test. (Put in the DVD that came with the computer, restart holding down the Option key, click on AHT, click the next arrow.) Run the 'extended test', which will take 30 minutes or so. If it reports any failures, take the computer back to the Apple Store and exchange it for a new one.
Apple probably took a bridge too far when they put the G5 and a modern hard drive in this enclosure.

Update: If you want to run the hardware test repeatedly, type Ctrl-L to switch AHT to loop mode. Also, if you're accustomed to earlier versions of AHT, you may wonder how to get started. The directions are in small print on DVD 1 of the 2 DVD set. It takes a LONG time to go through the AHT selection and startup process; be patient. The machine is not dead, it's just .... thinking. A lot.

USB Overdrive: a great solution to undersupported or unsupported USB game and other devices with OS X

USB Overdrive
The USB Overdrive X is a driver for Mac OS X (Jaguar, Panther and Tiger) that handles any USB mouse, trackball, joystick and gamepad from any manufacturer and lets you configure them either globally or on a per-application basis. It reads all kinds of wheels, buttons, switches and controls and supports scrolling, keyboard emulation, launching and all the usual stuff like clicking, control-clicking and so forth. The USB Overdrive can easily handle several USB devices at once.

Monday, August 01, 2005

Awakening a home to music - iTunes, Awaken and a stereo

The Unofficial Apple Weblog (TUAW)

If one has a home stereo receiver connected to an Airport Express and controlled by a workstation, then this tool could allow one's home to waken to music. A reason to add wireless speakers to the odl home stereo?
Awaken digital alarm clock utilizes iTunes. Posted Jul 29, 2005, 1:00 PM ET by Dave Caolo

My iMac lives in my bedroom, so it makes sense that I'd want to use it as an alarm clock. I know there are several ways to get this done, and today I discoverd one more: Embraceware's Awaken.

Awaken will wake you up by launching iTunes and playing a user-selected track or playlist at a designated time. Set up recurring alarms or individual, date-specific occurrences. Other features include a sleep timer for drifting off to your favorite music, podcast support (be awakend by your favorite podcast) and a wake-from-sleep feature that rouses your Mac from sleep mode if need be (why should you be the only one inconvenienced?).

Awake requires Mac OS 10.3 or later and iTunes 3.0 or later (note that iTunes v.4.0 or later is required to display album art with alarm notifications). There is a 14 day trial version available, and a single license will run you $8.95US.

QuickTime bug: MakerNote info corruption (also affects iPhoto)

JakeO.com - Exifixer is an EXIF image reader library in PHP

This bug apparently causes massive bloat and slowdown in some iPhoto libraries: "QuickTime (including iPhoto) messes up the MakerNote tag for certain photos (no workaround yet)".

From Macintouch on 7/27:

Eric Lindsay

...This occurs when photographs from certain cameras including some or all Pentax and Nikon are included in your Library. These cameras include in their JPG EXIF information called a MakerNote. For most cameras the MakerNote is a few hundred bytes. In a Pentax Optio, the MakerNote is around 40KB.

iPhoto 4 stores the MakerNote in the Data directory for each day of photos, in a file called *.attr There is one such .attr file for each photo. Because iPhoto 4 has separate files, it does not slow down on closing the way iPhoto 5 does.

iPhoto 5 combines all these .attr files with their large MakerNotes in a file called Library.iPhoto. If you have say 6000 photos, and each has a 40KB MakerNote included, this makes Library.iPhoto expand to over 250MB.

If you have such a bloated Library in iPhoto 5, you can demonstrate this making a new Library from a bunch of photos. Then remove the MakerNote from the same bunch of photos, and import them into another new Library. Compare the size of Library.iPhoto.

There is a Perl script at anders.hultman.nu/data/makernote that can remove MakerNote. You need to amend the first line to point at your copy of Perl, and put the rmmn-100.pl script in your $PATH

So there are perhaps two issues:
  1. MakerNote corruption problem (maybe fixed since first noted)?
  2. Design issue with how iPhoto 5 consolidates MakerNotes (size not bigger than iPhoto 4 really, but slow shutdown due to how data is managed for users of Nikon cameras).
I use Canon cameras, so I'm not affected. Sounds like it may be a combination of more than one bug and a design decision.

High quality phone headset for Mac

MacInTouch: timely news and tips about the Apple Macintosh

These will be big for making personal voice calls from the cube computer in one's office:
The Sennheiser M145 is a computer and multimedia headset that combines high-fidelity stereo headphones with a hands-free, noise-canceling microphone. The headset includes a dedicated USB adapter with built-in soundcard electronics. Designed to be plug-and-play with any Mac OS up through Mac OS X 10.4, the Sennheiser M145 is $120. (Sennheiser web site not yet updated.)

The best part of OS X 10.4.2? Simple Finder for kids

Apple - Mac OS X - Family

My new machine came with Tiger. So far it's mostly a posterior pain. Old software has to be upgraded, the install is bigger, Spotlight insists on indexing peripheral drives it should ignore, I can't see how to constrain search to a path, and Quartz Extreme is still disabled and Retrospect has no Tiger support in their (orphaned post acquistion?) Windows based Mac backup (you can use the Retrospect/Mac client -- but that's not a licensed use and it's not supported).

There are a lot of nice touches, but I don't see any big advantage in Tiger for me over 10.3.9. Given a choice, I'd still choose LaunchBar over Spotlight, and I had to pay $10 for the new version of Launchbar after I upgraded!

With one exception. In 10.4.2 the 'Simple Finder' (managed user option -- Children) is very nice. It was broken badly in 10.0-10.3, so it's great to see it back. The Simple Finder now supports multiple 'windows' based on the number of icons in a folder, and there's an option (choose from menu) to break out to the full finder. So an administrator can now log in as a child, then configure the system as needed, then return to child!

The kid support is almost worth the upgrade.