skysight-inc/HackerNews huggingface dataset:
Humans are very good at optimizing their behavior for close to constant risk. If one party does stuff to increase safety to compensate for other parties not being alert as they should be then the other parties will decrease their alertness to keep risk constant. You give them blind spot detection that works most of the time and they merge onto a motorcycle because they've learned to stop looking. You put orange barrels up at 99% of the road hazards and they'll drive right into the one that doesn't have them because they expect there to be orange barrels. You remove the little holder tab from gas pumps and people just shove the gas cap in (it fits perfectly). You put emergency stops, fail-safes and limit switches on power tools and they become part of normally operating the tool (why disengage the blade on a riding lawnmower when you can just take your butt off the seat and it will do it for you, no reason to not overload the trash compactor when it's got a relief valve).

Once you get beyond the bare minimum of warnings that alert people to some hazard returns diminish quickly, better to spend your resources on minimizing the damage of people being dumb than preventing them from being dumb in the first place.
A quick guide to awesome tech conference sponsorship
Is this a US only thing? My reviews count as "verified purchase" on amazon.de, including my now 5 months old 1-star-review.
Nowhere in that (poorly written) article did it say that anything was pirated.
Thanks for the suggestion. I've been meaning to take the time to stare at how erasure coding works and keep staring until my eyes stop glazing over and I get it :)

I replied to the parent comment, FWIW.
I didn't intend to argue that prototypal inheritance was bad, just that I didn't relish the prospect of building something in it, in the context of a discussion about reinventing Rails in Javascript. The argument is that with the amount of time and effort that went into Rails, the new framework has to offer something a lot more unique than just "Rails in JS" if it wants to be relevant, because you'll never even get remotely close to the maturity of Rails.

The problem is that I can't give concrete examples because we're under the gun of a deadline and I can't afford to spend the time to troubleshoot down to root causes rather than just work around the problem and move onto another feature.

I'd love to be able to tell you why the spread operator didn't work in that case. But it didn't, and I made sure to get the whole team around me to tell me I wasn't being crazy. The syntax simply didn't create the needed semantics, and that means that something got messed up in the design of the language. I'm pointing to Babel because that's the only thing I can point to as a root cause.

Rails is nowhere even close to this level of broken. You can rely on the syntax and semantics of Ruby, sometimes gem authors play nasty games with metaprogramming, I saw an example where someone monkey-patched Symbol to get a more declarative method for describing SQL Where Conditions, but at least that crap wasn't in ActiveRecord.

Rails, as a stack, fits together and experience with the framework will allow you to trust it.

Syntax is the foundation of a programming language. If it doesn't work, if it doesn't produce precisely the input that's being described, your language is broken. We're not talking standard library here, we're talking about `{...object}` not being the same as `object`. I don't have time right now to dive into why, but that's the kind of shit I run into when I deal with ES6. When syntax breaks, you can't trust the language anymore. It's a pile of hacks and I wish it had never been invented. Coffeescript was better.
A comprehensive guide to sentiment analysis
3M Russian troll tweets
>Not sure what you mean by imprecise

It's a rigid term:

https://en.wikipedia.org/wiki/Tracing_garbage_collection#Pre...

perf shows how much time does GC eat, and that's quite a lot. Thus in the majority of benchmarks go lags behind java or on par with it at best.

>there is so much less garbage than in other GC languages

That is not true since strings and interfaces are heap allocated thus the only stack allocated objects are numbers and very simple structs (i.e. which contains only numbers), so you would have a lot of garbage unless you are doing a number crunching, which could be easily optimized by inlining and register allocation anyway.
This feeling is known as impostor syndrome and is extremely common amongst knowledge workers (especially programmers). I haven't found any good resources for overcoming it - it generally persists for a long time, even when the person is very senior and experienced.
> Almost everyone I meet with in SP is on time for work related meetings.

Is 'almost everyone you met' a representative sample of the population of SP? Of Brazil?

To say that Brazilians are late is a generalisation. To say they are on time is also a generalisation.
FORD RADIO CODE
Generally no. But you can get a better "crapless" version of iTunes there.
Analyzing 3 years of [personal] finance data to see if money can buy happiness
I tried to upload a profile picture and it never responded, now I can't submit my profile edits because the uploader is broke.
RADIO CODES
Ask HN: If you are startup how did you get your first 1000 users?
These kinds of tools are mostly about the input constraints, heuristics, and weights. I'd love to see more about this with more practical constraints (rectilinear rooms and hallways, minimum area for cafetaria/gym, etc) and additional heuristics, such as window area in classrooms, number of hallways/intersections for ease-of-navigation, and building costs beyond just material use.
Database Basics. SQL vs. NoSQL – how to choose the right model
> most people do not think imperatively

When trying to solve a problem by thinking it through, don't most people think imperatively? Ie by a sequence of steps (statements) that modify the world around them (state) to reach the goal?
Motorola One Gets TENAA Certified; Full Specs Confirmed
> The german education system is quite complex, so you obviously need to keep at it. The easy way is general school which does end at 16 but on the other hand you'll get tracked into a job if possible.

When Sanders talks about education, he's talking about the equivalent of Gymnasiam followed by university. My understanding (my wife went to Gymnasium for a year) is that most students track to Realschule, finish after grade 10, and then have some period of job-related school.

I understand this depends on the state, but Wikipedia suggests this arrangement is typical: https://en.wikipedia.org/wiki/Abitur#Statistics. According to this: http://dref.de/en/research/student-numbers-in-germany, about 57% of the 50%-ish students who graduate with an Abitur go on to college right after, or under 30% of students overall. In the U.S., that figure is 65%.

> Get the education you want if you can show the performance for it and then have a job when you're done.

That's rationing! And it would be a political non-starter for a "free college" system in the U.S. (So would this: https://en.wikipedia.org/wiki/Hochbegabtenstudium. Even Republicans would never suggest something like that in the U.S.)
I think the question should be restated as: how do you save to a file and load from a file? The use of localStorage means you can only have one version of a canvas per browser/device pair.
PHP is roughly the hardest language to experience the effects of memory leaks in because of it's one process per request model.
It's already huge with kids...
Maybe there are examples of texts that can't be translated even by humans? Language Log has discussions about so-called words that can't be translated regularly and generally rejects that concept, but maybe whole texts are more difficult. The I-Ching has several translations that don't resemble each other very much and it's common knowledge that a translation can be either accurate or beautiful but rarely both.
Rap has destroyed Black People
There's no reason both can't be at fault.
I told you so. Never ever put yourselves into totalitarian traps of Big Brother Stores. It will kill you eventually.
> You don't have to bring democracy to China, just don't look the other way or even help rationalize and justify it.

And isn't that exactly what most nations are doing ? Especially European countries and the EU, and more so as time goes on.
You don't write web servers in JS, either. You use Node.
there was a large area of forest in my town that was privately owned but part of the forest itself was protected so that it could not be developed. well a developer went ahead and bulldozed the ancient trees and put up a condo anyway -- just paid the fines. similarly with amazon, nobody is going to go to jail even though the website props itself up utterly fraudulently and criminally. someone should.
I still remember this April Fool's joke. I feel old now. :-)
Hilarious! (disclosure: I am a mainframe systems op/dev)

The best part is where they didn't know about the INSERT key. I can understand z and ISPF being a hassle if you're used to modern computing but the mainframe logic is actually logical, and probably predates whatever modern stuff you're on to... like "files". :)
In many societies they mutilate the genitals of female children. In many others they carry out honor killings when a member of the family acts, as they see it, incorrectly. These are two examples of aspect of society that vary from culture to culture.

Cultural relativism is largely nonsense. Leaving a giant pit in the road for people to drive into is objectively a dangerous and selfish thing to do. Whether the expectation in the country is that people will do dangerous and selfish things doesn't change that fact, it just means the society has some huge problems.
Certainly a lot of short sellers ( and bulls ) spreading rumors online, but this seems more like the continuation of the war between elon musk and journalists.

There have been a surprising number of hit pieces by a number of news companies against musk and his companies lately. I think I've seen more negative news articles concerning elon musk in the past 4 months than the 4 years before that.

There seems to be a pattern that whenever someone challenges journalists or their industry, they gang up and pile on.

I think it's going to be an interesting couple of months for elon musk as I think these journalists are just getting warmed up with their anti-musk hit pieces.
Sure they can, but what about some of the products on Amazon which are mostly immutable like for example: Books.

A bad book is a bad book. Batch B of the said book is mostly a new "product" listing on Amazon with its own set of reviews and ratings.

Also if Batch C is being sold or something similar (to batches), a better idea would be (IMO) to have the product owner comment on the review, saying we have fixed this in batch 2 or batch B or something
Why do you say surprisingly?

I've been aware of the bytes/string split for a long time since it's probably Python 3's most prominent change, so I certainly wasn't surprised by it. The surprising part for me (after having read complaints about this change over the years) is that I haven't had any trouble with it.
Zoning Out in the Age of Netflix
You are absolutely wrong. I have been a victim and a perpetrator of African time.
thanks this looks good.
I was involved in the hiring and filling of > 50 developer positions at a company, while being a tech lead.

We tried hiring a few people with just bootcamps. Only a few (so hardly a representative sample), but none of them worked out. As soon as they had to try something even the slightest bit different than what they'd done in the bootcamp they were lost. There were people with degrees in unrelated fields who then did a bootcamp who were good, and almost all of the CS/CE/EE people we hired were good.

I'm not saying this is always the case, but the two years of CS fundamentals seem to be valuable, AND the two years of unrelated core classes seem to be valuable. It might just be how it forces you to engage with and learn things you don't care about (because there will be times in any job you have to do that), or the people skills of having to learn to deal with professors and other students, or the pattern of constant learning and adapting it ingrains upon you, or something else entirely, but per the link, I don't think a bootcamp should ever be viewed as sufficient preparation for a career in development. It's fine in tandem with other things, but it's extremely limiting on its own.
Advantages of written fiction over TV: Greater imagination, improved vocabulary, greater degree of escapism, lack of commercials, a more active degree of concentration required

(which leads to less 'binge-ing').
done it ;)
>A good set of consumer protection laws shouldn't leave the consumer to the seller's good will, don't you think?

When you buy in store, the old saying "bought as seen" applies. If I buy some food and find out on the way home that it's spoiled and past date, I can bring it back and likely it'll get replaced but they don't have to. I should have checked. When you buy glasses, check for scratches.

For warranty claims you'd need some kind of bigger problem than something that can be considered wear and tear or that was present when bought.

The consumer laws are concerned with malicious activity where someone is trying to actively trick a customer (which is where you get silly rulings like vegan sausages not being able to be called sausages as such would imply it contains meat).

And don't worry about implications or consequences, when the responsible government offices get riled up they really hit hard.

In regards to mobile/internet contracts, it helps to read the fineprint. Additionally if they do make trouble, contacting your local customer rights organization, the contract will get dropped very fast with little complaints.
Have you worked at a company before?
Powersploit – Useful Scripts to Assist with Penetration Testing
> on most modern systems, they perform a similar function.

Interestingly, Ctrl+Enter is conventionally different to Enter.

* https://news.ycombinator.com/item?id=16898262
Their negligence exposed the most private details of over half the US population.

The whole "security based on SSN" system was a joke before. Thanks to these clowns, it's an outrage.

When are we going to see meaningful improvements, rather than just locking the stable after the horses were stolen?
I don't know if Amazon has this feature, but I've seen sites that let the seller answer back to reviews - for cases where the seller has addressed a reviewer's feedback, they could reply and say that this has been fixed.

Or make a new listing, and in the description mention what has been fixed.
Most items in his todo list seem to be Google searches in modern times.
Yes but few bother to read lawsuits. Most read news coverage of lawsuits.
Give me an example. I have literally never had anyone show me anything unless I demonstrated proficiency on par with their own and they felt the need to impress me. That, or paying them lots and lots of money for personal lessons, which generally tend to be crap anyway.

I am baffled by the amount of people who espouse mentorship like it's actually a thing.
better late than never. Yes, I know people who didn't make to their birthday party. Surprise! Oh no..
Yes, it looks kinda interesting. Am still scratching my head at the idea that summarizing how it works isn't anywhere outside the source base.
I cant tell if Elon sent his reddit marketing team to bombard HN too.

I got 5 downvotes for mentioning that tech companies are working their employees like dogs.
Storybook Driven Development
Sounds like some sort of an ancient Google search.
Seems an odd link to choose...considering how old this is, why not just post the RFC instead?

https://tools.ietf.org/html/rfc2324

While we're on the subject though, I'm in early planning for a replacement controller for my Keurig 250 (if I were using a RPi, I'd call it the Pig 250, but it'll likely be a different board) -- I'm excited to actually get HTCPCP in something real; thoughts on practical implementation?
What do you mean by "reuniting"? Was humanity ever more connected than it is now?
You also had to be an expert in multiple levels of the technology stack to build any program with cross platform support. Yes, packages were smaller, but developers had to do way more work and so applications were released less frequently. It would be very hard back then to make a cross platform program as a weekend project.
Plebs gonna pleb. Brb, going to go 'check tire pressure' and 'iron clothing'.
are you kidding me? the algorithm for "top" reviews is approximately synonymous with "hide negative reviews". a stretch to see how it benefits amazon? of course reviews influence purchasing, that's why they're there
I see similar behavior on YouTube, Facebook, LinkedIn, even Netflix - not necessarily review gaming, but just unfriendly user patterns and opaque algorithmic behavior.

To me the core issue is poor communication. They could easily explain all of the processes, ML models, logic, and human interactions that are in place for review posters and readers. Then it'd be trivial to compare that with (for example) OP's experience and identify possible improvements.

