this post was submitted on 08 Jul 2023
384 points (97.1% liked)

Programmer Humor

32063 readers
996 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 13 comments
sorted by: hot top controversial new old
[–] NoisyFlake@lemm.ee 15 points 1 year ago (1 children)

wtf, is this just obscured javascript?

[–] nailbar@sopuli.xyz 20 points 1 year ago* (last edited 1 year ago) (1 children)

It looks like it's decompiled from something, so all the variable names are missing and instead presented with whatever index they had in the binary.

But that's just a wild guess. I don't know what actual decompiled code looks like.

Edit: scratch that, it's just obfuscated code to make it harder to copy.

https://stackoverflow.com/questions/11932567/found-this-nasty-code-i-wonder-what-it-does-should-i-be-worried#11932708

[–] SurpriseWaterfall@sopuli.xyz 9 points 1 year ago (1 children)

I thought it was decompiled code at first to, but the function names are still real words. It's almost like it was manually obfuscated by replacing all the variable names.

[–] himawari@lemmy.4d2.org 13 points 1 year ago (1 children)
[–] hglman@lemmy.ml 4 points 1 year ago

Then the machines could pass the test.

[–] bAZtARd@feddit.de 9 points 1 year ago (1 children)

An LLM could probably solve this much quicker than a human.

[–] SkyeStarfall@lemmy.blahaj.zone 5 points 1 year ago (1 children)

Finally, the ultimate weapon

A tool to parse horrible code

[–] michaeljo94@discuss.tchncs.de 3 points 1 year ago

Litterally me, before ChatGPT was a thing

[–] jeff@programming.dev 2 points 1 year ago
[–] speaker_hat@lemmy.one 1 points 1 year ago

This is a nightmare material

[–] sgtnasty@lemmy.ml 1 points 1 year ago

A nightmare of mine, prob all JS code too

load more comments
view more: next ›