skysight-inc/HackerNews huggingface dataset:
> About half of all American adults have one or more preventable, diet-related chronic diseases, including cardiovascular disease, type 2 diabetes, and overweight and obesity.

Some of the advice may be specific to Americans. Since Type 2 diabetes and obesity are so common in America, it makes sense to reduce saturated fats, salt intake in the USA.

--------

Note: the 300mg of cholesterol recommendation was removed in this 2015 edition. The limitations are salt, sugar, trans fats, and saturated fats.
Media Statement Regarding Reported US DOJ Probes into Huawei
Useful proxies like bitterness or stomach aches after consumption offer degrees that can covary with food preparation. If you cook it and it's less bitter, then cook it some more.
Elections are meaningless if the public can't decide who runs.
Same in Go, you can use interface{} values as keys, the concrete values of the interface keys can be a 2-element, 3-element or n-element array values.

package main
import "fmt"

func main() {
var m = map[interface{}]int {
[2]int{1, 2}: 12,
[3]int{1, 2, 4}: 123,
[4]int{1, 2, 3, 4}: 1234,
}
fmt.Println(m)
}
that’s basically true, but it does seem china does have some nominal democracy at local levels, which then in turn elect upper levels and so on [1]

so, while indirect, there does seem some nominal way to disagree as you say

[1] https://en.wikipedia.org/wiki/Elections_in_China
>So I stopped reading there.

At no point in time anything insightful preceded or followed those words...
I really miss Kozmo. I remember showing the service to my dad and us testing it out by ordering one of the harry potter books shortly after it came out and a pint of Ben & Jerry's.
> I'm still hammer nails into the wall to support my coat hanger rod. What's up? Where's my flying cars, etc.

I know what you mean. I'm going to have to quote William Gibson on this:

"The future is already here — it's just not very evenly distributed."
Thanks for sharing, I really love it.
From my (admittedly limited) understanding, this is not actually legal under the GDPR. Certainly the alleged (but not demonstrated) behind-the-scenes trading of personal info isn’t, but the shared id is also personally-identifying information, and directly regulated.
> I'm sure US banks in control is bad at a macroeconomic level, but for the average consumer and at a microeconomic level I think it could bring about a lot of positive changes. Then again my perspective is probably skewed as an American

It is also worth comparing the US banks to alternatives. The US is changing, but as a political entity the US still accepts that wealth and earning money are fundamentally good things and that private property is a thing. For example [0].

The US banks are trustworthy like snakes and scorpions, but at least they exist in a regulatory world that is pro-money. It is easy to see why US banks might end up being more effective than the competition. If they tap into a massive opportunity they are allowed to make obscene money. That is also a major driver why if someone wants to succeed, they want to succeed in the US. I bet that pervasive attitude comes through in the banking system too.

[0] https://en.wikipedia.org/wiki/List_of_countries_by_tax_reven...
Technologies that keep you addicted
25 Years of New York Times Website Design History
The State of Machine Translation Research: A Conference Writeup
I think I remember you challenging my assumptions with your comment, but I can't be sure. Tomorrow I'll probably trust in a fallback model for what I think your comment's intention was.
This some great work on tracking down all of these measures to track users. I really hope we get to the point where dumb ads rules the web once more. Hopefully this results in more than a slap on the wrist, but I doubt it.
Protestors have thrown them back, but typically the police don protective goggles & masks before they deploy the gas so it may not be the most effective thing.

There was also a video going around of a protestor in HK placing a traffic cone over the canister and dousing it with water to defuse. It looked to do the trick.

Lots of protestors have the belief that a handkerchief soaked in vinegar will have some type of "neutralization action" against the gas when worn tightly around the face - watch protest videos and you'll see this in action. I have no idea if the vinegar has any actual effect on the chemical or if a wet barrier just keeps it from being easily inhaled.
Hi all, author here. Recently I went to a pretty interesting machine translation conference and decided to properly write up my impressions and notes of the content. I decided to make this public via Medium, in case others find it illuminating to learn about the current state of research in machine translation.

Both of the post links are here (content divided into 2 due to the length):

- Part I Link: https://medium.com/@natasha.latysheva/machine-translation-su...

- Part II Link: https://medium.com/@natasha.latysheva/machine-translation-su...)

Let me know if you have any feedback or spot any errors, these are my first Medium posts so I'm just getting started :)
“Everything as a service” is coming–but we’re not there quite yet
This is what I find the missing perspective in the coverage of this issue, I think instead of any hard actions, Chinese Govt is likely to just wait, perhaps for years and see the protests lose steam, while doing a few cursory measures to dissipate the protests. There is no sense of urgency the Government is showing towards tackling the protests.
"no immediate plans to remove blocking webRequest" ... yikes
Most important thing for CCP right now is have to this settle.

