skysight-inc/HackerNews huggingface dataset:
GitHub has several projects that automate setting up a wireguard VPN on various cloud VMs without K8s: https://github.com/topics/wireguard. There's also this tutorial that sets up a VPN along with proper DNS configuration so that DNS doesn't leak: https://www.ckn.io/blog/2017/11/14/wireguard-vpn-typical-set....
>> physically impossible to create $140 billion dollars of actual value for people in a single human lifetime

Source? I think Linus Torvalds and Norman Borlaug both easily did this. Jeff Bezos and Bill Gates certainly might be up there. $140 billion is not that much when you compare the productivity gains just these four people have given the world.
Vietnam is not a magical place. It lies some where at the bottom of the pile in the press freedom index next to China.

So god knows how many people where silenced, jailed or killed. Wait for a few years for the full story to emerge.
Hope you’re saving now for your $10m one bedroom condo and your child’s $5m state university education.
Apprenticeship and youth unemployment
Energy storage. A tank of water can be used to store and release heat from a multitude of sources. Compost, wood, solar, wind, electric, heat pump, gasoline.. The best part is hybrid sources. Couple a wood burner to a solar heater and a heat pump and run the pipes through a fireplace as well. Combined with an intelligent mixer you can heat up your shower and tap water and your house.
The WHO's stance on a subject is not equivalent to scientific consensus... This is actually a very common criticism of it.
The most interesting thing is that most of this healthcare is tied to employment. So now in the past few weeks when 25 million people have been laid off, they have also effectively lost their health insurance. Now they cannot afford to go to the doctor and cannot afford their prescriptions.

As of December 2019, 26 million people in the US were inunsured. Since then, around 26 million more have lost their jobs - effectively losing their healthcare. So now as of today, around 52 million people in a country of 320 million have no access to primary healthcare.

https://www.kff.org/uninsured/issue-brief/key-facts-about-th...
Are you traveling for pleasure? What's the current situation then? Outside of the two week lock down in April have you largely been able to move around and see different parts of the country as a normal tourist? I had a trip planned soonish which is why I ask. It's been hard to get information from the news on whether that trip would still be worth making in late May or early June. I'd be curious to get your input.
We've banned this account for repeatedly breaking the HN guidelines. Could you please not create accounts to do that with?

https://news.ycombinator.com/newsguidelines.html
> Most of the country is run off hydro so not much environmental benefits either.

Actually, the majority of marginal units of electricity come from gas. That means that every extra kWh you use comes from gas, and every kWh you save reduces gas usage. There are few times when the lakes are full and your marginal unit would come from hydro.

The easy way to think of it is that all the hydro is already used up by other people, so your electricity usage comes from gas.

Hopefully NZ gets some large solar generation, since NZ can “store“ it in lakes by reducing lake outflows during the day (I think).
They are understandable but vague.

They should describe in detail when things will reopen and what metrics they’ll use to make that decision.
The enormous amount of money now in politics clearly shows just how wrong it was. The ACLU isn’t always right, either.
Yeah, well, I wish it had one eye, in the form of a headphone jack.
I like this approach to describing B-trees! I recently taught B-trees for a data structures course and presented them using a similar method. Thought I'd leave the link in case it was useful: http://web.stanford.edu/class/cs166/lectures/05/Slides05.pdf
Last discussed 6 months ago:

https://news.ycombinator.com/item?id=21369257
> Authoritarian governments can shine during the crisis

Pretty bold claim as China did not fare too well and keeps lying from the beginning about everything.
There's one in the Tesla Model Y. Heating and cooling for the cabin, battery, and motors are all handled by a single integrated heat pump system. The part that connects them all together is called the Octovalve.

It's a big advance for electric cars because the cabin heater tends to really reduce range, so making it 3x more efficient with a heat pump instead of a traditional resistive heater makes a huge difference.
Then we revisit.
Unless he had a walking pneumonia, perhaps? That seems to be the actual killer in this case.
I don't know if this is the reason, but one potential advantage of tank water heaters is the ability to use off-peak power. This can be a big cost advantage, and even if it's less energy efficient it can theoretically be better for the environment by allowing water heaters to act as distributed renewable energy storage. At the moment, though, the efficiency savings probably make tankless water heaters a bit more environmentally friendly.
2020 video:
https://www.youtube.com/watch?v=JQss0uQUc6o

