skysight-inc/HackerNews huggingface dataset:
The part about using "Accept" headers instead of "/v1/" links really threw me for a loop. The APIs I've come across from major applications (e.g. Twitter, Foursquare, Instagram) all have versioning in the link structure, not in the "Accept" headers. I understand that this post is supposed to highlight what REST APIs should do, not what everyone should do, but the author's emphatic insistence that "THIS IS BAD!!!!!1" leaves me confused as to what the proper method is.
The MET test was not a pure U-233 design, it was a mixture of Pu-239 and U-233, it also had 1/3 lower yield than the equivalent design using U-235.
Given that (1) most people are or are becoming "authors" now that the tools to create and distribute have become much more distributed then ever before; that (2) the way copyright works at the moment is to reward only popularity, not original creativity; that (3) for any author obscurity is a much larger problem then infringement ever could be; that (4) creativity may not need encouragement as becomes obvious seeing how much is intentionally produced to be widely distributed for free (open source, creative commons, youtube, etc)?; that (5) only a very tiny percentage of authors will ever get "rich" of their work.

So perhaps we need to look at another solution?

An unconditional basic income for all would support authors/artists/anyone exactly at the moment they need it to do their work. It will not make anyone rich, but it will enable works that can't be created at the moment (because the artist needs to do other work instead). When an author does become populair they will not have been forced into an unfavorable contract with a publisher when they where broke, working poor.

An unconditional basic income would enable people to be creative, it would pay just enough so that money isn't an issue anymore. This would be more effective way to promote the arts and sciences then copyright in its current form.
Although, since at the moment greece borrows from emergency sources, one can't be sure how representative the price is (up or down)
I think his main problem with the m.domain.com was redirecting to the main page. If it did a 303 See Other to the mobile version of the same article it wouldn't break the spec, as far as I can understand it.
Wouldn't it be more productive to create things for resume items?
What if you've been lending the money to him that he's spent on booze and gambling? And what if you're very well paid to make good decisions about lending money?

Shouldn't you then be forced to take a very serious, if not complete, loss on the money you lent to him? It's your own fault you lent it to a wastrel. Why should you be bailed out, exactly?
It depends on what content is translated. I think that Accept-Language is OK for UI elements - seeing 'entrar' instead of 'log in' and elements like that. For actual content, probably not.
Not sure how you figure that, India's whole research program is geared toward a pure-thorium future.

http://en.wikipedia.org/wiki/India%27s_three_stage_nuclear_p...
IR_Black on MacOS X Lion
I'm not sure the usual analogy between household and nation's spending is useful. Countries work in fundamentally different ways from people.
The real problem is that there's not really a term for what we do.

Package Manager (or Software Manager)? Seems like a Windows analog to Apt. Googling windows package manager leads me to something called Npackd that looks similar to your tool (though it is quite ugly/complex looking) at at glance.
Aren't there like 5 other versions of this?
You're right about what I'm arguing and you're right in your analysis.

I think the political situation is very unfortunate and that the large European economies which effectively control the ECB are screwing up. Partly I think the problem is that the media analysis has ignored the possibility the austerity measures could be the cause the complications. The facts of this article at least seem to lend credence to the "stimulus hypothesis" and to take credibility away from austerity. It is the media's job to point that out in order to inform public opinion so that the political problems you mentioned are overcome.
Find out the Global Rank of your website
I had the pleasure of meeting Len in the early 2000's through my involvement with the cyberpunk and privacy community. I always respected his advice and saw him as trusted collegue.

My sincere thoughts and prayers are with you in this time of loss. Please do let me know if you both had a charity and/or organization you supported.

Hugs from Washington

Robert Guerra
Managing director, Privaterra
Not buying it. If there was a facebook rule for "college students only", it was because facebook was for college students.

I have no doubt that many companies and headhunters look for recent graduates not because they have just been taught the finer points of development, but because they are most likely young.

If this website was slightly less veiled it would be called 20sToStartup.com, and you wouldn't even dare call that acceptable niche marketing. Maybe that's ok for cars and music, but not for peoples livelihoods.
/search/bass/sort/artist/

That doesn't look like a hierarchical resource. You probably don't list sort options under /search/bass/sort/, and even then /search/bass/sort/artist/ wouldn't be logical subset of that.

This URL looks more like a different view on /search/bass resource, so /search/bass?sort=artist is IMHO more appropriate.
I don't understand the point of "uri":"/transactions/1". Isn't the new resource's URI already part of the response (in the Location: header)? It's sort of like saying GET /posts/show/1 vs. GET /posts/1.
This is an excellent example of a spec being deemed more important than a useable system.

Frankly, I don't give a damn about the REST spec, and neither should you. When I see an API I want it to be simple and clear.