Formal withdrawal of this bill will at least meet a huge demand of the general public. As to other demands, the support will be waning. That would be what the central government wants.
> Utterly false, but persistently preached by those in power to ensure there's never any real threat to their position. "Just lie down while I stomp your neck. Don't resist. We'll discuss your objections later, at a more convenient time."

The post you responded to did not say "don't resist". It said "don't use violence".

Peaceful protest has some track record of bringing down systems, ending regimes, and enacting lasting change. Violent protest has a worse track record; it mainly alienates the man on the street and it cannot build consensus.

War can bring about lasting change, but only if your side wins. The difference between war and violent protest is that war implies two sides, each of which has a strong consensus. Violent protest only implies factions. Eliding this difference is a mistake.

This is not to say that violence is unjustified, just that violent protests almost never enact lasting change (because they do not create consensus).

> All political power emanates from the barrel of a gun

All political power emanates from consensus. Violence and coercion can only replace consensus for short periods of time. Consensus can be established and maintained through propaganda and brainwashing - which is frightening and complicates the picture.

If Mao was right then there would be no difference between a gunman and a police officer with a gun. Of course there is every difference in the world between those two figures, a fact proven by how differently we react to them.

> All civil power emanates from the people's latent threat to revolt and string up the members of an oppressive regime from lantern poles. The Founding Fathers understood that more than anything else. The First Amendment is worthless without the Second Amendment.

I agree: sovereignty is defined by the ability to make exceptions. Citizens are only sovereign insofar as they can choose to remove themselves from their obligation to their nation.

My sense is that peaceful protests are the best way to bring about lasting change in China. What the anti-PRC groups need to do is build consensus. Once they've done that, if change does not follow, then war is on the table. But until consensus exists, I believe that violence will fail spectacularly.
It's even easier now:

Hamburger->More->Task Manager
And I'm very annoyed that your initial reaction to reading this article is to blame the GDPR instead of blaming Google for these shady practices. Boycott that crap, move to other services. This shouldn't be acceptable.

I'm very happy that the GDPR exist, if only because it forced all these websites from explicitly giving me a list of the literally hundreds of partners they want to share my data with, along with a way to say "hell no". Of course Google and friends will try to work around it but hopefully that won't come to pass and they'll have to actually bother changing their crappy business model. I think the spirit of the law is fairly clear, I wonder why Google thinks this scheme can work. Maybe they're just trying to buy some time.

As for startups that sink because they can't be bothered to sanely handle my personal data: good riddance.
What if US banking dominance was considered a national priority by the state, and they used some mix of military might, diplomacy, and spycraft to maintain it? It's an interesting possibility, anyway.
Ah yes, you're quite right, this is legal C99 and C11, but not legal C90.

I'm more of a C++ programmer, and the C code I deal with tends to be ancient, so I had forgotten that this became legal at some point.
Uhm, no, they cannot be mutated. If you use a structure with two integers as a key and then change one of these integers, then you have a new value, and a new key, just like with integers.
That's an interesting point of view. However, brace for incoming US users with all sorts of counter points.
This seems to be the defacto state of the world, right? I mean, take a look in any history book (especially US vs European, or any Latin American countries).

Now that it's being called a science perhaps the layperson can get better metrics and telemetry on how it's already being performed by big actors at scale.
The apology is because the fact that our system was not able to create logos that match the context you provided. That is what we intend to do and we want to do it well. The problem right now arises from the facts that we're somewhat in the range of 50-100k icons but we really need a couple million perhaps to always be able to offer you something that semantically matches your description. We'll keep working on our product and hopefully very soon, people won't have such issues.

Thanks for the feedback though. Really appreciate it.
It is very not legal, but I think the parent was saying these regulations are more onerous to small dev shops rather than Google and the fine for this will be minuscule. Hopefully companies will find paths to revenue that do not require selling out there users to this level, maybe by just having ad auctions without any identifying information at all.
> a company or bank might fail if we indict, that innocent employees could lose their jobs, that entire industries may be affected, and even that global markets will feel the effects

Isn't this what capitalism is all about? If they can't do the job then somebody else will come up on it's place.
They're different, if one is built on the other. One is at root; the other is an effect.

We have ritual in lots of things. In fact, in almost everything. What we consider proper to wear, to eat, to say, to do. The existence of ritual proves nothing about the presence of religion.
Depends if a flip ("selfie") screen is important to you or not and whether you favour compactness or price.

Sony A7 Series (Mirrorless Full Frame) has everything you need/want and much more. Even the first generation body will not let you down. If you have the spare cash, get the 3rd Gen body as it has more advanced autofocus and low-light capabilities.

Depending on which program you use on your computer, you can configure it to automatically download the photos from the camera and wipe the SD card when connected via USB cable (wifi is usually quite slow to transfer large files especially video).
> Yes, you can always describe your equations with English prose—and if you're doing simple addition and subtraction, it's probably nicer to write that in English. But once you want to do anything remotely complex, writing it as a math equation is more terse and less ambiguous.