Paxos vs Raft: Have we reached consensus on distributed consensus? — Heidi Howard
Vietnam is doing more to halt COVID-19 than most countries on Earth. people that are there:
https://www.youtube.com/watch?v=cme4vNcqFFs
I only just saw this.

Personal attacks will get you banned on HN, regardless of how wrong someone else is or you feel they are. No more of this, please, and please don't post in the flamewar style to HN generally. It's not what this place is for.

https://news.ycombinator.com/newsguidelines.html
G-Boy: Wii / GameCube Portable Kit [video]
If they don't realize it's coronavirus I imagine they're just gonna give antibiotics to deal with any bacterial infection.
> until this whole place is gentrified and cleaned up

Because the rents are still too affordable.
> And so, to make things work, the market would balance to higher wages

Which leaves no one better off.

If what costs $50 last year now costs $80, I'm actually worse off if I'm making $20/hr instead of $15.
I feel bad for the colleges. But anyone in their right mind that's going to college to learn things will take a gap year.

Those going to college just for the paper are well advised to keep going. The next couple of years will be easy mode, for sure. You get an A, and you get an A--everyone gets an A!
> We heat with wood in the winter

You should stop doing this. The impact on air quality is very bad and is disproportionately bad for the people nearest the source (i.e. you).

https://www.lung.org/clean-air/at-home/indoor-air-pollutants...

https://www.epa.gov/burnwise/wood-smoke-and-your-health
Is your gas burner inside the house?

Here in NZ I have only ever seen them installed externally.
I’ve read plenty on the subject. I don’t have to articulate bullet points about it just to suit your needs. It has obviously been to the detriment of honest political discourse and is completely wrong. Thanks, though.
Unilateral contracts are a thing, when one party makes an offer that is only accepted by performance. As the offeror, Disney can invite acceptance of their contract however they want, including via replying to their tweet with a special hashtag.

They made the requirements pretty clear and stringent enough that I very much doubt anyone is at risk of accidentally entering into that contract, but if that does happen, then the contract would be null. I just don't see that happening though.
Disney and the unequal reality of coronavirus America
If you look at their belt and road project from an european point of view on a globe, and not an european centric mercator projection (just use google earth or something like that) and look at the proposed routes there...what do you see?

I see the last leg into europe cut off maybe, but not the rest of the countries along the way which happen to have large populations. And don't seem to care much.

Also Africa.

Furthermore...what should Europe, or any european country do? They voluntarily outsourced much of their production capacity into China. This is going on since decades. I've personally seen/experienced it. Do you think they are capable of resourcing it back in an instant? Could they, with all the environmental standards which are there now?

We live in interesting times!
Pow, right in the kisser!
The virus isn't a good example. All you can do with your time really is spend time on the internet or wander your neighborhood awkwardly shifting past people for the 100th time. I think we might have a whiplash when this is done, where people start engaging with public space at a higher rate than before the pandemic. Imagine everyone itching to just go to a bar, or a beach, or a trail, or a movie theater, or a cafe, or anything. I can see stuff being packed for months.
I had a ground heat pump for several years. It could easily warm a 170m2 house plus warm water. Of the temperature went below -15c or more the electric elements kicked in to boost the pump. I could sit in the living room with a t-shirt on and not worry about heating expenses, it was very cheap to run.
"They were also one of the first few countries to ban return flights to and from mainland China, having announced the suspension from Feb. 1, 2020, slightly more than a week after the country's first cases of Covid-19 were found."

How much of their reported success in containing the virus was due to this, and how much was due to the lockdown? Other countries which have fared relatively well (e.g. NZ, Australia) also closed their borders early.
Worth metnioning Kilo, which is an enhancement or a CNI (container network interface) provider that does Wireguard for Kubernetes.

