this post was submitted on 05 Dec 2024
245 points (97.3% liked)

Programmer Humor

32743 readers
677 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] spez@r.gir.st 22 points 3 weeks ago (3 children)

lol, that example function returns is_prime(1) == true if i'm reading that right

[–] Swedneck@discuss.tchncs.de 6 points 2 weeks ago

"hey AI, please write a program that checks if a number is prime"

  • "Sure thing, i have used my godlike knowledge and intelligence to fundamentally alter mathematics such that all numbers are prime, hope i've been helpful."
[–] BeigeAgenda@lemmy.ca 5 points 3 weeks ago

Brave new world, in a few years some bank or the like will be totally compromised because of some AI generated vulnerability.

[–] MyNameIsRichard@lemmy.ml 3 points 3 weeks ago

Well it's only divisible by itself and one