Thread 105789145 - /g/ [Archived: 666 hours ago]

Guy Fieri !Xk0VPDfpb.
7/3/2025, 4:37:15 PM No.105789145
Screen Shot 2025-07-03 at 10.36.03 AM
Screen Shot 2025-07-03 at 10.36.03 AM
md5: c43dac75ed3ecf6f536905ab68be0c06🔍
i'm going to modify the script so that it starts out at the root directory of your choice and recursively generates code from every line of the code contained in the directories and subdirectories

i feel like i just created cancer

lmao
Replies: >>105789177 >>105789579
Guy Fieri !Xk0VPDfpb.
7/3/2025, 4:40:22 PM No.105789177
>>105789145 (OP)
on second thought this would cost a lot of money the deeper it gets

(it's all legal mtw i'm not a h4x0r i'm just autistic)
Replies: >>105789240
Anonymous
7/3/2025, 4:46:43 PM No.105789240
>>105789177
Hi, just autistic, I'm Hungary. All code is legal.
Replies: >>105789253 >>105789346
Guy Fieri !Xk0VPDfpb.
7/3/2025, 4:47:43 PM No.105789253
>>105789240
this code is all legal, in the picrel it's just going through a .py file and generating aa block of code for each line. it uses the openai api, that's why i said it would get pricey. cuz it grows geometrically
Replies: >>105789314
Anonymous
7/3/2025, 4:54:28 PM No.105789314
>>105789253
>this code is all legal
>all code is legal
No shit, Sherlock. Have fun.
Replies: >>105789329
Guy Fieri !Xk0VPDfpb.
7/3/2025, 4:56:16 PM No.105789329
bongpepe
bongpepe
md5: 5f8b7580ff358882cb853a9ae5c3a179🔍
>>105789314
ok

i have no idea what i'm doing (i just smoked real weed, not the synthetic shit, for the first time in years) but the way i can modify the script so the prompts grow geometrically make me think of cancer
Anonymous
7/3/2025, 4:58:45 PM No.105789346
>>105789240
>All code is legal.
Not true at all.
Anonymous
7/3/2025, 5:23:04 PM No.105789579
>>105789145 (OP)
That's pretty dumb; you will end up with a lot of duplicate code.
Instead, find the "centroid" of a script (or ask an LLM to comment on the functionality of a piece of code) and then generate code using that centroid.
BAM! Automatic refactoring.
Guy Fieri !Xk0VPDfpb.
7/3/2025, 5:42:24 PM No.105789782
so the prompt is like "given this list of .py files, generate some code that includes the centroid of each file"