skysight-inc/HackerNews huggingface dataset:
Both POST and PUT can be used to create and update info, the difference is idempotence. In other words, making the same PUT request over and over again won't change the result beyond the initial request.

For example:

- Repeat "POST /entries" 5 times with the same request body and you'll have 5 new and identical entries on the server.

- Repeat "PUT /entries" 5 times with the same request body and you'll overwrite the set of entries on the server 5 times.

- Repeat "POST /entries/1234" 5 times and you'll have 5 times whatever the server says it will do when you POST on a given entry (eg. if the server keeps a modify count on that entry, it will end up incremented by 5)

- Repeat "PUT /entries/1234" 5 times and you'll overwrite that entry 5 times on the server. The end-result will be exactly the same as if you did the request 1 or 100 times, including any counters that are part of the entry itself (because those counters would be part of that PUT request body, see below).

Also, a PUT request is usually made on a specific, unique resource unless you want to overwrite a complete set. If the id specified in the URL doesn't yet exist, it will be created. The request body includes the complete resource data to be created/overwritten. Think file uploads.

A POST request can either create a resource or update parts of an existing resource based on the parameters given in the request body. When it creates, the server assigns the id and creates the URL of the newly created resource. Whether it creates or updates depends on the URL you make the POST request to identifies a specific item or not.

[EDIT: clarified a few things about PUT on an id vs a set)
It's because Android keyboards are apps. It's part of being an open ecosystem; UI and utilities are not controlled by a central agency making decisions for everyone. There's so much typing innovation happening on Android that it's really amazing; Swype, SwiftKey, 8pen, that new one-line keyboard, and probably 50 projects I've never even heard of.
Coming Soon: Chinese Flavoured Ubuntu Linux Distribution
I see other women wearing shirts that say "kiss me, I'm Irish", and other such suggestive quotes on them, and people still don't really kiss them any more than people not wearing such a shirt.

Just offering another data point.
Mobile Polling App 'Thumb' Goes Pro
Accept: application/json; version=2

Is that a standard-compliant media type? `version` doesn't appear to be associated with application/json in the IANA media type registry, and I couldn't find anything definitive about adding arbitrary parameters.
Anyway, I can recommend anyone to live in another culture for some time [...] if you look deep enough [...] you will understand that neither your culture nor theirs is right.

Sort of. You'll learn a lot about a different culture and you'll learn a lot about the one you were raised in. You also will learn that, in some ways, neither your culture nor the new one is right, that in other areas the new culture is better, and in still others yours is.
People are all privileged in different ways and in different circumstances. I think this idea is what tends to get swept under the rug when pointing to some overarching Privilege.
I think its hilarious that all the Gitlab development is occurring on Github.
Those are the edits for Amy Wilentz's page actually.

Her contributions are here:

https://en.wikipedia.org/wiki/Special:Contributions/Amywilen...
Success Against The Odds: Filling My Technology Knapsack From Scratch
This is who the internet decided to shame, bully, and attack. A victim of real assault.
You are not obligated to do anything. If, however, you believe groups that use 100% of the available sapients will always outcompete groups that use 50% of them you will probably, of your own conscience, gravitate towards those groups that do not tacitly exclude those 50% and avoid those that do. When one side tacitly approves of rape threats and murder threats for people who speak out they make it pretty darn easy for me to choose.
Nice article on how heartbeats are used. I would like to know more about the technical implementation. Do they send heartbeats via HTTP Post? Email? Some other mechanism?

What monitors the heartbeat server to make sure it is up and running as expected?
Somehow I can't help but suspect Apple will, again, be the first to get the UI of the smartwatch right, and I say this as a long time Android user.

Another question is whether the average consumer wants it. I guess at very least it'll take a few months or even a year before smartwatches start selling.
It's not too surprising that google dropped the ball. This entry that she describes doesn't even have her birth year shown, but instead lists a dozen other years. That's rather odd for a short bio. Maybe Joel was trying to be polite... never ask a lady her age? https://en.wikipedia.org/w/index.php?title=Amy_Wilentz&o...

>An error in a Google search “factbox” can only be corrected when Google re-indexes (whatever that means) the information that will update the search. Depending on the size of your website, re-indexing takes either a couple of days, or several months. Like good guys, small websites finish last. Note: my website is small.

I think she misunderstands here. If the data is scraped from wikipedia, it really has nothing to do with her site, right?
Good luck! I can't wait to be in the same boat. :)
Yet another HN article on Social Engineering.
It is a matter of debate if Sanskrit was any time used as a primary language for communication.

It is not a matter of debate as there are speakers even today. Declining definitely, but still significant.

http://en.wikipedia.org/wiki/Sanskrit#Contemporary_usage

The 1991 and 2001, census of India recorded 49,736 and 14,135 persons, respectively, with Sanskrit as their native language.[1]
Mybatis migrations is also a great alternative for schema migrations

