News for hackers. Stuff that matters.
Re:Typing 118 WPM Broke My Brain in the Right Ways by nottorp on Tuesday June 03, 2025 @05:21AM (#44167999)
Read data into x?

Taking into account that the file may not exist or error half way?

Taking care that your buffer doesn’t overflow or simply eat all your available ram?

Do you only work with trusted inputs?

Re:Typing 118 WPM Broke My Brain in the Right Ways by DontchaKnowit on Tuesday June 03, 2025 @09:51PM (#44176526)
Most the time, yeah, actually.

Also- in my experience so far, LLMs do a far better job of accounting for things like this than I do.

For example I had claude 4 write something to recursive search the whole filesystem on a windows 11 machine and included a few checks for windows 11 file system specific things I wasnt aware of