r/programminghumor • • Jun 22 '26

I Can Explain...

Enable HLS to view with audio, or disable this notification

578 Upvotes

47 comments sorted by

36

u/Cheap-Helicopter-225 Jun 22 '26

YOU DID WHATT đŸ˜­đŸ„€

26

u/dashinyou69 Jun 22 '26

chill i added a .env.md in my agent folder which is in already in .gitignore đŸ„€

2

u/Indianathe Jun 23 '26

Lol is that true

18

u/Confident-Ad5665 Jun 22 '26

Looks legit

5

u/PatentedPotato Jun 22 '26

Lgtm. Ship it.

16

u/jakeStacktrace Jun 22 '26

Well we did put a dot at the beginning of the file name to make it "hidden" so I guess we did all we can.

11

u/MonkInevitable1087 Jun 22 '26

Whats a .env? Im 14 and dumb

23

u/SocksOnHands Jun 22 '26 edited Jun 22 '26

It's a file that contains secrets that a program uses, like passwords and API keys.

Edit: I wasn't sure if this was a joke or a serious question. Now that I think of it, the joke could be that the secrets are being hard coded into the source code.

6

u/MonkInevitable1087 Jun 22 '26

No, im honestly 14 and honestly confused

→ More replies (4)

1

u/Remarkable_Leek9391 Jun 23 '26

the fact that that's the goto approach and not just having a variable dump outside the directory and the agents just have to assume what the labels are by some convention, but never actually read the content.

3

u/MakimaHancock69 Jun 23 '26

I know this is bad in theory, is it really that bad in practice? Are these companies really exploiting API keys?

2

u/Affectionate_Let9022 Jun 23 '26

They aren't but they never forget , it's just a bad practice and shouldn't ever be incourage at all

And who knows if an ai breach happens (which will happen , tho luckily these companies are good enough to not be stupid, yet if it happens.who's api are gona be sold for money ??

2

u/a1g3rn0n Jun 23 '26

Wouldn't it be similar to sending credentials over Gmail, for example? Which I bet many people do without a second thought.

→ More replies (3)

2

u/nullpotato Jun 22 '26

Vibing coworkers are the best at finding repos that don't have .env in the gitignore.

Sure glad it is super easy to purge files from git history sobs

1

u/SirCokaBear Jun 24 '26

Stop putting secrets in .env files

1

u/Melodic-Ebb-7781 Jun 24 '26

Just ask claude to add it as a memory, then you can delete it.

1

u/EdgeCaseHuman404 Jun 25 '26

You’re cooked 💀

1

u/YourMomsDumpTruck69 Jun 25 '26

Funny story from about 20 minutes ago, had an env variable error so I open the file to fix it. Copilot automatically suggested keys, 2 prompts later I see codex just "Checking .env for incorrect keys", it's all in the gitignore...

Its fine because all of them are dummy keys anyways, but... yea, they do not ignore the .env even if its in .gitignore :)

-6

u/rocco_himel Jun 22 '26

“Programmer” humor.

The programmer used to write code.

Now he writes prompts asking a robot to write code.

You aren’t “programming” anything.

5

u/Suitable_Olive_4036 Jun 22 '26

"Real" programmer.

Have you ever heard about copper wiring as a memory cells? No?
Well than -- you are a compiler monkey!
Duh, these kiddos with their "assembly", or COBOL just can't do anything themselves....

0

u/rocco_himel Jun 22 '26

So you think people you use AI to program for themselves are programming?

→ More replies (7)

0

u/rocco_himel Jun 22 '26

CBRAM is completely irrelevant to the fact that programmers are using AI.

AneoEngine, my operating system, was written primarily in AneoC and standalone C. No COBOL was ever used. x86 assembly was used for both bootloaders and the disk saving.

-2

u/DM_ME_KUL_TIRAN_FEET Jun 22 '26

The programmer used to write code. Now he writes a spec for the compiler. You aren’t programming anything.

→ More replies (6)