Better HN
topnewbestaskshowjobs
Log inSign up

raphlinus

14,081 karma · joined Mar 7, 2014 (12y ago) · 1,887 submissions

I do research on fundamental UI technology and 2D graphics, with a focus on Rust and fonts. @raph@mastodon.online
Submissions

comment 5y ago · link · parent

That looks really interesting, thanks! I hadn't seen it before. It certainly looks like it has most of the goodies we want, including present identifiers, the ability to target a specific time, etc.

One question I have is whether this new API supports smooth resizes, or if that's still broken by design.

comment 5y ago · link · parent

I think it doesn't help that much - if your system is well engineered, you should be able to hit the frame deadline reliably - and it also makes the situation with compositing more complex. My personal guess is that it will gradually be subsumed by high refresh rate displays, often running the game at some fraction of the full rate. You still need frame pacing to take full advantage of it.

comment 5y ago · link · parent

I talked about beam racing a bit in the "compositor is evil" post, but this time around wanted to focus on techniques that are practical to ship and can work reliably rather than depending on fickle hardware dependencies. I do think VR is going to motivate more work in this direction though.

comment 5y ago · link · parent

The chart is based loosely on the Call of Duty presentation (linked in the article), which does employ parallelism to reduce latency.

There's also a lot of interest in ECS engines that can parallelize the work, for example Bevy tries to make parallelism easy.

665.

Swapchains and Frame Pacing(raphlinus.github.io ↗)

89 points · by raphlinus · 5y ago · 17 comments

comment 5y ago · link · parent

That's fair. The Cochrane review links to many of the same studies, for what it's worth.

comment 5y ago · link · parent

Your link is an oft-debunked misinformation campaign[1].

In my opinion, the best current review is the Cochrane review[2]. And indeed, I think "anyone who looked into it never saw it work, ever. At all" is overstating the case. There is weak evidence that it works. That could easily go one of two ways: a highly powered RCT (like ACTIV-6) could show that it doesn't work at all, or we could find that it shows some improvement but is definitely not a silver bullet.

[1]: https://ebm.bmj.com/content/early/2021/05/26/bmjebm-2021-111...

[2]: https://www.cochranelibrary.com/cdsr/doi/10.1002/14651858.CD...

comment 5y ago · link · parent

I call bullshit. Antibodies wane but the memory cell response is robust and holds up over what looks to be a pretty long period (studied intensively for 6 months but with no sign of decline). Here's a new paper that shows that in detail (paper itself is dense but Twitter thread is fairly accessible):

https://twitter.com/rishirajgoel/status/1448711946010710023

By basically all measures, these vaccines work better than the flu vaccine, which for some reason doesn't attract the same sort of criticism.

comment 5y ago · link · parent

A really excellent survey on the prospects for mRNA technology from Derek Lowe: https://www.science.org/content/blog-post/what-mrna-good-and...

comment 5y ago · link · parent

Here's the actual paper: https://www.pnas.org/content/118/43/e2108728118

There's a lot of detailed discussion about different types of cells. Vero cells don't have TMPRSS2, but Calu-3 (human lung epithelial) cells do. To dramatically oversimplify, this compound works on the latter type but not the former.

They also did a little safety testing in a mouse model. This is early stage, as you point out there are a lot of things that work well in the lab and not so much in real humans, but still I find it promising.

comment 5y ago · link · parent

I'm starting to get pretty optimistic. There seem to be a bunch of antivirals with very different mechanisms of action - this one blocks entry of the virus to cells, Molnupiravir fucks up accurate replication of the virus (nucleoside analog), others are protease inhibitors, which are very effective against HIV.

There's a caveat, most treatments that look promising don't pan out, but there are a lot in the pipeline and it seems likely that some will. What I think will happen is a cocktail of antivirals, and together these will significantly reduce the mortality. We need that, because it looks like the virus will probably be circulating endemically. The other great thing about a cocktail (as opposed to a single antiviral) is that the virus developing resistance is both less likely and less of a problem if it does happen.

comment 5y ago · link · parent

