kmt | 15 years ago | on: The joys of maintenance programming
kmt's comments
kmt | 15 years ago | on: Tell HN: Read Maxim and other trashy "guy" rags.
kmt | 15 years ago | on: Some tidbits from Joel Spolsky's talk last night on recruiting programmers
kmt | 15 years ago | on: DuckDuckGo's new privacy policy tried to explain why you should care
kmt | 16 years ago | on: How to Afford Anything
Anyway, my point was that his recommendations are not worth much.
kmt | 16 years ago | on: How to Afford Anything
Incidentally, for those interested in photography I wouldn't take this guy's photo advise either. The guy lacks depth in understanding and sometimes makes statements that are just ridiculous.
kmt | 16 years ago | on: For loops help - comp.lang.c
kmt | 16 years ago | on: Ask HN: Please don't submit April Fools stories. Please don't vote them up.
This is all recreational. But it sometimes also gives you perspective. Makes you think in a different way. That can't be bad.
Besides, those who are really bothered by the jokes and are that dependent on HN that they cannot live without it for a day seem to have a different problem.
kmt | 16 years ago | on: Hacker News bans Google and all other search engines
kmt | 16 years ago | on: Crazy or Disciplined?
"The best you can hope for in this life is that your delusions are benign and your compulsions have utility."
In my mind, the whole post is very much worth reading. "This life" is basically here and now since times and societies change.
Reminds me of how back in the day I chose to do software although I had other talents and passions as well. It was not an easy choice but here I am now.
kmt | 16 years ago | on: Raising money for StackOverflow
kmt | 16 years ago | on: Common REST Mistakes
kmt | 16 years ago | on: Common REST Mistakes
I said simple as possible, but the real world is always complex and one day you may have to use something other than JSON-RPC in which case someone will have to create an adapter or an abstraction. Thankfully this is easy to do in software even if it sometimes looks nightmarish.
kmt | 16 years ago | on: Common REST Mistakes
With REST, you are not adding more special meaning than the HTTP methods. Using those methods according to the spec is all there is to it. If that's enough to do your business, why add more to it? Things should be simple as much as possible.
kmt | 16 years ago | on: Common REST Mistakes
If not logged in, redirect to a login page (resource) which upon success redirects back, e.g. GET login?next=desired_resource.
If logged in but not authorized to perform the action on the resource return 401.
That's it basically, isn't it? Also not trolling, challenge me if I'm missing something please.
kmt | 16 years ago | on: Emacs and Screen
kmt | 16 years ago | on: Common REST Mistakes
Of course, there can be authentication and authorization but, really, there's no need for a session since you have to do those two on each http request anyway.
kmt | 16 years ago | on: Ask HN: Gmail alternatives?
kmt | 16 years ago | on: Ask HN: What became of Steve Yegge's "Rhino on Rails"?
kmt | 16 years ago | on: Ask HN: What became of Steve Yegge's "Rhino on Rails"?