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.