Right! But 99% of the time, I do not want to do something complex - I just want to load a few rows based on simple search parameters, and save a changed values (which may involve heavy data processing, but not relational). Hence only using SQL rarely, and therefore getting rusty.
It's really funny to see that yesterday, I was branded as a 'privacy nut' after the release of Android 10 as I was concerned about the privacy issues that are in Android. Then the Go modules proxy issue around the Go Programming language that raised suspicions about tracking usage statistics around downloading modules turned on by default without any consent and now this.

I think there are some folks at Google who have just read too deep into both 1984 and The Google Book to go on to think that privacy violations like this is a normal thing. But what do I know? I'm just another 'privacy lunatic' on the net that wears a metal helmet (tinfoil hats are just not good enough) trying to protect my privacy.
Almost certainly, the bigger factor is that the league darts, is totally dominated by large groups of partially-inebriated, sometimes hostile, men. A woman who sets off to become good enough at darts to play and win at the tournament level has to spend time in league darts learning strategy. During her time in league dart she will spend some time beating guys who react poorly to the thought of "losing to a girl".
Yes. This is a feature, not a bug.

With the US system, on the other hand, consumers have more protection precisely because the banking system is insecure. It's easy to get a fradulent charge reversed.
The European Union has decided that growth based on clandestine tracking of users, selling their PII without consent is not a legitimate growth tool.
You know, like the way we outlawed violence as a "growth tool"

Your other claims are more reasonable. But they would lead me to the conclusion we need bigger fines on bigger businesses. Not absolutely bigger, as the law already does, but relatively bigger.
The more power you have to break the law, the bigger the stakes should be.
You need to pay attention at lights to know when to put your car into gear.
They haven't turned that quickly. Americans were richer than Europeans for centuries.

The American colonies led Great Britain in purchasing power per capita from 1700, and possibly from 1650, until 1774, even counting slaves in the population.[1]

Meanwhile India is only just tackling open defecation and hasn't yet cracked the top 100 (yes, hundred) for income per capita. The next few generations can relax and learn to live with the American empire.

[1] https://www.nber.org/papers/w19861
How did they take over the world. We barely see one US bank here in Romania for example, and its coming just happened recently.

With the economical crisis starting from US and NSA scandal(s), I'd never trust a US bank over a EU one.
> The world bank dictates that for example Ethiopia can not sell processed coffee, else the World Bank will bankrupt them and destroy their economy.

Do you have a source for that?

All I could find:

https://www.worldbank.org/en/country/ethiopia/publication/et...

http://documents.worldbank.org/curated/en/861541468250239049...

http://etbuna.com/ethiopian-coffee/ethiopian-coffee-processi...
Some infections will be virulent even for people even with optimally functioning immune systems, if it's the kind of infection that acts faster than anyone's immune system's ability to respond, or if it's a new strain that no human's immune system can defend against.

But that aside, the virulence of an infection will always be greater against those who have weaker immune systems. This is why we always see the elderly and those with pre-existing serious illnesses more likely to be struck down or killed by infections.

Stress is just another factor that can lead to impaired immunity and result in an infection becoming virulent.
So in this guy's mind, wanking is essentially sticking it in the universe?
They should be able to tell from logs and analytics. "Users with a user agent of firefox hit our page but bounce out immediately".
You're right, even the recipe makers can't escape business pressure to make undesirable products. With the hard seltzer craze going on (in the US at least), a lot of brewers are starting to make it. They didn't get into brewing to make hard seltzer, but they can't ignore the fact that they will sell well and are cheap to produce.
This is like saying that somebody doesn't care about privacy if they don't PGP encrypt all their emails and messages. Convenience is always a factor.
Not a myth but true - https://en.m.wikipedia.org/wiki/Santa_suit
In most donations, you're donating to the product as a whole. There's no way to ever know where your money explicitly goes. At least I've never seen a charity operate that way.

Even if you did donate to development, development is not averse to administration, marketing, hiring, and diversity. And developers are not spending time at Firefox getting the product in the hands of people so it can get better with feedback. Marketing and all the other areas you find "problematic" are trying to do that.

Either way, even if your money doesn't go where you want it, that's a bad reason to not donate considering there's no indication that their product is substantially inferior to competition, they're making hugely poor decisions, etc.
It's not legal but there isn't much the EU can really do. It would be shocking if they actually managed to prosecute Google which has so far avoided much hassle in antitrust and the like, taking I think a billion dollar fine which sounds like a lot but is basically a slap on the wrist.

