skysight-inc/HackerNews huggingface dataset:
>What 'debt' is saying is that it was a stupid reaction to getting stopped for a red light violation

Besides getting stopped for a traffic violation he was asked to provide something that was not mandatory by law. Even worse, the policemen cited the law wrongly (and for something quite basic). This is indefensible.

But that's beside the point. I take offense with the notion against his "stupid reaction" in general.

What this talk about "stupid reaction" reveals is a citizenry that is conditioned to receive all kinds of abuse from police officers and to blindly obey orders, to avoid getting on their nerves.

He should be allowed to have any kind of "stupid reaction". He should be allowed to voice his protests and discuss the matter without being hailed to jail. There's nothing "throw him in jail" about "trying to educate a police officer".

In every country with a civilized police force (at least in Western Europe), that is in any country where police is catering to citizens and not barking at peasants, you CAN have all kind of "stupid reactions" when talking to the police and you don't get beaten or thrown in jail for it (at least not as a regular occurence -- it might happen from time to time).

That you can casually get shot for reaching for your mobile phone or tased just because you said something to protest being asked to leave some place, is something that just does not happen.

Even the "hands on the dashboard" and "don't get out of the car when pulled over or you'll might get shot" routines are unheard of.

Perhaps it's time to demand more courtesy from the police, instead of taking for granted having to be all too cautious whenever they appear.
haha this is wonderful, thanks for sharing
I write and maintain a large program written in coffeescript every day, and you're right to be worried.

Coffeescript is has a much trickier syntax than javascript, and if you use it all the time, then the brevity and reduced line noise is a slight win, but you never lose the downsides of the complex syntax.

If you're wondering what's wrong with coffeescript, it basically boils down to the fact that the syntax is chock full of unexpected exceptions. I notice that I and everyone I know sometimes get's surprised by what a piece of syntax actually compiles to (not a good sign).

Some examples:

f
a: 1
b: 2

compiles to

f({ a: 1, b: 2 });

but

f
o

