14,081 karma · joined Mar 7, 2014 (12y ago) · 1,887 submissions
comment 5y ago · link · parent
ETA: The proposal[2] has been revived recently, and in the committee meeting[3], they're clear that the blocker is legal.
[1] https://ipkitten.blogspot.com/2016/05/to-boldly-go-where-no-...
[2]: https://www.unicode.org/L2/L2020/20181-klingon.pdf
[3]: https://www.unicode.org/L2/L2020/20169-script-adhoc-rept.pdf
comment 5y ago · link · parent
In any case, there are a lot of variations on this "visual hash" idea, including the original fractal one, and I heard of more recent work to use the hash to seed StyleGAN face generation.
comment 5y ago · link · parent
Is there a way to support the work?
comment 5y ago · link · parent
comment 5y ago · link · parent
Of course, your argument is still valid even with the lower estimate, I just think it becomes more complicated. Unfortunately, this case is quite a bit more complicated because COVID fatalities are heavily weighted to older ages, while this purported VIPIT is appearing largely in younger, otherwise healthy people.
[1]: https://www.medrxiv.org/content/10.1101/2020.05.03.20089854v...
[2]: https://sciencebasedmedicine.org/what-the-heck-happened-to-j...
comment 5y ago · link · parent
https://www.theatlantic.com/health/archive/2021/03/astrazene...
This is not a simple issue. The implications are serious in Europe in the short and medium term, as they're quite far behind in vaccinations compared to the US and UK. Then the implications for global health equity are even more worrisome.
comment 5y ago · link · parent
https://web.archive.org/web/20140216040930/http://www.cdc.go...
comment 5y ago · link · parent
comment 5y ago · link · parent
Class declarations are still heavy, cargo-bloat on the current druid-shell library is showing about 900 bytes per add_method, which can add up but is unlikely to be a major source of bloat.
comment 5y ago · link · parent
[1]: https://github.com/linebender/norad/blob/master/src/fontinfo...
comment 5y ago · link · parent
That said, I don't think dealing with the byte representation is the real problem. Projects like simdjson show that you can convert in and out of JSON very fast. The challenge to bloat specifically is getting those converted to the data types of the application. Many serialization approaches, including serde, generate a goodly amount of code for each data type, and this adds up.
comment 5y ago · link · parent
See https://github.com/simoncozens/babelfont/issues/10 for a deeper discussion of issues around a file format for a font editor. One of the biggest current pain points is dealing with merges in version control (usually git). I think there are ways of dealing with that in an sqlite-based file format, but I worry it would require some custom tooling, especially to make sure invariants aren't violated. Another interesting example is LibrePCB (see https://www.youtube.com/watch?v=vu-h5y6tK34) who devised their own text based format specifically to make version control more friendly.
comment 5y ago · link · parent
First, one lesson is that the exact wording in headlines matters. Many people interpreted the essay to say "Rust has a bloat problem," which is not what I was trying to say. Bloat is unfortunately a super common problem in the modern world, and Rust is not immune. But Rust also gives the end developer a lot of control, and is capable of producing wicked-lean programs (at some cost) if that's the goal. The point of the essay was to give practical advice on how to reduce compile times and executable size. From that perspective, publishing the essay was a pretty big success, as it immediately provoked improvements in the gfx-hal project.
Serialization continues to be a problem. Now, something like half the compile time and executable size for Runebender is serialization for the XML-based UFO file format for representing fonts. I think a better solution to serialization might make a good project for a smart, motivated person, but it's pretty far away from current academic fads, and there's also this thing that a lot of people have tried and we're still not in a great place. What about serialization makes it so intractable? Could some kind of language support make it better?
Also, from followups in UI threads, the expectation for what constitutes "bloat" is very different for different people. The calculator example in Druid is now about 1.5M (release build, Windows), which I think is acceptable for most people, but I'm also aware that a simple calculator like that could be built in a couple hundred k or so without too much problem, and I'm sure much less if you start using demoscene style techniques. But I also don't want to focus on that too much - I don't want tiny calculator demos, I want rich applications that work in all languages (including input methods) and also play nicely with accessibility tools such as screen readers. That can't be, and shouldn't be, a tiny little executable.
comment 5y ago · link · parent
comment 5y ago · link · parent
The paper to be published in Frontiers of Pharmacology was pulled because it didn't meet the scientific standards of the journal. Or perhaps because the editorial board has an anti-ivermectin agenda and censored the maverick scientists.
https://www.the-scientist.com/news-opinion/frontiers-removes...
Another story on this I found fairly credible: https://www.medpagetoday.com/infectiousdisease/covid19/90552
And here's an authoritative source (the NIH): https://www.covid19treatmentguidelines.nih.gov/antiviral-the...
They conclude that the evidence is not yet strong enough to recommend for or against the use of ivermectin. My accusation of Lysenkoism is for the people prescribing it without solid evidence. Obviously if the drug shows promise it should be investigated in real trials, as was done for HCQ.
I'm not going to edit my original post but I think it would have been stronger if I had stuck to HCQ and not gotten into the ivermectin controversy - there's definitely still a chance it will turn out to be useful.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Covid-19: Where are we on vaccines and variants? https://www.bmj.com/content/372/bmj.n597
comment 5y ago · link · parent
One of the stated research goals [1] of piet-gpu is to innovate quality beyond what is expected of renderers today, including conflation artifacts, resampling filters, careful adjustment of gamma, and other things. I admit the current codebase is not there yet, but I am excited about the possibilities in the approach, much more so than pushing the rasterization pipeline as you are doing.
[1]: https://github.com/linebender/piet-gpu/blob/master/doc/visio...
comment 5y ago · link · parent
Whether there's hardware that can make 2D rendering work better is an intriguing question. The NV path rendering stuff (mentioned elsethread) was an attempt (though I think it may be more driver/API than hardware), but I believe my research direction is better, in that it will be higher quality, faster, and more flexible with respect to the imaging model on standard compute shaders than an approach using the NV path rendering primitives. Obviously I have to back that up with empirical measurements, which is not yet done :)
comment 5y ago · link · parent
Skia has a requirement that rendering of paths cannot suffer from conflation artifacts (though compositing different paths can), as they don't want to regress on any existing web (SVG, canvas) content. That's made it difficult to move away from their existing software renderer which is highly optimized and deals with this well. Needless to say, I consider that an interesting challenge.
comment 5y ago · link · parent
comment 5y ago · link · parent
The technique should definitely work for path merging, that's a primary motivation. I'm not sure I understand your other questions. It'll probably be clearer when I release some code that implements this algorithm, though I'm not making any promises when that might be.
comment 5y ago · link · parent
That said, there are other things you can do. Since the derivatives of an Euler spiral are easy enough to compute analytically, you could do Hermite interpolation with a polynomial of arbitrarily high order. I've worked out how to do it for quintic, which is pretty tractable, but I'm sure it could be done even higher. That definitely meets your stated goal (precise at endpoints, sloppy in the middle), but the order of convergence of a quintic is only moderately good compared to the higher order polynomials in spiro.
comment 5y ago · link · parent