skysight-inc/HackerNews huggingface dataset:
This is true. I work for a unicorn and we've committed to paying all of our contract staff until the office reopens. This includes making special payments to the caterer, even though we've cancelled regular lunch and dinner meal service, just to pass through to their employees so that they can shelter in place and not have to be at risk of either getting sick or not being employed.

It also includes all reception and building security staff, even though they are employees of the building management, and not employed by us.

I hope more people know that SV startups, and especially unicorns, are really leading by example in their treatment of the low-wage service workers and contractors that work in their offices.
Manual of Ice-Fishing rewritten for desert nomads.
I wish this type of comment would be autogenerated below every post.
Me either, but it is considered so. Challenge trials can be considered ethical, but only when the risk to the volunteer is minimal.

Even if we (society) did decide that doing a challenge trial is worth the risk, we would be amiss to not look for a safer strain to use first. Only if we can’t find one after making a serious effort should we even think about using a dangerous strain.
Saying anything other than "It depends on the lease" isn't really valuable, so that's what I'll respond with. It depends on the lease.
But many, perhaps most, of them could be. Just look at the amount of sites that are being converted to statically generated sites. Static HTML with some Javascript on top.

A lot of websites were converted to this paradigm during the pandemic because the initial UX was that the site got DDOSed by legitimate, high load, or hacked.

And this is from quick conversion (e.g. scraping a dynamic page, Wordpress plugins, etc). I think there's a lot more potential when sites are built with the static paradigm in mind.

My personal blog for example is created by a static site generator I wrote in Rust myself. Instead of manually writing HTML, or using PHP and Javascript at runtime, I handle the complexity at build time. After having done frontend dev for 10 years this approach seems much more sane to me.
According to last year's 14A [0], Jeff owns 16% of Amazon. I'm pretty sure there are a long list of people and/or institutions who would gladly pay far more than $100M in cash for that.

[0] (see page 41): https://www.sec.gov/Archives/edgar/data/1018724/000119312519...
>The governments of many countries had handled the pandemic not very well because they relied solely on WHO (and China).

I see this accusation thrown around a lot, but it doesn't align with timeline and import statistics.

APT32 (Vietnam) hacked China as early as Jan 6th, but didn't shutdown borders until late Jan, well after WHO confirmed H2H and after China the broadcasted seriousness of covid19 with Wuhan followed by country wide lockdowns. Apart from shutting borders with Hubei/China in late Jan - early Feb, the countries that responded well shared one common quality: they immediately rolled out effective screening, testing, tracing and isolation. Which is in line with WHO recommendations on Jan 23 and Jan 30.

The effectiveness of border closing is debatable, since imported cases statistics from these regions (SK, HK, Taiwan, Singapore) indicate very few cases were exported out of China (less than 30), most of which were out of Hubei, whereas hundreds of imported cases came from Americas and Europe. Australia, New Zealand and Canada is similar. These are all places with massive traffic flows with China that also repatriated hundreds to thousands from Wuhan with few positives cases that spread was or could have been managed without huge impacts on civic life. Vietnam is different in that it doesn't have as much resources as other countries so it must necessarily ere on the side of caution.

But broadly, the countries that didn't handled the pandemic well didn't listen to WHO and China and waited too long before acting.
Not having to go to the code and investigate what the types of am object's fields are. That alone can make TS worth it.

Heck just getting auto-complete on an object's members.
Can you clarify the "never needs to be drained" part?
Nope, retired.
Indeed, just what we needed. /s

So why not instead come up with a workable micropayment system?
No inflation arises from injecting more money in the system if the amount injected is offsetting a reduction in economic activity. As activity increases, you take money out of the system (Raise rates)
It's because people are afraid. Fear is not perfectly rational.
I just posted this to another thread - but I think it would be of value here :

I think it is interesting that the discussions are only framed in measuring deaths, and also focus on deaths of the old.
I'm watching friends and family knocked back by this virus for weeks, and now pushing into months (36 days and 42 days since first symptoms for 2 people I know), and research in the US and China points to the increase in long term health risks in the 20 to 50 year olds that recover from this. I know people that just walk away from this with no impact, but if we only focus on death we are likely missing the bigger picture.
Absolutely not. Amazon is the only company that reliably shows when they'll deliver, even before you order. Other companies tend to indicate deliveries within 1-2 days or 2-3 days if items are in stock. You never know when the cut off time is and if they ship out on Saturdays. I know that's a very hard problem to solve logistically but as a customer I don't care.

I just ordered electronics online in Germany, not via Amazon. It was in stock with a reputable stores. Still, my order from 9am got shipped two days later. Maybe Covid related but Amazon would've shown me that before I placed the order. Returns are fully automated with Amazon, very few other online retailers in Germany have that.

Also the no questions asked return policy is pretty unique. If I get a defective item I don't want to argue with the seller why it doesn't work, I just want to have a working replacement tomorrow. Amazon always delivers on that, others very rarely do.

I'd love to get away from Amazon and I'm not even that price sensitive. But until a shop matches their customer service, I'll stay with Amazon for 99% of my orders.
Writing statically typed code will always be slower than writing dynamically typed code.

People don't use static typing for writing code faster, they use it for code that can be READ (and understood) much faster, especially by somebody who doesn't work with that specific piece of code every day.

I think it's generally agreed that in most situations, reading code is much more common than writing code, so static typing really make sense.
> “ What’s not sound science about separating people to slow down the spread? It’s the only real option...”

no, that’s the nuclear option, not a surgical strike, much less the only option, and based on an insufficiently precise perception of the problem.

the mechanism of spread can be crudely described as spitting into each others’ mouths, not standing nearby, touching, or breathing in the same room. with the problem sufficiently, if crudely, framed, it should be easier to imagine other ways of preventing spread besides locking everyone in their abodes. physical distancing by itself, for instance, is probably sufficient for most folks. for “essential” workers, you might add a mask.
Everytime I construct that object I'd have to look up what the fields are, either docs (lol yeah right) or by looking at previous calls.

Bonus if my previous usage was incorrect and I didn't notice and I end up copying that same mistake again and again!

TypeScript saves me probably 15+ minutes a day of just switching back and forth looking up what parameters are needed.

It is a one time tax to make everything I do more pleasant.
So where are all those emissions coming from? For one thing, utilities are still generating roughly the same amount of electricity — even if more of it’s going to houses instead of workplaces.

I see that as a positive, we already know how to shift electricity production to low carbon technologies and many parts of the world are already doing so. Transport is much harder to deal with.
I wonder if these aren't intended leaks to demonstrate secret weapons capability to keep other countries in check. Though I don't know what kind of weapons would behave like this.
Tell HN: Phishing spam emails via Google forms
Lately getting these spam emails via google forms

https://imgur.com/a/ueO4001

Reporting as spam doesn't work. the bitly link takes to a .tk domain.

Anyone else facing this ?
I find it quite hostile to send user inaccessible content down the pipe, thereby cluttering up bandwith and local storage.
> While it might be possible to use a natural attenuated strain as a vaccine directly, the real value of having such a strain may be in using it as a safer test strain in a human challenge trial of a conventional vaccine. This could shave many months off us getting an effective vaccine for COVID-19 [1].

Could you explain this further as to why this allows us to shave many months off?

My current extremely naive understanding of testing would be, at least one group would be unexposed, unvaccinated trial: 1, vaccine, 2 inject, 3 expose to virus 4, measure

If Step 3 is expose, how does a safer strain speed this up?
Tests are a very poor and verbose duct-tapey replacement for succinct and powerful static type information.

Static types massively make it easier to understand new code. I can actually see the structure of the data that's getting passed around, with types.
Alcoholics can go to their local Wal-Mart, Target, or grocery store. They don’t need specialty liquor stores.

