this post was submitted on 05 Dec 2024
250 points (98.1% liked)

Programmer Humor

32718 readers
577 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
[–] [email protected] 22 points 2 weeks ago (3 children)

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

[–] [email protected] 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."
[–] [email protected] 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.

[–] [email protected] 3 points 2 weeks ago

Well it's only divisible by itself and one