skysight-inc/HackerNews huggingface dataset:
>...es6 is pointless because it can be represented as regular es5.

Let's be reasonable, that's more like comparing CSS 2 to CSS 3. :P

Everything I've read and discussed with others in the industry, SCSS seems to be useful for far large projects with many designers and programmers stepping over eachother. I work for a smaller company, and we build very clean CSS, and would not benefit at all from SCSS.

Recently a friend at another medium sized company switched to SCSS "because". Seriously, it was one designer that liked one feature from some library that required some build tool that required SCSS... So they all have to learn SCSS now. No other reason.
The US Army’s costly quest for the perfect radio
You might enjoy _The History of Fire Escapes: How to Fail_, a talk Tanya Reilly gave at a DevOps Days conference earlier this year.

https://www.youtube.com/watch?v=02KEKtc-5Dc
> Suddenly people started caring.

Yes, but why? And why now, rather than years/decades ago?

There's another layer to these stories that I'm very interested in.
In piracy, you had the _intent_ of doing something, and that's illegal, regardless of whether or not you had the knowledge it was illegal.

In this case, you have an idea that child porn is illegal, but you had no idea it was coming through your blockchain.

Those are very different cases.
It cost $12m for them to make them.
I think the simpler explanation is that people are very good at looking the other way when their income depends on it.
My guess: Selling psychological data to advertisers is boring but if you get Bannon involved and rope it into the Trump news cycle, it suddenly gets a lot of people talking.

https://www.theguardian.com/news/2018/mar/17/data-war-whistl...

This article is probably the biggest one right now.
Once I needed to make an internal IE addon to listen for certain elements being selected on pages outside of our control. (to ensure we never collected sensitive data for compliance reasons, long story. Trust me it makes more sense in context than it does in a single paragraph.)

My co-worker wanted to grab by id and attach listeners, but I was convinced that wouldn't work. I wanted to listen at the top level and filter down by id/class/etc...

The first production test was <redacted>.com/login. It had a login widget on the navbar and a login widget in the main content section. Both the username and the password field had the same id in the navbar and the content. So the addon did the right thing on the navbar, but not in the content, and we had to go back and redo it thanks to id reuse.

My point is, elements with ids are rarely unique. I've never regretted using a class instead of an id. I've regretted using an id instead of a class. And I really regretted third parties using ids instead of classes.

Please don't use ids. Your unique elements won't be for long, I guarantee it.
Companies which double down on lying PR by personally attacking people correcting it (not even accurately apparently, given no evidence to suggest Tamba Lamin has any connection with French media reporting quotes from election officials) should not be anywhere near election counting.
> Isn't there considerable value in having a simple framework that can achieve all those effects, and be shared and communicated easily with others?

historically, gfx apis went the opposite direction. fixed function pipeline was replaced by shaders. now we rely on the api basically to do rasterization and little else. i think in ray tracing you would want a similar distillation. so like yes, the ray cast operator might be wanted in the api, but i think computations like importance sampling from the conditional brdf are better left in shaders.

and beginners who just want to get triangles on the screen copy/paste a bunch of code they dont fully understand, like now :)
I doubt they will last through our the winter. It is still in the best interest that the area continues to grow.
> and should be prevented from ever happening again.

Take a look at the cost of airplanes, even small ones.
> Most people couldn't understand ToS agreements if they had the energy to read them, which they don't.

It's easy to understand, however, the business model of companies like Facebook if you don't pay for the service. That's what Facebook users should realize by themselves.
Your question sounds pretty sarcastic, but yes, I do think we’re able to focus on building a big company and not getting caught up in the high burn, rocket ship or bust game that is dooming a lot of valley companies and resulting in many premature acquisitions (or worse). People think midwesterners think small, but I don’t relate to that.
Honest question: why? Have the stakes or the players changed so much? It’s not as though the original MKULTRA and other human experiments which have been acknowledged led to a lot of jail time or ruined careers. We’re the people who kidnap to black sites and torture poeple, the same poeple who nuked our own soldiers and innocent islanders.

