News for hackers. Stuff that matters.
Re:Write less code, be more responsible by svieira on Tuesday April 14, 2026 @10:08AM (#47765882)
Why is it using a temp file? Is there really no more elegant way to pass around pointers to images than spilling to disk?
Re:Write less code, be more responsible by 16bitvoid on Tuesday April 14, 2026 @10:57AM (#47766504)
Of course there is, but slop generators be slopping
Re:Write less code, be more responsible by kjksf on Tuesday April 14, 2026 @12:14PM (#47767574)
What is it, o wise person stingy with the information.
Re:Write less code, be more responsible by 16bitvoid on Tuesday April 14, 2026 @01:01PM (#47768224)
I admire you for what you've created wrt Sumatra. It's an excellent piece of software. But, as a matter of principle, I refuse to knowingly contribute to codebases using AI to generate code, including drive-by hints, suggestions, etc.

You, or rather Claude, are not the first to solve this problem and there are examples of better solutions out there. Since you're willing to let Claude regurgitate other people's work, feel free to look it up yourself or have Claude do it for you.