2 ms·
How? E.g. I doubt an inkblot can produce a valid C# program.
by bravesoul2 1y ago
How? E.g. I doubt an inkblot can produce a valid C# program.
- johnisgood 1y agoThey are not full programs, just code translating to numbers and strings. I used an LLM to generate an inkblot that translates to a Python string and number along with verification of it, which just proves that it is possible.
- bstsb 1y agowhat are you talking about? the way that the quoted article creates Perl programs is through OCRing the inkblots (i.e. creating almost random text) and then checking that result to see if said text is valid Perl it's not generating a program that means anything
- johnisgood 1y agoOkay, and I created inkblots that mean "numbers"[1] and "strings" in Python. > it's not generating a program that means anything Glad we agree. [1] Could OCR those inkblots (i.e. they are almost random text)
- dmbche 1y agoNo, asking an LLM to generate the inkblot is the same as asking the LLM to write a string and then obfuscating it in an inkblot. OCRing literal random inkblots will not produce valid C (or C# or python) code, but it will prodce valid Perl most of the time, because Perl is weird, and that is funny. It's not about obfuscating text in inkblot, it's about almost any string being a valid Perl program, which is not the case for most languages Edit0: here: https://www.mcmillen.dev/sigbovik/ https://www.mcmillen.dev/sigbovik/
- johnisgood 1y agoOkay, my bad. > it's about almost any string being a valid Perl program Is this true? I think most random unquoted strings aren't valid Perl programs either, am I wrong?
- akerl_ 1y agoYes. That was the whole point of the original comment you were misunderstanding. Because of the flexibility of Perl and heavy amount of symbol usage, you can in fact run most random combinations of strings and they’ll be valid Perl. Copying from the original comment: https://www.mcmillen.dev/sigbovik/ https://www.mcmillen.dev/sigbovik/
- mathiaspoint 1y agoMost random unquoted strings are certainly not valid Python programs. I don't know Perl well enough to say anything about that but I know what you're saying certainly isn't true with Python.
- deleted 1y ago[deleted]