19 karma · joined Jan 27, 2025 (1y ago) · 13 submissions
comment 6mo ago · link · parent
For sure the problem isn't that clear-cut, for the siren's call of AI coding is to induce a system out of prompts with ambiguous semantics. It's hardly surprisingly you get unpredictable outcomes when giving ambiguous commands to human collaborators, and that in the case of LLMs they resolve ambiguity with probabilistic approximation.
comment 6mo ago · link · parent
Zig tackles the halting problem a bit differently by putting the evaluation cutoff in userspace through the compiler builtin function `@setEvalBranchQuota`. You bump up the quota as you see fit.
comment 7mo ago · link · parent
comment 7mo ago · link · parent
comment 7mo ago · link · parent
// Open source directory
dir_t* dir = open_dir(source_dir);
// Find where dot is
char* dot = strrchr(file, '.');
I thought ShowHN had banned LLM-generated contents, I can't be more wrong.comment 1y ago · link · parent
comment 1y ago · link · parent