skysight-inc/HackerNews huggingface dataset:
Superficially the first thing that most developers I've spoken to notice is JSX vs HTML-based templating. But both frameworks are very similar. I started with Vue and when I took a job which used React I found that I already knew how things worked.

Beyond that, I would say the biggest difference between the two is that Vue is the scope of the framework. Vue includes much more in the framework itself and as first-party helper libraries whereas React relies heavily on third-party packages of which there often many competing options and which one is used varies from company to company and project to project.
Sounds like you need to just get a new battery. That was 5 years ago.

I got 4-6 hours on my 2015 MBP depending on what I was doing after two years.

You could get a program like iStat Menus to keep an easy eye on your CPU to see if something is using it. I think it's required in 2020 where Spotify, Discord, Slack, Steam, a browser tab you opened last week, etc. will regularly decide to start eating a whole core in the background.
Strong-arming Office 365 onto companies was also pretty brilliant, in that it forced every company/org that uses Office to at least investigate the MS ecosystem. And by a person who likely holds at least some sway over purchasing power and infrastructure decisions.

And how many companies don't use Office at all?
This is a really excellent cue. Thank you very much!!
Yeah it depends on the system operator, but I know some do for sure. In a test environment you might still receive the same input SCADA data, but could have entirely new calculations running. It's just that those calculations aren't sent anywhere.
- Ginkgo and Gomega for tests, though sometimes just stdlib on smaller projects. I like Gomega very much, great matchers, lots of useful helpers.

- Manual DI, passing in values and objects. We've hand mocked a handful of components: just what's essential for testing.

- Mostly not using HTTP. But a few projects do, some simply use basic stdlib, others use Echo.
Influenza A isn't a coronavirus.
So swagger is bad because "one request and I get your entire schema"?

> run any query on the client side" is a terrible idea

that's a big mischaracterization. A typed query language that lets you tailor your queries a la carte doesn't remotely mean the queries "run on the client side".
I think it's just easier to ramp up in Vue.js than in React. The Single File Component approach is easy to grasp for beginners since it just looks like an HTML file with three main tags: template, script, style.

You might find useful information here: https://phabricator.wikimedia.org/T241180

(The Wikimedia Foundation describes why they went with Vue.js instead of React or other competing libraries)
It's such an infrequent event it's literally a rounding error. The only reason it's even brought up is because it gets attention on the news - which is in and of itself a feedback loop, as more attention brings more copycats.

I grew up in an area where every other house had dozens of guns. Surprisingly, we didn't have a school shooting every day. In fact, we had none. I'm not using anecdotal data to support any argument, but if it were indeed the case that more guns = more baby and child killings, then I wouldn't be here to write this comment.

My main concern here is the erosion of natural rights based on the premise that it is "for the children", which is a trope. It's been used for all manners of privacy violations, from indefinite detentions, proposals to ban encryption, PRISM, etc.

If you genuinely care and have an open mind, you'll see it's extremely dubious as to whether enforcing more restrictions would have any effect, barring throwing the Constitution in the trash and seizing everything. Conversely, we can think of the children and ban cars so they stop dying in car accidents, because no more car accidents will happen.

I'm okay with incremental positive change, but they have to be data-driven and made respecting the Constitution. The US got this far due to its framework, its shared values on freedom and liberty, and lack of an oppressive, overreaching government. It derives its success from the freedom of its citizens to chart the course of their life, not from the nanny state telling them what they can and can't smoke, shoot, eat, code, read, write, or drive.
This is so tiresome. Someone has cancer for six months, gets COVID and dies 17 days later and now Tucker Carlson is here telling me not to count that death. How often do you really think it happens that someone is hospitalized with COVID (otherwise, they'd not even be getting tested most places in the world) and dies of something else a week later? I'm sure it has happened a few times, but what has also been happening hundreds of times every day is people die untested and are not included in the official numbers. Its ridiculous to even have this discussion, and the motivations for it are absolutely disgusting.
I think there's a difference between turbo boosting for short workloads and turbo boosting for long workloads. Especially since a big cause of turbo boosting for long workloads is because of a bug in some app I'm running, like an infinite loop doing nothing useful.

Turbo Boost Switcher's website says it can adjust Turbo Boost based on fan speed (only in its Pro version). This is probably the best way to do it: disable Turbo Boost only when it's running for long enough to turn on the fan.

I honestly think a "no fan noise" setting should be a built-in feature.
> According to their analysis of public data, published in the New York Daily News, Orthodox schools in Brooklyn had an unweighted average vaccination rate of 96 percent. That’s higher than the 95 percent vaccination rate experts recommend in order for a community to be collectively immune from the disease.

https://www.jta.org/2019/06/07/united-states/heres-what-we-k...

https://www.nydailynews.com/opinion/ny-oped-vaccination-is-n...

The Nature article has a nice anti-semitic spin to it. Not surprising. Weird to see this agenda it getting pushed here at HN, but whatever.

BTW, OP's account is 8 months old and has ZERO comments made. What are the chances theirs is a legitimate account? Is it zero percent?

Yeah downvote this. That's how it works. Hitler would be proud of you all. Sig heil and all that right guys? Fucking hell. Despicable HN nazis.
LiveDashboard seems to be something different than LiveView
Stripe is the only company worthy of its lofty valuation. I love their products. Not sure how Shopify market cap is nearly 2x Stripe. Makes zero sense to me.
I like that I can embed a bit of vue code into an existing web page. Bit like old school javascript. AngularJS 1.x was like that too and the inspiration for Vue. React/Angular require a whole build process with NPM/webpack etc etc to create a SPA.
No, he's saying the opposite (as in TS scales better with project size).

> time spent fixing things that would have been caught [by Typescript] out weights the cons of using typescript
FTA:

The study, conducted from 1-6 April, tested 1,554 people. It did not involve antibody tests, which can tell whether a person was previously infected and is therefore probably immune. Future studies should involve antibody tests, the government has said, to inform policy as the country starts to reopen shops from 14 April.
If not done well PCR has an incredibly high false positive rate. If you contaminate your set up area (or equipment) with past PCR amplification material you will get a very high rate of PCR positivity.

Of course if you do things correctly this shouldn’t happen, but if the average pathology lab technician is as skilled as my ex-students and colleagues (and myself) then I would be not be so keen to rule out false positives.

Yes there is a major issue with false negatives, especially when the swab was not performed or stored correctly. RNA is not very stable and it is very easy to destroy all the viral RNA if you are not careful.
The PETM was a long time before human civilization began.
They certainly do, I have seen it often. I'm not even sure what to do with old phones. I don't know of any recycling places. I usually just let them sit in a stack in a draw. I once had a phone come with a bag to mail for recycling but I haven't seen something like that for a while.
The government has always and will always pick winners and losers. It's that simple.
Measur Anything In The World – Finally mobile friendly
Follow the Iceland data. They've tested about 10% of their population, including random testing of seemingly healthy people. They've almost eliminated new cases. Death follows about three weeks after symptoms, so we'll know the infection fatality rate soon. Right now it's quite low there, but I predict it will trend towards 1% - 1.5% like we saw in Germany and South Korea, whose rates also started out low. That's >10x the death rate of the flu and would indicate half a million to a million dead in the US.
For me Vue biggest advantage is it's simplicity. I haven't learned much about Vue 3 yet but Vue 2 can still run the good old jQuery way and all you need is a script tag (no weback, etc). Also I find the syntax super easy and minimal.

A valid vue component can be as simple as {template: <div>{{1+1}</div>'}

Ofcourse you can extend it all you want and it even comes with its own cli but the fact they've managed to keep things so simple is what I love most about it.
They're pretty similar. I prefer React because the JavaScript-first approach is much better for large applications. It leads to a smaller API while simultaneously giving you more control over how things work. Also Vue has a lot more magic to it which you might care about on a large project.

The use case I recommend Vue for is when you just want a quick drop-in solution. For any serious development I stick with React.
It is a bit odd for a car though, you have to admit. Imagine buying an ICE car with a fuel tank that had an artificial limiter. Add 4 gallons to the tank for $x (120 miles). Would people accept that?
Nowhere does the article mention which kind of test was run. Was it qPCR or serological?

The latter tests whether you have had an infection. The former tests whether you currently have one.

The distinction between presymptomatic and asymptomatic is tricky as well, but is less of an issue with a serological test than a qPCR.
We have built the easiest way to measur area on a mobile device (so easy your grandma can do it!) we are building it as a feature into our product Lawnbot (The chatbot that sells lawn care instantly) Would love to hear your feedback kendall@lawnbot.biz
Also, during outbreak phase, if it takes 7 days to show symptoms and is doubling every 3.5 days, seems at least half of everyone infected would be pre-symptomatic.
The default is to not enforce any rules beyond the cryptographic signatures.

If you need any other validations, it's entirely up to you to specify what those are.

You might care about checking `exp`, but I might instead care about `iat` with a hard-coded token lifetime.

PASETO supports whatever zany business logic developers need, but doesn't enforce anything by default.

But once you add a rule to your parser, it will fail-closed on those rules.

> A token without timestamp will never be valid if a rule for checking timestamp is added in the parser?

Correct.

If your parser is set to check timestamps and one is invalid or omitted, it throws an exception.
I said it on the other thread, but I'll say it again here. Measles is crazy contagious, with an N0 of somewhere around 15. You basically need everyone vaccinated, because a full 2-3% of the people you give the vaccine to won't become immune, and that's like dangerously close to the level you need for herd immunity.

Somewhere around 0.2% of people (mostly kids?) die from it, in a modern country with a decent emergency medical system.
> Why can't somewhere.com have the public key for user@somewhere.com and serve it to other e-mail providers on request?

They could, but then somebody would have to deliberately request it. That would also mean adding a separate transmission/protocol different from the email protocols routing the messaging. That is a more streamlined process, but still not fully automated.

The only way to ensure adoption is to force onto users as an automated check of the primary protocol like the handshake of TCP. Even then you should still have to account for SPAM and anonymous users you don't want to exchange keys with.

Yes, private keys can be issued with a password. That is not an excuse to disperse your private keys though, because that password can be brute forced and then a criminal can access any account using that key set provided they aren't further blocked by something like 2 factor authentication. The password is just there as added security for things unintentional disclosure or unintended access, but not as a primary means of security.
I read the exact opposite: that they regret not using typescript for non-trivial projects because tsc would have prevented dumb mistakes due to a lack of types.
What is that trick?
A lot of these trade-offs are clearly explained in a Stack Overflow Blog post [0]. The issue of latency is highlighted as a key issue, as is increased server load and no offline support. I would assume these also apply to LiveView. Still, the both sound appealing in that you can do everything in a single language.

https://stackoverflow.blog/2020/02/26/whats-behind-the-hype-...
Show HN: Subs – subscriptions tracker app
I'll be sending an email to CFRG, probably next week, with any spec changes.

But before I resuscitate PASETO, XChaCha20 needs an RFC. It's pending IRTF kick-off.

https://tools.ietf.org/html/draft-irtf-cfrg-xchacha-03
evidence of what? two separate strains?

this paper mentions two strains[0], 'L' and 'S' type, was it refuted?

[0]: https://academic.oup.com/nsr/article/doi/10.1093/nsr/nwaa036...
Every friend was once a stranger. Pithy as it sounds, I have found people who make friends almost at first sight. I find it tough to do this, but know many people who would cheerfully call each other (and behave like) friends after a meeting or two.
It's a metrics dashboard for Phoenix applications that uses LiveView to display the data.
The current reality is that each of us has many subscriptions to different services now. Streaming movies, TV shows, music, games, our favorite apps with a subscription. I've created an app where you can gather all your subscriptions together, keep track of their costs, and get notifications about the next payment in advance.

How often have you had a trial period of a subscription, used it. But in the end you didn't like the service, and you forgot to cancel the subscription and spent the money? This will not happen again! In Subs, if you specify that your subscription has a trial period, then 1 day before the payment you will receive a notification and can unsubscribe in time.

In addition, you can add regular payments to Subs, such as payment for your apartment, internet, mobile phone, support for your favorite podcast on the Patreon. And a nice chart will show you how much you spend on subscriptions every month.

Subs has become a handy tool for me and I really hope you like it too! I will be happy to receive any feedback and suggestions on how to make Subs the best tool to control your subscriptions.
Ask HN: Anyone else getting Google account recovery notifications recently?
It seems someone in Vietnam, or someone using a proxy in Vietnam has been trying to recover my account. I did a google community search and found the same thing happening to others, so I'm wondering if it's just random or if there is a common denominator.

https://support.google.com/accounts/thread/38457636?hl=en
"For example, if you're processing $100k/year and refund 5% of your payments (which would be on the high end of normal), it works out to about $12/month".

Patrick, please don't do that. It's scummy maths and unworthy of you. Either "if you're doing $8k/month it work out to about $12/month" or "if you're doing $100k/year it would work out to about $145/year" would be better. Using different units for the two different figures to make them look further apart is the kind of thing done by people trying to mislead with data.
And we created https://gitlab.com/gitlab-org/gitlab/-/issues/214681
Do you know any studies of the outcome of the 32 Diamond Princess patients that were the ICU at the time the boat was emptied? I have been looking and I can’t find any data on what was the final clinical outcome of all patients on the Diamond Princess?
I'd like some evidence for this -- can you provide some?

When it comes to wearing surgical masks, yes, hospital staff are to assume that everyone's got it because it's pretty annoying to get it from a guy who came in for toenail fungus or a lady who came in for a prenatal screen and then be out of work for 2+ weeks. This is literally what has happened across Italy, China, New York, and other places. It's not like you write down in some electronic medical record "Man comes in with complaint of unattractive toenails. Presumed to be infected with COVID-19 without evidence." That's too damn much work.

On the other hand, when people die, some are being listed as presumed to have COVID-19 even in the absence of a positive test. Here's what the doctor sitting across from me says about how he's directed to fill out death certificates (yes, we're drinking Scotch, but this ought to still be accurate): On death certificates you are supposed to write a primary cause of death and then the interval between death and preceding underlying causes. For instance, if someone dies of ARDS preceded by dry cough, fever, difficulty breathing, you can say that they died of ARDS with presumed COVID-19 infection as an underlying cause. (You're apparently not really supposed to write "cardiac arrest" as a primary cause of death, because by definition, when you die your heart stops... so it's tautological in some sense and thus useless.) Another example: you could write "pneumonia" as primary cause of death, preceded by lung cancer preceded by asthma, and you could check a box for smoking but you couldn't write smoking down as a cause of death.

If you were hit by a bus and died of injuries, but you'd had COVID-19 symptoms beforehand, the certifying physician would need to write down "injuries from being hit by a bus", or rather in medicalese, "motor vehicle accident, pedestrian (ICD-10-CM subfamily V04)" [1]. COVID-19 in that case is not a cause of death, and that rando legislator from Minnesota who claims it is has a reading comprehension problem. My mom who works in the death certificate department will definitely be checking anything he signed.....

Why not only write down confirmed COVID-19 cases? Because, for instance, at the hospital at which the physician across from me works (in the COVID clinic, in fact), they serve about 100,000 patients but are allotted 25 rapid COVID tests a day. Since each patient needs two tests because of the high false-negative rate, that's 12 rapid-tested patients a day. Wowza. Yeah, let's use that on the guy who walked into the ER and got intubated within 20 minutes. Why bother?

Anyhow, interested to hear about your experiences.

[1] https://www.icd10data.com/ICD10CM/Codes/V00-Y99/V00-V09/V04-
Basic protective measures against the new coronavirus
In Laravel (PHP) world, some people have tried building sites LiveWire + Blade X + alpinejs. LiveWire is LiveView but for PHP and using POST and GET requests only, Blade X is for server side React-like DOM building, alpinejs for JS stuff that doesn’t require data round trip (for example displaying a popup with known contents).

I haven’t seen any large projects built with it yet, though for small ones it sure feels like magic.
> I really hope you're planning some agility in PASETO otherwise it's de-facto s* protocol that will have to be thrown away within a few years upon the first cryptographic weakness, breaking all applications that dared to adopt it.

Instead of cipher agility, PASETO uses versioned protocols.

My DEFCON Crypto & Privacy Village talk (slides and YouTube video at https://paseto.io for the curious) covered this distinction in detail.
IMO it's a huge difference in learning curve too. In Vue I was up and running in a day or two but React took me weeks to really feel like I knew what I was doing—and I learned React after I learned Vue.

Single File Component tells you where you need to put things. You don't need to figure it out yourself and build up your own organization and patterns on top of Vue. You just start building the application.

It's not a completely apt comparison: but Vue shares more in common with Rails than with Node development—at least in terms of grokking. My understanding is their performance is virtually the same. Some applications perform better on one vs the other.
We locked most of the nation down for almost a month and still overloaded medical infrastructure and had to build field hospitals. We're burying people in parks and storing bodies in mobile freezers. Most elective surgeries are still on hold because the hospitals are filled with Covid patients. A few nations had to ration health care and didn't treat people over 60. What other disease has done this since the Spanish flu?
I think at this point everything around us is collecting data. So what's new? I just hope they use this data to improve mobility rather than to sell it to third parties.

www.tryoily.com
Offset Awards Contracts to Advance Swarm Tactics for Urban Missions
Seems really dumb but who knows?
He probably meant an attitude towards life; giving your best effort to even the most mundane task to get the best out of it. That would also elevate your success in what you do best, and your satisfaction in life in general.
This is a good example of why redundancy doesn't protect against single-cause failure. Ugh I sound like the functional safety guy.
I kinda doubt that Facebook actually deletes, as opposed to setting a DB flag... weren't they caught logging comments that were typed in but then modified / deleted / not actually posted?
Here to second this. We have a USD account in Australia and can receive USD payments directly as USD from Pin, but from Stripe we have to receive the payment as AUD. Really looking forward to the option of avoiding multiple currency conversions.
So... you argue that 20% of the population had this disease, except that they didn't have this disease they had a close relative that is almost entirely asymptomatic in exactly the way you need it to be in order to explain away the case fatality rate measured for the disease we do know about?

I genuinely don't understand the desire on the part of so many people to... just not believe the relatively obvious (but still not remotely certain) fact that this is a very serious disease with an unmitigated doubling rate somewhere around 5 days and with somewhere in the realm of a 1% CFR. Really, the data matches that very well.

Certainly there is room for lots of uncertainty, but if your policy desires demand the invention of a second strain and whatnot... maybe it's time to revisit your priors?
Do you think he bought it because he really likes journalism?
Do you know that Hot Corners allow you to do the same thing, easier (no aim or app needed) right?
https://support.apple.com/en-ca/guide/mac-help/mchlp3000/mac
Reminds me of this guy, who hand-planes engine cylinder heads using a block of wood, straight edge, sandpaper, and feeler gauges:

https://www.youtube.com/watch?v=1ch8KYiqSNg
Dianne Feinstein's reply to constituents' opposition to EARN IT act
I don't see those facts in:

https://en.wikipedia.org/wiki/COVID-19_testing#Virus_testing...

https://ourworldindata.org/covid-testing#testing

I'd be wary of handing out superlatives just yet in any case.