AI errno(2) values

(netmeister.org)

76 points | by zdw 3 days ago

10 comments

  • aaronmdjones 2 hours ago
    `errno` is a userland concept; the kernel returns negative error numbers that libc then turns into -1 and sets errno. Thus the correct manpage is errno(3).
  • OhMeadhbh 1 hour ago
    As a long time emacs user, I appreciated the inclusion of EMACS as an error code. When I moved from TECO to gnu emacs in to 80s, elisp was an advance. Now I have a perpetual todo item... "rewrite emacs in fennel or janet or even minimalisp."

    "What was deluxe is now debris..."

    • chuckadams 3 hours ago

          #define ETERNITY 999 /* stuck in thinking loop */
      • amelius 5 hours ago
        > #define EAI 201 /* hallucination */

        If only AI threw an error when it hallucinates.

        • yard2010 4 hours ago
          Nah it would just hallucinate this error all the time
          • Findecanor 4 hours ago
            It would hallucinate error codes that don't exist.
        • chme 2 hours ago

              #define EPROCRASTINATE 245 /* exhausted all output tokens with reasoning */
          • cold_harbor 2 hours ago
            #define ESYCOPHANT 200 /* user asserted 2+2=5; model concurred */
            • JSR_FDED 3 hours ago
              #define EKNOWBETTER 231 # ignoring prompt
              • andai 4 hours ago
                I often ran into an error where multimodal models would refuse to operate in transcription mode due to some system prompt.
                • cluckindan 2 hours ago
                  207 is a bald move
                  • cat-whisperer 4 hours ago
                    what about ETHOS : Error it's Mythos? lol!
                    • tetha 2 hours ago
                      ETHOS is generally reserved for a certain type of error involving slab memory and complex logic though.

                      Let's hope that reference is not too obscure...