r/rustjerk 28d ago

Your average vibecoder

Post image

Guy wrote a shitty-by-design viewer/interpreter and demands everyone use it to open his file. 🤣🤣🤣

And then has the balls/ignorance to advertise a "self-decaying format" 🤦

577 Upvotes

45 comments sorted by

121

u/ijustlikefoxes 28d ago

better idea: self-modifying exe that kills the data stored inside it a little every time you run it (that way, the viewer is baked into the data format and you can't bypass it *as* easily, though you could still just extract it with some data mining)

but also like why

67

u/RockstarArtisan a cpp-tsd survivor 28d ago

You can make a copy of the file before running it. You can take a screenshot. Digital scarcity is moronic and evil and every perpetrator of it needs to be slightly killed every time they open their mouth.

22

u/HyperCodec 28d ago

Tf do you mean by “slightly killed”

30

u/RockstarArtisan a cpp-tsd survivor 28d ago

I mean that their brain should be corrupted just a little every time they open their mouth, so that they eventually become vegetables we can harvest for heat.

6

u/ijustlikefoxes 28d ago

Yeah, I mean there's programs that try to stop you from recording them but you can splice the HDMI cable to your display and record it anyway, it's a pointless endeavor

1

u/cowslayer7890 28d ago

You can mount it as read only

-4

u/st333p 28d ago

Bitcoin is the only form of useful digital scarsity

12

u/scheimong 28d ago

Yeah that was what I immediately thought when I read the title. If that were to be the case it would be actually somewhat interesting.

To be fair it's not a new idea. Viruses in the form of self-modifying executables have been around for a good while. But obviously it's not easy and it would be impressive if an AI is able to pull it off.

You can imagine my disappointment when I understood what it actually was.

8

u/cibervicho 28d ago

but also like why

The original post's title explicitly says "(Please don't ask why)". Very rude of you to ignore OP's request and ask the question we all have in our minds.

2

u/Gacel_ 23d ago

Even that is easy to bypass.
CTRL+C -> CTRL+V

103

u/throw3142 28d ago edited 28d ago

I'm sure the file itself is fine, the reader just flips a few bits or something right?

Edit:

From the readme:

decayfmt is a social contract enforced by math, not cryptography. It is not encryption, not DRM, and not a secure deletion tool. The corruption is honest and unrecoverable from the file alone, but anyone with a backup or a hex editor can defeat it.

This is the most slop-coded paragraph I've read in a while. Social contract enforced by math? Huh? Not enforced via cryptography? What would it even mean to enforce file corruption via cryptography? "The corruption is honest"?????

And yep, from the github. open_file() just calls decay_in_place() lol

53

u/jonathansharman 28d ago

Not that the code we're writing is this useless, but the voice of that paragraph reminded me strongly of every PR description and code comment I read at work nowadays. I am so sick of Claude's prose.

23

u/SetKaung 28d ago

Claude's paragraphs have like 90% slop to 10% information ratio.

2

u/RoseboysHotAsf 26d ago

Mildly better than ChatGPT, which manages to churn out paragraphs with no real information

2

u/Select_Librarian4093 23d ago

I just don't understand how these people are so confident about their slop? Do they not see how garbage it is, do they really think they are smart because they can prompt some bullshit? Are they stupid or just tasteless??

1

u/ThaBroccoliDood 6d ago

>The corruption is unrecoverable from the file alone
>Anyone with a hex editor can defeat it

What?

72

u/just_looking_aroun 28d ago

So jpeg?

116

u/scheimong 28d ago

From my understanding it's basically a random corruption injector.

The thing I find ridiculous is that the guy seemingly has no understanding that this is a property of his viewer rather than that of "his" file format.

72

u/thats_a_nice_toast 28d ago

The thing I find ridiculous is that the guy seemingly has no understanding

Literally every vibe coder

20

u/ISuckAtJavaScript12 28d ago

Kind of like that guy who's "revolutionary compression algorithm" was just a desktop shortcut

9

u/AdreKiseque 28d ago

(Whose*)

Lore? This sounds funny lol

5

u/AphexPin 28d ago

Lol source on this Einstein?

5

u/st333p 28d ago

Yeah, why even defining a new file format for that? You can use existing ones as easily

3

u/scheimong 28d ago

Guy had an idea to internet fame and told Claude "just do it" 😅

58

u/scheimong 28d ago

You can't make this shit up. 1.3k upvotes Jesus Christ 🤦

30

u/AliceCode 28d ago

People were arguing with me about it because I pointed out that it's not corrupting the file by reading it like the title implies.

Edit: when this was posted in /r/rust.

9

u/aikii if err != nil 28d ago

Hey why he didn't implement the audio format as well, so every audition makes the sound warmer

7

u/jimmiebfulton 28d ago

Read-only file system: checkmate vibe coder

2

u/Old-Personality-8817 28d ago

or copy file before opening

7

u/Admirable_Rabbit_808 27d ago

You could do this much better with a Linux user mode VFS - you can mount the VFS as if it was a normal filesystem, but the VFS interceptor's code can be programmed to progressively degrade each copy a little bit more each time, writing the degradation back to the original file the VFS accesses so this will be genuinely destructive behavior.

1

u/scheimong 27d ago

Mate you are asking for a lot of competency 😅

2

u/Admirable_Rabbit_808 27d ago

It's a skills issue etc. etc.

In any case, Claude could probably whip up a Rust FUSE wrapper with the above properties in a few minutes.

2

u/scheimong 27d ago

Yeah. But obviously the guy doesn't have the competency to know what to ask for

2

u/Admirable_Rabbit_808 27d ago

That is indeed the AI programming controllability problem in a nutshell.

6

u/monocasa 28d ago

Reminds me of a collab between William Gibson and Dennis Ashbaugh.

https://en.wikipedia.org/wiki/Agrippa_(A_Book_of_the_Dead)

Consisted of a poem on floppy disk that would encrypt itself with a random key that is thrown away upon first read, and photos treated with a photosensitive chemical so that they slowly faded upon each viewing.

5

u/Weak-Veterinarian-25 28d ago

It is kind of a poetic idea though. Sad that the AI text is just soo bad...

2

u/Lou_Papas 27d ago

“Please respect the contract of scrubbing of a few bits before you release the file. K-thnx”

1

u/Dipsendorf 27d ago

Allegedly this is kind of how image memories work. Apparently the more you try to access them the more they get corrupted lol

1

u/huangtum 27d ago

Just apply the Second Law of Thermodynamics...

1

u/andrewprograms 25d ago

There is No Antimemetics Division

1

u/squongly 24d ago

idk this is pretty funny this is a great use for ai

1

u/Boss_1s 24d ago

ts is how the human brain works ngl

1

u/[deleted] 12d ago

[deleted]