But the fact that they don't at all is very telling. Clearly not impeding growth or revenue.
Google Assistant is a funny example, because my wife has a foreign name and I can do absolutely nothing to get it to understand when I ask to call her, even attempting to imitate its weird pronunciation of the name. The only thing that works is hand-typing "Xxxx is my wife" into the Assistant and then referring to her exclusively as "my wife," and that gets reset with updates periodically
Maybe we should build an independent, decentralized review page, where you can trust (PGP style) your friends and family and they can do so too.

When suspicious reviews appear, everybody can track down the accounts which abuse our trust (and let the bots in). That way we could provide blacklists for accounts that are untrustworthy and everybody can decide who (or which blacklist) he wants to trust.
Humans 150,000 years ago wouldn't be among 5 most interesting species on Earth
> the war between elon musk and journalists

Elon is attempting to maneuver Tesla through a tight operating and financial envelope. He is doing so with public funding. Of course you're going to have a lot of debate about what he's doing. Journalists being critical isn't them launching a war, it's them attempting to leave no stone unturned.
I think more than half the websites on the internet can run on a shared hoster for less than 3$ a month and that makes the web more secure and faster.
Provided I know the host well I consider those early arrival situations much easier to handle than arriving late when the gathering is already in full swing. I know it's absurd, but it almost feels like interrupting.

I prefer too ease into these events by starting early and with a small group instead of making an entrance to a full room.
This is actually a really complex problem. Recently in C++, the discussion is happening regarding `nothrow` functions. Can such functions allocate memory (and hence throw "out-of-memory" errors)?

The basic tradeoff is, most program can't (or don't) handle an "out-of-memory" error anyways, so for those, "nothrow" and "nothrow+allocates" is essentially the same. On the other hand, some (few) software is written to handle "out-of-memory" errors, and C++ is one of the few languages that targets such software, so in those programs, the distinction is meaningful.
Nobody has to pretend to have read articles in a legitimate way; a researcher only has to be able to give a legitimate citation for the article. Citations should be sufficient for other researchers to find the article in question and BibTeX data is easy to find for most published work. I frequently google the title, authors, and sometimes year (if there are multiple versions from different years) and download a PDF from wherever (rarely the official publisher, because logging in is too difficult), and then just find BibTeX data as needed when I am writing a paper.
I think "good model" is the hard part here and very far from being achieved.
"In the west we get everything in writing when we do business and rely on the ability of courts to enforce a contract to protect us "

No way.

The courts are a last resort both in business and for personal functions.

My grandfather ran a hardware store and lumberyard back in 'the olden days' and would make windows for a farmer who promised to pay with '1/2 a cow' during slaughter season. The farmer would bring the cow to the butcher 6 months later. Conscientiousness, trust, community.

Note that Brazil has quite a high rate of petty crime, whilst in Japan it's really quite low. Obviously so many factors ... but a fundamental one is culture.
This is OT but books can vary in quality too - specifically the paper used and the print quality. I was looking at "Physically Based Rendering" (http://a.co/bL8bjUw) after seeing the post here about rendering a scene from Moana and was disappointed to see comments about bad print quality. Hopefully this is fixed in a later print run.
Right. ITA's flight search tool was best-of-class in its time (and still is). Their competition at the time were Amadeus and Sabre which were written in assembly and ran on old-school mainframes. ITA's founders were MIT AI Lab alum so they wrote the first version of their software in Lisp. [1]

ITA's code now powers Google Flights.

[1] http://www.paulgraham.com/carl.html
My partner worked for various solar companies (But not Solar City) as a canvasser hoping to get some sales experience. As a result we got to see first hand how corrupt and underhanded their sales departments could be.

Canvassers were exploited mercilessly and commissions never appeared as new requirements were added to the payouts. Paychecks bounced periodically. Canvassers would be told to go door to door in areas where solicitation was illegal even though the company knew it was illegal and risked getting their employees arrested. Managers would hire friends and use fake leads to make them look good.

I kind of hoped that Solar City would be an exception but I'm not surprised. It seems like the entire solar industry is focused more on extracting government subsidies than on creating long term revenue streams. I don't think management is very confident of the long term prospects of residential solar. Especially considering pushback from utility companies.
I would wager that anything in a range 10%-50% of missing revenue, for a publicly traded company, would be caught by external auditor. And I’d im not mistaken, external auditors are required. If I’m wrong on either of those accounts, then I’d be seriously concerned about our stock market.
I'd love to hear about peoples experience with this.

I have the book and I tried setting up a canvas a few times but I didn't find it very helpful. It might be because of nature of the projects that I tried it on, I am not sure. Can anyone tell me about a time where they got explicit value/insight from setting one up?
Where is the source code of a compiler? It looks like it's written in Java but there are no source code files in corresponding GitHub repo.