fails to compile (so whether you can break an argument onto the next line depends on whether it's an object literal)

Comma's to delimit multi-line arguments are usually redundant, but not on the first line, so...

f 1,
2
3

compiles to

f(1, 2, 3)

but

f 1
2
3

doesn't compile at all.

Curly braces aren't entirely optional, so

o = [ {
a: 1
b
} ]

compiles to

o = [ { a: 1, b: b } ]

but

o = [
a: 1
b
]

compiles to

o = [ {a:1}, b]

Note that this is particularly tricky if you have functions with complexly nested arguments, which is what the original artical is proposing to use for React. In JS that would be messy but unsurprising, but in coffeescript you will run into the occasional miscompilation, especially since it's indent sensitive but very flexible with those indents.

For example you may start out with:

a
href: uri
span
className: "x"
"content"

...then decide to remove the class, and end up with...

a
href: uri
span
"content"

But the second example actually nests the content inside the <a>, not the <span> (and it'll crash at runtime since span is passed rather than called).

You can even have code that compiles & runs and just returns the wrong value:

div
id: "foo"
span null
"content"

vs.

div
id: "foo"
span null,
"content"

Both result in valid JS that would run and display a valid DOM using React, but that comma changes the generated DOM. No warnings, no errors.

All in all, I'd stay away from coffeescript if I didn't already have a large codebase to maintain. There are a bunch of other, better, compile-to-JS alternatives to make JS syntax less onerous - so you can get coffeescript's advantages without the nasty pitfalls.
Who'll be able to tell how? Their word over yours? And if you're black and your "peers" are 80% middle class whites?
Flappy Bird meets KSP.

This is possibly the best Flappy Bird -type game I've seen.
Spacebar works for me...
Laughing their *aaS off.
What do you think of http://invictus.io/keyhotee.php user friendly and distributed identity
I managed to get my girls to watch Empire Strikes Back at just old enough to appreciate the films, and fortunately before they had heard that Vader was Luke's father. More than most spoilers, for some reason for this one it was really important to me that they experience the revelation in the film.
It's interesting to think of the benefits a modern constructed language and script could bring, but a way to foster adoption would be a very difficult task. Esperanto has a lot of speakers world wide, but hardly in significant proportions.

Another interesting case is the Cherokee syllabary:

> Once Albert Gallatin saw a copy of Sequoyah's syllabary, he found the syllabary superior to the English alphabet. Even though the Cherokee student must learn 85 characters instead of 26, he can read immediately. The student could accomplish in a few weeks what students of English writing could learn in two years.

http://en.wikipedia.org/wiki/Sequoyah
Self funded but according to one of the other comments the self funding amounted to $30m. Hardly your typical bootstrapped company.
Counterpoint: you don't necessarily want this kind of companies as customers, the kind of manager who buys on a PowerPoint and Excel checklist is already on CYA mode and is not looking to the value you provide.
Even as a Viber user I find it strange that it took off. Most phone plans here come with unlimited texts and basically unlimited calls. Most people are also on Facebook which has a great messenger app. And yet my friends use Viber (which means I have to). And every time I ask them why, their reasoning is free calls. Most of these people have unlimited minutes. Not only is this strange but annoying as to contact them I now have to send my communications through yet another company.
Παιδεία Νεολαία – Ταυτότητα Πόλης
That's what Google Fiber is, which is (slowly) rolling out to multiple cities.
I don't love it, but I've never loved a trackpad. Usually I'll be using the touchscreen and/or an external mouse if I plan on doing any serious work, as navigating with one finger is hardly my idea of fun. On the other hand, Macbook users seem to love their mouse controls, so I presume the trackpad must have some secret sauce to induce such a usage pattern (I've never used a Macbook for long enough to comment).
The unethical business of semi ‘Open Source’ (proprietary disguised as open)
"That to secure these rights, Governments are instituted among Men, deriving their just powers from the consent of the governed, That whenever any Form of Government becomes destructive of these ends, it is the Right of the People to alter or to abolish it, and to institute new Government, laying its foundation on such principles and organizing its powers in such form, as to them shall seem most likely to effect their Safety and Happiness."

-- Declaration of Independence 1776

The words "Natural Law" and "Natural Rights" only makes sense in the philosophies of John Lock, which inspired the Declaration of Independence.

The ability to alter and change governments has been declared as a Natural Right in the declaration of independence.

Aside from that, "Natural Rights" don't exist. They are a concept created by our founding fathers to attempt to unite the nation. If you disagree with the founding father's definition of "Natural Rights", then the concept is dead and there is no point continuing to talk about the matter.

After all, like everything else that has been created by humans, these concepts are all imagination and fiction. Natural Rights do not exist in the real world, they are merely a concept created by people hundreds of years ago to attempt to unify this country.

Basically, a "Natural Right" is simply the rights that the United States of America were founded upon, the foundation of our Constitution, the foundation of our Revolution, and the foundation of the philosophies that created this country.

These rights are not shared with other countries, these concepts do not exist in other hypothetical governments. "Natural Rights" are simply the rights our founding fathers believed in. Nothing more, nothing less.
Tech Gift ideas for Valentine 2014
Haskell Performance Profiling with ghc-events-analyze
How is that legal ? As a European, I am utterly puzzled.
That information is in the first paragraph.
... and the "Stallman Police" strike again
Eating is one of life's pleasures. Why replace it with this?
While the fine itself was negligible, a moving violation significantly increases insurance premiums. A lawyer who specializes in fighting traffic tickets is far cheaper than overpaying for insurance for the next decade.
Some people have it has a hobby. I know a guy who on principle never pays a parking or traffic ticket without dragging the whole thing through court for as long as he can. For him the time and money involved are immaterial when compared to the principal of the matter.
In France, when you run a red light on a bicycle, the police will fine you but they can't ask for your driving license because it is not required for cycling. As a delinquent cyclist, I can attest that enforcement is now quite tight and done fairly - and I welcome that !
Founded by Israelis (iMesh founders).

Formed in Cyprus (perhaps for tax planning)

R&D team mostly in Belarus.

QA/PM/Design -- at Tel Aviv.

This, in addition to Waze, Trusteer and others in recent months, makes Tel Aviv startup scene as excited as NYC an SV (ie - unicorn-startups are also available over here - $7.6B total exits during 2013).
This is fantastic! Congrats to Stack Overflow and here's to more languages in the future.

We were shocked and delighted when our international user community had massive enthusiasm for translating our app into different languages, and now it's live in Portuguese, Spanish, French, German, Hungarian, Romanian, Greek, Vietnamese, Bahasa Indonian, Dutch and several other languages, with more like Telegu, Malayalam, and Japanese in the pipeline. It's opened up whole worlds of users who otherwise wouldn't have ever had access to the tool.

As some other commenters have noted, there is definitely a social inclusion aspect to releasing in various languages - not everyone has the same access to education around the world. Furthermore, we'll have a much richer community and society if we open communication to everyone and don't expect everyone to learn English, which is a more or less arbitrary standard. We've also recently released a feature where you can translate comments in the app instantly, meaning people who speak different languages can communicate in the same conversation! It's so cool to see.

We've had a great time using Transifex and I can recommend it to any software project hoping to support a translation community. For us as an open source project, we have been very grateful that all our translation has been done by volunteers, and Transifex makes it really easy to coordinate with them. If any other projects are interested in how we manage translation on a technical level, we wrote a blog post about it [0] and will be publishing another, more in-depth one, shortly.

[0] http://blog.loomio.org/2013/10/01/translating-loomio-2/
I'm really enjoying patio11's really irreverant take on the subject, but it's not really necessary that their work be completely useless to support the thesis. Self-actualized people may perform useful work as well.

But it's also possible that robots have saved the Federation as many times as human-captained ships. I'd rather believe this than that it's because of the spirit-killing Section 31 being sneaky assholes behind everyone's back.
HN HTML validation
Basic rules like "don't argue with cops".

They tell you to leave, you can either comply without saying a word, or start an argument knowing where it will take you. Both attitudes are fine.

But starting an argument and then be shocked, shocked! that it lands you in trouble? That's just stupid.
..After the ordeal, we went back to the jail. Obie said he was going to put Us in the cell. Said, "Kid, I'm going to put you in the cell, I want your Wallet and your belt." And I said, "Obie, I can understand you wanting myWallet so I don't have any money to spend in the cell, but what do you Want my belt for?" And he said, "Kid, we don't want any hangings." I Said, "Obie, did you think I was going to hang myself for littering?"

Obie said he was making sure, and Obie was, cause he took out the Toilet seat so I couldn't hit myself over the head and drown, and he took Out the toilet paper so I couldn't bend the bars roll out the - roll the Toilet paper out the window, slide down the roll and have an escape. Obie Was making sure, and it was about four or five hours later that Alice (remember Alice? It's a song about Alice), Alice came by and with a few Nasty words to Obie on the side, bailed us out of jail, and we went back To the church, had a another thanksgiving dinner that couldn't be beat, And didn't get up until the next morning, when we all had to go to court."

It's a long song, there's a lot before and after this bit.
Thank you for the monkey fairness video link. Made my day.
Bernstein's paper are very interesting and contain strong material. He uses an excellent theoretical background but keeps practical considerations in sight. The cryptographic constructions he published are very efficient (e.g. RFSB [1] is way faster than all other code-based hash functions). I should also add that this blog entry is a good illustration of how clear his explanations can be.

[1] see [rfsb] in http://cr.yp.to/codes.html#rfsb
Well, goddamn me for being "a black male, between 5 and 6 feet."
Chris, a bit OT, but who made the illustrations for the site? They are incredible.
French startups disrupting the way you experience fashion online
Rust, Go, C++11 or Julia? Which would you choose and why
I'm thinking of starting a new language this year but recently there have been a number of new languages which all look interesting so I'm not sure where to start dablling and which is going to be a clear future winner (if there is such a notion).

My requirements:
- fun to develop in
- compiled
- did I mention fun?

My background:
- dynamic languages (Python and Ruby)
- a hint of C

My question to HN is if you were to start with a clean slate, which would you choose and why. I'm not interested in a flame war, just your personal opinions. Please be nice to one another.
"To buy us time, we ‘sharded’ our MongoDB cluster. At the application layer. We had two MongoDB clusters of hi1.4xlarges, sent all new writes to the new cluster, and read from both..."

I'm curious about this. Why were you doing the sharding manually in your application layer? Picking a MongoDB shard key - something like the id of the user record - would produce some fairly consistent write-load distribution across clusters. Regardless - it seems like write-load was a problem for you, yet you sent all the write load to the new cluster - why not split it?
I read through the source and was surprised at its simplicity and readability.

http://storage.googleapis.com/itchio/tmp/main.js

No funky frameworks , just plain old jQuery and some JS.

I've just begun learning JS and the source was very informative.
Thanks very much for the advice!
+1 for the delta-v game!

Here's a reddit thread about the game with a "high score list": http://www.reddit.com/r/gravity_games/comments/1fks9v/oc_del...

If anyone wants to test out their orbital mechanics skillz, you can try to beat my unofficial world record, a grand tour of the Jovian moons:

http://deltav.corpsmoderne.net/game.html?s=Jupiter&prg=QlVST...
I am not saying it could not happen in EU or post-soviet country, but I find it unlikely. Neglect is criminal offense here, he was diagnosed by doctor so there was paper trail. Also approach to medical care is totally different.

And maximal imprisonment without conviction here is 1 year. Not so popular ex-politician was held for 18 months on corruption charges and it was national scandal.
...and this is another reason (other than bystander effect) why people ignore emergencies that don't concern them - not wanting to get caught up or have something like this happen.
> If they want to make your life hell, they can and will.

Not only that, but a great portion of the so-called good cops will look the other way and do nothing about it.
Yes. It does bite you quickly. As you add more models you start to duplicate a lot more information and by that time you'd think relational makes sense but you have to continue to use MongoDB. The option you got is either embed or reference. And still, there is no JOIN in mongo so you'd iterate many collections and do combine within your application code.

I think as PostgreSQL continue to improve its JSON data type people will look at SQL again even if they need to a basic model working. Because at the end working with constraints can help. Well, either side will bite you but one has to weigh...and sure that's a tough question.
JP Morgan Executive Becomes 5th Banker to Die in Last 2 Weeks
It's very charming!
Have you ever thought about the possibility that the Nobel prizes aren't always fully rational or narrowly focused and that there are different motives involved? Hemingway had the novels that widely resonated. Sometimes the writing style or technical details aren't too important when you consider the work as the whole.
Sure, I'm not arguing against efforts to help people learn without English. But I do think such efforts should be seen as a stepping stone to the "real thing", which is the English-speaking community.

My personal wish is that children be taught English early enough so that this doesn't become an issue. I am quite grateful I started when I was 5 or 6.
As the article's dialog mentioned, I suspect that they have been priced out of the area by real-estate value increase - the good ones may have found postings in locations more favourable to people employed in the salary range of a police officer.
If APIs were implemented via business letters
The Art of Customer Centric Companies
I am not able to promote this, I wish I could. But I came to know from another friend that they tried to do a promocode within their IAP app, and they got rejected by Apple. So mum's the word.

On the other hand, we'll do the same for Android app as well. Because Android has no promocodes and that suck! I hope once thats done, we'll be able to make it public.
I expected this comment and I phrased it specifically to get this reaction. Let me ask you this: Are you sure these cases are exceptional, not systemic? Naming something exceptional usually means that the system can be left alone. This might be the case, but I'm worried that you people are in a frog-in-boiling-pot situation.

So, let me rephrase: do you have trustable statistics showing that police brutality is not systemic? How about all those 'exceptional' cases where the system very much seems to work against correcting itself by protecting the offending police officers?

See, I'm not surprised that in a ~300M nation there are lots of cases of authority acting violently and that we only hear about those cases where people are treated badly - but what's worrying to me is how bad the 'exception handling' usually appears to work. If your program throws an exception every 10'000 users, but the exception leads to the user being electro-shocked, jailed and possibly loosing his job, wouldn't you throw in some additional exception handling?
Would be interesting if http://www.areweprivateyet.com would test against more Adblock lists.. rather than a select few.
Well strictly speaking, modern money is "debt" while originally money was a commodity such as gold.

Both types of money function in the same way, as a form of payment, but they differ significantly in implementation.
Reading Kafka's 'Metamorphosis' backwards is the happiest story ever
And don't forget all extensions which can "Access all your data on all webpages, Access all your tabs and browsing activity".
"That probably limits the list of potential candidates to Mandarin, Japanese, Portuguese, Russian, Turkish, and Spanish. "

Apropos of nothing but the sheer size of the language community, I am quite surprised that Arabic doesn't feature in this list.
Go is the simplest, but not quite as efficient as Rust or C++. I don't think Julia is really a general purpose language.

Rust is also good, but more complicated than Go and hasn't hit v1.0 yet.
Porn and Olympics Opening Ceremony
I like the exercise and the thoughts developed, but all of it is based on the fact that a post-scarcity state is happening. This is very XIXth century like : "science will abolish work !".

A proof of post-scarcity happening presented is the amount of obesity in US. Let just pretend obesity is just a problem of having too much food, and not at all a problem of bad nutrition or genetics. The fact still remains that while there are a lot of obesity in usa, there still have a lot of hunger in other parts of the world. Could not it be just a repartition problem rather than abundance ?

There's an other sign that could lead to think we're indeed not at the edge of post-scarcity. Currently, many previously called poor countries are getting wealthier. What do we observe in previously called rich countries ? Economical crisis hitting harder and harder. That may not be a coincidence.
Happy Saint Valentine
Angular JS Kinda Sucks
Fantastic :-).

This is also my way of thinking and the way we are doing things in Snabb Switch. I'm influenced by my brief time working with Mitch Bradley on firmware hacking at OLPC. Linux would never get the same performance out of hardware as his seemingly toy little Forth drivers.

luke@snabb.co if you fancy a chat some time :-)

P.S. Thanks for the generous link-plug that landed on highscalability.com. I look forward to hearing more about your systems in the future.
Solution to this idea should be reconsidered in my opinion.

Instead of creating pure language specific sites, smarter approach can be more helpful to everyone in the community. Let's give it a try;

'Argument is not numeric (ArgumentError)'

What is there to write/ask differently about it in English or Portuguese? If a subsystem to stackoverflow is created for each language, you might be able to see the answers written by other native speakers. An accepted answer will always be in English but for the ones that can not understand what is going on, they can click on their preferred language button and see the explanation in Portuguese.

This would also give better overview of which country actually has more involved to specific topic and so on.

To keep in short, every question asked in stackoverflow has a localization button to see answers from different languages. If someone is not comfortable writing the answer in English then they can write it in Russian. Then, when an American checks the question in english with no answers, he/she can try to translate the answers from other languages. Which is a win/win for both parties
Uh. The fact that the shell serializes its history wherever is an implementation detail. If there is no way to: bring up the last commands used, sequentially, with a simple shortcut like "arrow up", and search for a given command like (like ctrl-r), that's a regression in usability compared to something like bash.