What’s changed?
Lol same. That's great and actionable feedback. Email me too!
> But if it's a cancer now, then it always was one

I wouldn't say that. It looked pretty benign back at the beginning. And then the noose started tightening, and tightening.... Frog slowly boiled.
>I doubt they will last through our the winter.

That's what Denver said.

>It is still in the best interest that the area continues to grow.

Best interest of who? How so? For every person who benefits there's gonna be another who loses.
1. That kind of defeats the point of the blockchain.

2. The problem is a technical one as a result of a blockchain allowing content other than financial transactions to be a part of the record.
My guess is he's been cognizant of the magnitude of this disaster all along.

This is why he had been getting his picture taken driving tractors. It was an act of image management, not because he planned to run for office.
>How do we punish them in a severe enough way to encourage making things better?

This is a tough problem, but if we stop or limit the allocation of resources to protect the secretive intellectual property that is autonomoilusly running people over, that is the most effective incentive I can see. Plus it's pretty easy to do.

We don't even have to force them to disclose anything, by affording less legal protection, their employees will open-source it for us.
I didn't actually calculate the probabilities, it was just my off-the-cuff estimates. 37% could be 'about half' :P
So, who is going to jail (or at least - trial) over this?
OpenSSH does not rely on key continuity when used with SSHFP, it will not store key data at all since that would make the whole endeavour rather useless. Neither does Postfix when used with DANE, for example.
JS performance leaves a lot to be desired and there are a mass of developers who won't bother if there is no escape hatch to get that performance when it's needed.
It's a liability if the costs of the costs of the standardization exceed the real returns, a point which you have 'strenuously' ignored while pretending to push the burden proof back to me.

Sure, in a vacuum anything can be seen as 'complexity', but if you actual measure the costs of doing complicated things in late Roman times then it's clear why their system fell apart while the Germans' largely didn't, despite the Romans having more territory and population to start with, and the key is to see that the late Roman system was horribly inefficient, even after taking standardization into account.

I've made a detailed case for my views. Where's yours?