That's why, IMO, GDPR sucks for small businesses that can be outed to the ICO for a minor oversight and not so much for big data abusers that can take on GDPR and come out unscathed.
We're not claiming we're magical. Our machine learning systems are fairly straight forward right now but we're going to keep improving and understanding brand information is on the top of our todo list. The task of understanding emotion is non trivial but not impossible. We are working on a few areas to sort this out. Please keep in touch, we'll try our best to improve this product as well as we can.
generators are also pretty awkward, which is annoying if you've gotten used to redux-saga
Snippets from the article:

> The evidence further reveals that Google allowed [...]

> Google has no control over what happens to these data once broadcast [...]

Is it possible that Google does have "control" over the data after broadcast, albeit legal control via contracts with advertisers (as opposed to technical control)?

Perhaps Google's GDPR compliance strategy relies on the participating advertisers to comply with their contract with Google. If that assumption is accurate, perhaps Google's advertisers are in breach of their contract with Google which makes it appear as though Google itself is in breach?

I could be off-base, the details in the article aren't incredibly clear to me.

(For the record, I don't like Google's business model and I don't like Google's pervasive tracking -- I'm playing devil's advocate to better understand the issue)
If we're making silly distinctions, in reality those people saw Patrick Stewart utter the quote.
Positional-Only Arguments in Python
Who, What, Why? Starting Off on the Right Foot
Step by Step on How to Optimize Any Content for Search Engines
This might shed some light: https://www.harigopal.in/talks/2018/jsfoo
It's not about economics, it's about private capital.

Nations and International Institutions loan out money to small countries which seem reasonable, however when they start to slip on payments they're offered relief in exchange for privatizing their resources and government services so capital around the world can extract rent. See Latin America in the last 30 years, and Africa for the last 50.

You're right though - it's just as insulting to say that these countries can't spot the trap. However some of these deals take literal armies of lawyers and economists to understand, and even when they understand, geo-politics can change around a country a lot more than a "first-world" nation.
> "And while having that familiarity with JavaScript is nice, it means that every quirkiness that we love and hate about JavaScript is still there in TypeScript

> "... ReasonML is everything TypeScript tries to be (and a bit more) without all that JavaScript weirdness."

yeah, but what makes the author think that __INSERT NEW LANGUAGE HERE__ would not have other 'quirkiness'?
> Tip for protesters: paint cocktails. Bottles with hard to remove paint. I bet police will run out of uniforms quickly. They wont be seen on streets in painted suits and face shields.

Dunno, but graffiti is a pain to wash off the walls.
Thanks for some great advice Karsten! :-)
What is sad is that the EU commission doesn't take real action against Google. At best we are to expect a slap in the hand, at worst, the investigations will drag on and nothing will happen.
I couldn't find the HN post but I found an article that talks about firmware mods they do.

https://www.datacenterknowledge.com/archives/2017/04/07/how-...

> The piece of technology Amazon designed to avoid this type of outage is the firmware that decides what electrical switchgear should do when a data center loses utility power. Typical vendor firmware prioritizes preventing damage to expensive backup generators over preventing a full data center outage, according to Hamilton. Amazon (and probably most other large-scale data center operators) prefers risking the loss of a sub-$1 million piece of equipment rather than risking widespread application downtime.

> When everything happens as expected during a utility outage (which is the case most of the time), the switchgear waits a few seconds in case utility power comes back (also the most common scenario) and if it doesn’t, the switchgear fires up generators, while the data center runs on energy stored by UPS systems. Once the generators are stabilized, the switchgear makes them the primary source of power to the IT systems.

> Last year’s Delta data center outage was attributed to switchgear “locking out” the generators at the airline’s facility in Atlanta. That’s what most switchgear is designed to do when it senses a major voltage anomaly either in the data center or on the incoming utility feed. Plugging a live generator into a shorted circuit will usually fry the generator, and switchgear locks generators out to avoid that.
Apparently they are different words now, at least in this context, and bear no relationship to each other besides etymology.

Language evolves, I guess. I dislike this change, since it excludes all the radar systems, jet fighters, lasers and other high technology systems that I've worked on, but there's nothing I can do about it. Oh well.
BTW: Is one of the authors the same guy as in this article?

https://www.jqpublicblog.com/navy-officer-director-of-usaf-s...
Signups to early access for Millie Fit, your smartest AI fitness coach app
OP here. I wrote a bit about why I begin my engagements with software teams by asking "Who is involved?", "What is the desired outcome?" and "Why are we doing it?". They're such basic questions, and when teams answer them quickly, it's a great start. But when they don't, it's very useful to pinpoint what's missing and then work from there.
> Violent protest has a worse track record; it mainly alienates the man on the street and it cannot build consensus.

Crack open a history book some day my friend, I think you'll find quite a different story. Now, material circumstances have changed over the centuries which definitely changes the equation, but violent protest has overthrown countless regimes throughout history and if I were a betting man, I'd say we haven't seen the end of them yet.
Show HN: StoredMap, A Database-Backed java.util.Map
the only winning move is not to play