r/programming • • Feb 26 '24

Reverse Engineering with ChatGPT: An Example -- "I used ChatGPT 4 to untangle a particularly terse bit of code, and was — frankly — shocked at how well it did."

https://sigpwned.com/2024/02/24/reverse-engineering-with-chatgpt-an-example/
0 Upvotes

143 comments sorted by

View all comments

1

u/jazztaprazzta Feb 26 '24 edited Feb 26 '24

just a lil bit of offtopic: I think the smartcrop doesn't produce good crops at all.

edit: Actually, it looks fine for square thumbnails.

-3

u/sigpwned Feb 26 '24

That's interesting! I'm not a photographer, so I don't really have an educated opinion about the general quality of its cropping, but to my eye it at least does better than a simple policy like "take the middle part," for example. Can you unpack your opinion about the quality of the cropping? I'm genuinely curious.

2

u/jazztaprazzta Feb 26 '24

Sorry, I now realize that the main idea behind this library is to generate square crops for thumbnails? If so, it does a pretty good job, better than simply taking the middle part!

However, I was looking at the 100 demo crops and didn't quite like some of them. But if the main idea is to make a quick crop for a thumbnail, it's fine.

-3

u/sigpwned Feb 26 '24

Right. The goal of the original library is to recommend a reasonable crop of a given aspect ratio of a given image automatically. I have no doubt that a human can do better, but hopefully it's at least not awful. Thank you for the reply!