http://www.mybatis.org/migrations/index.html

It is made by the Mybatis team but it not dependent on the Mybatis object mapping framework or on Java. It runs from the command line.
Why would anyone want HN to be on that level?
Meet the gamers keeping retro consoles alive, decades on
Arson is a serious felony because people are often killed by it, inhabitants and/or firefighters.

A DDoS is akin to blocking the entry of customers to a retail establishment.
I can't tell you how many times I've told myself that I wish Chrome and Safari would just die. One day, I'd love to just focus on building for Gecko and not have to worry about supporting all these other engines.

Though I agree a single render engine would make things easier for most front-end webdevelopers, I'm not sure whether a monopoly is such a good idea.
The Security Now episode on bitcoin was quite good. Steve Gibson also provides transcriptions of all of this episodes.

http://twit.tv/sn287
Additionally, could you explain how the project will not be obviated by Django's plans to implement built-in schema migration in, I think, 1.6 or 1.7?

Maybe he added it in the last 7 minutes, but this is answered in the Kickstarter description.
The most important information while driving is in front of you and not on a HUD.
If you omitted the third sentence you comment would have been more interesting.
Flight - A lightweight, component-based JavaScript framework by Twitter
Isn't Opera missing here? I heard lots of people in Russia used it, at least about a year ago.
Dang, I got all excited about the Google Drive support, but it won't be in the iOS version til the next release (according to the developer's Twitter feed). Something to look forward to now :)
Can I be the first to say...the situation is over?

Please, can we get back to technology and the business of technology and leave the drama behind?

This t-shirt is silly. It represents and extension of a moment in time I'd rather not waste cycles remembering.
> This is [almost] always a good thing. Obviously there's personal preference involved here, but I've never seen a system where storing the TZ turned out to be a good idea (not that I've seen all that many systems).

Assuming that time is important, perhaps Google Calendar is a good example of timezones and datetimes as strings:

https://developers.google.com/google-apps/calendar/v3/refere...

I guess it depends on what you're doing with the data... if it's just "created" then it matters less. But if you're dealing with storing an event in time, it usually occurs in a place that has timezone data... boarding a plane in one timezone and landing in another, a meeting where attendees dial-in from multiple timezones and you need to alert them all at the right time and visually indicate that.

Timezones aren't trivial, and the system might store UTC under the hood, but throwing them out universally and trusting every client to get it right seems less of a good idea than handling them and taking care of that on the API side.
How is this different from the Ruby on Rails way?

I have been away from the Django project for a long time, and I really like the Rails way. I have supported anyway, everyone deserves a proper migration system.
Where did I mention Glass?

The OP said that having easy access to information allows him to "be human" and think. I'm arguing that is not nearly enough.
They are still selling every phone they can make, so I would guess no

A few years back people were calling out the Blackberry for being stale, but supporters would point to its leadership of the market and RIM's strong profits to ignore the point.

Being stale is a leading indicator. The impact is not immediate.

More like the media looking for something to talk about

This is a pretty commonly stated argument to shout down something we don't want to hear, and it's nonsense. A story only has traction if there is a widespread belief that it could be true, and in the case of iOS the belief that they are essentially handcuffed by their own userbase into avoiding significant change is something that is quite widely being believed.

Never, ever would I count Apple out (they have been an amazing company), but they are in a tough position where they're being outflanked but any maneuver they make might offend their current userbase (see also: Microsoft).
I still love that on the same landing form where they say:

"Are you carrying > $10k in cash"

they also ask

"Are you a terrorist?"

and

"Are you a nazi war criminal?"

Has anyone ever checked the "Yes" box to either of those?!
South is actually based on ActiveRecord's migrations a little bit (or rather, it was 4 years ago) but the key difference is autodetection of changes - Rails models are essentially declared via migrations, while Django ones are created in a separate models.py file, so there's a need to detect when changes are made.
Apple forcing developers to ditch unique device IDs
Natural language parsing is not 100% accurate and can make mistakes - breaking news!

All kinds of automated data collection such as this will have errors that need to be fixed manually by a human. This will be taken care of if/when we eventually have real artificial intelligence. The data parsing scripts Google and others use are fairly advanced, but they still break down to a couple rules and finding words in close proximity. There is no real intelligence involved here.

EDIT: The important takeaway here is to make sure we continue to educate people (especially government) as to the issues and unreliability of these systems. Death date showing up on Google isn't a train smash, but if some government agency decides that Google is smarter than them? Then we are in trouble.
is it really named Kylin such that it would be pronounced "Killin'"? That's awesome.
The technical implementation is rather simple, and actually not too important. It doesn't need to be super-reliable since if it breaks the logic will report it to us.

Currently we simply write each heartbeat to our redis database, along with the UTC time it occurred. Some heartbeats are global (string key) and others we have one per server (hash key, server name => last heartbeat). There is an API endpoint set up that some of our systems use to trigger heartbeats.

We then have a public page at a secret url that renders out the full status check. Pingdom is set up to check this page for "warning-status: OK" and if its not there send us an email. It also checks for "final-status: OK" and if that is not there, it triggers PagerDuty which will wake us up if needed.

I would prefer if PagerDuty could check it directly, then they would be our only point of failure.

-- Edit --
I added a screenshot to the post which should make it a bit clearer.
What about using SQLAlchemy Migrations?
Great, another guilt ridden diatribe against John Scalzi from John Scalzi. I've never read someone who is more obsessed about being a "privileged white male" than he is. I wish he would take his own advice or at least the first part of it. I'm not going bother arguing with him because really what's the point, this self-flagellation obviously gets him off and as usual it's all about him. Is "self-hating narcissist" a thing?
My thoughts exactly. I was hopeing for a thorough 'apples to other OS's' breakdown and comparison.
I enjoy this weird HN approach of taking ordinary life, applying weirdass labels to everything, and then trying to somehow "optimize" all of the various little categories.

This is about treating other people like their grievances are legitimate, and accepting that your own perspective on the world is not the only one that exists. "Social Engineering"? really?
I'm not an avid hunter but I was hoping the metaphor would involve something about waiting in a tree stand or in the bushes -- for f--king hours on end, without the promise of even seeing a deer if you failed to apply deer urine and/or judge the wind properly...but it still being an enjoyable test of patience and whatnot.

I also thought he was setting up analogy that was going to be something like that. Except I was thinking he was going to talk about the need to scout the land, understand your prey, use appropriate bait, choose the right weapon, etc. Those things would all work as analogies for a lesson about startups as well, I think.
'Sexist joke' Web Developer Whistle-blower Fired
Sure, you can downvote me but any married man will tell you that it's always best to have the wife ask for something from someone else because women are perceived as being "nicer" and usually get such favors. When men ask, it's either intimidating to a woman or invokes a power trip with another man.
Facebook Google Work, Wireless Carriers in Poor Countries Produce Walled Gardens
You should consider replacing the stock images by your own photographs! I think that would add to the authenticity and professional appearance of your service. It might even help against first impressions like verbalist had ;-)
We're pragmatic about the development of GitLab. A lot of people want public projects, it is the most popular request for GitLab http://gitlab.uservoice.com/forums/176466-general/suggestion...
Haskell is also rapidly becoming uncool. The cool kids use Coq, Agda or Idris.
I was in Madrid three weeks ago for work. I took my clients out to dinner and had to pay in cash... It happens often.

