News for hackers. Stuff that matters.
Re:Curious about the training data of OpenAI's new GPT-OSS m... by johnisgood on Sunday August 10, 2025 @06:51AM (#44854310)
That inkblot thing can be created for any language.
Re:Curious about the training data of OpenAI's new GPT-OSS m... by bravesoul2 on Sunday August 10, 2025 @07:29AM (#44854476)
How? E.g. I doubt an inkblot can produce a valid C# program.
Re:Curious about the training data of OpenAI's new GPT-OSS m... by johnisgood on Sunday August 10, 2025 @07:53AM (#44854585)
They 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.

Re:Curious about the training data of OpenAI's new GPT-OSS m... by bstsb on Sunday August 10, 2025 @10:26AM (#44855410)
what 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

Re:Curious about the training data of OpenAI's new GPT-OSS m... by johnisgood on Sunday August 10, 2025 @10:28AM (#44855432)
Okay, 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)

Re:Curious about the training data of OpenAI's new GPT-OSS m... by dmbche on Sunday August 10, 2025 @11:01AM (#44855648)
No, 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/

Re:Curious about the training data of OpenAI's new GPT-OSS m... by johnisgood on Sunday August 10, 2025 @11:50AM (#44855992)
Okay, 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?

Re:Curious about the training data of OpenAI's new GPT-OSS m... by akerl_ on Sunday August 10, 2025 @12:07PM (#44856116)
Yes. 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/

Re:Curious about the training data of OpenAI's new GPT-OSS m... by mathiaspoint on Sunday August 10, 2025 @11:31AM (#44855874)
Most 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.
Re:Curious about the training data of OpenAI's new GPT-OSS m... by westurner on Sunday August 10, 2025 @08:48AM (#44854842)
Of the powerset of all operators and inputs, how many can be represented in any programming language?

What percent of all e.g. ASCII or Unicode strings are valid expressions given a formal grammar?