349 reputation
19
bio website blog.cgdecker.com
location Pittsburgh, PA
age 31
visits member for 4 years, 7 months
seen Sep 30 '11 at 15:06

I'm on the Java libraries team at Google, where I work on Guava, Jimfs and more. I'm interested in Java, API design, I/O libraries, and loosely coupled, modular code.


Jun
16
comment stackapps data corpus
This probably shouldn't be tagged library.
Jun
11
comment Why does Stats Return a Statistics Array
It's fine for most methods to return an array, because they all potentially return multiple results. Except statistics. I don't expose it as a list in my library, but I can certainly say that it being an array doesn't make things any easier for me. If no wrapper library is going to expose it as a list, why should the API itself expose it as such? It really doesn't make sense to me.
Jun
11
comment Why does Stats Return a Statistics Array
Because it's a single result, I'd say.
Jun
9
comment Don't include answers in question lists by default
@Kevin: /answers/{id} and /users/{id}/answers now document this answers parameter, which doesn't make much sense to me. It doesn't seem to do anything though.
Jun
7
comment Question sort: change active to activity?
Yep, I saw that!
Jun
6
comment VoteCounts: bookmarklet to display up/down votes even for rep less than 1000
Honestly, I hope this prompts them to just remove this restriction on the sites themselves. It seems silly and arbitrary to me, and had me a bit confused when I couldn't see this info on here after getting used to seeing it on SO.
Jun
4
comment Provide a post listing changes to the API?
Cool, that will be very useful.
Jun
4
comment Provide a post listing changes to the API?
He's doing it anyway, for many things. They're just scattered around on different posts here. And yeah, I was thinking about writing something to grab all the method helps and diff them every so often, but haven't had time so far.
Jun
3
comment What is the best way to provide support for an unknowable number of StackExchange sites?
@Jason There's already been talk of something like that, but it won't be going in the per-site API. See: stackapps.com/questions/30/should-there-be-a-discovery-api
May
28
comment Users timeline help claims to be pageable but isn't
Are questions/{id}/timeline results also supposed to be wrapped in a page?
May
26
comment Last activity date
Just curious: none of the other sorts for /questions (including votes and newest) seem to support min or max or order, so I'd assumed it was an intentional restriction for all of them due to the large set of data involved. Are any of those supposed to have them too?
May
25
comment Last activity date
Yes, but it doesn't support min and max so you can't do this.
May
25
comment Last activity date
Of course, /questions doesn't haven an activity sort so you can't do it in that case... only creation date.
May
25
comment Document fields that may be not be included in responses
Great, thank you!
May
25
comment Methods that return comments document body and comments parameters but they do nothing
/users/{id}/mentioned still seems to have them.
May
23
comment API Key limit 10k is Per IP Address or Globally?
It would only take 34 users to be better off not using a key. o_O
May
23
comment API Key limit 10k is Per IP Address or Globally?
That would have to be a bug if true. It wouldn't make any sense to limit all users of an application from a single pool of calls.
May
23
comment Document fields that may be not be included in responses
I think it's entirely reasonable to expect certain values to be included. I'd like to document in the wrapper I'm working on whether or not users need to check for a null when retrieving a certain property or not. As far as the API changing: of course it can change, and I would expect to (possibly) have to update my wrapper if it does. Nothing is final until a locked-in API is available, but it would still make sense to document this for the API as it is now. Or even just to document it once 1.0 is ready... I'd like to know sooner, but I can live with that too.
May
23
comment Could there be a way to check stats on a key?
I think the per-IP-and-key limit to API requests is there to prevent (extreme) abuse as it is, and it seems like it'd be an issue for the StackExchange team more than you if the user were somehow causing an issue despite that.
May
23
comment Could there be a way to check stats on a key?
Why would you need to know that?