5,114 reputation
1712
bio website davedelong.com
location Cupertino, CA
age 28
visits member for 4 years, 6 months
seen Jun 26 '13 at 18:20

I'm Dave, and I love Objective-C.

My Projects:

  • DDMathParser - a library for parsing NSString objects as mathematical expressions and evaluating them
  • CHCSVParser - a library for reading and writing CSV files
  • DDUnitConverter - a simple library for converting between units
  • StackKit - a framework for using the StackExchange API.

If you think I'm a nice guy, check out my Amazon Wishlist! :)


My answers and opinions expressed here are my own and do not represent my employer's views in any way.


Feb
29
comment Is there a meta api?
+1 I think this is what I was remembering. Thanks!
Feb
21
comment Sorting the event stream
Hm, I seem to have misinterpreted the results of the stream. I'll go play with it and then come back. Thanks for taking the time to explain this.
Feb
18
comment StackKit: an API framework for Cocoa
FYI, I've been putting a lot of work recently into the 2.0 branch.
Feb
13
comment Events: field request
Excellent! Thank you for the clarification.
Feb
12
comment Events: field request
@Jonathan. Thanks; in that light, I've updated my question :)
Feb
12
comment Events: field request
@Jonathan. I thought event_id was an identifier for the event itself, and not the thing to which the event refers
Jan
10
comment API Inconsistencies
Thanks for the updates to Tags and inname usage. What about the values passed to the sort parameter?
Jan
5
comment API Inconsistencies
Badge and User have a many-to-many relationship. Proper decomposition mandates that the way to model that correctly with a -to-one relationship on one side (which is what JSON can handle) is with another object, the Awarded Badge. I understand that text searching is expensive. It's just frustrating to think "ok, this had inname, that had inname, this should to. Wait, it doesn't? wtf?".
Jan
5
comment API Inconsistencies
(Comments in order) I'm willing to let things like hot, week, and month slide as sort values on questions, because there's no way for clients to duplicate the algorithm used to determine the "hotness" of a question. But I maintain that consuming the API is not the same thing as using the site. The API is for us developers, and thus it should be consistent. If I'm sorting by the score of a question, then don't call it votes, call it score. If I'm sorting by when an object was creation, don't call it creation, call it creation_date. The sort key should match the object field.
Jan
5
comment API Inconsistencies
@Jonathan. good point on award_count, but I definitely think total_award_count would be a better name. Making the semantic meaning of a field dependent on the context is a bad idea. Badges, IMO, shouldn't contain any user-specific information, because there's nothing inherent about a badge that has to do with a User.
Jan
4
comment Documentation sorted by return type
Hooray for status-planned!!!
Jan
4
comment filter=total is returning 0?
Excellent, thank you! :)
Jan
2
comment Documentation sorted by return type
And to emphasize how much I think this should be done, I will gladly put up the maximum bounty if people need convincing.
Dec
22
comment StackKit: an API framework for Cocoa
Not actively, no. I've been thinking about resurrecting it for the 2.0 SDK, however. We'll see...
Feb
22
comment StackKit: an API framework for Cocoa
FYI, this is now in place on the development branch. You can request the associated accounts of a user via the SKSiteManager object.
Feb
20
comment Any guarantees on JSON string encoding?
Awesome, thanks. Just making sure. :)
Feb
16
comment Enumerated types documentation in 1.1 API
Hooray! Thank you! :D
Feb
15
comment StackKit: an API framework for Cocoa
technically the "coredata" branch is experimental. Once I get it to a point where I'm mostly satisfied with it, I'll merge it in to "master". However, it should be stable. If you find issues with it, be sure to let me know.
Feb
15
comment StackKit: an API framework for Cocoa
glad to hear it! to contribute changes, you can fork the repository on github, make your changes, and send me a pull request. Also, the requests are executed on the SKSite in the same way that NSFetchRequests are executed on an NSManagedObjectContext.
Feb
12
comment Provide a method to search for sites
+1 I really don't see the benefit of pagination on the /sites results. I'm never going to want only some of the sites; I want all or nothing.