5 ms·
AI errno(2) values
- amelius 5mo ago> #define EAI 201 /* hallucination */ If only AI threw an error when it hallucinates.
- yard2010 5mo agoNah it would just hallucinate this error all the time
- Findecanor 5mo agoIt would hallucinate error codes that don't exist.
- andai 5mo agoI often ran into an error where multimodal models would refuse to operate in transcription mode due to some system prompt.
- cat-whisperer 5mo agowhat about ETHOS : Error it's Mythos? lol!
- tetha 5mo agoETHOS 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...
- chuckadams 5mo ago#define ETERNITY 999 /* stuck in thinking loop */
- JSR_FDED 5mo ago#define EKNOWBETTER 231 # ignoring prompt
- chme 5mo ago#define EPROCRASTINATE 245 /* exhausted all output tokens with reasoning */
- aaronmdjones 5mo 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).
- eqvinox 5mo agoOpenBSD up to 5.9 had errno(2) symlinked to intro(2), describing error codes: https://man.freebsd.org/cgi/man.cgi?query=errno&apropos=0&sektion=2&manpath=OpenBSD+5.9&arch=default&format=html https://man.freebsd.org/cgi/man.cgi?query=errno&apropos=0&se... Also, your statements about the kernel and libc are OS specific.
- deleted 5mo ago[deleted]
- WhyNotHugo 5mo agoWhy does libc do this instead of simply returning that same negative number?
- rcxdude 5mo agoPOSIX, basically. It was already a convention by the time linux/glibc implemented it.
- matheusmoreira 5mo agoLegacy. It's always been this way and it can't change without breaking everything.
- cluckindan 5mo ago207 is a bald move
- cold_harbor 5mo ago#define ESYCOPHANT 200 /* user asserted 2+2=5; model concurred */
- OhMeadhbh 5mo agoAs 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..."
- veqq 5mo ago> In that hypothetical world where Matklad has infinite time, I definitely want to write a modern take on Emacs using Janet as the core language. - Matklad in https://lobste.rs/s/ntruuu/lobsters_interview_with_matklad https://lobste.rs/s/ntruuu/lobsters_interview_with_matklad
- SoftTalker 5mo agoMissed one... EHAL 231 /* I'm sorry Dave, I cannot do that */
- huss-mo 5mo ago[dead]