Otherwise you will never come to any real conclusions, since every society will look more complex from a particular perspective, so none can be fruitfully compared to another. Or you would end up with ridiculous conclusions like modern society is simpler than hunter gatherer societies, because we have uniform driving laws and a global data routing protocol while they don't.
Google also announced HEIF support, likely for the same reason (https://www.cnet.com/news/android-p-heic-photo-compression-f...)
Not only that, but smaller, non-union productions also do everything at the last minute. This is possible in Los Angeles, where there is enough work to go around to support a lot of people in all the specialties - you can call your contacts and someone will be available. Getting custom props or set design on an 8 hours' notice is possible. Only larger projects can afford to have all of the production requirements planned in advance, something that you need if you are planning to film somewhere without a well-established film industry.
https://www.ntsb.gov/investigations/AccidentReports/Pages/Ac...
More specifically, based on the NYT story that you linked to, Obama's campaign did things like match the mined user and user-friends' data with voter registration and donor lists, and also attempt to calculate who a user's "real-life friends" were, versus their casual FB acquaintances, which involved an analysis of photo-tagging, among other things:

> Once permission was granted, the campaign had access to millions of names and faces they could match against their lists of persuadable voters, potential donors, unregistered voters and so on. “It would take us 5 to 10 seconds to get a friends list and match it against the voter list,” St. Clair said. They found matches about 50 percent of the time, he said. But the campaign’s ultimate goal was to deputize the closest Obama-supporting friends of voters who were wavering in their affections for the president. “We would grab the top 50 you were most active with and then crawl their wall”

In the next paragraph, FB said it was "satisfied" that this met their data and privacy standards. Which is a bit curious because IIRC, it was not kosher to cache data scraped from FB for any reason beyond having a reasonable cache (to prevent unneeded API requests), nevermind for independent data collation and analysis. I would bet that the users who did knowingly sign up for the Obama app did not think the app would be scraping the walls and photo albums of their friends and attempting to do friendship-strength analyses.

CA still has an extra level of subterfuge, but I agree, what the Obama campaign is reported to have done is definitely not as innocent as the Obama campaign staffer claims in the aforementioned tweet.
Whenever someone says "simply do X" or "why not just do X", it indicates they don't understand the implications. If it was simple, they would have already done it. In this case, you want to ban billboards because they target drivers, and radio ads on the oldies station because they target old people, and TV ads because they target the demographic watching whatever show.

Remember when Google was proud of how its ads were targeted so you'd see actual useful things instead of endless shoes and cars? Internet ads really are much better now than in the late 90's.
The idea is to come up with a certification test suite, and the cars have to pass it. Add/modify the tests as experience requires.
A lot of advice I've seen (such as this) postdates much of the standard library implementation by quite a bit. I could not, however, suggest that the current design for crypt is good or bad, for I have not used it often enough to offer a worthy opinion.

People seem to really click with the net/http design, and that does seem well done, but I imagine the standard library itself is a bit unevenly architected.
Your first point depends on what question we're asking. Are we asking which is morally justifiable? Or are we asking what the public will accept?

Having seat belts is obviously statistically safer, but when they were first introduced, many people loudly protested that they'd rather be thrown clear in an accident.
Were you a theranos believer too?
In the deleted tweets, he was using "breach" in the narrow sense of computer security, basically saying "my team didn't mess up, we didn't get hacked".

There are two problems with that:

1) That view is already too narrow for practical security engineering. It's not enough to have a technically correct solution, you need to consider the entire product to ensure that it has the expected security properties in the way it's actually used.

2) Worse, it ignores how the message is going to be interpreted outside of the computer security field, which is especially important when the company is under political scrutiny.

For a C-level executive, it seems like an unfortunate lapse.
Probably a critical mass. It's just like technological adoption: there's an early adopters group and then the masses come in waves.
Smarking (YC W15) Is Hiring a Head of Engineering in SF
1500 comments before knowing the real reasons. It could be suicide. The dead woman has history of substance abuse and arrested 6 times.
http://www.dailymail.co.uk/news/article-5519433/Self-driving...
http://fortune.com/2018/03/19/uber-self-driving-car-crash/
The first real cars, dangerous as they were, were far safer than horses.
If I had a data structure whose contents could be interpreted differently by different parties, I'd have a very hard time convincing stakeholders that it was immutable... and I'd feel bad trying to do so.

> We would know and be able to prove that they invalidated or ignored the results

To your new point, though, picture this: it's 2016 and you're running your election on the blockchain. Unfortunately, a consensus bug in the blockchain causes the updated nodes (say, half the network that updated) to split. The devs decide to go forward with the new consensus rules and abandon the other chain. However, we find that the tally on the abandoned chain elected Hilary and the tally on the new chain elects Trump. What happened? Were the devs co-erced? Did they introduce the bug themselves? Why was the tally different on the abandoned chain? Who collected the tally and wrote it to the blockchain?

How do we know or prove the legitimacy of the chosen blockchain over the abandoned one, as you claim?
I’m not a big fan of contrived examples with imaginary use cases, because they tend to fall short in actual use.

> “Accept interfaces, return structs”

Real example from personal (professional) life against that: Amazon AWS SDK defined S3 as a struct. That makes it bloody hard to mock during unit testing. I eventually ended up defining my own “s3iface” interface with corresponding mock to combat this, but now I have to repeat this for every program that uses it. Ok, I’ll separate it into its own package and include that everywhere. Wait, what was the point of the AWS SDK not doing this directly, again? Oh, look, they eventually ended up doing just that: providing an interface version of their S3 struct:

https://godoc.org/github.com/aws/aws-sdk-go/service/s3/s3ifa...

> Package s3iface provides an interface to enable mocking the Amazon Simple Storage Service service client for testing your code.

With the exact same name, to boot.

Please consider providing and returning interfaces. Even if your struct is the only type implementing it.
Well done, very well written!

Be aware that the approach this book takes has its own type of target audience. I guess the audience that will like this book/tutorial are the kind of people that will usually just read the entire reference manual of anything to see what's in their toolbox before actually starting to build something. So by reading it, you help them as a guide to work through it, choosing the parts of the language that are best learned first. After following the exercises, the reader can already build some programs using those concepts, whatever it might be, leaving it to their own imagination.

The other type of audience, which this book might be less suited for, is people who get bored after chapter 1, thinking "I want to build something fun now already!". Those might be better served by a tutorial like "we're building a XYZ game", explaining concepts along the way.

Both are good, both are needed.

I'm one of the first type of people, so I'm really happy to see this kind of book. The second type of tutorials only give me fragments of information if I follow it building that XYZ game, while I have my own idea of what to build, and just want to learn how those lists and dictionaries work when I discover I need them. ;-]
I highly disagree. It's easier to simply disallow veiled political advertisements (propaganda) for both platforms and propagandists. Nobody has a "right" to spread propaganda, just like nobody has a right to defraud people simply because they aren't able to spot a scam
did not know the intention of the device had been confirmed by scholars.

I found the youtube video of the Lego recreation of the mechanism worthwhile. The Lego version of the mechanism predicts an eclipse for April 8 2024, which agrees with this: http://www.planetary.org/blogs/bruce-betts/2017/20170920-gui...

Interesting that it's an Eclipse which will be visible in North America but apparently not Greece(?). Not quite sure how that all worked out. Maybe the Lego version, built by a guy in California, was calibrated to predict eclipses visible local to himself or something.
Is this before or after the UK serves their warrants for the contents of CA's servers?
Especially when Dutch East India and South Seas were actual states in almost every way except name. Once you have an army, provide services and collect taxes you are a state.
Not surprising that large companies would have 'stooge' employees in place for just this sort of thing. I have heard of it happening in at least one major store chain here many years ago.

Kind of reminiscent of one of the first episodes in the series 'Suits' where Louis Litt is interviewing a new junior employee for the firm, and he pulls in another junior mid-interview to dress him down and dismiss him in front of the new employee, just to put the fear of his authority and power into the newbie. The 'fired' employee then just goes back to the bull pen to await being called in for the next new recruit interview so he can walk past and be 'randomly' called in.
Clearly I think Uber is a benevolent entity that has all of our best interests at heart. Also, I eat babies.

Or, you know, don't jump on comments for their not explicitly addressing the hobby horse you're riding. Frankly I just wanted to express a better engineering context around the loss of life without getting into the political bullshit for once.
No issues scrolling on Version 65.0.3325.162 for Mac OS on said page.
So... you’re saying people have been warned of the dangers of sharing data, yet nothing untorwards actually happened?

Those two dtatemts seem to be contradictory.
Diaphragmatic Breathing Exercises and the Vagus Nerve (2017)
It needn't be suicide; from the second link, the victim may have stepped from a shadowy spot/out of view. A car cannot avoid what it can't see.
A bunch of individual scattered movements were under attack at once. Women's movements were crushed by this overt misogynist who bragged about sexual harassment. Minority movements were crushed by the overt racist who started his campaign on the idea that the overwhelming majority of Mexican-Americans were murderers and rapists.

Many people believed that America as a whole would reject the regressiveness of Trump. When that didn't happen, it was a wake-up call for a bunch of different groups.

Post-election, we had the white nationalist rally and death at Charlottesville, which was eerily similar to Nazi rallies.
> “They are going to attempt to try to find who was possibly at fault and how we can better be safe, whether it’s pedestrians or whether it’s the vehicle itself.”

