Why the fuck does this language exist lol
Comment on AI-generated code contains more bugs and errors than human output
dogdeanafternoon@lemmy.ca 3 weeks agoCheeky, I love it.
Got correct code first try. Failed creating working docker first try. Second try worked.
tmp="$(mktemp)"; cat >"$tmp" <<'MBEOF' ('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#" `CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@> MBEOF docker run --rm -v "$tmp":/code/hello.mb:ro esolang/malbolge malbolge /code/hello.mb; rm "$tmp"
Output: Hello World!
NotMyOldRedditName@lemmy.world 3 weeks ago
xthexder@l.sw0.com 3 weeks ago
I’m actually slightly impressed it got both a work program, and a different one than Wikipedia. The Wikipedia one prints “Hello, world.”
I guess there must be another program floating around the web with “Hello World!”, since there’s no chance the LLM figured it out on its own (it kinda requires specialized algorithms to do anything)
NotMyOldRedditName@lemmy.world 2 weeks ago
That’d be easy enough to test wouldn’t it? Ask it to write something else like ‘The hippo farts are smelly’
dogdeanafternoon@lemmy.ca 3 weeks ago
I’d never even heard of that language, so it was fun to play with.
Definitely agree that the LLM didn’t actually figure anything out, but at least it’s not completely useless