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

Thanks for that citation. It is indeed among the strongest evidence for increased transmission. My point is that it is observational rather than biological evidence, which is not the same, and when you do observational studies, there can be many confounders.

comment 5y ago · link · parent

Let me speak to the second criticism (I'm not sure I fully understand the first one). The quote in context from the paper is:

"there is no significant difference between B.1.1.7 and non-B.1.1.7 viruses in total infectiousness predicted by our model"

But "predicted by our model" is doing considerable work here, as the model doesn't take into account potential differences in what happens after someone is exposed to the virus, only what's measured in the study (viral shedding dynamics). So I think the critique of Prof Balloux is worth heeding: it would be a leap to conclude that alpha is definitely not more "infectious" than ancestral type when you take into account the broader meaning of "infectious." Even so, to my mind that places even more burden on demonstrating a biological mechanism.

It also refutes a major claim in TFA and calls into question the methodology used to support that claim: "In China, they estimated the viral load of Delta to be 1,000 times higher than that of the original variant." But when you look at viral load specifically, as is done in the Ke et al paper, you find no difference at all. A few things could be going wrong here, but my money would be on some problem in how that 1000 factor was "estimated."

comment 5y ago · link · parent

You're being downvoted, but that's actually a good question. An explanation that fits the fact is antigenic drift. A variant that's different but not necessarily that much worse will outcompete another variant in which the population has built up significant immunity. The difference in fitness doesn't need to be that large.

If the virus truly had a massively larger R0 value, as is asserted in TFA, then you'd expect it to catch fire extremely quickly as soon as it starts showing up, and everywhere it is found. Ron Fouchier (see TWiV 777 as cited elsethread) certainly believes that these huge R0 values are not plausible, and that antigenic drift fits the observable facts better.

comment 5y ago · link · parent

Some counterpoint. A lot of the assertions, particularly the fact that delta is dramatically more transmissible than ancestral type, are reported as fact in the mainstream, but the evidence for this particular claim is thin. It certainly is true that delta is outcompeting the other strains. But inferring higher transmissibility from observational or ecological studies is not really sound. Most of the increases can be explained by human behavior - a third to a half of Americans are not fully vaccinated, and people are going out, not wearing masks, etc. Determining higher transmissibility in the virological sense is a difficult experiment and I don't think is really being done.

This is discussed in some detail in TWiV[777], a discussion with Ron Fouchier. If you use influenza as a model, the picture looks completely different - new strains are coming up all the time and outcompeting the older ones, but that's just because people have developed immunity to the older ones (antigenic drifts). The new ones are not fundamentally different or more transmissible. For people who don't want to listen to the whole thing, the main point is also made in a NYT opinion piece[2].

Pueyo claims that alpha is 60% more transmissible than ancestral type, but again the evidence doesn't strongly support this. Indeed, a preprint just came out[3] in which alpha looks pretty much identical to ancestral type when it comes to viral loads and clearance.

I've really enjoyed and appreciated Pueyo's writings. In particular, I think "The Hammer and the Dance" was groundbreaking and we could still learn the lessons from it. But I think this one is a miss: it could present real insight, but instead mostly propagates conventional thinking.

There's a really interesting science communication aspect to delta: it's basically a proxy for the (very true) statement, "the virus is still dangerous." In fact, one prominent evolutionary biologist accused the NYT op-ed of verging on "delta denialism". Accurately communicating reality in a way that is useful to people is fantastically hard, and we just don't have an ecosystem for it. I think this is the reason I've become addicted to TWiV and other similar highbrow sources - I hate being fed partial information and feel compelled to learn more.

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

[2]: https://www.nytimes.com/2021/06/27/opinion/covid-vaccine-var...

[3]: https://twitter.com/BallouxFrancois/status/14149092626571141...

comment 5y ago · link · parent

You can absolutely make hi-color images which are close to visually indistinguishable from the 24 bit originals, by using a good dither matrix. GdkRgb did this well over 20 years ago, back when "CRT" meant a display technology, and the fuzziness made the dither patterns melt.

If you were doing it really carefully, you'd use a corrective gamma function, as dithering in a nonlinear colorspace is not an identity transfer function. Alternatively, you can do error diffusion in a linear space. But at 5 bits, the effect is fairly subtle.

comment 5y ago · link · parent

It's not holding up so well in RCT's, like this one[1] that was just discussed on TWiV 778[2].

BTW, I've joined the legions who are addicted to TWiV. It's a time commitment for sure, but it's fascinating how different the perspective is on important topics (like delta variant) than the mainstream press.

[1]: https://bmcinfectdis.biomedcentral.com/articles/10.1186/s128...

[2]: https://www.microbe.tv/twiv/twiv-778/

comment 5y ago · link · parent

For starters, real text handling. Just doing a full text widget with all the trimmings is quite complex problem. Druid has made good progress on this front but is nowhere near where it should be. I also put IME in this category.

As mentioned elsewhere, accessibility. Aside from web technology, Qt is one of the very few cross-platform toolkits that gets this right. I'm happy to see that some other projects, egui in particular, are starting to pay attention.

One of the things that Druid doesn't do well right now is integration with 3D and video content. That will depend on the application (it's not needed for font editing), but is definitely needed for a toolkit to be considered general purpose. The implications go deep, mostly because you have to hook pretty deep into the system compositor to do this well.

