235
you are viewing a single comment's thread
view the rest of the comments
[-] spez@r.gir.st 22 points 1 week ago

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

[-] Swedneck@discuss.tchncs.de 6 points 1 week 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 1 week 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 1 week ago

Well it's only divisible by itself and one

this post was submitted on 05 Dec 2024
235 points (97.6% liked)

Programmer Humor

32692 readers
330 users here now

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

Rules:

founded 5 years ago
MODERATORS