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.

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.)
Oct
8
answered NSLevelIndicator fading when not highlighted
Oct
3
answered Allow multiple replications with the same (source, target) dbs using TouchDB
Sep
19
answered Pulling data out of a string formatted like XML with <keys>values</keys>
Feb
16
answered Authentication in couchdb for ios
Feb
12
awarded Popular Question
Aug
25
answered Serialize and Deserialize Objective-C objects into JSON
May
30
answered How to use initWithModulus function in MyCrypto library?
May
24
answered Commutative cipher recognizing proper decryption?
May
24
comment XML parsing text encoding problem
This will work, as long as the XML data was encoded using UTF-8. You can't guarantee that, though, so this is a bit fragile. The solution I just posted below will work better with different file encodings.
May
24
answered XML parsing text encoding problem
May
24
answered Can I use a common style resource for Interface Builder and if so how?
May
24
comment Problem Executing Vacuum command in sqlite3 on iphone
Vacuum can definitely be slow with a large fragmented database, since it's going to reorder a lot of the data in the file. You shouldn't need to use this call in modern versions of sqlite, since autovacuum will do the cleanup incrementally. Check the sqlite.org docs.
May
24
answered NSTextView add URL link to the selected Text?
1 2 3 4