On the question of whether we need to update the vaccines: Sara Gilbert spoke to this in some detail in her TWiV interview [813]. They have been testing versions specific to other variants, but haven't found a real need. Delta is not very different antigenically than the ancestral type - beta and gamma are more so, but delta is winning because it's more transmissible. The story becomes quite complex when you get into details - the T and B memory cells broaden the response, so are unlikely to need much updating.

[813]: https://www.youtube.com/watch?v=A_5o6qZyyQk&t=1145s

comment 5y ago · link · parent

It's discussed in TWiV [811], skip to 11:58. I'm not going to pretend to be able to interpret it myself, there are a lot of factors.

[811]: https://www.microbe.tv/twiv/twiv-811/

comment 5y ago · link · parent

Sure. Here are some picked from recent TWiV episodes, which probably represents the polar opposite of the Brownstone Institute in terms of approach to science.

https://www.cdc.gov/mmwr/volumes/70/wr/mm7040e1.htm "Implementation of high vaccination coverage coupled with multiple prevention strategies is critical to averting COVID-19 outbreaks in congregate settings, including overnight camps."

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3932953 Efficacy of COVID-19 Vaccination on the Symptoms of Patients With Long COVID: A Target Trial Emulation Using Data From the ComPaRe e-Cohort in France "COVID-19 vaccination lowers the severity and life impact of long COVID at 120 days among patients with persistent symptoms."

https://pubmed.ncbi.nlm.nih.gov/34587491/ Emergency drug use in a pandemic: Harsh lessons from COVID-19 - this paper is not kind to those who have politicized HCQ and IVM.

https://oklahoma.gov/content/dam/ok/en/covid19/documents/wee... Oklahoma reinfection rates - these show quite significant reinfection rates from those who have already had Covid, which is not consistent with the narrative pushed by antivaxxers that the vaccine provides little benefit for those with "natural immunity."

https://www.researchsquare.com/article/rs-871965/v1 Coronaviruses with a SARS-CoV-2-like receptor-binding domain allowing ACE2-mediated entry into human cells isolated from bats of Indochinese peninsula - this really hurts the "lab leak" case, providing more evidence pointing to zoonotic spillover from bats.

https://www.nejm.org/doi/full/10.1056/NEJMoa2108891 Effectiveness of Covid-19 Vaccines against the B.1.617.2 (Delta) Variant "Overall, we found high levels of vaccine effectiveness against symptomatic disease with the delta variant after the receipt of two doses."

comment 5y ago · link · parent

The rapid antigen test is considerably less accurate than a PCR test if the goal is individual medical treatment, but if the goal is public health, it's potentially more effective. Michael Mina makes the case for this persuasively in a recent UCSF Grand Rounds[1].

These tests could be made available at scale and cheaply, as is the case in many European countries, but we have chosen not to do that. This is a mistake we can fix, but it's agonizing how late we are - I was pushing my congresspeople to unblock it in January or February.

[1]: https://www.youtube.com/watch?v=oWDGNrOqQfQ

comment 5y ago · link · parent

Here is a point I'll concede to the skeptics. By my interpretation, our health system is dysfunctional to the point that it can't reliably and practically collect immunity information in a way that's useful to the immunization effort. I have no interest in defending that.

However, given the dysfunction in our system, and given that hybrid immunity seems much better than either vaccine-induced or disease induced[1], the decision to require vaccines for everybody does make sense.

[1]: https://www.science.org/doi/10.1126/science.abj2258

comment 5y ago · link · parent

Thanks for posting actual data, it's helpful to understand a complex story.

Here's another well-done analysis, by the Kaiser Family Foundation:

https://www.kff.org/coronavirus-covid-19/issue-brief/latest-...

What I find interesting is that the rate of vaccination is higher in Hispanic and Black groups than Whites, so the gap in the cumulative numbers of vaccinations is slowly closing (this is most clearly visible in Figure 3, which shows a timeline).

comment 5y ago · link · parent

That study is seriously out of date, as it addresses the optimal strategy to prioritize vaccinations when the vaccines are scarce. That's still, sadly, a major concern in many parts of the world, but not so much in the US and Europe.

Since then, there's solid science[1] that hybrid immunity is significantly better than either vaccine-induced or disease-induced. So taking the vaccine is clearly the better choice whether you've been infected or not.

[1]: https://www.science.org/doi/10.1126/science.abj2258

comment 5y ago · link · parent

It's impressive how well they can find lack of evidence when they look hard for it.

The fact that there is a strong correlation is undeniable. Here are 3 links with charts that show the connection strongly.

https://www.kff.org/policy-watch/covid-19-deaths-among-older...

https://insights.som.yale.edu/insights/soaring-covid-rates-i...

And, one of the most striking to me, vaccination vs cases of counties in California:

https://www.nytimes.com/2021/09/15/briefing/gavin-newsom-rec...

That said, epidemiology is complex, and an attempt to reduce it to one factor is not valid.

ETA: Carl Bergstrom weighs on with additional insight into why this paper is bullshit: https://twitter.com/CT_Bergstrom/status/1444732537792708608

comment 5y ago · link · parent

SARS-CoV-2 is not a retrovirus. That said, it is likely effective against a wide range of RNA viruses, and its original testing and development was mostly done against influenza[1].

[1]: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6848974/

comment 5y ago · link · parent

Yes, there are 14 studies that met the criteria for inclusion in the Cochrane review of Ivermectin. The results are mixed (some show a bit of improvement) but overall weak.

In addition, ACTIV-6 is a massive (15,000 participant) study that will study Ivermectin and two other repurposed medications. Because that study is large and rigorous, it will basically answer the question of whether Ivermectin works and how well.

[1]: https://www.cochranelibrary.com/cdsr/doi/10.1002/14651858.CD...

[2]: https://dcri.org/activ-6-study/

comment 5y ago · link · parent

At least two pro-ivermectin studies have been retracted. The remaining evidence is weak. I don't think your claim of misinformation is well supported.

https://www.nature.com/articles/s41591-021-01535-y

comment 5y ago · link · parent

A more sophisticated exploration of this topic is Calling Bullshit[1], by Carl Bergstrom and Jevin West. That's a book, but the linked website also has a lot of freely available resources. It's been taught as a college course - week 6 is data visualization.

[1]: https://www.callingbullshit.org/

comment 5y ago · link · parent

The extraspectral hues require mixing light of at least two different wavelengths (red and blue in different proportions), while the other hues can all be made from a single wavelength of light. I understand that lithium chloride can burn with a magenta flame, but that just means that its combustion reaction produces light with that particular distribution of wavelengths in its spectrum - similar to a white flame which would have red, green, and blue.

Pigments work differently than light emitting sources, as they absorb light that is not present in the reflected color. So a magenta pigment is not all that special, it just means it absorbs green. Quinacridone and crystal violet (hexamethyl pararosaniline chloride) are two such examples, each capable of a brilliant magenta or purple color from a single molecule.

comment 5y ago · link · parent

There is in fact a book in the works: https://www.handprint.com/CE/book.html

I'm looking forward to it, it's likely to be one of the definitive resources on color. I believe it's important to pay attention to the artistic perspective; I think the belief that there is a "scientifically correct" approach to color problems is often a damaging form of scientism.

comment 5y ago · link · parent

The balloon in the artwork I had made for my undefined behavior blog post[1] was an homage to that cover.

[1]: https://raphlinus.github.io/programming/rust/2018/08/17/unde...

comment 5y ago · link · parent

If people are looking for a real meta-analysis, currently the best one is from Cochrane. They recently put out an author interview[1] putting it into context.

I find this whole topic fascinating, first the actual science, then the patterns of why people believe what they do.

[1]: https://www.cochrane.org/news/ivermectin-cochranes-most-talk...

comment 5y ago · link · parent

I flagged this because it's a biased source, not the best review. The most authoritative review currently is this one from Cochrane: https://www.cochranelibrary.com/cdsr/doi/10.1002/14651858.CD...

And some interesting more recent commentary that helps put it in perspective: https://www.cochrane.org/news/ivermectin-cochranes-most-talk...

comment 5y ago · link · parent

The Android calculator is indeed doing unbounded precision calculations[0.999999999999]. It was developed by Hans-J Boehm, also known for the Boehm-Weiser conservative garbage collector.

[0.999999999999]: https://cacm.acm.org/magazines/2017/8/219594-small-data-comp...

comment 5y ago · link · parent

A Rust implementation, with visuals and pointers to other resources: https://crates.io/crates/rbf-interp
1
222324
63