243
submitted 2 weeks ago by Maven@lemmy.zip to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] spez@r.gir.st 22 points 2 weeks ago

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 2 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 2 weeks ago

Well it's only divisible by itself and one

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

Programmer Humor

32707 readers
1401 users here now

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

Rules:

founded 5 years ago
MODERATORS