I may do a blog post on these infrastructure topics, depending on interest.

comment 5y ago · link · parent

Thanks! To clarify, the platform abstractions are both in piet, which is 2D drawing, and also in druid-shell, which contains a wide range of other things, including menus, copy-paste, and a good start on IME.

I've written lots about Druid. I haven't really chimed in much in this thread, as a lot of the discussion is frankly not that relevant to what we're trying to do. We are currently not focused on making a good out-of-the-box developer experience, which is what most people here seem to be looking for. Rather, we're systematically exploring what it takes to make a good next-generation UI toolkit, and building a knowledge community around that. It turns out there's quite a bit to that, much more than building a toy UI toolkit.

comment 5y ago · link · parent

This is my interpretation, yes. The language you are quoting is largely legal boilerplate. In practice, how it works out is that (a) if you want to do a game, there's a very good chance (though not a guarantee) the answer is simply "yes", and (b) the questions of who owns what IP are all very clear, and often in favor of the individual. For example, if you go the Apache 2 license, that actually comes with a patent grant as well.

In any case, the specific claim I made is that it's more enlightened than the Amazon policy, and I don't think that can really be questioned. Just the fact that large parts of the policy is public is itself relevant here - other discussion threads are arguing whether the posted text is authentic.

comment 5y ago · link · parent

I saw this on Twitter yesterday. As a datapoint, Google's policies on this stuff are quite enlightened by comparison. There are two paths people can take. One is to create an open source project. I started a game (then got distracted by other things), and A/B Street[1] also took that path.

The other major route is the IARC program[2], in which the game author owns the copyright. A friend of mine did The Shepherds Rock under that policy.

All this is to say that the policies around these things vary widely even within FAANG.

[1]: https://github.com/a-b-street/abstreet

[2]: https://opensource.google/docs/iarc/

comment 5y ago · link · parent

Really looking forward to seeing where this goes! A good, cross-platform abstraction for accessibility could make a big difference for a lot of people. Certainly I agree that accessibility is one of the major differences between a toy UI toolkit (of which there are many) and a real one (of which there are none yet in Rust).

comment 5y ago · link · parent

It does. Rational people evaluate the known risks and take a reasonable guess what the unknown risks might be. Conspiracy people gonna conspiracy.

comment 5y ago · link · parent

I agree. Sorry for the misdirection - the panic is something I observed when I was experimenting with it, and I misinterpreted it.

comment 5y ago · link · parent

Ah, you're right. I was using the same ordering for success and failure. It is possible to use AcqRel in the success case.

comment 5y ago · link · parent

https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU32.h...

It's accepted by the compiler, but if provided, it compiles to a panic.