The GDP of the country has little to do with credit card use. I was surprised when I went to Australia and discovered that Debit cards are a new thing that required marketing to spread. Credit cards were in wide use but paying for things directly out of your bank account with a card is still relatively new.

Are you one of the many Americans that don't even have a passport never mind exploring anywhere that doesn't take your cheap money?

http://www.theexpeditioner.com/2010/02/17/how-many-americans...
Shouldn't this be the Fourth Amendment?

The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no Warrants shall issue, but upon probable cause, supported by Oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized.
Maybe HTC, Samsung, Nokia et al have come so far in the last five years because they had no choice. If you look at Android phones from 5 years ago, they were mostly shit. The original iPhone was a huge departure from where mobile phones sat 5 years ago.

Does Apple need to change up the look of iOS, yeah probably. But they won't make a radical departure from where they are right now. They are still selling the phone that they built 3 generations ago, and they're selling it well. I'd say that the vacuum chamber says iOS is stale, but the consumer does not.
"you don't personally treat anyone differently based on attributes outside their control"

If you subscribe to the quoted as well as what you said and try to only surround yourself with people that act in a similar manner, then isn't that going to happen automatically?

"When one side tacitly approves of rape threats and murder threats for people who speak out they make it pretty darn easy for me to choose."

I don't think there's two black & white sides here that neatly contain everyone, and I don't think by shunning those who call for violence you have to implicitly endorse whatever the target of that call to violence is advocating.
I believe the developers chose to develop on GitHub so the project would get more exposure to the open source community. And because Gitlab.com is more oriented to private repository hosting. [1]

[1]: https://github.com/gitlabhq/gitlabhq/issues/3187
For what i understand, he can distinguish certain characteristics of the wine better thanks to the amplified perception that synesthesia gives.
Very interesting, thanks. Your link 404s though. Also to you have a link to Fielding's quote?
No. That isn't what happened at all. (Specifically, she didn't 'single two male developers out'). Also, that characterisation does not match up with your previous characterisation without applying rather more charity than one should be expected to ('provided no evidence/proof while burning them at the stake online' is not the same as 'Take their picture and put it on twitter in an inflammatory way', 'was fired for it' is not the same as 'then get fired by SendGrid for the resulting situation').

