workaround

25 Jun 2011

File this under Ultra-Niche. If you happen to be one of the three people in the world using Adobe's easy-to-use and powerful ExtendScript to script the CS*-series of tools (e.g., Photoshop) and you're using the FIle object to write out files manually, read on.

Under Snow Leopard, the following code would work (you'll find variants of this code floating around the Internets):

(more...)

Adobe ExtendScript File object gotcha under OS X Lion

The File object behaves differently in ExtendScript under OS X Lion.

13 Oct 2010

In compiling the Feathers Visage target in Xcode 3.2.4 with the iOS 4.1 SDK, I got the following compiler error on my Prefix.pch file:

CGPDFContext.h:60:23: error: expected function body after function declarator

(more...)

Expected function body after function declarator error with Xcode 3.2.4 and iOS 4.1 (and workaround)

A strange compile-time error and workaround on Xcode 3.2.4/iOS 4.1 SDK.

18 Sep 2010

While building with Justin Williams's excellent SFHFKeychainUtils (which makes it easy as pie to work with Keychain on iOS) with Xcode 3.2.4/iOS 4.1 using the LLVM compiler, I got a list of 20-or-so errors. A quick Google search revealed a Stack Overflow thread that appeared to be related in which the prolific Mr. Ben Gottlieb suggests removing

any #ifdefs that refer to TARGET_ IPHONE_SIMULATOR

(more...)

SFHFKeychainUtils with LLVM (Xcode 3.2.4/iOS 4.1)

Compiling SFHFKeychainUtils with Xcode 3.2.4/iOS 4.1 SDK using the LLVM compiler.

9 Jul 2008

Sometimes, when I connect using my T-Mobile USB stick, I can't get Safari or other apps to recognize the Internet connection. I believe this happens with apps that had previously connected to the Net using another interface (e.g., WiFi/en1).

The way I get it to work is to try to load a page in Safari. As it's trying, I disconnect the T-Mobile connection. Then, I reconnect.

(more...)

T-Mobile USB stick connection issue workaround on OS X

25 Jun 2008

After running through a lot of merges last night (I was incrementally going through several changesets to see where I'd introduced an interesting regression) and updating to the HEAD revision and fixing the bug, I got the following error message while trying to commit:

svn: Commit failed (details follow):
svn: Your file or directory 'paypal.py' is probably out-of-date
svn: The version resource does not correspond to the resource within the transaction.  Either the requested version resource is out of date (needs to be updated), or the requested version resource is newer than the transaction root (restart the commit).

(more...)

SVN commit failed error