comment 5y ago · link · parent

Ah, good then, I didn't know that, thanks for the cite. I haven't studied the CUB code on it carefully.

comment 5y ago · link · parent

I don't think CUB is doing decoupled look-back, the reference you want is: https://research.nvidia.com/publication/single-pass-parallel...

It doesn't use the word "spin" but repeated polling (step 4 in the algorithm presented in section 4.1, particularly when the flag is X) is basically the same.

comment 5y ago · link · parent

In general spinlocks are a bad idea, but you do see them in contexts like decoupled look-back. As you say, thread granularity is a problem (unless you're on CUDA on Volta+ hardware, which has independent thread scheduling), so you want threadgroup or workgroup granularity.

In any case, I'm interested in pushing the boundaries of lock-free algorithms. It is of course easy to reason about kernel-{start/end} synchronization, but the granularity may be too coarse for some interesting applications.

comment 5y ago · link · parent

Also: it remains difficult to fully nail down the semantics of sequential consistency as well, especially when it's mixed with other memory semantics. Very likely next time Russ updates his article he should add a reference to Repairing Sequential Consistency in C/C++11[1].

[1]: https://plv.mpi-sws.org/scfix/full.pdf

comment 5y ago · link · parent

A GPU followup to this article.

While on CPU sequentially consistent semantics are efficient to implement, that seems to be much less true on GPU. Thus, Vulkan completely eliminates sequential consistency and provides only acquire/release semantics[1].

It is extremely difficult to reason about programs using these advanced memory semantics. For example, there is a discussion about whether a spinlock implemented in terms of acquire and release can be reordered in a way to introduce deadlock (see reddit discussion linked from [2]). I was curious enough about this I tried to model it in CDSChecker, but did not get definitive results (the deadlock checker in that tool is enabled for mutexes provided by API, but not for mutexes built out of primitives). I'll also note that using AcqRel semantics is not provided by the Rust version of compare_exchange_weak (perhaps a nit on TFA's assertion that Rust adopts the C++ memory model wholesale), so if acquire to lock the spinlock is not adequate, it's likely it would need to go to SeqCst.

Thus, I find myself quite unsure whether this kind of spinlock would work on Vulkan or would be prone to deadlock. It's also possible it could be fixed by putting a release barrier before the lock loop.

We have some serious experts on HN, so hopefully someone who knows the answer can enlighten us - mixed in of course with all the confidently wrong assertions that inevitably pop up in discussions about memory model semantics.

[1]: https://www.khronos.org/blog/comparing-the-vulkan-spir-v-mem...

[2]: https://rigtorp.se/spinlock/

comment 5y ago · link · parent

Kinda. https://news.ycombinator.com/item?id=27232401

I think CSIRO disbanding the team was a huge mistake, but in any case they weren't producing the kind of success metrics that sustained their funding.

comment 5y ago · link · parent

You are right, thanks for the correction!

comment 5y ago · link · parent

You are correct here. The conversion from one color space to another when the gamuts are not identical is an artistic decision, and there is no scientifically "correct" way to do it.

There can be standards so a content creator can know what to expect, and there's an awful lot of weight put into attaching metadata to source images so the transform can be informed by the metadata, but I also think it's fair to say the entire thing is a mess and that in 99+% of the cases there's a good chance trying to do fancy color management will cause something to go wrong (if not least, inconsistent results on some clients), whereas keeping everything in sRGB gives you a baseline of quality; the only thing you don't get are those super-bright colors.

comment 5y ago · link · parent

The right image is not in sRGB, it's in Display P3. The difference in reds is pretty subtle, so most likely if Paint.NET is showing a dramatic difference, it's misinterpreting the color space of the PNG image.

comment 5y ago · link · parent

I'd absolutely give her this one. This is the relevant line from LinkedIn:

> Investigating the effects of human genetic variation on the efficacy of adeno-associated virus (AAV) variants in order to engineer gene therapy viral vectors targeting diverse patient populations.

