Better HN
topnewbestaskshowjobs
Log inSign up

digitallimit

1 karma · joined Nov 25, 2011 (15y ago) · 15 submissions

Submissions

comment 14y ago · link · parent

In a lot of APIs I've dealt with, you can create resources with ids that match your own resources, hence wanting to use PUT for creation, e.g. if you have users in your application and you want to extend them to this web service, instead of having to store an additional "foreign key" per user, you can just PUT users in the web service with ids from your own service.

I'm doing this for the API I'm building, as modeled on FatSecret's API.

comment 14y ago · link · parent

I'd appreciate other people's input on these choices. I'm currently implementing an API much in the way of these standards, but I'm almost buckling and implementing PATCH since I feel dirty having PUT do so much, so incorrectly.

comment 14y ago · link · parent

I searched for "Hero Academy" and the first result was Google's 5th result, a site called Hero Academy with the url "hero-academy.com". That's not very "million short", IMHO.

comment 14y ago · link · parent

Keep me posted! (mherodev at gmail)

comment 14y ago · link · parent

How does Ruby compare?

comment 14y ago · link · parent

How do I install this for use on my website? I've never included fonts before, outside of the Google Web Fonts API which just asks I stick a link tag in the template.

<link href='http://fonts.googleapis.com/css?family=Oxygen rel='stylesheet' type='text/css'>

comment 14y ago · link · parent

Madison, Wisconsin (http://g.co/maps/pnsev) has an imagined Monona Terrace as well as some kids with silly hats.

comment 14y ago · link · parent

You're just missing the stark, black and white interface.

comment 14y ago · link · parent

What the hell is "Games List?"

comment 14y ago · link · parent

Better yet, Draw With Friends.

comment 14y ago · link · parent

Are you guys hiring? :P

comment 14y ago · link · parent

How do you switch back with the mouse?

13.

Ask HN: How do I track down the HTML5 Rocks' Scrollbar source?

2 points · by digitallimit · 14y ago · discuss

comment 14y ago · link · parent

I really like the look of the scrollbars on HTML5 Rocks' home site under Mobile and Business and I want to use them, or at least check out the code for inspiration on making my own.

That said, my usual route of inspecting the element, grabbing the relevant class or id, and then scouring scripts via Find has left me empty handed, in large part due to the minification making the scripts much harder to read, and my inability to find any js references to that one_half class that is applying the new sex.

Does anyone have any other strategies?

I reposted this text since it doesn't appear under the parent (apparently you can't do a link with text).