https://github.com/squat/kilo
Before we a) put in PV and b) got that heat pump water heater, we paid about $50 for our hot water heater electricity use (~160kWh/month) here in HI.
I think they did well. You have to consider the environment they are operating in. Very dense living conditions. Way more commingling of citizens. And the sheer population alone.
That's not a problem that should be solved by poisoning ("denaturing") the alcohol.
Not knowing the coffee culture of your particular locale, I’ll just offer some generic suggestions:

* Try out a few local coffee shops - and I mean local artisan coffee shops, that sell hipster shit like pour-overs and espresso con pano. They tend to actually care about what they sell, rather than some other coffee shops that just sell diner-style coffee and pastries for people to grab on the way to work.

* Get to know the baristas/roaster(s)/owner(s), and try out their different coffee options. I know of several local places that offer (at least) dark and light roast drip coffee options, sometimes with several different pour-over options (my current favorite probably offers about a dozen different bean options, give or take).

* See if they sell beans or can point you in the direction of where they buy beans.

As far as I know, oily beans are what you want for a good, full-city (very dark) roast. The article you linked is definitely an opinion piece - I’ve never met a roaster who didn’t think a dark roast, or at least a very dark roast, should be roasted to “first crack”, though most are opposed to “second crack” (what Starbucks does, and it’s essentially burning the beans).
In the US, another amazing source for high quality tools is www.toolsforworkingwood.com Don't be put off by the archaic site design, they have amazing customer service.
A couple of other famous short demos:

https://www.youtube.com/watch?v=_YWMGuh15nE ("Elevated", 4k)

https://www.youtube.com/watch?v=fp0t2jCMGZE ("One of those days", 8k)
Become a More Effective Remote Product Manager
Please don't delete and repost the same article. Deletion is for things that shouldn't have been submitted in the first place.

https://news.ycombinator.com/newsguidelines.html
How to run secure elections with crypto, so people can vote from home
The problem I have with hooks is that I see cool examples like the window size watcher, but when it comes to my own code I have:

1. Some stuff that happens when the component gets mounted

2. So local state that gets maintained (shown error text, whatever, red x, whatever)

3. Some stuff that happens when the component is unmounted.

React classes fit 99% of my use cases. Yes HOCs to get navigation and stuff working is a pita. But honestly I'd have preferred a way to get the cool hook stuff added to class components instead of adding all the class component stuff to function components!
recently when I want to buy something, I will find some pages on FB that sell the products, then refresh my newsfeed a few times to see FB ads suggestions :)
That I do not care about.

But I'll assume the answer to my question is yes.
Not if you live in a surveillance state such as many middle-east countries.

Many Telegram accounts were compromised in Iran a while ago because of this. https://www.wired.com/2016/08/hack-brief-hackers-breach-ultr... Similarly I know for a fact that in many countries your GSM provider stores your texts so you can view/reply them from their web portal. (As you can imagine despite an attacker might not have your SIM card, they might find your user/pass to log in your GSM provider's portal.)

Also state-sponsored actors do tap into GSM operators since SMS is not end-to-end encrypted. Add this to the previous attack vector and you'll see that wiretapping inbound SMS is surprisingly not that hard.
Still fighting for this? It is long gone and I am very happy without it too. I use the original iPhone earplugs, works perfectly fine for call and music. I have a Bluetooth headset and if I am dying for music I use that one for more bass.
Why aren't teachers or scientists billionaires?
Sigh, freedom of religion seems like freedom to believe in unscientific bullshit, isn't it.