So this is professional work at a prestigious institute on (a) viruses, (b) engineering of viruses, and (c) deeper understanding of the dynamics of transmission of these viruses in humans. Further, adenovirus is one that can be engineered to be combined with pieces of SARS-CoV-2 to do interesting things in humans, as I can personally attest, having had the J&J vaccine.

It's hard to imagine a set of credentials better suited to analyzing origins of Covid. There are a lot of grifters out there, "epistemological trespassers" if you will, but Dr. Chan's is a voice that deserves being listened to.

comment 5y ago · link · parent

Very little in the way of public health implications. Quite a bit in terms of geopolitical implications. I do think people confuse the two a fair amount.

comment 5y ago · link · parent

Another good introduction to wide gamut and HDR is this talk about HDR in Krita from LGM 2019: https://www.youtube.com/watch?v=5MrocfwJd4k

There, the main focus is on very bright shades (whiter than white), but highly saturated colors are in scope as well.

I definitely appreciate the work to enable this, but honestly remain skeptical how important it is. I mean, sRGB #FF0000 is a pretty bright red. When do you really need more than that?

comment 5y ago · link · parent

I second your recommendation of Alina Chan, as she has the scientific credentials, is careful with the science, and as you say is balanced in that she doesn't dismiss the natural origins hypothesis either. If people want to be informed about multiple perspectives of this debate, she is a must-follow.

That said, let me temper that with some skepticism. First, having got a book deal[1] she is now in the position of directly financially benefiting from media promotion, which in my opinion puts her in a slightly different category than a purely objective scientist.

Second, while she is careful that her words are always defensible and rooted in science, my interpretation of her (prolific) memes is that hell yeah, she thinks it's a lab leak. I want to emphasize that this is my interpretation; at worst, she can be accused of communicating ambiguously enough to create this interpretation in a cross-section of her audience. And a large fraction of her replies are people who are, shall we say, less scientifically careful.

Third, she has truncated quotes from her detractors in a way that changes their meaning, and I find this not entirely good faith. Here's the thread[2] that has that quote and Dr. Rasmussen's response. Perhaps this is an honest difference in interpretation, and Dr. Rasmussen is being too thin-skinned about it.

In any case, my goal here is to present evidence which I think might be relevant, and encourage people to look at it and decide for themselves. As I say, while for the reasons I cited above, I certainly wouldn't consider everything Dr. Chan says to be gospel and accept it uncritically, I absolutely agree that hers is a voice that should be heard. Much to her credit, she has been consistently calling for a real investigation for a long time, well before it was newly fashionable.

[1]: https://twitter.com/Ayjchan/status/1402374919481180167

[2]: https://twitter.com/Ayjchan/status/1410653757617152005

comment 5y ago · link · parent

Nope, apologies if there is any confusion. That's just my opinion. I'm basically trying to make the point that this overfocus on origins is more of a political question than one with direct public health impact.

comment 5y ago · link · parent

Huh? The title of the piece is "Why Do Exceptionally Dangerous Gain-of-Function Experiments in Influenza?" The introduction specifically criticizes entire categories of GoF research, stating that it goes against the consensus view of many virologists. How is that not "questioning?" Lipsitch has been consistently critical in other fora too, including a quote in a Science piece[1], a call for a debate[2], and other communications.

Now, one thing that is going on in a lot of the discussion (and which makes reasoned discourse harder) is that many people mean different things when talking about "gain of function." For some, it's anything that creates a pathogen that's potentially infectious to humans, which potentially covers a lot of experiments to test transmissibility and other factors. For others, it has to be specifically engineering to increase transmissibility or virulence [3]. That can lead to confusion, for example the debate about whether Fauci's denial that the NIAID funded GoF research was honest.

I very carefully check my sources when posting, but am sure I make mistakes. When I do, I'm happy to be corrected. But this seems a very odd thing to call me out for.

[1]: https://www.sciencemag.org/news/2019/02/exclusive-controvers...

[2]: https://www.researchgate.net/publication/269283247_Gain-of-f...

[3]: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4996883/

1
252627
63