I like social software, data storage, audio, crypto, dynamic languages, and UI design.

Currently at Couchbase; lead developer of Couchbase Mobile for iOS (previously known as TouchDB) and the Couchbase Sync Gateway server.

Ex-Apple, and an incurable Apple fanboy.

Jul
1
comment CFHTTPMessageAddAuthentication fails to add authentication data to request
I looked up error -1000 on osstatus.com — it's kCFStreamErrorHTTPAuthenticationTypeUnsupported (as defined in CFHTTPAuthentication.h.) Which implies digest auth isn't supported; that's strange. Also, domain 4 is kCFStreamErrorDomainHTTP.
Jun
30
comment Couchbase mobile replication through REST-API
Oops, forgot that the Return key ends a comment! Also meant to say that you can use a replication filter to prevent a design doc from being pushed.
Jun
30
comment Couchbase mobile replication through REST-API
@Bert, I suggest filing an issue against Sync Gateway. I tried a PUT to a design-doc URL and got a 403, but it may be that when it's uploaded as part of a bulk_docs call it still returns 400.
Jun
29
comment Couchbase mobile replication through REST-API
Heh. I wouldn't say they're "petty" — the rules make sense from a security standpoint since they eliminate a wide variety of remote-code-execution vulnerabilities from buggy interpreters (like Flash.) "Overly strict" perhaps.
Jun
26
answered Couchbase mobile replication through REST-API
Jan
28
awarded Student
Jan
28
asked Exchange account in Mail has wrong username, but is not editable
Jan
28
awarded Autobiographer
Jan
25
awarded Yearling
Jan
25
awarded Autobiographer
Jan
1
awarded Nice Answer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Aug
16
comment When is it best to use object_setInstanceVariable OR object_setIvar in the Objective-C Runtime?
object_setInstanceVariable is unavailable when compiling with ARC.
Aug
7
awarded Supporter
Jun
17
awarded Yearling
Jun
17
answered CBLQuery map/reduce for arrays property
Mar
11
answered Ideal Replication Filter for JSON based Databases Like Couchbase, CouchbaseLite, CouchDB, etc.?
Nov
7
comment Implementing sqlite3_busy_timeout() in an iOS app
Transactions are good, but have nothing to do with the OP's issue, which is how to handle SQLITE_BUSY errors that result when trying to run a query/statement while another thread is holding the database lock.
Oct
9
comment iPhone/iPad/OSX: How to get my IP address programmatically?
I don't think this works correctly with IPv6. The inet_ntoa function takes an IPv4 address, so in the case where sa_type == AF_INET6, you're taking the IPv6 address and type-casting it to IPv4 and turning that to a string (basically from the high 32 bits of the 128-bit address.)
1 2 3 4