skysight-inc/HackerNews huggingface dataset:
Couple of issues I have when I see such graphs or scale of inequality. I'm referring to those wealthy people who want to use their good fortune for benefit of society, not all of them.

1. Usually these comparisons imply that the super rich have a major chunk of their wealth sitting as cold hard cash. That's hardly the case. Most of the wealth is in assets or illiquid forms. Take Bezos for ex, a good chunk of his wealth is in AMZN stock. If he sells all of it to fund a philanthropic scheme, that'd trigger a massive selloff in the stock market and impact a lot of people negatively. Not saying that they're helpless, but I think they may be doing some good with all the excess cash that we may not be aware of.

2. From a logistics point of view, it's hard to ensure that money intended to help someone reaches them. Unless you are personally delivering the money, there'll be middle men who take their cut. If a billionaire decides to spend a billion dollars on charity, I'd think a bunch of orgs would want that money, to do charity as well as run their non-profit operation. Which would make it appear that not enough is being done by the billionaire, when it is employing a few and benefiting some more.
Agreed.

But sadly it does, and while it does the options available are try something else or do without. In this case you can try Firefox for Android on your phone to see if it behaves better than Chrome.
Got a link to Rome's docs? Babel is a little easier to google for.
Wuhan is a good example why community spread of near 0 is the primary goal. The restaurants have opened but are struggling because people are still afraid of getting sick and have changed their behavior.

White collar jobs will keep telecommuting if there’s a risk of community spread. No hr/leg department wants the liability. The secondary effects are decrease in demand on automobile related businesses like gas stations, servicing. Also decrease in car sales. Also the company ban on business travel which hits airlines, hotels, conferences etc.
So basically Disney, like an entitled rich jerk, gets to fondle the help because they're wealthy, and if the help complains they get an apology and dismissed.

This is what unfettered and auto-extending copyright enables.
Because problem is never on technology, problem is in the organisation or head.

Personally I think government and politics are one of the most rotten places, so try to avoid it as much as u can.
The answer is that the current US administration wants to draw this out until November when they can blame the economic toll of this disaster on the opposing party
May I point out the Gulf Wars 1 and 2 recently, with no gas lines. Saddam set all Iraq's oil wells on fire, no gas lines. That long running war between Iraq and Iran, again, no gas lines. Gas refineries blow up now and then in the US, with drastic cuts in production, and no gas lines.

I remember when Reagan repealed gas allocation and price controls. The gas lines disappeared the next day. Not the next week, or month. The next day. And never came back.

Quite a remarkable coincidence?
There is no requirement that you attempt to effect delivery to the intended recipient. The legal obligation would be met by writing “not at this address” on the envelope and putting it back in the mailbox.

I imagine if you tried to abuse this and then sue your case would be thrown out of court. It would also be awfully expensive; compare the cost of postage to send all those letters with the cost of a rubber stamp to have them returned.
Office 365 is crap too. Outlook web app is significantly slower than Gmail. Outlook doesn't even support labels natively, and their filters are miserable. Outlook web app still is far from feature parity with their desktop app and their desktop app doesn't work on Linux.

Outlook calendar automatically deletes the entire series when you try removing past events. I had a manager that left recently and therefore they cancelled a series. Rather than keep the previous events so that I could go back and see what I was doing on a particular day, it just removed the entire past series from everyone's calendar like they never attended.
Sadly I’ve met so many of these people, that my default assumption is that everyone is like this.

I’m sure there’s good ones, and I really hope I get a chance to work with them.
And the US can't do the same?

Would you go to a concert if lockdowns were lifted? Travel in the US ground to a halt before lockdowns were enacted. People aren't stupid.

We aren't that different from the Swedes, despite the fact that everyone says that to argue against socialism here.
Interesting ..

> It's not on the Gates' Foundation radar but how about a very high quality, matching set of mask and glasses/goggles? Costing about $30.

