Hacker News new | ask | show | jobs
by forgotpwtomain 3870 days ago
Not to mention this is a relatively simple thing to implement I think redshift for linux (linked above as [1]) is ~ 10k lines of C code and maybe a few hundred of python-qt.
1 comments

10k lines of C doesn't mean "simple".

Perhaps not in this case, but even an 1K line of C program could need tons of research to be written, extravagant math, etc.

There can be 1K programs that are orders of magnitude more complex to write than 100K programs -- e.g. cryptography vs a game engine.

I can tell you for sure that adjusting the color temp. of your monitor requires no extravagant math.
That's why I wrote: "Perhaps not in this case".