/getAllPages/

Hey, it's a verb and I've got a pretty good idea of what I'm going to get back

/getAllPageNames/returnType/JSON

Now I really know what I'm getting. The simplicity and usability of this structure absolutely trumps a spec compliant call that involves request headers and nouns.

If you're building a system that requires having read someones dissertation, you're not doing us any favors. Especially when it comes to an API. Keep it simple, stupid.

Remember that your understanding of what a URL 'is' or 'should be' comes from a great deal of technical experience. If you're not working day in and day out to make powerful tools accessible to people WITHOUT such experience, please stop programming. Really, get out of the pool. Whatever awesome knowledge you need to make a system work internally is invaluable, but your interfaces should make the world a simpler, more magical place.
4D Snake / snake in 4 spatial dimensions
Glad you liked it. I'm not sure if I'll have time to implement it myself (I'm an academic.. more time for writing than hacking :-)) but I've worked on a very related project called SocialKeys: http://www.iab.org/wp-content/IAB-uploads/2011/03/arvind_nar...

It's been on hiatus for a while.. maybe this would be a good time to restart it.
MIT and the Ecosystem Hacker
Different economies with the same currency is a stupid idea. The problem in the eurozone is that some economies cooperate well (germany and france) , and some dont. Also, the euro has been strengthening vs the USD and GBP during the crisis, but still german exports were booming.
You make a good point, and if it wasn't for the panic that's been gripping everyone for the last 3 years any time there is any kind of talk of bad debt, I'd say "stand back and let whoever lent money to them do due diligence next time." Get it over with, get the bad paper out of the system. It's not enough money to cause collapse, it's a small fraction of, say, the US housing crisis. The problem is that the panics in the market make this into a very expensive proposition.
Well, at least after they default, they get the thing they've been trying so hard to reach: a balanced budget. For the simple reason that nobody will lend them a cent any longer. "There, fixed that for you guys."
It would take too much work to transform your hypothesis into something analogous to what's happening with Greece, so I'll just point out the major leak in the abstraction.

In your example my friend and I are two economically independent entities. Yes, I care about him on an emotional level, but not lending him money will not affect my income. This isn't so when you talk about Greece and the EU. Also, as any developed economy, Greece has a large economic capacity - it has advanced industry, technology, tourism, education, etc. In short, it has a lot of assets, so lending money to it would be more like lending money to my gambling friend who just happens to be an immortal Stu Ungar - yes, he's wildly dysfunctional, but the potential ROI is almost always worth it.
He's right, but older web developers might remember the alternative, which was having no design pattern at all.

Most web developers aren't going to read the computer science papers about REST, and how strictly you want to adhere to it, depends on you, and your development team. It's a design pattern, or a tool, but it's not a religion.

On that note, I've gone into several job interviews where they ask me to explain what REST is, and I always start with, "REST stands for Representational State Transfer...", at which point, I get the feeling that the interviewer wasn't aware of that, and I wind up telling them way more about REST than I think they wanted to know.
What framework did you wind up using? Tipfy seemed great at first but the docs aren't quite up to date, so I wound up sticking with webapp for the prototype for my project.
This is a great article. One challenge I am facing now is both building a RESTful API, along with a UI that uses the API. The biggest question I have is the use of shebangs in urls with the ajaxy app. We must support IE so pushState is out, but shebang just seems like a hack. I think at this point I have no choice but to implement shebang but I wonder if there are any viable alternatives?
Just because things are different, doesn't mean that certain analogies couldn't be useful.

I would argue that if you are aware that a person is not a nation and vice versa, that there are some traps on the way, this analogy is useful indeed.
> their heart is usually at least in the right place

I've normally seen that people in role #2 are just not prepared for the hard conversations that come with being a manager. Sometimes, you have to call people out on poor or below-potential performance. If you do, I've found that most people will either pick up the pace or quit. If you don't, well... things get bad.

The unfortunate chaps in role #2 leave poor performers around to poison the team (most coworkers slack off when they see somebody else slacking, particularly if you have the corporate-standard opaque compensation schemes), avoiding dealing with negative actions until either somebody else comes around and fixes it or the team is killed. I was in this situation once, where a string of #2s had been managing a decently-sized development team I was merging with and it took several months for me to sort through the people, clean house, and build a functional team again.

You know the worst part? There were a few fantastic people who had utterly languished due to being surrounded by mediocrity. On the other hand, that was also the best part, because the "let's talk about how we're going to get you working on bigger and better things" talk is much more enjoyable than the, "concretely, we expect you to be doing X, Y, and Z at your level, none of which you are" talk.

Type #2 managers leave a trail of broken teams and wasted potential in their wake. I respect few things as well as working for an upper-manager who can pick up on that behavior and nip it in the bud. At least, I think I would, if I'd ever seen it :-)
This is the same position Mark Nottingham (http://www.mnot.net/personal/) takes and expresses in his talk "Leveraging the Web for Services at Yahoo!"(http://www.infoq.com/presentations/services-without-soap-yah...).

However, Mark created a service called "Is It RESTful?" (http://isitrestful.com/) to deal with all the engineers asking him that question :)
I vehemently disagree with this statement. I have a few musician friends who now that they're over 40 and their rockstar career is over and they are settled and have family and all that, they are making a living by composing jingles for TV commercials. More than 50% of their income comes from royalties.
What I've seen in the past (mainly from Pylons) is to have an extension on the end of the URL so: /updates/ has a default format say XML and then there's a JSON resource called /updates.json, /updates.txt, etc.

Keep in mind what the R in REST stands for. Each resource is a representation of internal data. You can have multiple representations under different URLs even though they're powered by the same internal data structure. Ideally you'd use the Accept header to do it but sometimes you need to be practical.
I think you're saying roughly this: work is the process of turning time into money, and the open source community saves everyone's time, so less money could be made.

However, I think you might be missing the fact that the time saved from not reinventing the wheel countless times could be used to build better things. In fact, this happens a lot. Numerous companies and careers have been built by virtue of open source tools.
"There is a good moment in one of the otherwise terrible Star Trek movies..." - a knife to the heart in an otherwise interesting article. ;)
I don't have that problem on my MBP with 10.6.8. How are your Energy Saver preferences set up?
Trashing the plist and resetting it to how you like it might work--it's possible that the plist is corrupted.
Quadrotor Dynamic Control Using Kinect
Why bother writing unit tests?
Who outguns the other? Electronic Arts vs Zynga
Did you read the article? No matter nouns or verbs but in your example you are doing an HTTP GET. Does get getallpages sound right to you?

I did not downvote you but the REST architecture is well thought out, simple to follow, and very sufficient if you are moving content over HTTP.
Exactly. REST is interesting, but understand why its interesting. If you're doing it because its a popular buzzword, that's just cargo cult.

It's good to know about REST so you can use it where it makes sense. But at the end of the day, doing what is right for your app trumps following any given methodology.
Watch Bad Teacher Online Free Megavideo
Watch Bad Teacher Online Free Megavideo
Writers Lee Eisenberg and Gene Stupnitsky Bad Teacher is Elizabeth Halsey Diaz a caustic irresponsible materialistic high school teacher whose sole purpose in life is to connect a rich man so you can quit your job and live in luxury.
The title seems rather sensational. Is that really necessary?
- I can't see the packaging of what I'm buying. Sometimes the packaging shows a lot more information on a product than the online description.
- Not enough pictures. Especially when I'm buying electronics, I need a picture of the back of the TV/monitor/pc/electronic so I can see what kind of connections it has. I want a picture of the side, front, back, top, and bottom. Why? Because when I'm at the store I can see a display model, but online I only see 1 or 2 static pictures. Store owners put products on display for a reason. If I'm going to spend money on it, you better let me see exactly what I'm getting.
- Instant gratification is missing in online shopping. You buy something and then you have to wait a week or two for it. Sometimes when you expect something to come in the mail in 7 days, after the 8th day you begin to worry. And this happens often.
- The insane amount of packaging and waste after I receive something in the mail. Rather than throw it all away, I stuff it in a closet somewhere hoping to reuse it. only to through it out 3 years later. I wish there were a place where people could drop off and pick up boxes and packaging.
- Junk Mail and Catalogs. U-Line is notorious for this. Order 1 thing from them and you'll be bombarded with thick heavy catalogs every month or so.
- Having to create an account to complete checkout. No. I don't have to do that shit when I shop at Walmart and I refuse to do it online.
- Having to fill out a ton of information every time I want to checkout.
- The 3-5 email confirmations and receipts that await me after checkout. There's 1 for the account confirmation, then another for the checkout confirmation, another letting me know the product has now been shipped, and a forth for the feedback/rate my product/survey email. Jesus, leave me alone.
I'm surprised this hasn't received more upvotes (considering the other stuff that regularly gets upvoted here).

The message may be obvious to some, or over the heads of others, but the post is about a principle that I find worthwhile holding. It pays to always keep an open mind and always believe you can do better. It's extremely easy to fall victim to praise.

Most of us are good at what we do, but we can always improve our skills.

Maybe it's just me. I spent a lot of my school years being told how clever I was. As the young me grew confident of this fact, the less effort I would be inclined to put into learning (at school). I pursued my own interests out of school, and taught myself the stuff I really wanted to learn (computers, programming). Still, when I was first unleashed upon the internet I had a completely inflated view of my skills. It wasn't until I got involved with an open-source project and worked with some really great people that I realised quite how far I had to go. Aptitude is not competence without effort.

This experience has given me the reflex nowadays to draw back from praise. I get it all the time and can't help but enjoy it of course, but I still remember the negative impact it can have if I listen to it too much.

Now perhaps my co-founder will read this and stop calling me awesome at last :)
That may not be true if the default is done carefully with assistance from the EU. Greece could borrow from some special institution or the EU for some years (as it does now). The exit from the euro, though, would help to restart the economy faster and less painfully.
Yeah, but then they aren't really saying anything more than was already said with the "12% of the population of mankind is alive today".
OK, and I think I was exaggerating and being unfair to the Greeks - they are not gambling drunks, although I am annoyed at many of them throwing a tantrum because they have to repay money that was spent by their government in their country, and not in some foreign adventure.

The main point I was trying to make, though, is that other people's money doesn't get spent efficiently. I've been involved in some EU-financed programs, and the productivity of those compared to private sector or even regular government contracts is in the pits. Taxpayer money doesn't always get spent efficiently, either, but at least there is some kind of accountability of the government to the citizens. The idea that Greece would take money that comes from other countries, and spend it on these really great stimulus programs, doesn't pass the skepticism barrier for me.
Here's something I've observed:

i) most successful "RESTful" APIs don't really follow all the REST principles (e.g Flickr, Amazon, Dropbox). My thumb rule is this: If an API does not start from a "mother" URI that gives you the most updated list of resources that can then be requested by the application, it is not really HATEOAS.

ii) a purely resource-oriented view of your entire API space shoehorns you into doing really strange things to keep REST "purity"

So my conclusion is that using an architecture/concept originally intended for humans navigating hypermedia documents may not be a natural fit for parts of your API that cannot be modeled as such. See the Dropbox REST API documentation (http://www.dropbox.com/developers/docs#api-specification) (" Section: Deviations From Standard REST Style") to see an example of the pragmatic decisions taken.
+1 on this unfortunate terminological crash: "Balkan wars" to me means the stuff that happened between 1830 and 1913 as the Ottoman empire withdrew from eastern Europe; "Yugoslavian civil war" is what happened in the 1990s/00s.

(Oh, and the First Gulf War was 1980-88, the Second Gulf War was 1992-93, and the Iraq Invasion was the Third Gulf War. It's odd how wars get air-brushed out of the record if America wasn't involved ...)
Correlate all data with foursquare too, and on the morning after, send an email with the subject like "Know what Robert really likes? Chocolate. Here's where to get a brand that's like his favorite but he never had it."
I agree - so I invested and introduced them to their VC...
The standard is to use / for hierarchal data and URL params to alter the resource's content. For instance:

/search/ would be an empty search, and for the sake of argument let us say that it returns the entire collection.

/search/?query=bass

This would restrict the collection to return only records that contain the word "bass". Based on the way that URLs are defined, these are considered separate resources.

The same with this URL:

/search/?query=bass&page=10

This is a different resource than the previous. In this case, sometimes it feels like the page should be a member of the search collection. It's up to you whether you prefer a URL like this

/search/pages/10?query=bass

In my head that is incorrect because to me the query string manipulates the last item in the hierarchy which is "pages/10". So the order of operations would look like this:

1. Select the first page from the search collection
2. return only items on the first page that contain the word "bass"
If they're not making indie games, or are making "higher end indie stuff," they wouldn't be reading an article like this.
One small nitpick, it's actually the RE in REST
That's not the point; once released, why should people not be allowed to freely copy and share it? Why do you think you get to control what other people do with information?
But I didn't think that he used the terms too loosely. What do you think was lacking/superflous in his arguments ?
It's silly to say it had little to do with the global economic crisis. Economic production following the initial global downturn went down 8% [1], construction 73% [2], and retail 9% [3].

What's interesting to me is why you think what you think about the Greek economy or the reasons for its collapse? (A sincere question)

References (PDF, sorry):

[1] http://www.statistics.gr/portal/page/portal/ESYE/BUCKET/A050...

[2] http://www.statistics.gr/portal/page/portal/ESYE/BUCKET/A130...

[3] http://www.statistics.gr/portal/page/portal/ESYE/BUCKET/A050...
Google's search results are not relevant, example: PDF
Learn Insanely Powerful Marketing: How To Get More Twitter Followers
Try this : https://github.com/balupton/History.js
REST is great and all, but browsers don't allow it. The only thing you can do is GET, nothing else is supported cross-domain.

No matter your thoughts on REST, it's dead. It's never happening. This argument has gone nowhere for 10 years.

Very few if any websites conform to the spec, and browsers have made it impossible to do so.