Autonomous vehicles should automatically be 100% liable in every accident in which a person is injured, and it should be paid for by a levy on every vehicle.

A levy is fair because the per vehicle risk is much more uniform than with a driver behind the wheel.

100% liability is fair because the software should be written so that the vehicle predicts the path of all objects within its range and adjusts is speed/trajectory so that there is negligible risk of collision given the worst case behaviour of the object. If an object doesn't show on the car's sensors, then its still the car's fault as the sensors should be built to they do pick up all objects. There is a complete power imbalance otherwise: software cannot be injured in a collision but people can, so all people should be 100% covered to give the software incentive to be the best it can.

Summary: a car is governed by predictable physics, hence there is no such thing as an accident involving an autonomous vehicle, only mistakes.
This has been posted before (https://news.ycombinator.com/item?id=14290909) but I think the list has been updated since then.
It's said she's been hit immediately after entering a car lane outside a crosswalk. Quite possibly there was no time for the autopilot to react at all. I hope all video footage for self-driving crashes is mandatorily released.
tl;dr it was an electric car
'Noa' is a Polynesian term apparently; basically it's the opposite of 'taboo' (also Polynesian.)

It's not on the face of it a very confidence-inspiring source, but r/askhistorians is as good as Reddit gets, and the poster here wrote an actual book on the subject. Give it a read: https://thingsonreddit.com/things/13812/comments/
Thanks for the honesty about the cushion. Often these tidbits get left out. It is really interesting to understand all the puzzle pieces and the mentality of those that made it.
Show HN: The Seed of a Collab Server
To me it does come off as vaguely negative - in context, perhaps hinting at skepticism of whether the company will succeed in overtaking Uber. But if so, only mildly; the word definitely has its positive connotations too.
Crossing a 4 lane road (where speed limit is at least 40mph) outside crosswalk? It's clear that it is cyclists fault. The only thing that is questionable - would a human driver have avoided this or at least hit the cyclist with lesser speed.
What are the alternatives to Wordpress? Every time a small business comes to me and wants a website, my answer is Wordpress + a theme + one or two plugins. I'm not aware of anything else with as many themes or plugins available, or as easy to get going.

I'm a C++ dev, not a professional web developer, but I help out friends and family. With Wordpress I usually bill around 4 hours to do a website for someone if they have the content written.
I love /r/askhistorians, they have fantastic contributions and moderation. Thanks very much for this.
Why check your sources when you can publish both the outrageous article and then a retraction as well? Instant click doubling!
...from orbit.
Isn't the point of smart vehicles that they have superhuman reaction speed?
One of the more surprising things about Go is that you don't need to name interfaces at all. This:

func f1(r io.Reader) {}

Is the same as:

func f2(r interface{ Read([]byte) (int, error) }) {}

In fact this is super common, with the empty interface:

func f3(r interface{})

But somehow the ramifications of that don't sink in and we fail to generalize the principle.

One practical usage:

li, _ := net.Listen("tcp", ":9000")
for {
conn, err := li.Accept()
if err != nil {
if err, ok := err.(interface {
Temporary() bool
}); ok && err.Temporary() {
time.Sleep(time.Second)
continue
} else {
panic(err)
}
}
}

This takes a bare interface and checks to see if it supports the "Temporary() bool" interface (which all net errors do). When paired with a type switch this makes for very interesting behavior:

switch err := err.(type) {
case nil:
case interface{ Temporary() bool }:
if err.Temporary() {
time.Sleep(time.Second)
continue
}
panic(err)
default:
panic(err)
}

https://play.golang.org/p/J66vaIBGrs2

All that to say, creating duplicate interfaces is perfectly fine.
I had a boss that used to scold me in front of others to show that he was tough and impartial. It took two or three times to see the pattern (he expected me to see by myself). Too good I didn't overreact...