frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Therac-25 Incident

https://thedailywtf.com/articles/the-therac-25-incident
111•lemper•3h ago•70 comments

WebLibre: The Privacy-Focused Browser

https://docs.weblibre.eu/
17•mnmalst•1h ago•7 comments

Claude for Chrome

https://www.anthropic.com/news/claude-for-chrome
654•davidbarker•15h ago•350 comments

Scientist exposes anti-wind groups as oil-funded. Now they want to silence him

https://electrek.co/2025/08/25/scientist-exposes-anti-wind-groups-as-oil-funded-now-they-want-to-...
202•xbmcuser•3h ago•41 comments

Malleable Software Will Eat the SaaS World

https://www.mdubakov.me/malleable-software-will-eat-the-saas-world/
17•tablet•2h ago•21 comments

Gemini 2.5 Flash Image

https://developers.googleblog.com/en/introducing-gemini-2-5-flash-image/
934•meetpateltech•20h ago•428 comments

Dissecting the Apple M1 GPU, the end

https://rosenzweig.io/blog/asahi-gpu-part-n.html
477•alsetmusic•8h ago•105 comments

Light pollution prolongs avian activity

https://gizmodo.com/birds-across-the-world-are-singing-all-day-for-a-disturbing-reason-2000646257
74•gmays•3d ago•14 comments

Denmark summons top US diplomat over alleged Greenland influence operation

https://www.bbc.com/news/articles/c0j9l08902eo
84•vinni2•1h ago•48 comments

GNU Artanis – A fast web application framework for Scheme

https://artanis.dev/index.html
221•smartmic•14h ago•45 comments

Chinese astronauts make rocket fuel and oxygen in space

https://www.livescience.com/space/space-exploration/chinese-astronauts-make-rocket-fuel-and-oxyge...
230•Teever•2d ago•96 comments

The man with a Home Computer (1967) [video]

https://www.youtube.com/watch?v=w6Ka42eyudA
38•smarm•5h ago•18 comments

Rv, a new kind of Ruby management tool

https://andre.arko.net/2025/08/25/rv-a-new-kind-of-ruby-management-tool/
254•steveklabnik•1d ago•90 comments

Bypass PostgreSQL catalog overhead with direct partition hash calculations

https://www.shayon.dev/post/2025/221/bypass-postgresql-catalog-overhead-with-direct-partition-has...
21•shayonj•3d ago•5 comments

Neuralink 'Participant 1' says his life has changed

https://fortune.com/2025/08/23/neuralink-participant-1-noland-arbaugh-18-months-post-surgery-life...
287•danielmorozoff•3d ago•328 comments

Reverse Engineered Raspberry Pi Compute Module 5

https://github.com/schlae/cm5-reveng
37•_Microft•2d ago•5 comments

One universal antiviral to rule them all?

https://www.cuimc.columbia.edu/news/one-universal-antiviral-rule-them-all
302•breve•20h ago•135 comments

US Intel

https://stratechery.com/2025/u-s-intel/
459•maguay•23h ago•483 comments

Molluscs of the Multiverse: molluscan diversity in Magic: The Gathering

https://jgeekstudies.org/2025/08/24/molluscs-of-the-multiverse-molluscan-diversity-in-magic-the-g...
6•zdw•2d ago•0 comments

Japan has opened its first osmotic power plant

https://www.theguardian.com/world/2025/aug/25/japan-osmotic-power-plant-fukuoka
258•pseudolus•2d ago•82 comments

SpaCy: Industrial-Strength Natural Language Processing (NLP) in Python

https://github.com/explosion/spaCy
90•marklit•4d ago•31 comments

Uncomfortable Questions About Android Developer Verification

https://commonsware.com/blog/2025/08/26/uncomfortable-questions-android-developer-verification.html
294•ingve•5h ago•211 comments

A teen was suicidal. ChatGPT was the friend he confided in

https://www.nytimes.com/2025/08/26/technology/chatgpt-openai-suicide.html
297•jaredwiener•20h ago•301 comments

Show HN: Regolith – Regex library that prevents ReDoS CVEs in TypeScript

https://github.com/JakeRoggenbuck/regolith
25•roggenbuck•7h ago•22 comments

iOS 18.6.1 0-click RCE POC

https://github.com/b1n4r1b01/n-days/blob/main/CVE-2025-43300.md
206•akyuu•1d ago•46 comments

Why do people keep writing about the imaginary compound Cr2Gr2Te6?

https://www.righto.com/2025/08/Cr2Ge2Te6-not-Cr2Gr2Te6.html
167•freediver•16h ago•92 comments

The McPhee method for writing deeply reported nonfiction

https://jsomers.net/blog/the-mcphee-method
165•jsomers•1d ago•41 comments

Michigan Supreme Court: Unrestricted phone searches violate Fourth Amendment

https://reclaimthenet.org/michigan-supreme-court-rules-phone-search-warrants-must-be-specific
483•mikece•16h ago•89 comments

Undisclosed financial conflicts of interest in DSM-5 (2024)

https://www.bmj.com/content/384/bmj-2023-076902
225•renameme•17h ago•162 comments

LiteLLM (YC W23) is hiring a back end engineer

https://www.ycombinator.com/companies/litellm/jobs/6uvoBp3-founding-backend-engineer
1•detente18•13h ago
Open in hackernews

What is a color space?

https://www.makingsoftware.com/chapters/color-spaces-models-and-gamuts
243•vinhnx•1d ago

Comments

evaXhill•1d ago
Really great introductory article on color space in general, I really appreciate that they touched on perceptual uniformity and how we all perceive colors differently. It’s great to find out that applications like Oklab came out recently to fix this by manipulating the distances between colors to try compensate for human perception while also being more straightforward to calculate so that it can be used in real-time applications. Also the UI of this blog post was so aesthetically pleasing, that it was worth burning my retinas with the light mode
JKCalhoun•1d ago
What an excellent article. I can't think of anything (except the very esoteric) that it did not cover.

If I had to criticize, I wish it had talked a bit more about printer color profiles (although in this paperless, web-world we live in, perhaps printing is in fact esoteric).

Unlike displays, a printer can't be simply defined with three primaries and a white point. Printer profiles can be quite large as they rely on someone having printed out a copious number of swatches on a given paper type and then measured (with some kind of colorimeter) device independent color values for each swatch. Those are used to build a large table for mapping from device independent color spaces to the printer's gamut.

Those large tables make the profile so large. And then of course interpolation is still required when mapping from a device independent color space to the printer profile. (Now imagine too that you need a different profile for each type of paper you might want to print to since each can represent color differently — plain paper unable to get the levels of saturation that a coated paper can.)

What was shocking to me was just how small the gamut of a printer typically is when seen alongside that of a decent display.

Consider that, in print, you'll never see an image as vivid as you can display on a nice, modern display. (And then consider that there are colors in nature so vivid that even a modern display cannot represent them. Just look at how much color is outside the triangle on the CIE "shark fin" color representation.)

Also not touched on (did I miss it?), all the math presented to map from one color space to another, also allows for "soft proofing" — where in fact you might match to a printer ICC profile but then take the result and match again to the user's display to give you a "preview" of what will be lost when going to said printer.

pessimizer•1d ago
> What was shocking to me was just how small the gamut of a printer typically is when seen alongside that of a decent display.

What was a nightmare for me when I worked in prepress was how hard it is to get a convincing purple out of a $20K printer. I used tricks which basically produced nothing like purple in a way that gave customers a good purple impression because the things with a closer actual resemblance to purple always looked awful.

monster_truck•1d ago
One of the tricks we used in situations that allowed it was to get paper that matched the most important color, this has other downsides but they are more manageable. They were always the last run before everything was taken apart and cleaned for maitenance.
fidotron•1d ago
Purple and orange were/are common spot colours for that reason.

My father used to work on all sorts of R&D involving things like how much K to use in substitution of CMY without getting desaturated etc. It's a real rabbit hole, especially if you want to reduce the amount of ink used to prevent soaking the paper.

jimnotgym•1d ago
That reminded me of a time when a printer manufacturer approached my old team with this problem. They needed a custom driver for a certain region of the world. In this region in a certain industry they liked the highly saturated 'bad' colours from a competitor, and wanted theirs to match. Much paper and ink was spent on this.
bsoles•1d ago
Not all people see colors the same. The section on "What is color?" could probably mention color blindness.
ChrisMarshallNY•1d ago
This app is one that I rely on for my testing: https://michelf.ca/projects/sim-daltonism/
Daub•1d ago
Add to that the idea that some cultures have fewer color terms than others. This actually impacts upon their perception of color.

