Sophia Drossopoulou (2022-05-11T06:56:17.046146848+00:00) Permalink
I wonder whether similar lessons can be learnt for good maths style or good English writing style

Henri de Feraudy (2022-05-16T09:35:37.619945200+00:00) Permalink
Recently I looked the source code of DLib and found that it was concise but quite readable. I will look at it more carefully in the future.

Ariff Damji (2022-05-16T14:54:43.621663383+00:00) Permalink
I've found the book "Code Complete" to be be very useful (https://en.wikipedia.org/wiki/Code_Complete). The advice goes beyond the hype of the year, and I've found it applicable over multiple decades. Any technical book that is relevant over multiple has got to be onto something.

ChadF (2022-05-17T23:17:56.419758836+00:00) Permalink
It looks like this echo program is subject to the same general flaw that was in polkit before the vulnerability was patched (i.e. assuming argc > 0). After a quick look, FreeBSD's echo is also broken. And while I can't think of a way this could lead to an exploit (as echo isn't setuid), it lacks the proper sanity checks by being slightly too "minimal".