Archive for January 2, 2014

Thursday, January 2, 2014 [Tweets] [Favorites]

Identifying and Handling Transient or Special Data on the Clipboard

Smile Software’s NSPasteboard.org is a reference document about how Mac apps can cooperate when using the system pasteboard:

TextExpander, Butler, TypeIt4Me, Typinator, Keyboard Maestro, pasteboard history applications, and other applications briefly commandeer Mac OS X’s general pasteboard to transport large chunks of data into the user’s current context quickly. Often, shortly after this data is inserted, the pasteboard is returned to its previous contents. These applications need a way to identify their data as being temporary, different than content Copied by the user, and/or otherwise special – additional pasteboard types offer a solution.

CopyPaste, PTHPasteboard, iClip, and other pasteboard history utilities maintain histories of the pasteboard’s contents. Pasteboard data identified as transient should not be included in these histories.

Additionally, password utilities such as 1Password might mark passwords or other sensitive data, either placed programmatically or user-Copied to the pasteboard, so that pasteboard history utilities could obfuscate passwords when displayed on screen (to avoid inadvertently revealing your password to a “shoulder surfer”), and/or avoid writing them as plain text to a pasteboard history file.

No iTunes Extras on Apple TV or iOS

Rene Ritchie (via John Gruber):

Back on September 9, 2009, Apple introduced iTunes Extras, an HTML5-based way for studios to include digital versions of director’s commentary tracks, behind the scenes videos, and the other kinds of bonus material commonly found on DVD and Blu-Ray. The original OS X 10.4 Tiger-based Apple TV was updated to support iTunes Extras, and it’s musical cousin, iTunes LP. Then, on September 1, 2010, Apple announced an all-new, all-streaming, all-iOS second generation Apple TV, and... iTunes Extras didn’t survive the transition. Not only that, they didn’t get added back with subsequent software updates. On March 7, 2012, Apple announced the third generation, 1080p Apple TV, and still no iTunes Extras. Now, some 4 years later, iTunes Extras on Apple TV are still MIA.

I’ve been buying more video content from iTunes lately, but I buy my favorite content on disc because of the extras (and picture quality).

Network Time Machine Without a Time Capsule

Adam C. Engst notes that Time Machine now supports backing up to a hard drive connected to an AirPort Extreme Base Station:

What’s most compelling about backing up to an AirPort Disk, as opposed to an AirPort Time Capsule, is that you’re not combining two entirely unrelated pieces of hardware in one package. If the AirPort Time Capsule’s hard drive fails, it’s difficult to replace, and if you want to upgrade the wireless gateway side of the equation, there’s no easy way to bring your backups over to the new device. With an AirPort Extreme Base Station and attached USB hard drive, you gain more flexibility.

Being able to, occasionally, connect the drive directly to the Mac is huge. It helps work around the two biggest problems with the Time Capsule: slow restores over the network and the inability to use disk repair software when something goes wrong.

RuntimeWrapping

Kyle Sluder:

This project demonstrates how to wrap a C function—specifically, printf(3).

Seems like this could be useful for debugging in the field.