Check out "Basic Color Terms: Their Universality and Evolution" by Brent Berlin and Paul Kay.

moron4hire•1d ago
It does not affect perception. This is one of those early anthro/cogsci results that said more about the authors' cultural bias than it did about the people being studied, up there with "Eskimos have a thousand words for snow".

It affects communication. People can still discern the difference between colors, they just don't have an easy way to communicate this difference to others.

The Japanese language until relatively recently didn't have a clear verbal distinction between what we call green and blue in English. That doesn't mean Japanese people can't tell the difference between green and blue. It just means that there is a kind of "blue" that is the sky and a kind of "blue" that is for traffic control lights, and in context nobody is confused.

The same issue can occur within a language between people with differing levels of study of color. A graphic designer might say a particular shade of green is "chartreuse" that his boss instead might call "yellowish green".

Daub•1d ago
> up there with "Eskimos have a thousand words for snow".

Bad example. It seems that there is still a lot of disagreement on this matter, much of it rooted in what constitutes a word.

A well-balanced article on the subject here:

https://linguisticdiscovery.com/posts/inuit-words-for-snow/

Edit…

Also, from that article, a fascinating study: ‘Russian blues reveal effects of language on color discrimination’

https://www.pnas.org/doi/full/10.1073/pnas.0701644104

goatlover•1d ago
Wonder how this applies to animals since their color discrimination would not be impacted by language. Did humans evolve linguistic abilities that alter sensory processing? Seems odd that animals would be able to discriminate colors their eyes can see just fine, but humans would need words to do so.
Daub•1d ago
Good question. I'm no expert, but I guess that the key issue is one of categorization. Without language, it is impossible to effectively categorize our perceptual domain.

It is also true that among mammals, chromatic vision is pretty much restricted to primates. The ability to perceive difference of light is a must if you don't want to become someone else's food. In contrast, chromatic vision is an 'extra' that in many ways serves as a (literally) florid extension to our lives. To me it is no surprise that range of emotion and range of hue are so often associated with each other. Interestingly enough, they are similarly mapped: as a set of differences, rather than as a degree of intensity.

moron4hire•23h ago
This article says almost the exact same things I said in my post. I also don't see where it definitely says the Inuit language has a richer vocabulary for snow than other languages. It just ends with a joke about how such a thing might come to pass. A casual observer here who doesn't bother reading the link might take it as a refutation from your wording, but it actually very strongly supports what I had to say.

As for the "Russian blue" study, I find it strange that the article is so skeptical of unreplicated results in linguistics and yet seems to accept the "Russian blue" study uncritically. I can see at least one glaring flaw: all of the Russian speakers were bi-lingual with English, with at least some of them being so since they were young children. They also discarded 16% of their test data because they deemed responses "too slow", with this discarding more heavily weighted towards the Russian speakers.

stronglikedan•1d ago
> perhaps printing is in fact esoteric

