Archive for February 21, 2013

Thursday, February 21, 2013

AppleScript Equivalent of “continue”

AppleScript doesn’t have a continue statement, but Tom Lokhorst shows Ray Robertson’s trick of simulating one using an extra loop and exit repeat (AppleScript’s equivalent of break).

Drobo 5D Review

Cabel Sasser:

The Drobo 5D will not mount until you install the Drobo software. (See here.) The Drobo software includes, among other kernel extensions, DroboTBT.kext, Drobo’s “SCSI Thunderbolt Controller”.

He says it’s fast, though.

PDF.js

Mozilla:

Firefox for Windows, Mac and Linux introduces a built-in browser PDF viewer that allows you to read PDFs directly within the browser, making reading PDFs easier because you don’t have to download the content or read it in a plugin like Reader.

Hacker News notes that the PDF viewer is implemented in 35K lines of JavaScript. It’s impressive that the performance is apparently acceptable even on older hardware. Presumably this is also more secure than using a native plug-in.

Xcode Can Find Method Callers

Jonathan Rentzsch links to this Stack Overflow answer about how Xcode 4.5 uses static analysis to detect which methods could call the current method. See also Brian Webster’s answer.

Changing Your Password Doesn’t Revoke OAuth Access

Brent Simmons:

Yes, I can go into my Twitter settings and revoke access to any one or more apps. And: I’m a developer, and I’ve written OAuth client code — I’ve even written Twitter-specific code.

But here’s what normal people think: I’ll change my password and everything will be okay.