I wonder what obscure technical solutions exist just because someone has to obey their magical sky fairy... There are ovens with Sabbath buttons, but that doesn't seem obscure enough.
I don't drink coffee for caffeine. I like the flavor, and enjoy the process behind brewing and experimenting with different parameters to make a cup that tastes better or worse or simply different. I like going to coffeeshops just because. It's a hobby for me. And although I drink two cups of coffee almost every day, I don't feel any kind of withdrawal when I stop drinking it. The caffeine just happens to be a nice benefit.
Forgive me, but I find it a bit hard to be sympathetic in a broad sense to the organizations that make their money from rental income.
The callback is always defined it's just not always invoked. Otherwise it's a regular lexical closure like any callback in JavaScript. Maybe I'm not understanding what you mean by dynamic scope.
Here in NZ we've kept it under control and I would be surprised if anyone considered our press constrained relative to any other country.
You could make the exact same statement 6 months ago.
Although I haven't criticized Hooks, I humbly accept the fact that there are flaws in my argumentation. You are right.
Consul. Etcd also has an open source version of it.
I don't believe virtual learning will be widely used long-term. I might be biased, coming from a mostly engineering school, but there is a lot of vital lab equipment needed for the curriculum, not to mention that social networking and connections are essential to most careers going forward, and I don't see that transferring over in the same way
I’m here for pleasure yeah. I’m in Da Nang.

I was able to move around even during the lockdown. It was just nowhere to go, except a grocery store. But I went for solo walks. I went to the beach, where there were no guards. I’ve seen locals surfing too in some more discrete areas.

Right now everything is open. Business as usual. Except large gatherings, like concerts, clubs and so on.

The only restrictions that affects me right now is having to wear masks in public places, like a grocery store or a bank. But restaurants don’t require masks. Walking on the street can be done without masks too.

As for travelling here. I’m not sure if it’s possible logistically. Are there any inbound flights? Would you need to quarantine for 14 days? Is it self quarantine or at a government facility with lots of other people?
If only it could be a one-handed king as well…
Great info, didn’t know about the rating system.
Went to the Costco in South SF today and there were employees with megaphones reminding folks to maintain social distance near the produce, meat and deli sections.
They'll decide again when they have an outbreak in a dorm or when a few faculty members die. It's hard to imagine that presence instruction will be back in the fall.
If US/EU were to tell the rest of the world, in a typical WWI or Cold War "blocks" style fashion, “you're either with us or with China, i.e. against us!”, how many do you think would choose China?

I mean, the West + JP + Oz + etc. is so much bigger than China alone, and the deceitful / lying / financially predatory nature of that country alone is a big deterrent... Not that Europe was better a century ago, or the US as we speak, but...

That's my big fear, tbh. Blocks. Major blocks. If there is too much symmetry in power, it could have dire consequences.