What about weed dispensaries, are they essential? More essential than dentists, pediatrician visits, and the accompanying vaccinations? Because the latter have all been closed. How are construction workers essential when gardeners aren’t?

‘Essential’ is in the eyes of the beholder, it seems.
About 1/3 of the bugs on my current project would have been prevented just by strict null checking alone. I've seen bugs on projects with 100% test coverage that would have been caught by types. Dynamic typing was a mistake.
> can you even buy their 3D Xpoint devices yet?

Nope. The only product they've announced so far using 3D XPoint is the Micron X100 SSD, which they're only selling to a limited number of major customers; you won't find it for sale on CDW. Intel's Optane products do use 3D XPoint memory, and at the moment I believe that's all manufactured in a Micron-owned fab. (Intel used to co-own it, and I don't think Intel will have their own production line up and running until next year.)
70% of “Blockchain Island” firms have given up
> For instance, I spend the past two days working on a single CSS file, in an attempt to center-align some stupid buttons (a futile attempt, since they are still not aligned). In comparison, at the beginning of the project, I built out the entire REST backend of the web app in a single afternoon.

It could be argued that the value of the REST backend is lower than the value of the stupid buttons: since the backend is so simple, everybody can do it, while the stupid button takes a wizard to get right. On the market, your commoditized REST backend will have to compete with other solutions on the quality of your stupid buttons.

Hence, spend even less time on the backend, by using auto-generators, and focus all your time on the button. Buttons are a big dollar business.

Damn, I wish a had a CRUD-auto-generator-business, this would be the perfect plug. Check out auto-crud-button-focus.com right now!

/edit: adding the [irony] tag before I get more insulted "WHAT???!?!?!?"s (I know nothing about backend stuff, I work in embedded and electronics)
And to test it and establish that it’s that mild safe will take as long as making any other vaccine. That’s the catch.
Honestly, for me the split keys are just muscle memory at this point, same as 'hjkl' in Vim. Same with my prefix- I used backticks for the longest time, and now I use Ctrl-Space, but I generally don't think about it anymore. (Along the same lines, I screw up and occasionally type "jj" or ":wq" in message boxes out of force of habit from Vim.)

It's weird- as I'm typing this comment, I tried issuing "Ctrl-Space %" a couple times just to test, and I get a very slight mental "misstep" because the comment box isn't splitting in half!
The Fourth New Crown Vaccine in China Receives Clinical Approval
The anti-amazon thing is certainly tribal with a certain kind of person in the UK. Ask which super-ethical companies they prefer to shop with and the reply is often quite amusing.
It’s only dangerous to your determination, and work ethic. Because it can feel hard to continue an idea if there is already an implementation out there.

Ordinarily though, to make money you will have to release the product, and competitors as well as customers will now know about you.

If your entire implantation took a short time, then it will be easy enough to clone.

To avoid cloning by a major company, you should pick an implementation that goes against one of their core user experience elements. For example, Slack began as a chat service for small working teams, and only small teams. Other chat services existed but they let you talk to anyone, or they were pure customer-service chat. Those competitors found it hard to integrate any ideas from Slack because doing so would essentially weaken their existing product.
Yes, I agree this is true if someone was to go to extreme efforts. It seems to me personally quite unlikely, especially since the governments are already the ones who distribute the apps, and at least it seems in the initial implementation, are the ones who confirm your status.

I'm much more concerned about reducing COVID-19 to save millions of lives.
SICP shouldn't really be taught in any language other than Scheme, or a language designed specifically for teaching SICP.

It doesn't make sense otherwise.
Since Babel now supports TS out of the box, it is much easier to use.

Not as safe of course, but you get 90% of the benefits.
Can you add indexing to these, so I can respond to a comment just by writing a number?
And while Amazon also still uses DPD or Hermes, if their delivery doesn't work or they brought it to a shop kilometers away, you can just get a replacement from Amazon and will get a refund for the other item once it's back with them. Other sellers threaten to block you for that. I get that it incurs an extra cost on them but I just don't have to time to spend an hour just to pick up a delivery even though I was home all day.
Coffee makes me sick. I would never tell anyone they shouldn't drink it, but I think it's kind of a gross habit. Let the downvotes begin!
Yes, the mouse situation in tmux is catastrophic.

As much as I love tmux, I wonder what would it take that the program respects the usual copy-paste conventions like all the rest of X programs. You need to do two things, that are apparently impossible when tmux has "mouse enabled":

1. select some text in your xterm so that it gets copied

2. middle click on the xterm and your copied text (possibly from other window, web browser, whatever) gets pasted at the cursor position

This is really simple and sane behavior but it's completely impossible to achieve with the current version of tmux. I have spend much more time that I am willing to admit seriously trying to do that.
This looks a very promising and serious project. RLS is a memory hog. I hope Rust-analyzer is taking performance and memory usage seriously.
And what happens if Google arbitrarily suspends your account?
That is right. We don’t know what mutations might make the virus attenuated (mild), but we can use what Nature has done to tell us. We also get human data on safety thrown in for free. This makes a huge difference in how quickly we can use a new strain in people even under controlled conditions.
Stripe Shut Our Account by Mixing Up Contract Jurisdiction
Stripe recently gave us notice that they would be closing our account in a few days because our business was prohibited by Stripe.

The problem is that our business is registered in the UK and according to Stripe's terms and conditions it is NOT banned in the UK. It is banned in the USA.

In making their decision, Stripe referred to the USA agreement - which we did not agree to

We agreed to Stripe UK's terms, which does not prohibit our business

Customer support has been very slow, and its odd that they would make such a basic error

What can we do? It has put my family in jeapardy
Where do the migrant workers normally sleep?

Answer: In the cities they chose to leave.
YouTube has banned any coronavirus-related content that directly contradicts World Health Organization (WHO) advice.

The Google-owned service says it will remove anything it deems "medically unsubstantiated".

“Anything that would go against World Health Organization recommendations would be a violation of our policy.”

https://www.bbc.com/news/technology-52388586

"Now any content that disputes the existence or transmission of Covid-19, as described by the WHO [World Health Organization] and local health authorities is in violation of YouTube policies.

The firm may also prevent repeat offenders from earning money, and said it would terminate channels as a last resort.

https://www.bbc.com/news/technology-52198946

There's a convenient feature called search on HN or any other websites. I think you might want to use it.
Automating Automation: BPMN ⨉ OpenAPI
Found this in an article a couple years ago:

"...we err in presuming convenience is always good, for it has a complex relationship with other ideals that we hold dear. Though understood and promoted as an instrument of liberation, convenience has a dark side. With its promise of smooth, effortless efficiency, it threatens to erase the sort of struggles and challenges that help give meaning to life. Created to free us, it can become a constraint on what we are willing to do, and thus in a subtle way it can enslave us."
That's utterly broken logic. If you are doing well with a missing finger on your right hand, certainly it won't bother you if we chop the same finger of your left hand ?
Nice try Novell. Now knock it off
I wonder if it is thanks to Amazon that so many other online retailers are now offering service "as good as Amazon".

Because they have to. It certainly wasn't always the case.
And next step would be to actually have some NLP models autogenerate the appropriate discussion for us.
One way would be to look at Sweden's situation in a few weeks. They didn't impose lockdown on citizens.

Granted, lifestyle in Sweden and infrastructure may be different than the rest of the world.
Covid has brought some competition. Apart from that, there's no competitor to Amazon in Germany. There are larger shops for single categories (books or clothes) but no generalist seller like Amazon anywhere.
Interestingly also other scientists seem to suffer from this phenomenon:
https://www.theguardian.com/world/2020/apr/26/virologist-chr...
I want to start using TS for my Node service but ts-node seems janky and the compability with ndb (which I use all the time) seems bad.
Also see Forces of Habit by David E. Courtwright for discussion about why coffee has been so commercially successful.[0]

