Wednesday, March 14, 2007

DateBk for PalmOS: the DST fix

I don't do much new PalmOS any more, but I still rely on my T2. That might change when the iPhone is real, but for now I use my old apps every day. One of my favorites is Pimlico DateBk, a product that deserves better than the decaying Palm platform. I'm on version 5 and I don't feel driven to upgrade, but the time feature on v5 is out of whack. Happily, DateBk's rules for time zones are data driven, and one can simply edit the data. This description is for DateBk6 but it's the same for DateBk5:
DateBk6 FAQ's

USA has changed DST rules for 2007 - what do I need to do if I'm using TimeZones?

All you need to do is edit the WORLD TIMEZONES memopad record that has all the timezone information including the rules for handling Daylight Savings in different parts of the world. The default data in that record uses rule 'A' for the USA and for 2007 it should be defined as:

.A 2103 1111 US Std. - for 2007 (old value was: .A 1104 L110 US Std.)

2103: The '2' says the "second" day of the week, the '1' indicates Sunday, and 03 indicates the month of March. 1111: The '1' says the 'first' day of the weeks, the '1' indicates a Sunday, and 11 indicates the month of November. So DST runs from the second Sunday in March through the first Sunday in November for 2007.

You can also just download the current release of DateBk5/6 and unzip the dbSetup.prc (dbSetup6 for DateBk6) file and run that to re-install the World Timezones database as that now includes the correct information for 2007.
I realized after posting this that he mentions an update to DateBk5, the version I use. I installed that dbSetup as per the above directions.

Coding Horror builds a new PC

It's been years since I built my XP box, and it's likely I'll not build another one (Apple doesn't work that way.)

Even so, I like reading about a state of the art build like this one?Coding Horror: My Work PC, or, Taking Your Own Advice. The systems came it at $650, including a 10,000 rpm drive.

Keyword Assistant updated for iPhoto 6.0.6

iPhoto has had a small update, so my copy of Ken Ferry's indispensable Keyword Assistant has put itself into safe mode.

Happily, Ken was right on top of this update. KA has been updated:
Software: Keyword Assistant

This version requires iPhoto 4.0.3 - iPhoto 6.0.6 and Mac OS X 10.4.8. It runs natively on Intel- and PowerPC-based computers. See the changelog for what's new.
As with all prior versions, you need to switch to an Admin account to install KA. I've complained about this to Ken (at least it should provide a helpful error message), but it's hard to bellyache too much about a free product.

PocketDock AV: every cable solution for an iPod

AppleInsider pointed me to: SendStation - Products - PocketDock AV. It'd the ultimate dock/cable solution for an iPod, including S-video output. It's primarily of interest to anyone doing video out from an iPod. It will cost $37 when it's really available. I'm tempted.

How to extract images from resistant outlook emails (img src is cid)

I received an unusually interesting email of alleged comparative planetary sizes from a colleague, but I was unable to extract the embedded images. When I saved the HTML I found text like this (angle brackets changed to [] due to Firefox/Blogger limitation):
[img id="MA2.1171429358" src="cid:part2.02060304.06000606@earthlink.net" datasize="32941" border="0" height="423" width="754" /]
A Google search resolved the mystery (Where is imagedata). If you use Microsoft Word as your Outlook text editor, this is how images are embedded. It has the interesting side effect that the images cannot be easily extracted, that may be intentional. I wonder if there's a way to use the apparent embedded identifier trace the image back to an email account ...

In any case, I transiently switched my Outlook editor to Word 2003 and I was able to individually (but not all at once) save each image as a separate BMP.

TextEdit can contain mutiple PDF documents

macosxhints.com - Embed multiple PDFs in one TextEdit document. TextEdit is a bit of a playground for Apple's OS X developers. There are quite a surprises in it.

If you have several PDFs you'd like to organize, dropping them all into a single TextEdit document is one way to do it.

Tuesday, March 13, 2007

How FairPlay Works

Schneier pointed to this very well done description of Apple's FairPlay, including a nice discussion of AAC:
How FairPlay Works: Apple's iTunes DRM Dilemma

Protected, purchased content is locked within iTunes; songs are not scrambled on Apple's server. This speeds and simplifies the transaction by delegating that work to iTunes on the local computer.

The result is an authorization system that does not require iTunes to verify each song with Apple as it plays. Instead, iTunes maintains a collection of user keys for all the purchased tracks in its library.

To play a protected AAC song, iTunes uses the matching user key to unlock the master key stored within the song file, when is then used to unscramble the song data.

Every time a new track is purchased, a new user key may be created; those keys are all encrypted and stored on the authorized iTunes computer, as well as being copied to Apple's servers.

When a new computer is authorized, it also generates a globally unique ID number for itself and sends it to Apple, which stores it as one of the five authorizations in the user account.

Apple's server sends the newly authorized machine the entire set of user keys for all the tracks purchased under the account, so all authorized systems will be able to play all purchased songs.
I didn't realize AAC was used by satellite radio. The essay also explains why Job wrote his anti-DRM post. The writing is really on the wall for DRM.