skysight-inc/HackerNews huggingface dataset:
The concept of an upper bound on prediction for a given data set does exist, I've seen it discussed explicitly in some mid-1990s universal sequence prediction literature. I haven't seen the term (or concept) used in modern predictive algorithm literature but I believe the term of art is "prediction error complexity" which is conceptually similar to concepts like Kolmogorov complexity in algorithmic information theory.
Malibu (Opel Insignia) is a significantly larger car (it's about 4.8 m long, Bolt is 4.2 m, and Malibu/Insignia has the same curb weight of about 1600 kg even though it is a gasoline engine version that has no battery (which in Bolt weighs 440 kg).

Sure, Malibu/Insignia looks different but it also takes more space.
https://www.icicletech.com/blog/16-opensource-reactjs-projec...
I know that the argument that "silly developers shouldn't be allowed to do silly things" is a valid one, but I don't see a convincing argument that top level await is worse than what developers are currently doing, which is use synchronous functions to do IO at the top level.

If anything, top level async would be an improvement, as it would give developers no reason to do synchronous IO.

Edit: Additionally, ES6 modules are already imperative. There isn't any way to make them declarative.
JavaScript has a Unicode problem (2013)
I have started doing something similar - I have a notebook with some basics that I can refer to while attempting a conversation.

It helps, a bit, and is lot more convenient than firing up google translate every two minutes (which isn't that much use for a lot of grammar anyway).
http://pitchfork.com/
It's a joke but they provide the source maps of their babelifyed-JS with comments, just look in the webpack virtual dir in the inspector.
It's the impression I got as well: it seems to be an exclusively american list. All bills are set up to be paid automatically and the whole "financial planning" thing that there's effectively no need to do here.
> I wonder what the result would be of vastly reducing regulatory approval requirements, but in exchange giving pharmaceutical companies unlimited liability

I don't think lawsuits are the best "first line of defense" for protecting consumers against harmful drugs. Because the usual measure of damages is the cost of harm, the actual recovery (once discounted by litigation risk and diminished by legal fees), is a fraction of the cost of the harm. That discount is particularly significant in medical cases, because proving causation is very difficult (how do you know that this drug caused your dad's heart attack instead of the three others he was taking?).

Moreover, drug-related litigation these days relies heavily on the factual record developed by clinical trials and FDA investigations. Class action lawsuits are often precipitated by an FDA action. E.g. major litigation like Fen-Phen and Vioxx, that netted tens of billions of dollars in recovery for consumers, were kicked off by FDA recalls. Individual litigants are poorly positioned to develop the scientific record necessary to support a lawsuit.
Ok, so we do away with private property ownership... How do you determine who gets to live where? Can I just build my house wherever I want? Can I block your doorway with a house I build right in front of yours?
Angry Kickstarter Backers Ask SCiO: Where's My Pocket-Sized Molecular Sensor?
Postmodern comment:

My favorite HN post is now this one because it lets me amalgamate all the best posts that I missed.
I am looking F# for CoreCLR status page,
https://github.com/Microsoft/visualfsharp/wiki/F%23-for-Core...

Is F# support ready for Prime Time?
Most of the patent drugs never existed until somebody first synthesized them. How is that not an invention?
you mean this car? https://www.youtube.com/watch?v=v5dpQaakHwI
The choice of words was poor, but living with roomates and commuting an hour when your salary is $100/year is, in my opinion, unreasonable. There's good food and roofing available all over the country.
My morning cup of joe is usually made in an Aeropress from freshly roasted and ground beans. Typically Counter Culture or Larry's beans (local suppliers), light roast. I use a burr grinder.

I sometimes also make Turkish w/o the cardamon, usually with a bit of sugar, maybe with a splash of cream (blasphemy I know). But I will also occasionally use a French press, a Chemex, or make cold brew. My wife uses a Moka pot, and I will sometimes use that to make a Cubano, though it's not nearly as good as a Cubano made in a pump espresso machine.

It just depends on my mood.

I gave up trying to make good espresso at home after getting frustrated with a Gaggia machine. My fault, not the machine's, but in the end I decided it was too much effort for 1-2 oz of coffee. :-(

To answer your question: as long as the beans are freshly roasted and ground, and the coffee made with care, I'm not particularly partial to any technique. You can even have a mighty fine cup of drip coffee. I think espresso is just a much more demanding technique to make well.

About instant: I know Israelis and South Africans who prefer it, but no Americans.

Maybe the worst way to brew coffee: percolators. Oh the horror.
Seems to me cinemagraphs and wiggle stereoscopy are both red hot right now. I'm sure someone will combine them soonish, creating cinemawiggles.
The Bolt has no realistic story for long distance travel. No manufacturer other than Tesla does. I don't understand why they aren't rushing to replicate (or buy into) Tesla's Supercharger network.
Let's review the leak:

* NSA spies on foreign governments. Isn't that their job?

* NSA spies on Americans, & has compromised infrastructure. Your first assumption here is that the ruling elite won't want you to know that. Have you ever considered they wanted you to know without official acknowledgement? Go find an oldhand AT&T geek and ask them about the telephony and NSA.

> Regardless of the personalities involved

You would have a point if Snowden had released the material to non-corporate actors (how about UN's human rights commission) and wasn't on the talking head [1] road show pontificating on various matters. If the actor is false then the road show is a cause for concern, don't you agree?

[1]: https://en.wikipedia.org/wiki/On_the_Internet,_nobody_knows_... I want to see a pic of our hero in Moscow, holding today's edition of whatever passes for journalism in Russia, posted to twitter, to start with.
In my opinion, if you want to win over people who think ev's are a joke, the car at least needs to look good. It can't be another wonky toy that a large company threw out there for PR points. The car looks like something they're taking seriously.

Plus, Tesla's usually have a lot of technology packed in them as well. So it's not just good looks that are going to save them.
Am I the only one who is happy using normal callbacks? I think they are the best representation of the asynchronous flow.
Nothing, but the possibility does increase the chance of those laws changing.
we can speak of Qualia as attributes of consciousness?
Laundry - we have an order of magnitude more clothes than in the 1900s, and wash them much more frequently - far beyond what's needed to not be dirty or smelly. Kids have the same amount, and variety, as adults. Any time saved is far more than compensated for by sheer quantity and frequency compared to olden days.

Dishwashers help with the bulk, but you end up with more dishes in the household (not worth firing up the dishwasher til it's full). With the things they can't do, and the baked food they sometimes miss, the rinsing beforehand, the loading and unloading, the saving is marginal. But 20 mins a day with hands in soapy water isn't fun, so...

Cooking -- we make more interesting things with far more ingredients, as the fridge is the size of a 60s house, rather than just keeping milk and cheese fresh. Or order takeout.

So track record says whatever future inventions bring us to save time, work (and chores) will expand to fill time available, and we'll be even more fragmented, with even more stuff.
Am I stupid if I don't understand that post?
What scale? Tesla has hundreds of thousands of pre-orders. How many of these will GM sell? It’s not like there’s a wait-list for Volts.
The author docks Tesla for being unable to meet demand for its Model 3 and notes that GM will easily meet demand for its Bolt. No mention of what that demand is likely to be.

I don't have pre-order stats, but if Bolt sales are anything like Volt sales, which recently crossed 100,000 after years on the market, meeting demand shouldn't be that challenging.

http://media.chevrolet.com/media/us/en/chevrolet/home.detail...
Alright, this following comment is not an official communication by Kiwi.com, it reflects solely my personal guesses/opinions.

I'm not sure about the details since I don't have much to do with the legal side of things, but I would assume that Kiwi.com had to put this clause in to avoid having to pay when a flight's price is 1000x higher than it should be as an error fare, or similar cases. I've personally never heard of a case where expenses weren't fully covered because of this clause.
Spotify has achieved what no normal entity could. Go them for having a relatively decent free to play with, I'm assuming, a good pay to play model as well.
...and people wonder why ADHD diagnoses have been on the rise.
I thought this was going to be Unreal Curriculum Vitae, and it was going to be a playable resumé. I'm slightly disappointed.
> Also trivially disabled, again, unlike the location tracking the Register is describing here which cannot be turned off.

The tracking absolutely can be turned off. The register's original article is somewhat confused on this.

(disclaimer: googler)
That's what I could find of the car from the article, I updated with a better picture from another commentor.
Your cases 2 and 3 are pattern matches. It's perfectly fine to use regular equality with optionals (case 2) or enums (case 3), but in that case you're not matching a pattern you're comparing two specific values, and you need the types to be equatable[0] (enums aren't by default, though optionals are if they contain an equatable value).

* you can write "foobar == .someEnum" if you've defined "==" for your enum type (in Rust that's a deriving(Eq) away, sadly Swift doesn't seem to have deriving):

// requires conforming to Equatable, and implementing
// requires func ==(a: Foo, b: Foo) -> Bool somewhere
// if the enum has associated data[1]
let v = Foo.Bar;
if v == .Bar {
print("ok")
}

you can also do that with optionals by default:

let w = Optional.some(3)
if w == .some(4) {
print("ok")
}

* `let a = b && thing` doesn't make sense because `let a = b` is not a boolean value it's a pattern match. That's why you have a separate guard (the where) and have to write `let a = b where thing`, this is what happens in pretty much every language with pattern-matching (though syntax may vary)

* `let d == f` makes no sense whatsoever, though as previously noted `f == .some(d)` works

* you can compose `if case` and `if let` in, since both are pattern matches, `if case .Bar = v, let b = w` works fine

If you're getting lost with that, use the regular `if` for boolean stuff, and a full `switch` for all patterns. There, I fixed it.

That aside, I do agree Swift's syntax is convoluted and complex. Part of that comes from `if let` being special-cased to optionals, which is convenient when you're working specifically with optionals but means a separate syntax for other enums.

On the other hand, most languages with pattern-matching don't provided a "conditional-ish" version, Haskell's `if` works solely on booleans, if you want to work with patterns you have to break out the full `case`. Rust lifted `if let` from Swift (with different semantics) because it was such a neat idea.

[0] http://www.andrewcbancroft.com/2015/07/01/every-swift-value-...

[1] for trivial enums (no associated data, though they can have a rawValue), you can just `enum Foo: Equatable` and it'll get a proper implementation; for the rest you have to implement == yourself: http://www.jessesquires.com/swift-enumerations-and-equatable...
"you can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem. From Windows or Mac, this FTP account could be accessed through built-in software."

Yeah... that would have been a lot easier than Dropbox!
The renaming of flatten to joined was a last-minute proposal, and it wasn't even implemented by someone of Swift's core team. I don't think it distracted the team much at all.

Also, breaking changes such as this one were a lot easier to make in Swift 3 than in a later version.
Well yeah. That rings true for a lot of popular cities... is that really edifying? Fundamentally before moving to a new city, you can calculate your salary minus expenses and see how much you have to sacrifice to make it viable to save money. It was practically the first thing I did when looking for an apartment in NYC after taking a new job.

Especially with major cities, having a single income family is only viable if one person earns a lot and/or the couple has no intention of buying a property and settling down.
Amazon Echo finally finds its British voice and heads to the UK
Doesn't go into further details about drip brewing methods. Timing and measuring is important. 55 grams of coffee for one litre of water. At home I'm grinding our coffee every morning and using a Hario V60 filter with a goose-neck kettle and a scale. Works every single time and I'd say the result is better than any espresso I've ever had.
They've already implemented scrobbling, I think the previous poster was asking for offline plays to be scrobbled too.
Robots will eliminate 6% of all US jobs by 2021
Reid Hoffman Has Created an Anti-Trump Take on Apples to Apples
Just to be clear - racing cars is EXPENSIVE if you're even remotely serious. You're talking about blowing easily $2,000 per weekend of racing, and that's if you're operating on a budget and already own the car.
> as though it's some big surprise that an auto manufacturing giant is able to produce something at scale much quicker than a scrappy upstart

I'm not sure I'd call Tesla a "scrappy upstart". They're a publicly traded company with a market cap of $28B, versus GM's $47B. They employ 14,000 people. That's a lot less than GM, but it's also not an insignificant amount. At what point does one stop being a scrappy upstart, and start being a mature company?
Docker: GUI apps on OS X
As background:

Sterling was convicted after it discovered that he'd been leaking details of "Operation Merlin" to reporter James Risen. "Merlin" was a scheme in which blueprints for Russian nuclear arms technology was to be altered, such that attempts to test those weapons would fail, and then passed through to Iran's nuclear program. "Merlin" ultimately failed.
Under the Hood – Performance Considerations of a Garbage Collector
Yes, but I have two thoughts about that:

Defaults matter.

They still track what IP you connect from, and can correlate this to a physical address. I can connect to google and get search results tailored to my physical location, even if location services is not allowed for their site.
I also enjoyed the precursor, "Mind Children: The Future of Robot and Human Intelligence".
That's very good news.
I really like the idea of the small state. Things should be as simple as possible, but not simpler. Children have rights and when parents do not protect these rights, the state has to. There is a hierarchy of rights. The right of the child to be healthy is greater than the right of the parent to ignore scientific evidence.
yes, since 12h ago or so..
If that's the end game google can license their software to other car vendors. No need to giveaway the data.
It may be because the fact that Eclipse has cluttered user interface which looks like something developed in the 90s, despite we have 2016 now. Maybe because it has myriads of plugins that are not well maintained, documented, or just does not work. Maybe because auto-completion is slow and does not display most probable candidates. It might also be that dark theme is pain in the eyes. I don't know, really...

Seriously though, I believe Eclipse should hire good UI designer to produce modern, fast and good looking interface. Measure what people use, how they use it, for what reason - and then improve it. I got a feeling that they forgot (and it happened very early in the project life time) about the most important part of every project - end user.
I hope they add lyrics again. They ended their partnership with musixmatch a few months ago and haven't offered an alternative yet.
I started listening to books, fiction, while I worked. It was the best choice I made it a long time. The only time I can't listen and work is when I am planning or doing architectural work where I need an inner monologue.
> The prescientific suggestion that humans derive their experience of existence from spiritual mechanisms outside the physical world has had notable social consequences, but no success as a scientific hypothesis.

Why?
> Asking people to endanger themselves on the off chance a person with a gun isn't going to shoot is nothing short of insane.

This is a straw man argument. I never asked anyone to endanger themselves. I don't criticize the officers who shot the man--it was a tough call and while it turns out they made the wrong call, I believe they made the best call they could given the information they had. I'm saying that the officer who didn't shoot, should be lauded for his actions, not fired.

Further, people who apply for police work do so of their own accord. No one forces anyone to become a police officer. If you want to be safe, you should get a desk job instead of becoming a police officer. If you put yourself in danger and use that as an excuse to shoot people unequivocally, you're just a murderer. Part of an officer's job is assessing a situation and deciding whether lethal force is warranted. I don't blame an officer for making the decision to use lethal force, but it should be a decision. And if you aren't willing to make that decision, you should find another career.
...but homebrew isn't a VCS... its just another package on top of the VCS.

My point is that this function should effectively be part of the VCS.
Alexa and Amazon Echo Now Available in the UK and Germany
I thought it was going to be about CoffeeScript or Cafe (deep learning framework).
No, there's zero context.
Sunlight and an Internal Switch Dictate When We Sleep
So sad. The A380 is my absolutely favourite plane and I usually go out of my way to fly it. It's so smooth and relaxing to be on.
I've learned a lot from building a system in Smalltalk and these books:

https://en.wikipedia.org/wiki/Design_Patterns

https://www.amazon.com/Smalltalk-Best-Practice-Patterns-Kent...
In my outrage, I admit to unconscious hyperbole. Substitute grave for existential. But the point remains that if we succumb to this, humanity will be unrecognizable in 3 generations. Perhaps in some way that counts as an existential threat?
Show HN: Simple pattern-matching in Common Lisp
You do realize that S&GA is a catch all for the general expenses for running a company right? Why would you be surprised it's such a high percent?

Also, you may want to do a side-by-side comparison of which industry spends the most on R&D. It's ~20% in pharma which dwarfs most other industries.
> I’d been granted a few thousand shares when I got hired, and after the company had its IPO in 2012, I sold all the shares that had vested. … We could finally rent a house for just our family, no roommate. In order to afford that, selling stock became necessary every quarter it vested. Obviously, this is not the path to financial security, but when the sum of money that lands in front of you isn’t life changing, you look to the short term and what it can do for you right now.

What‽ Selling capital in order to finance daily survival is terrible: the entire point of a working life is to accumulate capital in order to finance a retirement.

Not having a roommate was, literally, a luxury he and his family could not afford.

> But for a person with a family of four who has a certain lifestyle that they want to try to maintain (a niceish $40,000 car, the ability to go out once a month and leave the kids with a sitter, a house that wasn't last remodeled in ’70s, etc.) it can be difficult.

If you have a wife and two kids, then maybe buying $40,000 cars is a mistake. Maybe getting a fancy house is a mistake. True fact: children survived into adulthood just fine in the 1970s. Part of being an adult is knowing how to differentiate between essentials and luxuries.

Honestly, with his sort of (admitted) short-term financial mismanagement, I don't think he could survive on six figures in Dallas, Houston, Denver, Kansas City or anywhere else. He'd make the same sort of bad decisions, perhaps with a longer runway to ruin.
'G.I. Joe': The Story of the Cartoon That Sold Wartime Heroics to Kids
I do the same calculation, but it isn't quite as simple as making sure you save more money than time spent * salary per hour.

For one, you can't just work more hours whenever you want, in however small of chunks you want. If something takes ten minutes, it's not like you could just choose to work for your salary for those ten minutes.

Second, not all work is equal, and you can't do all work for an infinite amount of time. Whether you are a physical or mental laborer, you only have so much productive energy for your job. You can't just work 18 hours a day and pay for everything else with the extra money.
This is something I did for my own edification; I came away learning a lot more about macros in general and a little more about `destructuring-bind` in particular.

Any feedback is appreciated!
The Bolt would work for me, long distance. It will have SAE combo as an option which means something like stopping for 1 hour every 200 miles. Not as good as Tesla but OK-ish. YMMV.

edit: I'm in the UK where coverage is pretty good.
Secure erasure – Ada may be a solution
I like open source and open data in principle, but hate how it is driving more of the economy to an ad-supported model.
Sharing is a two-way transaction with the object being returned. Rent is one way, as the landlord isn't giving you your rent back.
Build artifacts aren't necessary to bring over to git in a conversion from hg/svn. I archive installers and other artifacts in svn, but if I moved to git I'd just archive those somewhere else. The binaries that are actually part of the build (a few binary dependencies, lots of graphics, test in/out data etc) must be next to the source however because those are needed to reproduce a build.
I believe it's a concession/"feature" for mobile users -- you don't see it on desktop, even if you narrow the window to a mobile-equivalent media query. Not sure what the analytics say about it, but I'm guessing the reasoning is that on mobile, there's no room for the usual sidebar or even headernav to allow the user to bounce somewhere else on the site if they're bored with the article. The "Read More" makes it easy for the user to see footer-stuff, such as the newsletter link.
Thanks, we updated the link from http://news.mit.edu/2016/faster-parallel-computing-big-data-....
>A simulation is only dealing with form.

It seems to me a sufficiently precise simulation would necessarily capture meaning. If meaning is critical to decision making and that decision making is precisely simulated, then the simulation must also capture meaning.