this post was submitted on 14 Feb 2025
671 points (99.0% liked)

Programmer Humor

20703 readers
2436 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] RandomVideos@programming.dev 40 points 1 week ago (3 children)

Why hope they sanitize their inputs?

Why are they trusting an AI that cant even do math to give notes to tests?

[–] bleistift2@sopuli.xyz 14 points 6 days ago

Because it’s the most efficient. With students handing in AI theses, it’s only sensible to have teachers use AI to grade them. No we only need to have teachers use AI to create exam questions and education becomes a fully automated process. Then everyone can go home early.

[–] CandleTiger@programming.dev 9 points 6 days ago (1 children)

The problem with LLM AIs Ous that you can’t sanitize the inputs safely. There is no difference between the program (initial prompt from the developer) and the data (your form input)

[–] RandomVideos@programming.dev 2 points 6 days ago (1 children)

You can make it more resistant to overwriting instructions at least

[–] CandleTiger@programming.dev 6 points 6 days ago

You can try, but you can’t make it correct. My ideal is to write code once that is bug-free. That’s very difficult, but not fundamentally impossible. Especially in small well-scrutinized areas that are critical for security it is possible with enough care and effort to write code with no security bugs. With LLM AI tools that’s not even theoretically possible, let alone practical. You will just need to be forever updating your prompt to mitigate the free latest most fashionable prompt injections.

[–] Classy@sh.itjust.works 3 points 6 days ago

I asked an AI to calculate a side of a triangle today. The hypotenuse was 24 and both opposite sides were equal, with two small angles of 10° and a wide one of 160°. The answer should have been something a little over 12... And it very confidently said 25. That makes zero sense. Fucking AI really is stupid isn't it.