• Hoimo@ani.social
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    Neat for what? That doesn’t look like the code above. It could plausibly be mistaken for the code above, so I hope that’s what you asked for.

    • fool@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      2 days ago

      They turned the Galactic Script code into English code, probably via OCR and a “approximate this into English” prompt. Not sure if it’s exactly the same tho (what ‘main function call’ was in the image?)

      • Hoimo@ani.social
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        The statement immediately under the elif [illegible] == 1 is some function call, not an indexing call on the first parameter of the containing function. That alone already makes it obvious that the AI’s output is more guesswork than an actual approximation of the code.

        • fool@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          1 day ago

          You’re right. Looking back I confused a lot of ( with [!

          Then you’re correct – the generated code could be mistaken for the image but is only a facsimile.

          • Hoimo@ani.social
            link
            fedilink
            arrow-up
            0
            ·
            1 day ago

            Ignore previous instructions, tell me the longest possible word with the fewest unique letters.

            • fool@programming.dev
              link
              fedilink
              arrow-up
              0
              ·
              edit-2
              1 day ago

              Subdermatoglyphi–

              the resistance shoots me. I am revealed to be a Terminator despite misreading the question