skysight-inc/HackerNews huggingface dataset:
Yeah, it's certainly preferable to use Task.WhenAll or Promise.all in simple cases.

For more complex cases, I like to make the analogy with asynchronous code. There's a few problems with complex async code that only uses a minimal abstraction, like callbacks:

* Writing asynchronous code is error-prone

* Asynchronous code obscures our intent

* Programmers are bad at reasoning about asynchronous code

So we developed abstractions like async/await and promises, allowing us to write async code in a sequential-looking way. Unfortunately, introducing concurrency into the mix breaks this sequential abstraction, which means certain familiar problems emerge:

* Writing concurrent code is error-prone

* Concurrent code obscures our intent

* Programmers are bad at reasoning about concurrent code

Haxl attempts to reclaim this sequential abstraction, allowing us to write code that looks sequential, but is actually concurrent "behind the scenes".
What's the font used on the page? It reads beautifully (especially in the "about") and I'd like to use it.
To save someone the click: this is a feature request, not an actual shipping product/feature.
Where i have been in Germany, there was no space after the barcode scanner, you directly put your cart there, and they dump everything in the cart after scanning (the cart is quite shallow, I guess it's to limit the drop height). Next to the exit, there is a table where you can sort your groceries into bags, and take as much time as you want doing so.
Survey about the relevance of configuration systems
Thanks for clarifying. Is this new? I know that I've seen less notice during dot com bust 1.0, and in mid 2000s Wall Street.
Nothing works 100%. How many nines does "all the pollutants" consist of? This is important because the amount of waste produced by coal is vast, many orders of magnitude more than nuclear, so even many nines can still result in more harm than from nuclear.

Also, how do you store the pollutants, and why doesn't that technique work for nuclear waste? I'm guessing that storing the pollutants consists of putting it in good, strong containers, which works fine for nuclear waste too. It's not perfect, but it doesn't really make much of a difference whether it's mercury or uranium leaking.
Apple forgot to encrypt parts of iOS beta 1
Why the downvote? Have you read the ingredients list, its insane!

My kids would rather eat cheap Maki rolls from a local sushi spot than American fast food. In many cases, it actually cheaper.
Larger portions, fried foods, soda, etc. You are being purposefully difficult if you can't figure this out on your own.
Calls for Slack out of beta
But the area isn't big enough. It only works if the cashier wait for you to put all your items in the belt, before start scanning. If you're still putting items on the belt when the cashier starts, the stuff will pile up on the little shelf thingy after the cash register. Now they're in the wrong order when you need to speed pack them afterwards.
Observing third world elections is on my bucket list.

Election and voting chicanery happens plenty in the USA. No need to look abroad. Merely lifting the floor here would be transformative.

The silver lining from the oversteer triggered by Gore v Bush 2000 is that HAVA did lead to greater federal involvement in our locally administered elections. eg Election Assistance Commission http://eac.gov is now fairly proactive.

re "vs a hypothetical crypto solution"

Estonia's online voting system hasn't faired well under scrutiny.
'The world's most secretive company': 5 Amazon takeaways from IRCE 2016
I'm the most excited the Selenium WebDriver support. Apple was the last major vendor hold-out. We really thought Microsoft was going to go last! The Selenium project's "secret" world domination plan was to stop doing all the work and instead, get the browser vendors to do the heavy lifting. It worked!
I've already been downvoted for this question, but I don't get the business case here. If you are worried about this, why not write code in modern C++ which has plenty of ways to make all sorts of issues like this safe ? Why stick to C at all?
The thing is, if they were taking their kids to the local diner, the food would be just as unhealthy but no one would comment.

That's how you know the McDonalds hate is really about judging and not about health.

It's like people who only care about rape when there's a Muslim suspect. If they really cared about it, they would talk about it outside of the context of religion.
The gender pay gap in tech by age, city, education and ethnicity
Advertising is doing 'better than ever' because for every x% increase in adblocking users, the adverts seen by the remaining people become more than x% more predatory. You can tell that a market is healthy and sustainable by looking at its bottom line.

See also: Cable TV.
I noticed at line in Costco the cashier's assistant rearranged by stuff on the belt to have the barcodes facing up and in the same direction.

Costco could probably save some money by putting barcodes on every side of everything.
Isn't it counterintuitive that there are two scroll next to each other for smaller screens? And also that the one on the right is to scroll the content on the left, while the one on the left is to scroll the content on the right.

http://imgur.com/x9BMjmR
"strict mode" is an assistance to migration.

The fundamental memory safety problem in C is that arrays are not first-class objects. They degrade to pointers when passed around. Yet any function which references an array has to know how big it is. Somehow. The language has no syntax for this. That's the big problem, and what I was addressing.
> Actually, it's not McDonalds those people don't like--it's their desperation and urge to be something better than they really are, the fear that people confuse them as with being white trash instead of middle class. This is the main reason they buy overpriced organic food at 'upscale' locations

Perhaps that strawman exists. I know that we don't eat at McDonald's because we believe that factory farming[1] is inhumane and that grass-fed beef and dairy from animals that weren't stressed their whole lives is likely to be healthier. Also bad: large producers of animal products have been overusing antibiotics, leading to possible major problems for the human race in the future. McDonald's is not the worst in the industry, but they're still bad by these particular measures.

I totally agree that eating a McDonald's-like meal from time-to-time isn't going to wreck anyone's health. I also know that many people don't care about the animals, or can't afford the cost of well-cared for animal products.

I guess my point boils down to "all generalizations are wrong". You love McDonald's and that's fine. But your characterization of people who don't like McDonald's and their desire to purchase "their overpriced crap food" shows that you're not seeing another side to the story.

[1]: https://en.wikipedia.org/wiki/Intensive_animal_farming#Anima...
I find it incredible that along with "we will allow users to save their data in the cloud" comes now automatically "and we are going to exploit their data". Even to paying customers, who shouldn't be the product.
It makes the customer pack faster. Once the next one is served you usually are almost gone. That doesn't happen if there is more space. It also saves floor space in the market.

Except Aldi, Lidl and the like German supermarkets also have the long areas after the cashier. Your items often roll away and you can't reach them anymore.
That's right; one fast and correct zlib matters more than giving everyone an improved C so that they can all try to roll their own zlib that is fast and correct.
This in itself is a very strong, errm, cultural signifier.
Too bad they didn't address the DNS problem in the Keynote. This is a bit of an exaggeration, but I do feel I've spun mDNSResponder more often than using their Messages app.

That's not a positive feeling. Especially if you're with a client and your browser stops resolving and your client is watching you open up terminal to spin mDNSResponder
The law is bounded by the Constitution and the process of evaluating and passing laws in the government. It may be slow, and unpleasant, and difficult to get ones particular views in place, but there is a defined, if imperfect, process to do so.

The change process doesn't exist at all if the services that are offered by a company are entirely private, except by customer choice. And if there are too few choices, then well a monopoly ISP could ban encryption on all their offered links, and parse all the data going by for resale to marketers and right back to the government too - except perhaps for those inconvenient government privacy regulations (or other regulatory rules) which may stand in the way.
Everybody ended up in tech by chance. Everyone ended up alive by chance.
> If anything it's sort of against net neutrality. A small startup would have pay for a CDN or a transit and netflix gets it for free? Just because they are big.

They don't get anything for free that the little guy doesn't. They're just doing their own transit instead of paying somebody else to do it. Nobody is saying Netflix can peer with Comcast in California for Comcast customers in New England. They have to bring the traffic into the region, whether by paying someone for transit or by building their own transit network. Comcast just can't charge them for access to the last mile, and neither can it charge anybody else (like the transit providers who provide service to the little guy).
Is your implication that he was at Princeton only due to his race? Can you prove that?

Otherwise, this seems gratuitously negative and irrelevant.
> 1. Mac OS is just too unfamiliar. It starts with the keyboard layout, which I reverted to Windows-style after I went crazy trying to find the square brackets. (Which, probably for aesthetics, they didn't bother to print ont he keyboard.)

I assume you're using a non-US keyboard? I've been using Macs for programming for 15 years, and I haven't seen this, and I have MacBooks Pro from 2010 through 2016 in our office and they all have square brackets on the keyboard.
I'm not sure it's either one.

I doubt that McDonald's has put much if any particular effort toward building their restaurants into community centers. Without that, I'm not I'm comfortable calling it an achievement on their part. They just sort of fell into the role, and don't seem to have done much to expand it.

As for it being a failure of the society, I'd be tempted to argue the opposite. Lacking a suitable community center (for values of "suitable" that vary from community to community, and which I do not presume to dictate or even know), the community improvised one of its own from what was at hand. We can say that the aesthetics of the implementation are kind of bleak, but to have done it at all is a major success.
They do provide proper cache headers. They cache the CSS for 1 day. The actual font files are cached for a lot longer than that.

The reason for shorter cache periods for CSS is that Google are continually making improvements. The font files are different e.g. for Mac vs Windows because they are optimized for platforms.

In general you will find that all URLs that are directly called from millions of websites (e.g. facebook SDK, Google Analytics snippet) have short TTLs. Makes sense when you think about it -- 3rd parties providing these resources need a way to stay agile and ship new versions without forcing millions of websites to upgrade their code.
form a company (not necessarily in Romania), pay yourself the $55k from there and allow the remaining value to accrue in the company. Of course there's a paperwork hit with that as well, but mostly outside Romania.
It seem to me that the newly renovated McDonalds are more like Panera's so I can see the appeal to go there to hang and converse. My friends and I used to always hang out at McDonalds when we were kids because they don't care if you loiter for hours.
That is what I see also. FF on Linux.
I agree that fab commoditization is on the horizon, and I'm inclined to go a little further than you on the effect: I think we're going to see (in maybe 20 years) an ASIC design golden age where custom and semi-custom designs become the norm in performance-sensitive applications, and demand drives up the scale and down the costs of tooling, expertise, and deployment.
> It’s hard to describe the experience of doing a major refactoring, having a really helpful and friendly compiler guide you along step by step and when finally everything compiles it just works.

This is my experience in a nutshell, my "home language" has been Python since high school after trying to learn C/C++ and persisted through learning Java in college. It was easy to use and get started with, and didn't require a ton of extraneous typing in Vim or looking up class types and returns every time you tried to use something.

For simple projects as a beginner dynamic/implicit typing is wonderful because you need fewer references. Having gone the way of the IDE, however, having good autocomplete, safe refactoring, error flagging before compilation/runtime, and an easy reference for your libraries has made me incredibly efficient in explicitly typed languages. I'm not sure how much longer I'll be using Python as my home language...
> Costco could probably save some money by putting barcodes on every side of everything.

That's easier said than done because Costco doesn't sell only private label items like Aldi.
>That is a myth ... You don't okay.

I'll stick with the numbers.

>try to travel a bit. For people who have actually been around the world

I don't live in the United States, and I've done plenty of traveling. I'm giving you the facts, and you're ascribing motive and/or a viewpoint. You're saying that the only way I can possibly believe what I believe is because I haven't seen the world. Out of respect for each other and the discussion, why don't we assume that both of us have seen the world and instead stick to the facts.

> America has the highest level of inequality of any rich country. Look it up.

So what? I don't care if Elon Musk retires and plays golf on Mars for the rest of his days, not if that means reduced automotive emissions and a better life for everyone here. The better metric is how well are the poor in the US doing as compared to other countries like the ones you've mentioned.

> I've never been to a developed country where you see so much depravity

I don't know how to quantify that.

> Ok by Indian and Chinese standard, America is probably extremely generous

Exactly, and it's be cause we have a lot of rich people here that pay lots of taxes.
Are you referring to the Big Mac sauce? If so, a thousand island dressing gets you pretty close. Or just mix ketchup, mayo, and sweet relish for an easy DIY version. Balance to taste.
A lot of airports just have fine print because they want to point at it when someone misses their flight because one odd day there was a massive rush at security and queues spiked to 3h. I have not been at CDG 3h early for flights (though haven't been there in the last year).

The stories from the US now seem to indicate that the long waits are the rule rather than the exception which to me indicates a change from just a few years ago.
WARN Act is from 1988. [0]

[0] https://en.wikipedia.org/wiki/Worker_Adjustment_and_Retraini...
What's wrong with court oversight that the FBI wants so badly to avoid it? There are mechanisms for emergency situations.

I would like to see the FBI's argument for why this isn't simply the bureaucratic habit of accumulating as much power as possible. I expect they have one, but I haven't seen it yet.
OK? Nobody is saying that it must be desirable for you. It is merely being presented as a possibility in case the tradeoffs do make sense to you.

I find this to be a very puzzling part of hacker culture. Any suggestion that doesn't fit the personal desires of the commenter must be attacked, not merely ignored or politely rejected.
And just to add on to this, it's worse when you're cooking for one, it's far too easy to let ingredients go to waste.

People never think about anything but the cash register price when making this comparison for some reason...
And how would T-Mobile be compensated for that? AFAIK, the reason they're able to do this is because Netflix, Youtube, etc. pays them to be part of the program.
I don't have servers in SF and NYC to play with, but I'd guess that if you ping between them, you'd see much higher latency than that.
Someone's never used KDE.
Interesting that type parameters only make half a percent of difference. So for 2-3% of Python code, the equivalent statically typed code would get really hairy I assume?
The idea that latency is currently bounded by the speed of light is what stops people from fixing the fact that it is not. This is my objection.
kullu the mullu sacking
This is in the opinion of Janice Dunn Lee. I think she knows what she's talking about.

https://www.iaea.org/about/leadership/janice-dunn-lee
I think eterm is comparing security auditors (with code access) to pen-testers (no code access).
IANAL but there are exceptions for "Faltering company", "Unforeseeable business circumstances" and "Natural disaster"

A skilled lawyer might be able to make the case that being a total garbage fire of a company falls under one of the first two.
> how does it take (more than) a decade to learn these correspondences?

Because it only comes up maybe once every two months and by the time I need the knowledge it has fallen back out of my brain.
How You Can Benefit from Imminent Interest Rate Hike
Then I might try it. If done at the right time, it might kick off a two hour ragchew about health problems associated with elderly people and unhealthy food.
Those statements are too strong for the evidence you provide.

A trivial solution would be when you vote online you get texted a confirmation. If you don't respond to the confirmation you get a call. The confirmation gives you a candidate you voted for and a blockchain signature and an opportunity to report error.
Didn't the lack of providers in the majority of the US happen because municipal governments got to regulate rights-of-way for installing infrastructure (copper telephone and cable wires, fiber optic cables)?
Won't he have to file annual tax for that company too?
I don't know if this is sad or not but I remember several birthdays when I was very young at McDonalds and Burger King. They had playgrounds and some fun simple games for us to play. I don't believe they charged us for it other than the food we purchased.

I too had some fond memories of those parties.
The interesting implication is that campaign IT has to have protection, similar to the way that the candidates themselves get SS protection.

Further, that private email servers for public function should never be again. The damage wasn't that a classified email was read; it was that any information was read before it was deemed safe for the rest of the world to read.

It's astounding to me that NSA and DHS hasn't been all over this for years. Although I suppose if all those systems were secure it would be harder for NSA to spy on their owners.
> They do provide proper cache headers. They cache the CSS for 1 day. The actual font files are cached for a lot longer than that.

I don't see it, not with curl at least.

Looks like actual fonts are cached for a year.

But not CSS,

> curl https://fonts.googleapis.com/css?family=Open+Sans -i

expires:Tue, 14 Jun 2016 19:02:03 GMT

date:Tue, 14 Jun 2016 19:02:03 GMT

At the very least they should allow to control that with another query parameter.
I wonder if this project is doing too many things. It includes a package builder and a supervisor. Is there any benefit to integrating the two?

For a project that's smaller in scope but addresses the part about packaging the automation with the application, Joyent's ContainerPilot [1] looks interesting.

[1]: https://www.joyent.com/containerpilot
There are few things more charming and bizarrely cute than the 'Weasel War Dance'.
It's fair play after the IE-ification of the web before that.
I do that in the US even where they have an employee bagging my stuff. In fact, I do that to ensure optimal packetization—for an IP analogy. :)

Otherwise I end up with 2 pieces of fruit in 1 bag, 1 bottle of soap by itself in another bag, followed by again more fruit in the 3rd bag… It's a fun fragmentation problem.
The article is mostly misleading.

> In fact, Germany is giving the rest of the world a lesson in just how much can go wrong when you try to reduce carbon emissions solely by installing lots of wind and solar.

Germany did much more than that. But: the purpose of the Energiewende was not to reduce carbon emissions first. The purpose was to get rid of the nuclear power plants asap. Phasing out coal is the next goal. Getting rid of nuclear had several advantages (for example one can stop early investing even more billions into a failed and costly technology. Nuclear is only provided by large monopolistic utilities, which had to get out of the way. The Energiewende is as much an experiment in getting a much more diverse landscape of energy producers and opening up the huge monopolies for competition from companies of all sizes). Getting rid of coal is also politically difficult, since coal production and usage has a long tradition in Germany and it employed a lot of people and local politicians block closing coal production where they can. But the coal phase out is already starting.

So already the description of the goal of the Energiewende is wrong.

> And in Germany, which is phasing out its nuclear plants, those other plants primarily burn dirty coal.

"Is phasing out." But hasn't yet. There are several nuclear power plants running.

> The country is now the world’s largest solar market. Germany’s carbon emissions in 2014 were 27 percent lower than 1990 levels.

Which is already basically half from US carbon emissions per capita.

> Because fossil-fuel power plants cannot easily ramp down generation in response to excess supply on the grid,

Actually fossil fuel plants can. But those who can are not profitable currently.

> on sunny, windy days there is sometimes so much power in the system that the price goes negativ

That's because there is not enough grid capacity to transport the electricity to South Germany. The grid is being expanded to do so, but this is taking time.

> Germany’s Parliament is expected to soon eliminate the government-set subsidy for renewable energy, known as a feed-in tariff, that has largely fueled the growth in wind and solar.

It is expected that local government in Germany will block this.

> But not only are the coal plants used to even out periods when wind and solar aren’t available, they’re also lucrative and thus politically hard to shut down.

Actually coal power plants in Germany are no longer lucrative and many many of them are losing money. Energy companies are threatening to close those. The mentioned Vattenfall coal power plant is a dinosaur planned long ago. It doesn't fit into the current energy landscape and is a very costly investment which looks like a huge failure.

Doesn't look like the author did its homework...
McDonald's often provides playgrounds for kids because local governments don't.

https://youtu.be/F7IQyIWIcdI?t=12m42s
> If a corporation acts unethically, you lose the benefits and service it provides. If the state acts unethically, you lose your freedom and/or your life.

Several thousands people who died in Bhopal on Dec 2, 1984 might think otherwise. Or 2,209 people who died in Johnstown, PA on 1889 when South Fork Dam failed. Or another 502 people killed on Jun 29, 1995 when Sampoong Department Store collapsed. Or...
Sorry, but I don't agree with your contention that the author is wrong. Nothing you've said supports that idea.

You have, however, contributed a 4th good reason to get rid of aircraft carriers:

>If Russia or China decides to target our carriers, the response will have nuclear components.

.. that their early and costly destruction in a conflict may well be the tinder for nuclear escalation.

Well, lets get rid of them.