You'd be surprised. It may be heading that way, to arrive in a couple more decades, but not yet. It's still quite the industry (that I'm in).

socalgal2•1d ago
There's a lot to cover. HDR is coming to the web (and already exists on native) and there's certainly lots of issues doing it correctly, and, learning all of the various parts and how to deal with them. (HDR input data, HDR processing, HDR output, the display itself which may or may not be HDR and even if it is HDR might only have so much "headroom", etc..., and there are tradeoffs at each step.

Maybe not appropriate for that particular article but definitely appropriate for the site

Even native still has tons of issues, like the fact that AFAICT, no OS does HDR screen capture. You're viewing an HDR image, you ask the OS to capture the screen. It gives you an SDR capture :( On Mac and iOS that's certainly true. On Windows, the XBox Game Bar thingy will actually capture HDR but the OS level PrintScreen method will not, and the popular ShareX will not either.

_kb•1d ago
With a few hacks, you can already get web content rendered with HDR: https://fff.kidi.ng/.
ryandamm•1d ago
I suspect that the biggest limitation in printing vs. emissive displays is the simple fact that your contrast ratio and color reproduction is severely limited in printing, because the dye is modifying ambient illumination.

This affects brightness and contrast: For emissive displays, you can have emissive values that are several to many orders of magnitude brighter than the 'black point', and more importantly, the primaries are defined by the display, not by ambient illumination.

Part of the magic of HDR displays is manipulating local masking (a human perceptual quirk) to drive bright regions on a display much brighter than the darker regions, so you can achieve even higher contrast ratios than the base technology could achieve (LED back-illuminated LCD panels, for many consumer TVs). Basically, a bright pixel will cause other nearby pixels to be brighter, because you can't see the dark details near a bright region anyway — but other regions could be darker, where you can perceive more detail in the blacks. This is achieved by illuminating sections of the display at significantly higher or lower levels, based on what your eyes/brain can actually perceive. That leads to significantly higher contrast ratios.

(As a heuristic: photographers generally say you can only get ~5 stops of contrast out of a print. (That is, bright areas are 2^5 times brighter than the darkest regions.) Modern HDR displays can do 2^10 or better. YMMV.)

But this also affects color... much of the complexity in getting printers to match derives from the interaction between the imperfect gamut caused by differing primaries, as filtered through human perception (and/or perceptual models). But you can't control the ambient illumination, so you're at the mercy of whatever the spectrum of your illumination is, plus whatever adaptation the viewer has. This feels fundamentally impossible to do "correctly" under all circumstances.

Which is to say, the original sin of color theory is the dimensional collapse from a continuous spectrum to a 3-dimensional, discretized representation. It's a miracle we can see color at all...!

pixelfarmer•1d ago
> the primaries are defined by the display, not by ambient illumination

In itself that is correct, but as you've noted, our own vision system isn't operating like that. The same display brightness and colors will be perceived very differently depending on the ambient light's brightness and color, and can also mean a severe breakdown in the dynamic range that can be made visible via a display.

And this ambient light also clearly impacts how prints are seen.

ChrisMarshallNY•1d ago
That's a terrific article!

I spent the majority of my career at an optical equipment manufacturer, and we wrote a color management system to handle 48-bit color, before any OS manufacturers had it.

Non-trivial stuff, but powerful.

I know of at least one technology that works by converting to an esoteric color space, messing with image data there, then converting back.

jimnotgym•1d ago
Indeed... and it was always a huge amount of fun to find that converting from one space to another was not always reversible without distortion!
rylan-talerico•1d ago
Such a great read
tuzemec•1d ago
Such an amazing article. Hope the author continues with the rest of the content in the same manner.
jimnotgym•1d ago
This is a great primer. I used to work in this field, but not as a colour scientist.

> So why do we have so many different color spaces?

I think there was a missing piece here. Different representations of colour are useful for different things. I'm not going to give any secrets away but...if your trade involves finding out how close one colour is to another, then something that represents colours as points in space could make the maths easier. Then if you wanted to know if one colour was brighter than another, then something that represents a colour with a separate 'brightness factor' would make that trivial.

gopher_space•1d ago
We were big fans of Marti’s LCMS.
jimnotgym•13h ago
I can't remember the technical reason we didn't use it...we mostly rolled our own. We were very lucky to have someone who knew how!
deadvoid•1d ago
as post production guy living outside US/EU, a decade or so ago i was surprised that colorimeter was supposed to be regularly calibrated by another, more expensive, device.
jimnotgym•13h ago
I think that depends on what you mean by 'supposed to'. I don't recall this being suggested for normal applications, and if you have a very tight specification then a colorimeter may not be the correct instrument in the first place. As I said above, I'm not a colour scientist, but I do know something about what was done in practice in certain industries.
deadvoid•10h ago
i'm in post-production so lots of color spaces & monitorings. colorimeters drifted with age/usage, so annual check for the first two years or so is good enough but then gradually afterwards it's good practice to calibrate more frequent, and more likely there's a small fee for that. spectrometers (or spectroradiometer can't be sure) are still insanely expensive.
furyofantares•1d ago
I love that this opens with a matter-of-fact statement that colors aren't real, just a phenomenon of perception. This has come up randomly in my life a few times and people always look at me like I'm stoned outta my mind.
meindnoch•1d ago
And what is not just a phenomenon of perception?
matsemann•1d ago
Mathematical proofs based upon axioms?
magicalhippo•1d ago
The light hitting our eyes is not a phenomenon of perception. Each photon hitting our eyes has a certain wavelength, but the resulting color we see is a perception.

A related concept is sound vs psychoacoustics[1]. Sound is just pressure waves, but what we hear is a perception and has all sorts of aspects like masking[2]. The pressure waves contains two different signals but thanks to masking we might only perceive one.

Personally I think color constancy[3] really drives home that color is a perception and not something fundamental like the wavelength of photons.

[1]: https://en.wikipedia.org/wiki/Psychoacoustics

[2]: https://en.wikipedia.org/wiki/Auditory_masking

[3]: https://en.wikipedia.org/wiki/Color_constancy

Daub•1d ago
The association of specific wavelengths to hue exists only in our perception, nowhere else.

On the other hand, we perceive temperature yet its impact on the physical world is universal.

AlienRobot•1d ago
Fun fact: just like people have different heights, they have different perceptions of color!
AlienRobot•1d ago
This is a great article about the topic! It covers everything.

But can someone explain this to me?

>Light is technically something called electromagnetic radiation and it has a frequency and wavelength. That wavelength can vary, depending on the energy of the wave. High energy waves have a higher frequency and shorter wavelength, and low energy waves have a lower frequency and longer wavelength.

>This means that the same amount of energy at different wavelengths will not be perceived as the same brightness. For example, a light with a wavelength of 555 nm (green) will appear brighter than a light with a wavelength of 450 nm (blue) even if they have the same energy.

The article asserts that the wavelength (thus color) changes with the amount of energy, but then it says that you can have light of different wavelengths (color) with "the same energy."

moefh•1d ago
The amount of energy in a wave depends on both its wavelength and amplitude.

So a "blue wave" has more energy than a "red wave" if both have the same amplitude (blue has a shorter wavelength, and energy is inversely proportional to wavelength). But you can have a "blue wave" with the same energy as a "red wave" if you increase the amplitude of the "red wave" to compensate for its longer wavelength.

AlienRobot•1d ago
Oh, that makes sense! Thanks.

So that means blue has more energy because it pulsates faster, and in spite of this we're less sensitive to it than we are to red, which pulsates slower. It's like our light sensitivity forms some sort of bell curve.

SideQuark•1d ago
He confuses two different places there is energy. Light is made (this is a little bit of a cheat) of photons. Each photon has a wavelength λ, and a per photon energy E where E = hc/λ, h is Plank's constant and c is the speed of light constant. So energy and wavelength per photon completely determines each other (and the color of the light of that single photon).

These energies are very small. You can add a lot of photons per second, increasing the brightness of that color, and this now has the energy per second of all those photons. So you can have a lot of red photons which sum to some energy, or a different number of blue photons that sums to (very, very close) the total red energy.

These are the two energies he confuses in those two places.

anfractuosity•1d ago
Nice article, I came across very cool Python library recently too re. colour science - https://www.colour-science.org/

Just started playing with it with my spectrometer based on one of the examples they have, to convert spectral data to a single RGB value.

Daub•1d ago
A very clear article, written in very accessible language. One potentially relevant thing not covered is the existence of super blacks and super whites, values which (as a budding vfx artist) I often need to consider. These are values which exist in the abstract sence, but not in the perceptual sence. Specifically, values darker than black and lighter than white.

They are as good a demonstration as any of the notional nature of color spaces.

lettergram•1d ago
One crazy thing you can do with color spaces is dramatically improve detection algorithms and store massive data.

https://austingwalters.com/chromatags/

Think of it this way, a QR code is binary. If you modify color spaces correctly you can get 6 bits (or more) per pixel. In addition, you can improve the detection at distance, localization for robots, and speed (120 fps).

Done this to great effect previously and you can do a lot of awesome things with it. Pretty much the easiest hack in computer vision.

chadcmulligan•1d ago
There's a nice YouTube video that covers a bit of the history of colour spaces to I was watching yesterday https://youtu.be/7KYwi2F5Ce4?si=DUxIWDe_SEjwhdeI
yogrish•1d ago
Recently saw this useful video on colors https://aeon.co/videos/after-centuries-of-trying-weve-yet-to...
quix0te•1d ago
Great read and excellent website. Is there a specific name for this web design style? I would have liked to see more websites like this or similar ones for inspiration.
adornKey•1d ago
The article skipped a bit on explaining the CIE-XYZ space. Although it is quite simple.

There is one axis Grayscale - that gives you the Brightess value. You can use that for black/white TV.

Now for colour you have 2 dimensions left. For these you pick one axis, where the eye is most sensitive - and perpendicular to that you have one axis, where the eye is least sensitive.

This colour space is the oldest and all axis there make sense. You can easily compare brightness, and you e.g. can assign more bandwidth to the sensitive colour axis if you want.