skysight-inc/HackerNews huggingface dataset:
Ask HN: Versioning API URL vs. Header + MIME Type
Hi,

I'm developing a RESTful API and one of the requirements is that it has to be versioned.

The usual solution is to add the version in the URI, http://example.com/api/v1/resource

But it doesn't feel completely right. The resource probably will be the same in another version just its representation or the parameters will change.

Then, I thought about using the Accept header with vendor specific MIME types to specify what API version to use. This way the resource will never change and it will be unique.

A simplified example of usage would be:
GET http://example.com/resource
Accept: application/vnd.example-api-v1.text+json

Update: formatting.
> lot of organic stuff

The organic compounds produced by the Miller Urey experiments were mostly amino acids and some sugars (http://en.wikipedia.org/wiki/Miller%E2%80%93Urey_experiment). These are the building blocks for most of the things that constitute a cell. This discovery may better our understanding of the origins of DNA and RNA - which are the blueprints for putting together the building blocks to make a cell.
Lets take a hypothetical example, say every CCTV camera in London that is available to the police is tied into facial recognition databases, then those results are stored by the police; They then gain a massive database of the movement of people that would otherwise have not been available. The important thing here is that none of this requires additional data. Even if none of this data is in any way admissible in court (it is and has been in the past), that still gives the police massive leverage over knowing innocent (remember innocent until proved guilty ) people's movements, without consent, probably without knowledge. How you can claim an idea like this isnt a shift in power to the police escapes me.
HP Converged Networking
I would upvote this twice if I could.
A walled-garden like Facebook may eventually expose actions themselves, after it's clear that web intents are prevalent enough that they finally acquiesce in lieu of their own proprietary embed scripts, but I can't see them integrating willingly with a lot of external services.

Sites like that tend to try to provide seamless experiences, and keep you on their web properties. I would bet Facebook would rather acquire or build a photo editor than to simply plug in a web intent and let you choose. Will be interesting to see how this plays out either way, since the idea is something developers have long wanted and this seems like a good implementation of it.

Google+ is another story, and Web Intents comes from inside the giant too, so all the more reason to support it.
http://en.wikipedia.org/wiki/Homomorphic_encryption for a writeup on the concept.
One out of every 1200 Internet users (source: http://www.wolframalpha.com/input/?i=number+of+internet+user...)

The real question is why do you think that can't be right? It's too high? I'm surprised it hasn't happened to one of my friends.

Looking at the spreadsheet (https://docs.google.com/leaf?id=0B8oEqWOAwM3SM2Y1Y2NmNWMtY2M...) It seems that it is mostly people who download porn. And Hurt Locker, Cry, and Expendables
Well said Ben. Of course if you try to assemble a team things will get expensive quickly, that's the same as any startup really.

Where game development really shines is when, as you said, you get just a couple chaps together working to make something really fun, and not caring too much of the money (up-front.)

All that said, game development and startups are from two different worlds, and they're only crossing paths a little nowadays because of companies like Zynga and Rovio making big bucks right alongside other Facebook and mobile apps. Otherwise angel investors probably wouldn't care a lick about gaming.
Every city has a gang problem. Most just will not admit it. You may not notice it, but go to a different part of town. You have it.

Even an estimated 2% of the US military are gang members. (this is how they get many of their weapons)
WordPress Creating oEmbed-Based shortcodes
>It's a big mistake to wait for lots of errors [...]

So if there are no errors?
He harps on the people who get gamification wrong and totally neglects those who get it right.

People -do- care about pointless things like 'achievements' and such. I'm actually kind of ashamed that I care, but I -do- care. I am more likely to fully explore a site or product if there are external goals in play.
Is the tech IPO window closed? Not so fast.
It's a hard problem because there are many different things which can cause downtime: S3 is simple and redundant but also limited so they constrain the engineering problem to something manageable.

If you need anything more complex than delivering static content, you have to spend the effort thinking about what's important to you and how you're comfortable spending and/or compromising to meet that reliability goal. The answers for this tend to be pretty specific to your business needs and tech stack.
Ask HN:How much space does it take to compile a new version of Linux Kernel?
Obviously. But you will not be Starcraft, Dwarf Fortress, nor Minecraft. :)
Apple censors underground comics classics
Always find the best candidates - the 7 minute candidate matching system
How I built a simple, effective candidate filtering system in 7 minutes for less than $100.
Mind you... space exploration does not have to be interstellar. There are probably lots of interesting discoveries to be had here in our own backyard.
They're not mission critical failures, but that's not the point to me - I pay a monthly fee to have those snapshots there, and they just carved holes in them. Disappointing to say the least, even though it's not actually taken down any of our instances.
Before anyone gets too excited:

Amino acids on a comet, 2009: http://www.newscientist.com/article/dn17628-found-first-amin...

Amino acids in interstellar space, 2002:
http://www.newscientist.com/article/dn2558-amino-acid-found-...

and a few more examples exist if you google "amino acids in space".

We've known about amino acids in space for a long time. Amino acids exist all over the damn place.
60 Most Incredible Examples of Icon Design
Anyone who takes part in this is a fucking fascist. This is not just simple rioting and looting, it is a backlash upon the failed establishment in the UK. The young people can't find jobs and can't afford to go to school. They are poor, hopeless, and destitute; oppressed by the ever growing disparity between who is rich and who is poor. This is probably not a revolution or an uprising, but it is the start of something. People are fed up with government and they aren't going to be able to take it much longer.
You could even use something like "Accept: application/vnd.text+json;api-version=1". Personally, I'd go with the custom Accept header, using the same type, but different "accept-extension" (see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for details).
Now I feel like a chump for buying from them a week ago.
They could get the same thing by simply reading Amazon's recommendations and having EC2 servers in multiple regions as well. Most people either don't need reliability or failed to plan for it - the only difference with EC2 is that it's easier to add redundancy when you don't have to deal with physical hardware, network connections, etc.
The Achilles Heel of Customer Development
Unless you have multiple of these conditional checks when the indention level gets unholy.

Continue in loop is like early return from a function. Some say we should not use it. But other find it really painful to work without 'continue'. I remember moving whole body of a loop into a function call only to get "continue" support in Lua though early return.
Perhaps "gamification" is the wrong word. What people are trying to do with these kind of systems is to create incentives for using the product.

So maybe, instead of gamification, it's incentivization? Definitely a harder word to say and type out, but it's more indicative of what's going on and has less negative connotation.
Windows 8 Features to Look Forward For
Agreed, it feels like they are padding out the content. A $35 book with 300 pages with a big font and a bunch of pictures just doesn't end up with too much meat for your money.
Your wish has been fulfilled! http://www.calormen.com/logo/
If you squint a little the ^ looks like a lambda with the top missing. The syntax thus makes sense to me.

Whether to write:

hello = lambda (name) { "Hello " + name }

hello = ^ (name) { "Hello " + name }

hello = function (name) { "Hello " + name }

is just a color of the bike shed decision.
Pulling a Winklevoss? Ways To Ensure You Won't Find a Technical Co-Founder
Skipping over the fact that you can only guess at one other people's comments are voted to... no, you shouldn't get votes for that.

If your comment was actually well written, or useful, or whatever people decide deserves upvotes, then you'll get them for it. If it wasn't a good comment but it happened to start a discussion, credit goes to people having an interesting discussion.
It's very odd they just don't sell it on their site.
Well, the counterargument to that is conflict of interest. Do I really trust the predictions of someone with financial interests in the outcome he's predicting?

I think there's a place for both types of reporting in our media. You've got Seeking Alpha for financial predictions by interested parties (who will at least disclose their interests, which is nice). Then you've got the mainstream media for general, ostensibly unbiased reporting and predictions.

(Experience has taught me that getting into a debate about the presence or absence of bias in the mainstream media is a classic blunder akin to starting a land war in Asia, or going in against a Sicilian when death is on the line. So I'll refrain from getting that started.)
10-year-old girl hacker discovers smartphone security flaw
Act One: Among the Thugs
What you need to give up when going data oriented [instead of object-oriented]
It's possible to determine your pulse based on how you click.
How Social Media Affects SEO Success
For sure. The Open ID versus Facebook Connect experience shows the risks ahead for Web Intents - any new layer of abstraction will add extra complexity. The architects need to be sure there are enough benefits to justify it, and as little extra complexity as possible.

Fortunately, there's a lot of attention being paid early on to both user experience and developer experience of web intents. And there are definitely visible benefits to users if it's presented in the right way.
I think this is generally true, but there are a few websites that do it very well. The way that Squidoo does points, items, quests, and levels is probably the best case study I've seen for a website.
What’s Wrong with the SEO Industry
Your comments make a lot of sense for certain classes of ideas, like inventions. However, it is less clear to me that they apply to other sorts of "ideas as property," like musical compositions, novels, poetry, etc.
A Diverse Approach to Link Building Yields Better SEO
Of course it is not a "smartphone security flaw" at all. I am just submitting this as you might find it an amusing example of how journalists deal with "hacker" stories.
Counterpoint: @Retric congratulations, you’ve reinvented dynamic programming with your O(n) solution That’d be a perfect solution.

And yes, I had zero idea what memorization or dynamic programming meant in that context. After looking it up on wikipedia it seems to mean caching intermediate steps to avoid recalculating them which seems obvious enough.
Future Weapons Stockpiles: Zero-Day Vulnerabilities, botnets & Complex Malware
http://i.imgur.com/nta4G.gif

(from SMBC, and I can't find the original :-P)
duplicate: http://news.ycombinator.com/item?id=2863835
Have a look at Project Zomboid.
The most recent reports I've seen said that two shots had been fired: one was lodged in a police radio in a police car, the other killed the suspect.

The bullet recovered from the radio matched ammunition issued to the Met., and was likely fired by them, not the suspect.
Very few businesses need 100% uptime. As long as you have good recovery strategies, and exercise them routinely, you should be set. When was the last time you ran a failover simulation? do your ops guys know what to do? are there clear lines of communication as to the status of the event?

Outages are hard to avoid, but the pain can be lessened if your customers are aware of the recovery progress and you can deliver on your recovery time goals. Nothing is worse than being down, and leaving customers in the dark to start rumors that your guys are not even aware of the problem.
Show HN Crowdspottr now released for Android and iPhone
Crowdspottr is an application that aggregates your friends' events & checkins from Facebook and Foursquare. The purpose of the app is to provide a simple tool that encourages people to go out and socialize more in real life settings.
A statement from within orthodox Christianity about this (http://www.religiondispatches.org/archive/248/are_god_and_al...):

God became man in Jesus in order to save us. So if
there are also other intelligent beings, it’s not a
given that they need redemption. They might have
remained in full friendship with their creator.

The article also includes an interesting quote from C. S. Lewis on the subject:

I look forward with horror to contact with the other
inhabited planets, if there are such. We would only
transport to them all of our sin and our acquisitiveness,
and establish a new colonialism. I can’t bear to think of
it. But if we on Earth were to get right with God, of
course, all would be changed. Once we find ourselves
spiritually awakened, we can go to outer space and take
the good things with us. That is quite a different
matter.
If anybody has any comments or feature requests, please share. This is my grad school project. I still have another year to make this thing kick ass, but it's a decent start for now.
It's not 'new money'. For every bet you make and lose, someone is winning (the money has to go somewhere!).
Timed: a command-line time tracker (written in Python)
V8 does not use "hidden C++ classes." It specializes a memory layout for each object layout and uses tracing to optimize property access into direct offset reads/writes.
Ask HN: Is leadership all about being the smarted man/lady in the room? 
If not how would you put it in a single sentence ?
That's why the good lord invented eventually consistent data synchronization models. If your use case can tolerate it, use it.
And they say the movie industry resists new business models.
If you've never programmed at all in any language the PtHW is much better. If you know how to program, just not how to program in python, then DiP will get you up to speed much faster
I think you have to have a better understanding overall of what you're trying to achieve, but that doesn't necessarily make you smarter than everyone else in the room.
I noticed the same outage. I signed up a week ago and was moving some stuff to the freemont site. Maybe I should have picked Dallas.
Qt is a lot more than just a UI toolkit, so I'm very glad to see the iOS port progressing. You can write a native UI on top of a cross-platform codebase a lot easier than re-writing the whole thing from scratch, so having QtCore and friends on iOS would be a huge boon for desktop developers who want to port their apps to mobile platforms.
Recent aggression in London and around the UK 
Recent aggression in London and around the UK
Because they want us (early adopters) to use their product. try to think a little bit more - "so their shares in the startup will grow up in price".

Did I express any difficulty with understanding? I thought it was just less fanboyism and a little bit of nonconformism.. ^_^ And of course I used to mass down votes for saying things unpleasant to fanboys.
Sunglusses for men summer 2011
Humans do things for reasons. Which is true. So it's not bullshit.

q.e.d
Dark Patterns: May the force be with UX
orly? http://i.imgur.com/ZVWxL.png
I've got calls with two big gamification companies coming up and am under some pressure from marketing to get these features added to our sites (which have 20mm UV/monthly), I'm so torn about the whole idea.
Bitcoin: A Technical Introduction - by Mozilla Labs engineer Brian Warner
I wouldn't advise buying that. It covers extremely basic issues and approaches. Probably suitable for someone in their final years of college, or one who's just getting into some scripting for the first time in life.
Follow Me on Twitter (C++, code review, 64-bit, OpenMP)
What stylesheet are you using for HN? That looks great.
LPtHW is a great book for learning how to program. If you're already a competent programmer looking to pick up python, then you'll probably find it very slow going, and probably better served by something better. I personally learned python from The Quick Python Book, which I thought was quite good.
>(more general) anger towards the police

So if it's not gangs trying to violent show their power then what is the motivation in your opinion? Why sudden anger towards the police _from the general populus_?

FWIW the buzz appears to be "send in the troops" rather than this being in any way justified demonstration (like maybe G8 demonstrations).
A Big Little Idea Called Legibility - A Predictable Failure Pattern
Starts at 3:20. Apart from the somewhat bad audio this seems to be the best technical overview video of Bitcoin so far.

Slides at http://people.mozilla.com/~bwarner/bitcoin/
Most Customers Don’t Give 2nd Chances
I'm sure there's an argument in there. I only heard him trash the phrase and the supposed people who exploit the phrase. How about showing examples of gamification and explain why you think they are "bullshit?"
Good point, actualy Zend is doing it exactly like this: http://files.zend.com/help/Zend-Server-Community-Edition/api...
It would take you a really long time to fake a profile - and it would take an extended amount of effort. Unless you have a specific target in mind, how easy is it, really, to create a credible network of 300+ friends?

In any case, I will bet you $1.14 USD that I can find a credit card number faster than you can generate a facebook profile that's credible.
I was pointing out why people think the way they do. No need to get condescending or shoot the messenger here. More than that, you are merely being pedantic.

It makes little difference that Hollywood made it when it was people who made a cult out of it.
I hope we're one of those calls ;) http://iactionable.com
Come to Berlin! Europe's hottest startup hub.
Spanisch Übersetzer
Spanish Translator
You can also decide to be less ignorant today than you were yesterday and just let that work itself out. If that's your attitude and you stick with it you'll do well.

I interviewed one guy recently who seemed smart and if he stopped playing Warhammer and Starcraft 2 he might have a decent career. As it stands now he did terrible in the interview and showed no signs of being interested in not being ignorant. If he picked up a book or two he might be good.
I think you are overestimating how many poeople know about Hipmunk. But it's kind of a moot point, TC picked the title. Leaky compares themselves to Orbitz which is very well known.
Looks like Georgify: https://chrome.google.com/webstore/detail/ofjfdfaleomlfanfeh...
The fact that the evidence hasn't been tested in court while ~60.000 people had to pay damages is a clear argument for "loser pays" court system.
Yeah, to me it sounded like little more than "Marketing is bullshit and anything it touches becomes bullshit by association. And by the way, I don't have to prove any of this."
Awesome - can save a ton of time and result in better hires!
BlackBerry Blog hacked over plans to turn over information to london police
I would argue that I have learned more about critical thinking and problem analysis and iteration by taking up Salsa dancing than by coding more. Guys and girls, you don't have to sit in front of a terminal to become a better developer. The OP's achievement list is daunting, and I wonder if time might be better invested in life rather than coding.

The beauty of life is that success is not transitive (e.g. being good at coding does not make you good at graphic design). But being better at graphic design or anything outside coding (try CrossFit, for example) may make you a happier coder.
UberSVN: Introduction Webinar
New to uberSVN or just interested in learning more about it? Join us for a uberSVN Introduction Webinar this Thursday!
I vehemently object to the idea that you can add levels, achievements, or points to an arbitrary system and get a better system as a result.

What i do appreciate about the notion of gamification is that it can be used as a trojan horse for making developers/designers/product ppl to think about user experience.

That said, i treat nearly anything that talks about gamification with a jaundiced eye. I think that encouraging user interaction has little to do with games, and much more to do with understanding the position of one's product/system and what users' motivations are.

Is facebook's "poke" a "gameified" feature? Cause it certainly encouraged engagement, and fit in the sphere of what facebook was trying to accomplish. No points, no levels, no achievements, and yet it ended up kicking off a massive number of game-like descendants.

I think that's the real reason why the notion of 'gamification' is bullshit. It doesn't really mean anything. (If you can give me a suitable definition of "game" then i'll reassess ;) )
http://blogs.blackberry.com/

Unlikely to remain up for long, that's why i submitted a screenshot.
I agree about not getting too excited. But to be precise in this case they are talking about nucleobases [1] which are building blocks of DNA. Amino acids [2] are building blocks of proteins.

[1] - http://en.wikipedia.org/wiki/Nucleobase
[2] - http://en.wikipedia.org/wiki/Amino_acid
Can anyone find the actual article on PNAS? The closest I can get is http://www.pnas.org/content/early/2011/08/04/1105715108.abst...

And this is the lab page, that also has no info on the paper.

http://astrobiology.gsfc.nasa.gov/analytical/index.html

This is one thing that consistently annoys me about most scientific journalism online, and about the press releases by institutions. Is it really that hard to post a link to the abstract page of the actual journal?
The word is definitely not well received by everyone. Even the gamification platform companies (ours included) don't really like the word. It leaves too much to the imagination and carries a lot of baggage.

Another issue is that people think gamification is the new SEO. Gamification will not magically bring new users to your site. It's as you said, about incentivizing or engaging with your current users.
America's Geekiest Cities
Underscore.php
"The wait is over; the turnkey gamification of Salesforce.com has arrived."

/me vomits.

What exactly does that mean to you?

Have you built a game that relies on salesforce as a user database?
As a many year Windows programmer I _love_ typing on my 2011 MacBook Pro keyboard except for the cursor movement.

I can't seem to train my fingers to handle the different combinations of Alt/Opt/Cmd/Ctrl/Shift and the arrow keys. The lack of discrete page up/down and home/end keys really affects productivity.
The Upside of Complexity
Deliver the Future, Gradually
The current theory is that the organic material actually originated on the asteroids themselves - on a class known as "CM2 Meteorites". (http://www.nasa.gov/topics/solarsystem/features/dna-meteorit... - last couple of paragraphs)

Also according to that article, we've successfully reproduced the process of creating organic matter from inorganic matter.
I surprised you don't have that system. It makes perfect sense to me that the loser should pay. What is the counter argument? That people will be less likely to sue? So you prefer to encourage lawsuits then?
While I agree that's a good system, I'm not sure how much that would help here. I imagine the larger deterrent is not the court fees, but the possibility of a $150,000 fine.