https://libgen.is/search.php?req=Forces+of+Habit+Courtwright...
> realizing it was never going to work how I liked.

> You can't have it all with the mouse no matter your settings

> so I went back to just using the cursor to move things around.

These tools (vim, tmux, etc.) work great for mouseless setups. If you can get comfortable with a 100% keyboard control paradigm, it might work for you. I realize this might not be what you want, but if the statement "spend less time moving your hand between keyboard and mouse" resonates, it's worth revisiting.
Maybe, but the idea here is not to use any strain found as a vaccine directly, but as a tool to test other vaccines.

Instead of running a large Phase III field trial where we wait for people to get infected, we could use the safer strain to do a challenge trial where we deliberately try to infect the volunteers with the attenuated strain. This will give us an answer much sooner and avoid exposing many people to a vaccine that maybe doesn’t work.
What is not true? 10x simpler, no?

There are two possibilities:

1. You misunderstood Paxos, probably confused that with RSM. For example, Paxos is just the leader election part of Raft. Superficially, it seems different from Paxos, but it what it is under the surface.

2. You implemented RSM incorrectly, probably missed some important features or optimizations. For example, log compaction, membership reconfiguration, pipeline, back pressure on execution, etc.

It is VERY important to differentiate Paxos and RSM. There are tons of optimizations you can do with RSM. But on consensus, there is ONLY Paxos today. Or you do it wrong or you invite something truly new.
> they use it for code that can be READ (and understood) much faster

You nailed it.

I agree, this is the biggest benefit of static types.

I worked at on a several hundred thousand line JS code base at a company, and people were passing objects around, and it was extremely painful to trace code and figure what the structure of the object was. I had to set a breakpoint in the browser, and inspect the object during runtime. Moreover, some fields would randomly be missing, because the field wasn't necessary for that instance of the object. It was infuriatingly maddening.

I ended up spending a lot of time adding Flow types to it, of the form:

type Foobar = {
someField1: string,
someField2: number,
someField3: Baz,
fieldThatIsNotAlwaysThere: ?Qux
...
}

The untyped state of the code base gave me an extremely hard to resist to add Flow static types wherever I could. I also added a step to the pipeline (with my manager's support) that would break the pipeline and make it impossible to merge new code, if it didn't have Flow static types (and I used flow-coverage to make sure the "any" keyword wasn't being used excessively to side step Flow type checking). I was told by some of my teammates to stop forcing types down their throat. I eventually spent so much reworking large parts of the code base, and adding static types to it that my other work suffered (and I wasn't putting as much time as I should have into it), that I was told to stop spending so much time on adding Flow static types. But it was hard to resist the temptation. When I had to implement a new feature / change a file, I would add Flow types to it, and then be drawn to adding types to the various other files that it connects to (imports from, passes data to, etc). They fired me in the end, for that (not prioritizing the things I was supposed to do well enough) and other reasons (was going through relationship issues and eventually a bad breakup, which caused associated psychological/personal/self-care issues).

I've learned my lesson. Dynamic types aren't my cup of tea, and I find dynamically typed code to be repulsive and quite nauseating.
This is little to do with tmux and much to do with the features offered to terminal applications by terminal emulators. Both clipboard and mouse support in terminals generally is quite limited. For the clipboard, this page documents how to configure it within the limits of what is possible: https://github.com/tmux/tmux/wiki/Clipboard
I'd disagree with that - and say this scenario is where TypeScript saves me time.

I just want to add a property to an object. All I have to do is add it to the definition, and TS will show me every location I have forgotten to set the Bar property, which means I can be confident it is set, so I do not need to write extra code that tests whether Bar is set.
Yes, I think most DPIs and Firewalls these days terminate the connections after the ClientHello message which contains the SNI
Tom Nichols shares his Humble Opinion on the demise of experts (2017)
20 isn't actually the upper bound though
gaia was the name of the internal google services for accounts...