> The mask is reusable and the glasses fit very close to the skin around the eyes...perhaps even with a neoprene apron that seals against the face and the mask. It would also stop your hands from easily and unconsciously touching your eyes, nose and mouth.

> The idea here is that, in public, it protects the wearer against others and protects others from the wearer. If widely adopted this gear would vastly reduce the cost of the "test and track" effort and everyone would just feel safer in public.

> This virus is unlikely to be going away any time soon. Some say it will be with us for a "very long time" because even a vaccine is likely to be effective only over the short term and therefore the "herd immunity" will never really take place. We need to get serious about the long term strategy. This could be a one cheap, quick and effective tactic for reopening.
If you trust them (but who would). That said, given they have so little interaction with the outside world, it wouldn't be surprising.
> glad to see later versions of Node include promisified versions of things like File IO.

I agree. They are easier to use. But they require more effort to write. Promises are easier to use than create. Maybe they are the direction in which public APIs will go but I do find they take extra effort to write, compared to callbacks
Reading and document markup is much more pleasant for me as a tablet than sitting rigidly at a laptop.
However, if you are ordering a premium product, ring them and do an assisted sale. This works particularly well if there is something you are unsure of.

For example, when buying a TV I was asking about a dumb panel with the latest and greatest display technology in a particularly small bezelless format. They couldn't do it (which I already knew) but sold me the smart and slightly larger TV for nearly half its official price with a "free" 5y rtm warranty. Pretty much the same price as I'd pay elsewhere for an "inferior" panel.

