Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The quantization formula ppmtopgm uses is g = .299 r + .587 g + .114 b.

Seriously. We can trust linux man pages to use the same 1-letter variable name for 2 different things in a tiny formula, can't we?





In my copy the exact line is as follows:

    The quantization formula ppmtopgm uses is y = .299 r + .587 g + .114 b.
so, it's either fixed, or it's a typo to begin with.

Yes, let's blame the documentation for a program from 1989 on a kernel from 1991.

Well, we can't blame that on an LLM in any case



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: