• spez@r.gir.st
    link
    fedilink
    arrow-up
    22
    ·
    19 days ago

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

    • BeigeAgenda@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      19 days ago

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

    • Swedneck@discuss.tchncs.de
      link
      fedilink
      arrow-up
      6
      ·
      18 days 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.”