News for hackers. Stuff that matters.

Qix

Re:Ask HN: Version numbers in a REST API on Saturday July 17, 2010 @09:10AM (#1523720)
Maybe, but what do I do if the header is missing? Use the latest version?

If I use the latest version it is likely developers will simple leave the header out since it "Just Works" without it.

Then when I make a breaking change to the latest API those applications will get screwed. Yes its mostly their fault -- but its my problem.

Re:Ask HN: Version numbers in a REST API on Saturday July 17, 2010 @09:06AM (#1523717)
How about putting the version number in the hostname?

https://api-v1.xxxy.com/clients/list

I believe its a little neater than /v1/clients/list, albeit a little less standard.

Re:Web app ideas on Sunday May 30, 2010 @06:25PM (#1391219)
I liked your idea #5 (Website visualizer) and have been looking for an excuse to play with the Raphael javascript library.

Just hacked together a little initial demo (still needs a lot of work), but think it will look decent when I'm done with it.

Posted on github.com at http://github.com/qix/Sitemap

Ask HN: Syntax aware code search for refactoring?

While refactoring projects regular expressions have (particularly using regexxer) have become one of my core tools but there a couple things its really not good at such as "insert a third value to every call to the xxy function of NULL".My solution to the problem is to create a syntax aware regular expression searcher, almost in the same way as syntax coloring works. The search syntax...

( Read More... | no comments | on HN )