And slightly more recently I purchased a new laptop. The price was the same as everywhere else (£2k) but I got a fancy tilt/rotate stylus, 3y care, expediated delivery, and a windows home -> pro upgrade code (it was weird it didn't have it as default tbh) all for free.

Notably I'm not asking for the discounts and extras, I'm asking normal sales questions as though I wasn't able to read the manuals online.

On the other hand, there are plenty of things I rang up about and didn't purchase because it was better elsewhere. On the whole they seem to have been more mid to bottom range items, but I don't really know the internals of these companies.
There's a solution for that, you know: go to a church where they serve coffee after the service!
I remember hanging out at Urbus Orbis in Bucktown in Chicago in the early 1990s. Great magazine selection for sale, strong coffee and meeting many artists who became my friends and leading me to discover metalworking as an artform. Community could form in the 3rd space, between home and work. Other cafes such as Jinx coffeehouse on Division St. as well as local bars contributed to the 1990s Wicker Park/Bucktown vibes.

See: http://gapersblock.com/drivethru/2009/11/17/nostalgia_urbis_...

See also:
https://electronpencil.com/category/urbus-orbis/

https://www.chicagoreader.com/chicago/the-last-drop/Content?...
Correct, but the callback passed to useEffect is only scoped to the call stack triggered by the dependency array. So, this makes the callback passed to useEffect dynamically scoped.
"it has less side effects and potential for abuse"

... which was the exact wording used to sell Oxycontin.
It's not clear to me why this is actually true. Food is cheap if you don't waste a bunch of time on anti-science regulations like the EU. California and New York aren't short on space, building is simply heavily regulated with anti-poor laws masquerading as environmentalism because people would rather protect their swamps and property values than see a construction boom. Water isn't scarce, if it was you wouldn't have booming agricultural industries in drought prone regions. And electricity is only expensive because people would rather tear down oil, nat gas, and nuclear now rather than after green energy has become not terrible. The idea that society isn't thriving because the billionaire class has most of the wealth ignores that in many developed countries the cost of living could be much lower if not for the regulatory environment. People have simply been convinced that there are more important issues than helping the poor.
It has been a main point of every public roadmap since they started producing them:

2017: https://blog.rust-lang.org/2017/02/06/roadmap.html
2018: https://blog.rust-lang.org/2018/03/12/roadmap.html
2019: https://blog.rust-lang.org/2019/04/23/roadmap.html

Improving UX requires them to restructure the compiler and add new features (like NLL) while maintaining backwards compatibility. This is hard and takes time!

Also note that C# is twenty years old and backed by one of the largest corporations in the world. It's pretty rare to get an OSS analyzer that can compete with the likes of Intellij!
Nicaragua supposedly only has 13 cases of Covid and they never implemented ANY precautions. Their president was also missing for more than 30 days, just showed up a couple of days ago finally.
I hear Kim Jong Un is either alive and well, dead or in a vegetative state.
Best Password Manager?
'Keeper' is the password manager & data vault available. I've been a user for 10 years & can't imagine not having it in today's world. With over 375+ complex login records & another 50 secure file records Keeper stores it all encrypted & syncs them to any of my portable devices/PC's effortlessly.
It's easy to use & gives the user numerous options for entering ID's & passwords. Instead of trying to remember 375+ non complex passwords, I only have to remember 1 very complex password to secure my data with 2A or FIDO device if I choose. Keeper makes security their #1 responsibility & it shows. Numerous new features & options are added monthly, like 'Breech Watch'. Which checks your pwords against dark web databases & alerts you if a match is found. Definitely the best pword & file manager available.
I haven't read the whole opinion yet, but it seems to be arguing that works produced in the course of a legislative function are not authored, and therefore not copyrightable. It doesn't seem to have much to do with the content relating to the law or not.

And if so, what is the larger significance?
This. Tech destroyed the print journalism business model, and irrational hatred of tech is brazen in most newsrooms (those that remain).
People talk about the 'good old days' of jquery. I do think it was easier to be a web developer in those days because there weren't as many levels of abstraction. It was just your simple text editor, html and js script, that's it. And you were directly changing the DOM. But writing jQuery for complicated apps can get out of control very fast. I do not miss querying classes on an element to figure out what to do next. Nowadays I meet 'React Developers' who didn't know that you can do document.querySelector(...). They tell me without batting an eye that React makes websites faster.. and that it is faster than plain javascript. And before anyone tells me that it can make things faster through DOM diffing or what have you -- you are wrong. Situationally React could be faster than poorly written js, but in most cases it won't be and that is not its point. It doesn't magically imbue your web application with hyper speed. Quite the opposite! Its like all these layers of node, npm, React, Hooks crud built up and there are actually people junior enough that their only exposure to webdev is through this morass -- and that is sad. Not because these tools/frameworks are bad, but because web dev can be so simple and easy and they are robbed of having that in their back pocket, as a proper foundation.
Hey, it was great while it lasted and I'm not embarrassed to call it sentimental. What else were you gonna do as an 18-25 year old in the afternoons in 1992, work? Ha! :-)
Code repository for implementing how to use Redux with ReasonML
I think so. I would not buy the product either way, so seeing the ad makes no difference except for wasting my time. I automate things that waste my time (such as skipping ad segments), I don't think it is immoral to do so.
They mention Target as an alternative in this. What makes them better/different?
> because it’s more expensive than natural gas in the US

Assuming the antecedent for "it" is electricity, yes - on a per BTU basis nat gas is cheaper, but the beauty of heat pumps is that they move ambient heat instead of releasing it from chemical bonds, so they cost about the same to operate as nat gas water heaters.

Coupled with solar, their operating coat gets even cheaper.

I agree that they are more expensive to build than a simple nat gas heater, but they also don't need exhaust ventilation ducts. Also, higher efficiency condensing nat gas furnaces are also more expensive, requiring fans to force cooled exhaust gases out of the exhaust.

> easy to work on

This is the reason everyday non green-focused HVAC contractors have given me for why they don't install heat pumps. They and their crews aren't familiar with them.
DreamLab – donate compute power from your iOS device to scientific research
Didn't mean it as an XOR. FWIW, looking at the github commit history one might get the impression that acdlite is the main committer in the repo these days, followed by trueadm and bvaughn (gaeron doesn't look all that active recently in comparison). I don't really hear those three core team members talk much about JS since their twitters tend to be less technical. My impressions come mostly from what I see the more technically-vocal react team members say publicly and I feel like gaeron often makes it sound like the bulk of react concepts are other people's contributions. Markbage certainly seems like the "vision" person in the team </shrug>
It's absolutely absurd that this happens for a site as big as Twitter.
One of his other comment on reddit related to stopping CV research:

"pjreddie 30 points·2 months ago· edited 2 months ago

I've never been in a car that was using my tech to avoid killing people but I have had a 3 star general rave about how my work was being deployed in war zones and how army research groups love my software.

Edit: to say that i'm not arguing against CV research as a whole, i'm just saying i don't want to do it anymore because of the impact i saw my work having"
How to Incorporate Linker Scripts in Meson Cross-Compilation Files
Just a mathematical nit; Maryland caps unemployment at $430 per week. So adding CARES bumps that to $1030/week. It's only lasts 26 weeks, so it's worth $26780. I'm not sure if you have to pay income tax on any of this.
I write and give away free software. People have paid to come to my workshops. They've paid me to write more.

It's sort of like why would anyone pay to attend MIT, when you can watch videos of the lectures for free on youtube? Oddly enough, MIT is doing better than ever.
I kinda figured, just wasn't sure. I know the Window's kernel supports a handful of features from C++
`with` is not allowed in strict mode (from ES5) and with ES modules (which imply strict). It's a bit of a relic.
> The drop in GDP between 1929 and 1932 was about 15% or so.

I could be entirely wrong, but I just wonder whether GDP is a good measure or not for this situation. Think about childcare - it's not that children are not being cared for: in fact, they might be getting more attention from their parents or other family members. Yes, the daycare is shut down and not making money, but the work is still performed. Similar to restaurants vs. food made at home.

I wonder if the loss of non-essential businesses is as detrimental to our economy as the loss of essential businesses. During the Depression, we were losing essential businesses like farms and then on top of that we had a dust bowl. The economy feels very squishy - as in, we're able to layoff and furlough an amazing percentage and people still get the basics like food, water, and shelter, and we still have luxury goods: Apple is still releasing new iPhones even though they're made in China, we still have craft beer flowing, and we can get tacos.

Tied into this, though, is that we do have to keep money flowing not through labor, since that's illegal for a lot of folks, but start figuring out better unemployment insurance and small business aid.
I believe that Boeing pushes for a little margin so they can revise the design without having to redesign a whole bunch of parts.
Likewise, performant C++ usually looks more like the "C with classes" that's widely disliked by the "modern C++" people.
How to use Decorator Design Pattern in modern .NET applications?
> In India in particular, the lockdown has so far caused more misery than the virus itself...

I mean, that's the point, right?

Heart surgery hurts more than chest pain, but it's intended to prevent the heart attack.
scooter is major problem
Well recently I designed a nice 3D printable pair of headphones that I will be publishing in the next month or two. For $50 they sound as good as the $200 headphones my roommates have (halfway decent drivers make the difference).

My big open source work has to do with 3D printed robotics and computer vision. I designed this robot which is CC0 open source. I am using it for computer vision research:

https://reboot.love/t/new-cameras-on-rover/

https://imgur.com/gallery/GqXD2Zj
Uh... there's not a _single_ React "maintainer". There's a React _team_, which currently consists of:

- Seb Markbage: general deep thinking and vision, works on Suspense and some of the server rendering

- Andrew Clark: implemented much of the Suspense and Concurrent Mode core

- Dan Abramov: started Create-React-App, wrote the hooks and Concurrent Mode docs, works on various parts of the library and tooling

- Brian Vaughn: rewrote the React DevTools, added the Profiler, recently implemented the upcoming `useMutableSource` hook

- Dominic Gannaway: previously created Inferno, now works on a lot of the upcoming new event system and other optimizations

- Nicolas Gallagher: previously created React Native Web, now also works on the event system

