Comment by NilMostChill
6 hours ago
A Luddite farm worker can assist in all those things, the question is, can it assist in a useful manner?
6 hours ago
A Luddite farm worker can assist in all those things, the question is, can it assist in a useful manner?
Not only it can but it does.
Just as I was reading this claude implemented a drag&drop of images out of SumatraPDF.
I asked:
> implement dragging out images; if we initiate drag action and the element under cursor is an image, allow dragging out the image and dropping on other applications
then it didn't quite work:
I'm testing it by trying to drop on a web application that accepts dropped images from file system but it doesn't work for that
Here's the result: https://github.com/sumatrapdfreader/sumatrapdf/commit/58d9a4...
It took me less than 15 mins, with testing.
Now you tell me:
1. Can a farm worker do that?
2. Can you improve this code in a meaningful way? If you were doing a code review, what would you ask to be changed?
3. How long would it take you to type this code?
Here's what I think: No. No. Much longer.
Why is it using a temp file? Is there really no more elegant way to pass around pointers to images than spilling to disk?
Of course there is, but slop generators be slopping
2 replies →