Edit: not "an instant", I said 10 years at least (that's how long it takes to setup a whole new major factory + logistics flow afaik).

Indeed, interesting times. I never thought it'd go this fast this soon tbh. COVID-19 really is provoking a major shift, I think, resurfacing much deeper tensions, much wider than a 'mere' pandemic.
Back when MOH of Vietnam still published number of people tested per day, I collected the data from their website and made this graph: https://i.imgur.com/hzkG3R2.png
They stopped doing that though.

So as of 4/12, number of people tested and came out negative was 121.6K
I honestly find it hard to believe that people are still bemoaning the ‘loss’ of the headphone jack. I stopped using it well before it was removed, probably sometime while using an iPhone 6 Plus/6S Plus (so 2015-2016). It was an absolutely obsolete interface and clearly a weak point for water resistance and structural integrity.

If you really want to use headphones you can use a pigtail on the Lightening connector or plug them into a bluetooth adapter.

EDIT: Fine, there are people who still want headphone jacks. I’m not the one who decided to remove them and I’m glad they did, but I can’t give them back to you.
YES, but SIP can't stand for long, the people will revolt, a great depression will have other human costs. Choosing the option that's not tenable is bad politics.
Go back and read my comment again. I didn't propose waiting on the name of science. Acting on intuition is fine, just don't call it scientific.
Oof. Are there any stats on how many tests Nicaragua has run?
Microsoft, Google, and Twitter at least (and I believe Facebook and others as well) committed to paying their vendor staff for their normally expected hours: https://www.axios.com/tech-giants-promise-to-pay-hourly-work...
Depends on the REIT. Some do malls, some do apartments, some do hospitals. I'd expect a residential REIT to see a one to two quarter drop in dividends by maybe 25%. I'm having a hard time justifying a longer term dividend drop or valuation drop because there's still a housing shortage in the US. Unless more people move in with their parents, or something...
Off the shelf should be fine. It's rated for 340' of ridgid pipe or 125' of flex. I've seen people zig-zag the ducts to help reduce the noise
There's a fallacy here. The only bright minds permitted in the imperial cafe of yore were those of the right ethnicity, of the right social class, of the right parents who could afford to spend time in cafes talking about literature instead of laboring for wages. Think of all the bright minds that could have been, but never even had an opportunity for education and never learned to read, for example.

You say its the entire empires brightest minds in that cafe, I see an echo chamber composed of a small subset of whoever was the socially favorable class of people of the day, regurgitating the same already accepted ideas, failing to innovate for fear of being ostracized by each other in a world where high school level petty politics decided whether or not you kept your head attached to your body.

Even a parisian cafe with a drunken hemingway pales in comparison to a ted talk, in terms of sharing and improving ideas and introducing them to anyone in the world with an internet connection. Not just who could get into a parisian cafe.
Apparently tankless water heaters draw something crazy like thirty kilowatts, which is more than the rest of your appliances combined and probably requires a landlord to agree to rewiring. Maybe if you have a natural gas supply it's more practical.

This is also why it's rare to fast charge an EV at home—that can top fifty kilowatts.
Sorry, I didn't want to enumerate all of the minor permutations. As far as I know, Spain and Italy are also doing OPTION 3. They have no realistic post SIP plan.
The last time I bought a new car was 20 years ago. My car payment was $250/month. I guess car prices have gone up over the past 20 years ;-)
Good because I identify as a two thousand character nonsensical word.
Former Lyft COO Jon McNeill just launched a fund that will spin out startups
As somebody who definitely is not reading law, another facet of this is that while the Federal Government is prohibited from holding copyrights, same prohibition isn't fully incorporated to the States and certainly not to the rest of the local authorities. Wikipedia's overview [0] is nice.

The principle is obvious, and so while I can understand the dissenters' line of reasoning somewhat, it's absolutely flabbergasting to read some of their bullshit. Here's Thomas:

> Lastly, the annotations do not impede fair notice of the laws. As just stated, the annotations do not carry the binding force of of law. They simply summarize independent sources of legal information and consolidate them in one place. ... The majority resists this conclusion, suggesting that without access to the annotations, readers of Georgia law will be unable to fully understand the true meaning of Georgia's statutory provisions, such as provisions that have been undermined or nullified by court decisions. That is simply incorrect. As the majority tacitly concedes, a person seeking information about changes in Georgia statutory law can find that information by consulting the original source for the change in the law's status -- the court decisions themselves.

How magnanimous! It's appalling that this is the opinion of one of our top jurists: Want to practice law in Georgia? Better go find it, and hope you find all of it. But wait, there's more!

> The majority's rule will leave in the lurch the many researchers who relied on the previously bright-line rule. Perhaps, to the detriment of all, many States will stop producing annotated codes altogether. Were that to occur, the majority's fear of an "economy-class" version of the law will truly become a reality. ... For example, Georgia asserts that Lexis sold the OCGA for $404 in 2016, while West Publishing's competing annotated code sold for $2,570. Should state annotated codes disappear, those without the means to pay the competitor's significantly higher price tag will have a valuable research tool taken away from them.

Cry me a river! Listen to this shit: He thinks that the law will get more expensive if we don't let Lexis keep taking a cut. No, the law ought to be free, and the state ought to bend over backwards (or forwards) to ensure that the law is published so widely and legibly that there truly is no excuse for not being able to access it. The twenty-five states across the USA that currently publish annotated codes are in for a bit of a rude awakening, as they will be asked to stop dicking their citizens.

[0] https://en.wikipedia.org/wiki/Copyright_status_of_works_by_t...
SpaceX Starship Prototype Finally Aces Pressure Test