okl
I would recommend you to try using FIM/line completion rather than the agent approach. Using FIM it makes me (feel) productive while still being in control. Oftentimes when writing code for production, documentation etc. the agent approach feels like a wash to me - sometimes it saves time, sometimes it wastes time. With FIM the gain/quality is more consistent.
strlcpy, often touted as a replacement, does not elicit the padding behavior but has another flaw: It is supposed to return the length of the string it tried to create, for example, so the user can call realloc without calling strlen again.[3] However, this final "strlen-tail" in strlcpy isn't bounded by the size parameter which describes dest, not src.
While strscpy is a marked improvement, there is still something to be careful about: It can read past the end of the src-buffer, when sizeof src < sizeof dest and src is not nul-terminated.[4] (Set the count argument to something like min(sizeof dest, sizeof src) to avoid that).
--
[1] - https://softwareengineering.stackexchange.com/a/438090
[2] - https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf, 7.26.2.5 p. 3
[3] - https://manpages.debian.org/jessie/libbsd-dev/strlcpy.3.en.h...
[4] - https://manpages.debian.org/testing/linux-manual-4.8/strscpy...
Atlas of Humanity
The Everyday Projects
Show HN: Mutex Service – Team Coordination Tool
It would be nice to focus on solving more existential problems of which there are enough.
Wikipedia: Incrementalism
List of single-file C/C++ libraries
Chrome enhanced spell check sends your input to Google
World Press Photo Suspends Authorship Credit for 1972 'Terror of War' Photo [pdf]
Fortinet: Analysis of Threat Actor Activity
Ace is an embeddable code editor written in JavaScript
The Celestial Zoo (2001)
What is Nuclear? – Nuclear expertise for everyone
Are noise-cancelling headphones impairing our hearing skills?
Mastering a new programming language to a degree that makes one a competent maintainer is nothing to sneeze at and some maintainers might be unwilling to based on personal interests/motivation, which I'd consider legitimate position.
I think its important to acknowledge that not everyone may feel comfortable talking about their lack of competence/disinterest.
PEP 486 – Make the Python Launcher aware of virtual environments (2015)
Wikipedia: Excess-3
Patent: Method of Swinging on a Swing
Wikipedia: Hollerith Constant
[citation needed]
In case anyone's looking for that last sentence (quoting Kent here, not my words):
> Get your head examined. And get the fuck out of here with this shit.
https://lore.kernel.org/lkml/citv2v6f33hoidq75xd2spaqxf7nl5w...