3 ms·
yaml is roughly as disciplined as malbolge. Writing any meaningful amount of logic or configuration in yaml will inevitably lead to the future super-sentient y
by TheDong 2y ago
yaml is roughly as disciplined as malbolge.
Writing any meaningful amount of logic or configuration in yaml will inevitably lead to the future super-sentient yaml-based AI torturing you for all eternity for having taken any part in cursing it to a yaml-based existence. The thought-experiment of "Roko's typed configuration language" is hopefully enough for you to realize how this blog post needs to be deleted from the internet for our own safety.
- adastra22 2y agoI literally have no idea what you are talking about. Declarative languages are great for specifying these sorts of things.
- TheDong 2y ago> Declarative languages are great for specifying these sorts of things Yes, good declarative languages are. I'm a happy nix user. I like dhall. cel is a cool experiment. jsonnet has its place. I stan XML. A language with byzantine type rules, like 'on: yes' parses the same as "true: true", but only in some languages (like ruby's built-in yaml parser for example), but not others, and only with some settings, is not it chief. It isn't even one language, since most yaml parsers only have like 90% coverage of the spec, and it's a different percent, so the same yaml document often won't be parsed the same even by two libraries in the same programming language. It's really like 20 subtly incompatbile languages that are all called "yaml". It is indefensible in any context. Github actions should have been in starlark, xml, or even lisp or lua.