Better HN
topnewbestaskshowjobs
Log inSign up

elight

3 karma · joined May 4, 2010 (16y ago) · 5 submissions

Submissions

comment 16y ago · link · parent

"get(:member) do |id|" or "get "/api/v1/report/:id" do |id|" have the virtue of being pretty damn explicit.

As far as ensuring API consistency (a fine goal), it wouldn't be altogether difficult to have a rake task that prints the full set of routes to STDOUT for app's using such a framework. Load all of the controllers, make a route table, then emit said route table. This provides a holistic view of Sinatra-like routes similar to "rake routes".

Just the same, I can see how for apps with many types of resources, remembering the precise URL incantation would PROBABLY be more difficult than remembering Rails generated path/URL helpers.

comment 16y ago · link · parent

IANAD but several symptoms sound like possible fits for Huntington's Disease. However, given you've had these symptoms for 18 years, HD doesn't sound too likely.

HD could explain the fatigue, muscle tension, and reduced motor skills. However, it would likely also (but not always) be accompanied by other behavioral changes and cognitive changes.

You're also less likely due to age but i wouldn't rule it out on that basis from experience.

HD would not account for your numbness and dizziness.

Also curious if Wilson's Disease could be a more accurate fit. Fortunately, it's treatable.

http://en.wikipedia.org/wiki/Huntingtons_disease http://en.wikipedia.org/wiki/Wilsons_disease

comment 16y ago · link · parent

Serioously and i thought that it was just me. I'm so glad to have found GMail Users Not-so-anonymous!

comment 16y ago · link · parent

Seeing as Dave Browning (half of We're Two Guys) works with us (We Are Titans, http://wearetitans.net), I'll second that.

comment 16y ago · link · parent

John Resig only invented jQuery. Small feat there.

Sarcasm aside, _why's influence was felt beyond the Ruby community.