So, you demonstrate (at the very least) sloppy thinking.
Wouldn't a HUD be less of an obstruction to your field of vision rather than multiple controls and readings spread throughout your dashboard?
Gitlab development is on our own gitlab server. Github account is just a matter of wider audience exposure.
Marin
GitLab.com
2013 - The Year of Wearable Computing
Also, in the old version, you can only carry 100 pounds of food back to the cart. The hunting subgame was fun for its time, but you're really better off putting your money into oxen and, if needed, buying food along the way.

Finally, don't ford the rivers. Pay passage if you can. Above all, start in May. You won't regret it.
Thanks for the feedback andyl.

We're thinking very much about the direction of embedding all dependencies, but we're also conscious of the needs of the Linux distros, who don't package software that way.

There is a downside to having all your apps embed their dependencies. It becomes significantly more complicated to update libraries in response to vulnerabilities and bugs.
No, it means that you need to know algebra to be able to think about calculus, not merely having access to an algebra book. Everyone can have access to algebra information, that doesn't mean everyone can solve calculus, as proved by reality.
I asume the majority of people currently using Ubuntu are smart enough to avoid malware.
I didn't even notice that. If you hadn't pointed out the inherent bias I wouldn't have even discounted the sentiment.
If anyone is interested, I did an analysis/visualization of people's "if I had glass" responses. Some are predictable ("I would sell it on eBay"), some are interesting ("surgeon could video and broadcast surgery" - at the very bottom of that visualization), lots and lots are about capturing moments and sharing them:

http://blog.itrendcorporation.com/2013/03/19/back-by-popular...

I am still amazed at this approach by Google with Glass - they don't offer a compelling reason to buy it yet, and people still seem to want it.
>"programmers swear slightly more than average and some are socially awkward"

I agree, but it will be interesting to watch this trend shift over time. There was a time in the not-so-distant past when if you were a computer guy, you were a "geek". Computers were for "geeks", which meant at least one of your parents was a "geek" to involve you with computers as a child. And, generally, "geeks" may be awkward socially, but are pretty normal, easy-going people (obviously generalizing here, but I also consider myself part of this group). You can see this represented in the pop-culture of the past 30 years.

But that stigma is definitely disappearing, if it hasn't disappeared already. What will the place look like when the would-be Alpha-males of the financial world (which has been gutted as a career) go to the next best place to make a killing, where the money flows like water? Is it already happening?
There's also some nice-to-have information on the dashboard, which is why the dashboard is placed where the driver can easily see it.

Having your speedometer on a HUD instead of a dashboard does not make someone incapable of paying attention to the road.
"Markets can remain irrational a lot longer than you and I can remain solvent." — John Maynard Keynes

The best thing to do with bubbles is stay the hell away. Better to put your money in an actual investment with real returns.
Have you tried just the original white paper? You can understand without understanding the underlying algos. bitcoin.org/bitcoin.pdf
Yes. See any of the new generation of android phones.
> With REST, the URL for a resource never changes.

That is very precisely the opposite of truth.
Why People Play Games
Even the most intelligent and informed citizen (including lawyers and judges, for that matter) cannot predict with any reasonable assurance whether a wide range of seemingly ordinary activities might be regarded by federal prosecutors as felonies.

http://www.harveysilverglate.com/Books/ThreeFeloniesaDay.asp...
People who talk a lot about "patriarchy" will point out that a society in which men are made out to be strong and aggressive and dominant doesn't just hurt women. It hurts all the men who would rather be reasonable and mild-mannered and effeminate too.

That's not evidence against there being a systemic imbalance. It's further proof of it.
asm.js is not a standard, but neither are various things on html5test. I agree it and those other things are less important though.

Not all ES6 features are disabled? For example WeakMap.

OPUS would be used by more people if more browsers than Firefox supported it ;)

Proper fullscreen mode is fullscreen where the element has the right css, that makes it fill the screen as per the spec. Chrome does not do that yet.
Ecoute, jouer votre bibliothèque iTunes sans lancer iTunes
You are right, the orientation towards on-premises installations is why we don't have public projects yet. But with GitLab Cloud the requests for public projects became louder.
8 Kinds of Fun
Versioning the content type is only providing versioning for the response schema; versioning the URL provides versioning for the service as a whole.
Django ORM isn't based on SQLAlchemy's core (there were some proposals concerning this idea https://groups.google.com/d/msg/django-developers/0IuJssTt8t...), so I guess using Alembic or other SQLA migration tool would require some frankensteining to make it work (so it listens to the Django models.py definitions) and bringing in external dependencies, while Andrew's proposed solution is to make it native and more automatic.
POST has useful semantics, using PUT requires you know where to put it when the general case is you actually don't, POST for create when you don't know where it goes, the response should then redirect to the created location.