- Luna Ruan: newer to the team, helped implement the `useOpaqueId` hook that just got merged

- Rachel Nabors: currently working on revamping the docs and community outreach

They have a team bio page here:

https://reactjs.org/community/team.html
What about reduction in salary for FTEs?
The price would go down until it finds enough buyers for a given price and there will be a price for which the stock is attractive again. For instance, if a company raises capital by doubling the volume of its shares, at half the price the company will be worth the same so there is no reason why nobody wouldn't buy shares of the stock at half the price. Now if there is for some reason 0 buyers, the stock is illiquid and the stock price goes to 0 but the company can still issue new shares.
Sure, they are comparable. Maybe not 1 to 1, but you could make up some metric that evened things out a bit:

https://en.wikipedia.org/wiki/Quality-adjusted_life_year

(even if you don't agree with that metric, equivalence at some ratio is pretty clear, unless old people are just completely disposable)

At the moment it seems that individual susceptibility is a bigger factor than medical capacity, and we are researching dozens of possible treatments and working towards a vaccine. Makes it even harder to gauge the trade offs, as an effective treatment would pay big dividends when combined with a slowed spread.

I also wonder about attributing poverty deaths to economic shut downs. They are pretty preventable, and more a failure of our broader society than a result of the specific policy. The societal failure when it comes to suicide is less direct, but it's a factor there also.
WireGuard on K8s: road-warrior-style VPN server
Why are you citing the NYC study as reinforcement of the other two? It is unlikely that all 3 are correct, because they imply significantly different outcomes of an infection.
> Vietnam has become one of the first few countries in the world to emerge successfully from the first wave of the Covid-19 outbreak

It's even more impressive: they emerged successfully not just from the first wave (direct from China, with which they share a long land border), but the second wave as well (travelers from Europe, US, Iran etc). Quite a few countries, notably Singapore, rode the first wave well but stumbled on the second.
I find exactly the same thing with my iPhone too, and often on desktop via the web app. The SPA "loading" page will just spin indefinitely.
Maybe don't do anything important on your Mac if you've upgraded to Catalina...
Right. Except I was able to experiment with a wrapper-function which set up a timeout on the callback which threw an error if the callback was not called within a set interval of time.

It helped to detect some flaws in my program.

A similar thing could no doubt be done with promises. But I think the best solution would be if there was a built-in facility to detect callbacks that were not called within a required or default time interval.

Eventually I stopped using the timeout wrapper, it didn't help very much, but made the code more complex. More but easier to understand code is often my preferred choice.

Whereas if language itself offers built-in facilities then fine since they are more likely to be bugfree than my own code.
Ask HN: Any books/resources on logging and monitoring?
I’ve been running a few distributed web services, but except for a few rudimentary nginx access logs, I have no idea how they’re functioning.

I have the following goals and questions regarding implementing a logging & monitoring system to get better insights of them:

- What are the best practices to instrument source code to collect general logs and exceptions?
- How to determine if the services and databases are performing efficiently? More specifically, what I can do to discover if they are doing unnecessary work or there are any hotspots?
- Are the servers being run on overloaded? If so, what are overloading them?
- How do I know if some one is trying to break into the servers?
- How can I be alerted whenever a bad thing previously mentioned happens?

And then there is the business logic side of things. like how many users are online, how many transactions are currently being processed, etc. I don’t suppose directly querying the production database is a good idea.

My own research online surfaced a great deals of tools like prometheus, ELK stack, fluentd, Nagios, bugsnag, New Relic, Datadog, etc, which overwhelmed me, and I reckon without a good understanding of logging and monitoring in general, I’m likely to pick the wrong tools.

This feels like a really big topic. Any books/resources that have a comprehensive introduction?
Not exactly.

I'd strongly recommend reading through the React hooks docs, as well as the other hooks resources I have linked here:

https://github.com/markerikson/react-redux-links/blob/master...