you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 10 months ago (4 children)

Cheeky, 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!

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 10 months ago* (last edited 10 months ago) (2 children)

    I'm actually slightly impressed it got both a working 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)

  • source
  • parent
  • hideshow 2 child comments