Recent submissions

Comment · 1 year ago
Because a language being NP-hard implies it is at least as hard as the hardest NP problems. For any language that is NP-hard, if one had a turing machine that decided the language, one could construct a polynomial time transformation of any language in NP to the NP-hard language to decide it using the NP-hard turing machine.
Comment · 1 year ago
Comment · 1 year ago
I thought using multiple therapies for cancer was fairly common, or are you referring specifically to immunotherapies?
Comment · 1 year ago
Comment · 1 year ago
At the time, there was essentially a 50/50 chance it was a lab leak or from a wet market. The issue with saying it was a lab leak at that time is that you are essentially gambling the US's relationship with China should it come out that it was a from a wet market. Also, a lot of the discussion regarding the lab leak theory early on seemed to me like it wouldn't be sated even if the US presented sufficient evidence that it was from a wet market.
Comment · 1 year ago
Saying COVID-19 leaked from a lab with zero evidence is different than waiting for evidence and then saying it leaked from a lab.
Comment · 1 year ago
The issue there is that the listens from people who listen to less music would be worth more than the listens from people who listen to more music.
Comment · 2 years ago
Comment · 2 years ago
Mark Fairchild, one of the authors of CIECAM02, recently published a paper that heavily simplified that equation: https://markfairchild.org/PDFs/PAP45.pdf

If the link doesn't work, the paper is called: Brightness, lightness, colorfulness, and chroma in CIECAM02 and CAM16.

Also, if you want a readable introduction to color science, you can check out his book Color Appearance Models.

Comment · 2 years ago
I haven't gone through the whole article, but it seems to be conflating chroma and saturation. If lightness of a color is scaled by a factor c, then chroma needs to be scaled by that same factor, or saturation won't be preserved, and the color will appear more vibrant then it should.
Comment · 2 years ago
Do you live in Canada?
Comment · 2 years ago
Comment · 2 years ago
While one commenter had it somewhat right that HDR has to do with how bright/dark an image can be, the main thing HDR images specify is how far ABOVE reference white you can display. With srgb, 100 percent of all channels is 100 percent white (brightness of a perfect lambertian reflector). Rec 2100 together with rec 2408 specify modern hdr encoding, where 203 nits is 100 percebt white, and above that would be anything brighter (light sources, specular reflection, etc). So if a white image encoded in sdr looks dimmer than hdr for non specular detail, that is probably encoding or decoding error.
Comment · 2 years ago
Comment · 2 years ago
You shouldn't be using JCh_to_Jab with CAM16. The CAM16-UCS J'a'b' is a very bizarre construct compared to CIELAB, as a' and b', when converted to cartesian, output hue and ln(1 + 0.0228M)/0.0228, where M is colorfulness. It does not output hue and chroma. Likewise, J' is equal to 1.7*J/(1 + 0.007J). Thus it is almost J, but not.

You should probably just convert straight from XYZ to JCh, without using the UCS.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton