skysight-inc/HackerNews huggingface dataset:
Npm audit should be added to the list in place of NSP as the service is now deprecated [1].

[1] https://blog.npmjs.org/post/175511531085/the-node-security-p...
Everywhere, pads and tampons should be looked at like toilet paper. Not taxed, put in toilets by whoever runs them, and in the rare case someone steals them - then OK they're obviously dirt poor no big deal.
As far as turning down noise, I highly recommend Etymotic's ER-20xs[1]: they reduce noise by 20db, and do so more evenly than, say, earplugs.
I use them every single day. When walking near roads (cars), on buses, on the subway, at concerts. It's automatic to the point that whenever something gets louder than my comfort level, I pop them in. 99% of people don't notice them, just friends and family.

It's also changed my perception of noise, in that the expected noise level of the roadway is what I hear with them in, for better or for worse. In truly loud environments, such as bars, I find that I actually hear better.

1: https://www.etymotic.com/consumer/hearing-protection/er20xs....
The only reason I vote Democrat is stuff like this.
> Periods of mass external migration into the US also depress wages

Empirically, this is not the case, at least in the long term[1]:

> Empirical research in recent decades suggests that [...] when measured over a period of more than 10 years, the impact of immigration on the wages of natives overall is very small.

(This is from a 2017 overview. The next few pages starting after the linked passage summarize the currently known evidence, if you're interested.)

[1] https://www.nap.edu/read/23550/chapter/9#267
Exactly, and put better than I could.

It appears that the simplicity of the explanation is itself a problem. Surely - all these chronic diseases can't be that simply explained? Dr. Wahls essentially claims carbs are the root cause of MS, which she cured in herself (with the corollary that carbs eliminate other nutrition). Dr. Fung claims it's the root cause of diabetes. Prof Seyfried claims it's the root cause of cancer. It surely can't be that simple?

Reading all their work, and others, I'm struck that it's very much a five-whys scenario[1].

Also there are two points wrapped up in the original response. One is about the cause, but there's a bigger issue about the avoidance of the problem in a first place. If someone never eats refined carbs and therefor avoids the root cause, why would they care about the details of the cause? We care about the details insomuch as we would like to treat the disease, but today we can't do that. On the other hand we do know with a lot of certainty that eating well, fasting and exercising are good for us and avoid the problems in the first place. For some reason, that doesn't matter as much.

The downside with treating the disease is that you also enable it, like how we "treat" T2 diabetes by essentially just giving you more diabetes via insulin shots.

[1] - https://stevecoast.com/2015/03/27/the-world-will-only-get-we...
That's dynamic allocation on the stack, though. As the parent said, your microwave probably (maybe) doesn't do that.

Move the declaration out of main and declare it statically. And, of course, don't copy large buffers into small ones.
First, toilet paper is taxed at the same rates pads and tampons are.

Second, stealing is not OK. And if they put pads and/or tampons in toilets they'll disappear in a matter of minutes. If you think only a dirt poor woman would steal them, you are wrong.
> Again. That‘s their choice and that‘s totally fine in my book. But journalism is a business and no business survives on people not willing to pay.

You're completely right - business needs revenue.

What I'm pointing to here is that the way subscriptions are structured and priced doesn't match the way media is consumed. It's like if beer was only available in kegs or in free samples, because nobody had hit on any other approach. It's a sign that the assumptions about user behavior no longer hold.

I mean, I understand that newspapers with print editions often rely on those regular subscribers to the dead-tree ones. But it seems weird to base your business model around assuming that the internet is not different.
Off the top of my head, I dislike: slow loading, non-sized images loading later and changing page layout, putting focus into an input field moving page elements, floating elements that cover content and can't be dismissed. And many more that I can't think of at the moment.
In the opening paragraphs I stated it was my hope that this gives me a gateway to communicate with someone that isn't support and isn't the void that is their robot response issue tracker.

That said, they generously reached out to me and appear to genuinely be concerned by my experience. I plan to keep posting as I run into issues and also as they correct my mistakes and also solve my problems.
> Pretty petty if you ask me. ICANN generally lets things be grandfathered in.

EU membership is not a phone subscription.
How did they attract sufficient software talent for their other advanced active safety systems?
An investigative reporter has changed his tech habits after what he has learned
The complexity of OpenID Connect or even just SAML is exactly why I developed RosLogin for the ReactOS infrastructure: https://github.com/reactos/web/tree/master/www/www.reactos.o...

Our web services are all running under the same base domain reactos.org and we wanted a Single Sign-On system for all of them. I was surprised to find out that doing this simple seems to be an unresolved problem: CAS, OpenID Connect, and SAML all want you to set up heavyweight authentication servers and a certificate infrastructure for identifying each participating web service. A lot of protocol messages need to travel for a simple action like a user login when a site-wide session cookie could just do the same job. Sure, those systems support advanced features like access control and delegated authentication, but this is all not required if you just want to link a few web services under your own control, say a MediaWiki and phpBB forums.

RosLogin simply sets a site-wide session cookie on each user login. Each web service then just calls RosLogin::isLoggedIn() to check its validity and retrieve the user name. No certificates, no protocol messages, and no heavyweight server software is involved. Together with centralized Login, Registration, and Self-Service pages, RosLogin currently needs no more than 1600 lines of PHP code - perfectly auditable from a security standpoint!

The ReactOS infrastructure is mostly built around PHP web services, so PHP bindings and plugins for Drupal, MediaWiki, and phpBB are currently the only ones available for RosLogin. However, our few non-PHP services can still plug into the same user database by connecting to RosLogin's underlying OpenLDAP directory.
> proposing to treat it with drugs specifically targeting these bacteria

Which does look initially promising:

> Giving the mice a drug that binds gingipains cleared P. gingivalis from the brain better than a common antibiotic, and it reduced the β-amyloid production and resulting neurodegeneration. [...] In initial tests with human volunteers, a similar drug seemed safe and showed signs of improving cognition in nine participants with Alzheimer’s, the company says.
Major annoying: The 'dickbar' (really, any fixed, unscrollable, element):

https://daringfireball.net/2017/06/medium_dickbars
https://daringfireball.net/linked/2011/03/06/dickbar
The problem is that it's not the default.
If they invested more, their services would have to be more expensive (or demand for them higher) in order to realize return on the additional investment.

Simply speaking, TechCrunch hasn't a clue, like most other outsiders.

One can't be certain the lower investment means this or that. Maybe it is a sign of more competition, or at least Comcast's expectations of more competition or falling prices. Or maybe it's something entirely else.

And besides, as everyone knows, 2018 investment plans were made in 2017, maybe around mid 2017.

Bottom line is, this article doesn't tell me anything new and doesn't even indicate that net neutrality would have made things better.
Well, quoting Trump's statement:

>In its role as the only legitimate branch of government duly elected by the Venezuelan people, the National Assembly invoked the country's constitution to declare Nicolas Maduro illegitimate, and the office of the presidency therefore vacant.
Does anyone know if composer ever uses PEAR?
Unfortunately, it was neither my decision to use that CMS nor to use Docker for deployments. But thank you for the input.
Depends where you grew up.

For me, this was early 90s in a big European city, there were zero shops even near where we were playing outside most of the time. So sure, this was after school and being 10-14, but it wouldn't really matter (for this topic) if there was someone at home, because most days I'd be outside just after school anyway.
2019 is the year of growth engineering
This particular article refers to study that claims "evidence for causation" from experiments with mice and initial tests with human volunteers. They were given common antibiotic and it improved cognition.
This is of course just exploratory testing with humans, to see if bigger experiments are justified but it's promising.

Porphyromonas gingivalis in Alzheimer’s disease brains: Evidence for disease causation and treatment with small-molecule inhibitors
http://advances.sciencemag.org/content/5/1/eaau3333

> Please remain skeptical, hacker news.

But please, hacker news, don't poison comments with generic "causation is not correlation" tourette. Read the article first and make specific comments.
One thing I can certainly agree with is the "no horizontal scrolling" beef.

I have a 4K laptop, evan on high res, the lack of horizontal scrolling in Azure portal and other Azure tools is a dailly irritant.

Stop trying to badly emulate Android phone look & feel ... for desktop usage !!!

We are professionals, we can handle scrollbars without screwing up.
Are GNU/Linux distros affected?
I got the exact opposite impression over time: so far, the EU's stance has been the more reasonable of both sides. You can't have your cake and eat it, as they say.

I had actually hoped for a tougher approach, to be honest.

But this would just punish the people who are most affected. And in this regard, the EU's side is, again, the more generous. E.g., most member states are putting in effort to make things as painless as they can for British expats. The British government, on the other side, is hanging them out dry.
And if you are using anything but Firefox you shouldn't worry about your browser history anyway. Due to fingerprintning you give all of your browsing history to Google regardless.
Oxford scientists successfully recreated a famous rogue wave in the lab
My food guide is to learn from examples: How average people of my age and older look like in different parts of the world? Are they healthy? What do they eat? What their habits? etc.
What kind of person would be more suited to negotiate a deal? And what did the people vote for? Wasn't it just "Remain" or "Leave"? There was zero intellectual thought put into any of this. It's on the UK that this realization comes when it's inconvenient.

Would the EU bend the rules if a different person was at the table? Or would they simply say the same? There is no incentive for the EU to give back / bend their rules. I don't know why people expected that.
This is most definitely not official. Until the Brexit Deal/No Deal/2nd referendum/whatever_this_week gets finalized no one is in a position to make this kind of judgement call.

I also wonder how this is going to play out with the GDPR -- "We can't tell you who has eu domains in the UK because it would violate privacy laws but we are sure we have deleted them"?

EURid stands to lose a fortune and the .EU domain would become pretty toxic after this so I can see some very motivated people taking every step they can to avoid this.
> (unless you count cli as UI)

It certainly is. But it isn't a GUI, which is what OP said.
I do find just pulling dependencies blindly from the internet concerning.
The story of the entrepreneur behind this is a stunning example of sheer not-giving-up-ness - he lost his wife, his job, became a social outcast but built a social company - keeping funds in local areas, giving jobs to local
women not multinational pharmas

He's pretty much a hero

I look forward to watching this.

An older reference: https://www.bbc.co.uk/news/magazine-26260978
Also lot of times current or even former employees wont speak out things like this for fear of being identified and retaliated against. The bay area startup world is a small and dare I say insecure place in particular and people are wary of what people will say. The number of miserable employees putting on a happy face for their managers every day is way bigger than I ever understood until I took a break from mgmt and started working alongside them as an IC.
Ask HN: Need advice on Node.js and express metrics monitoring
Hello everyone,

I’m the CEO of a team of developers, we mostly develop web-based applications using ES + node.js + express + React.

For every application we implement for our customers we have to be confident about maintaining our SLA-related metrics (we’ll simply lose customers if we aren’t able to meet our SLA terms) - which requires a proper metrics monitoring such as response time, error rates, etc.

We had to invent a new small infrastructure each time we implement a new project, most often it was ES + Grafana/Kibana + modifications inside the app to collect metrics and ship them into the ES instance.

So we got tired of doing the same thing over and over and created a cloud-hosted tool for our internal usage, which monitors all our node.js + express applications, we called it SLAO.

It monitors all the methods calls with response codes, durations, headers, and other metrics, and we made its integration as simple as it could be - by adding a single row of code: app.use(slao()).

Now we only use SLAO internally, but we’re considering publishing it as a cloud service because we think that we’re not the only team that had such node.js + express app monitoring issues.

What do you think about this whole idea, should we go for it?

P.S.

If anyone wants to test it - just text me and I’ll give you a test access.
In a world where "software talent" can be attracted to work on "boring" subjects such as advertising, do you have to ask this question?
The same incentives apply.
idk about zsh, but for fish there is https://github.com/FabioAntunes/fish-nvm which delays executing nvm until you use one of the node binaries. Essentially, node is aliased to `nvm activate && node`
Olives make a good snack, olive oil doesn't. Olive oil is great for frying things in, whole (or even sliced) olives aren't.

It's silly to pretend that you can pick one and live your life without the other. Or that there is never a need for some sort of cooking fat.
It replaces gvm/rbenv/pyenv/nvm/etc. with a single CLI. Saves you from having to use multiple shell completion scripts, bashrc entries and CLIs. Useful if you work with multiple dev languages on your computer.
> They see things, but it’s easier to tweet out “get rid of the Nazis” than to report it.

It's a rare day when I don't see someone on my timeline or lists posting a screenshot of a clearly actionable tweet with "This is fine" reply from Twitter Support after it's been reported. That's why people tweet out "get rid of the Nazis" because reporting Does Not Work.
Unfortunately, no, I don't recall anything like this. Executing something like `b := ButtonMorph new openInHand` in the playground would be a start - you can then set click action and caption on `b` and changes should be reflected immediately in the world. Take a look at Morph subclasses and try instantiating ones that seem interesting. Or Alt-Shift-click any widget on the screen to invoke its halo - it will display its class name, and also there's a "duplicate" button in the halo. It's quite discoverable if you put in the effort, although yeah, I'd kill for a good summary and overview of all the various widget kinds and ways of composing them...
A Titan V is a premiere GPU mainly for machine learning and other workloads, costs nearly $3000. And this computer is gathering dust?? Yes..you are out of your element and clearly privilege has gotten to your head.
They work amazing when properly developed.

Growing up in a land with 4-5 months of winter, I was very comfortable in the snow and ice. Still scary as hell at times but the human body is remarkably adaptable to the environment. 30 feet visibility with snow and ice on the roads engages all the senses (except smell). Listening to the sound the tires are making helps know what they’re encountering. Inner ears helping know if a slide is starting. Sight constantly doubting itself and peering into the barely distinguishable road. All the nervous system helping with steering and the pedals. The road has a feel to it in such conditions that any man made system has quite a ways to go before engaging in it.

I do think it can get there. But it may need something better than our current AI tech, as well as some more sensors than lidar.
I agree with some of your comment but I wanted to reply to one part I take issue with.

> Please remain skeptical, hacker news.

Sure, but please don't be the binary-kind of skeptic, the kind that believes that things are either causative or not causative and that everything in between is just "correlated" and that we somehow need to find out what the real causative thing is, and until then, we will not accept anything, until we have the smoking gun. That somehow we have must keep living in denial and ignore growing mountains of evidence because it's "murky" until it finally clicks over into "proven" and we change our minds.

I don't think this article is as bullish on the idea as you might imagine. If anything, such articles should stretch our imagination as to what could be causing and contributing to Alzheimer's and other brain diseases. Like heart disease, it is likely that Alzheimer's as we understand it has a number of symptoms and causative factors that might be affected by thousands of variables. Just discounting whole lines of research this way is binary thinking.

Kudos on those who did the Vitamin D study. But if we're constantly seeking a shocking repudiation or proof of every possible idea, the kind of slam-dunk that goes up in lights and earns everyone backslaps and Nobel prizes, we're already on the wrong mental track, IMHO.

And all of this is not to give license to true believers who catch on an idea based on the thinnest of evidence. IMO skepticism and conspiracy-theory-mindedness are on opposite ends of the same spectrum, and both are close-minded in fairly damaging ways.
Black Holes Nearly Ruined Time
"Dear diary, today we killed John and I will finally be president...
Negotiations over the controversial EU Copyright Directive have hit a deadlock
> It serves as a critical check and balance tool of democracy. We need healthy and functional journalism.

You're absolutely and completely right! Journalism accomplishes this critical function by serving the consumers. I refuse to believe that these essential checks can only be accomplished with privacy-invading ads, paywalls, and subscription models from the 70s.

With that said, you're describing a structure that only works when there's a functioning business model. When everyone's model falls apart, the whole pyramid starts gets structurally unsound. At this point the question at hand is not how to people keep advancing up the pyramid, but rather a more fundamental one of how the industry needs to function.

> Which ones are you currently stick with? Is Conde Nast one of them? Ars Technica -- which has a very good science section, has an annual membership of $35, with no ads. Do you consider them worth paying for?

Ars Technica is, in fact, the Condé Nast publication I mentioned subscribing to. I also like that they offer RSS feeds.

I also have a lifetime subscription to Nautilus and a yearly one to The Economist (the audio edition is perfect for my commute).
Just use Firefox, disable all content blocking addons and enable resistFingerprinting and container tabs. There you go you are virtually impossible to track, and as thus will only generate useless traffic for advertisers/trackers and actually cost them money in a legal way.

It would actually go hand in hand with "hide but load element"
Scientists drill to record depths in West Antarctica
On a global average that is probably true. On an individual/personal level it is not. I take a strategic approach, there might be twice as many people in one line but it will be faster. No one in that line is breaking out the check book. They won't be arguing about a 25 cent coupon that expired. On the plus side I've noticed less places accepting checks. Personally I think they should be banned for basic consumer shopping entirely. Unless it is 4 digits, use a card or cash.

As for self checkout lines there should be a huge sign that asks "are you prepared for this technology?, Really? Are you sure?"
Reads like bollocks to me.
I think this was a rhetorical question. Like, given the choice between raising your kids and staying at home, and going to a soul-sucking corporate cubicle job, WHY would ANYONE choose the later over the former, if both are a viable option for your family finances?
From what I've seen, if you book in a group for a longer time in advance, you can negotiate for X amount of free laundry per day. Just as almost nobody pays the listed hotel room price, many people might not pay the listed laundry prices.
What was that, XKCD? You say that there haven't been many left-pad attacks?

https://xkcd.com/2102/
yes! such a wonderful library. I've taken the ideas from `create-react-app` :)
Plus AI is going to turn into a cash slugfest. Apple could afford it, but may be making the wiser move.
Swift Singletons: A Design Pattern to Avoid (With Examples)
You're comparing a valuation to the size of a market. Those things don't compare.
People Ate Pork in the Middle East Until 1,000 B.C.–What Changed?
personally I believe that patriotism is based on loving one's cultural values, not the arbitrary land mass. Whenever I see Americans being patriotic it's usually around a pro-individual, anti-authority culture (though that gets pretty muddled because from my perspective, it seems like both sides of the political aisle are 50-50 on individualism vs authority). Republican patriots love their constitutionally guaranteed rights to freedom of speech and to bear arms, as well as the US' culture of entrepreneurialism. Democrat patriots love their cultural melting pot and the values of free self-expression and acceptance.

"Nationalism" as a term is murkier, because it not only encompasses patriotism but also isolationism, xenophobia, monoculture enforcement and so on. Over here in the UK it even includes Celtic nations' citizens' individual desires for independence from England.
I used nvm for years, but my development workflow became more and more terminal-oriented to the point I was spawning new ones several times an hour. Nvm took almost a second to launch, easily consuming 99% of the startup time for each shell. I tried writing some custom code to lazy load nvm only when I needed it which worked alright, but I ended up switching to Asdf because it loads almost instantaneously and haven’t looked back. The fact that it supports managing multiple different tools is a nice bonus, but I really only use it for node.