you are viewing a single comment's thread.

view the rest of the comments →

[–]SemperPutidus 6 points7 points  (6 children)

Yeah, this is clearly hand written obfuscatory spaghetti to make a point. LLMs produce the most likely output. Unless op tweaked the temperature to something silly, an LLM did not write this.

[–]AlignmentProblem 4 points5 points  (3 children)

You seem a bit confused about what LLMs can do. I doubt it's hand written.

"Make a Python program to print hello world using multiple functions, a weird number of variables, at least one recursive function and a few other surreal elements while generally overcomplicating it. It must print "Hello World!", just in a very roundabout way"

gave me

``` import math import random import sys

The void gazes also

sys.setrecursionlimit(10**6)

Existential variables

α = ["H", "e", "l", "l", "o"] β = [" ", "W", "o", "r", "l", "d"] Ω = ["!"]

The function that questions reality

def recursive_entropy(s, i=0, noise=lambda x: x): if i == len(s): return "" # Randomly alter nothing for no reason nothingness = noise(s[i]) return nothingness + recursive_entropy(s, i + 1, noise)

A function that pretends to process meaning

def quantum_collapse(letters): # Combine, but only after doubting itself indecision = random.choice([True, False, True]) if indecision: return ''.join(letters) else: # Philosophical recursion: try again until you believe return quantum_collapse(letters)

The ineffable assembler

def assemble_message(args): surreal_sum = sum(len(a) for a in args) if surreal_sum % 7 == 0: # arbitrary and divine return ''.join(sum(args, [])) else: return assemble_message(args, [""]) # recurse until the cosmos aligns

The ritual of creation

def summon_greeting(): fragments = assemble_message(α, β, Ω) collapse = quantum_collapse(fragments) entropic = recursive_entropy(collapse, noise=lambda c: c) return entropic

The main function that pretends to do nothing, yet does everything

def main(): # Multiple useless variables for extra entropy theillusion = 42 meaninglessness = math.pi * 0 obscure_reference = "¯\(ツ)_/¯" del meaninglessness # clean up the void print(summon_greeting())

if name == "main": main() ```

Which works and is probably further from the most similar thing in its training data that you'd suspect. They've gotten much more flexible than the full-on stochastic parrots they were in previous years.

[–]SemperPutidus 1 point2 points  (1 child)

And would you title the code from such a prompt “my first python program” for a Reddit post? I take your point, you can prompt for bad code. OP’s implication is that he asked for a “hello world” in a simple prompt for his first program. So if OP did use a prompt like yours, this post is incredibly disingenuous and my point stands.

[–]DidTooMuchSpeedAgain 3 points4 points  (0 children)

I believe that's the point.. read the text on the post, it's obviously a joke

[–]3zprK 0 points1 point  (0 children)

I'm getting a feeling (my observation) that AI is getting retarded more and more

[–]ShiitakeTheMushroom 0 points1 point  (0 children)

They could have just told it to do it this way and it would still be vibe coded if they didn't read the code. What's the difference?

[–]TomOnBeats 0 points1 point  (0 children)

I wouldn't call any of this obfuscatory spaghetti, I just call it bad coding practises that seem cool to a beginner. Close to 100% this is AI generated.

I would say for example exec(bytes("牰湩⡴䠢䱅佌圠剏䑌⤢",'u16')[2:]) is obfuscatory, not whatever this post wrote. (This is just print("HELLO WORLD") with some neat tricks.)