550 karma · joined March 25, 2007
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.
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.
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.
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.
That said, most likely this particular post is a genuine complaint plus an opportunistic idea.
You have infinite number of options and many of them can be better in terms of lifestyle. Don't limit yourself to anything that is artificially imposed on you. Such as society rules, industry rules, etc. There are other societies, other locations, other industries, other people on this planet. You don't have to take anything for granted. Think about that. Take it easy for now. Don't take immediate action. Try to be wise. Slowly come up with a plan.
Also, perhaps there's something to learn from the issue, in other words it's relevant (it's both hacker and news)
Otherwise, yes, I agree: this is meta news.
We had this discussion just recently: http://news.ycombinator.com/item?id=443769
BTW, why do you pull from git://repo.or.cz/emacs.git
http://news.ycombinator.com/item?id=231999
I'm really curious, has anyone here started competition? edu perhaps? (http://news.ycombinator.com/item?id=232092) Anyone else?
http://enterprisearchitecture.nih.gov/ArchLib/AT/TA/AccessCo...
Quite an upgrade if you use emacs -nw.
http://www.businessweek.com/magazine/content/05_05/b3918001_...
"For his part, Torvalds has been amply rewarded for his role, but he's no Bill Gates billionaire. OSDL pays him a salary of nearly $200,000. In addition, he sold initial public offering shares that he got as gifts from a couple of Linux companies, including VA Linux Systems. That helped him afford his house and put money away for his daughters' educations."
http://blog.intensedebate.com/2008/09/23/automattic-acquires...