Tech bros having their production environments nuked by AI is never gonna get old

3 months ago by cm0002 to c/programmer_humor

Protoknuckles 246 points 3 months ago

Should have added "no mistakes, no bugs" to the prompt! Pffft, amateur.

path: 0 24766625, hotness: undefined, score: 246, children: 10
Flower 177 points 3 months ago

That takes me back to 2004

No Smoke, by unknown,

Tech: "Hello. How can I help you today?"

Customer: "There's smoke coming from the power supply on my computer."

Tech: "Sounds like you need a new power supply."

Customer: "No, I don't! I just need to change the startup files."

Tech: "Sir, what you describe is a faulty power supply. You need to replace it."

Customer: "No way! Someone told me that I just had to change the system startup files to fix the problem! All I need is for you to tell me the right command."

(Ten minutes later...)

Tech: "Well, we don’t normally tell our customers this, but there's an undocumented command that will fix the problem. Add the line "LOAD NOSMOKE.COM" at the end of the CONFIG.SYS file and everything should work fine."

(Five minutes later...)

Customer: "It didn’t work. The power supply is still smoking."

Tech: "Well, what version of Windows are you using?"

Customer: "Windows 98."

Tech: "Well, that's your problem. That version of Windows doesn't include NOSMOKE. You'll need to contact Microsoft and ask them for a patch."

(When nearly an hour had passed, the phone rang again...)

Customer: "I need a new power supply."

Tech: "How did you come to that conclusion?"

Customer: "Well, I called Microsoft and told the technician what you said, and he started asking me questions about the make of the power supply."

Tech: "What did he tell you?"

Customer: "He said my power supply is not compatible with NOSMOKE."

path: 0 24766625 24768410, hotness: undefined, score: 177, children: 6
BLAMM 46 points 3 months ago

That is way older that 2004. I first read that in the early 90s.

path: 0 24766625 24768410 24769283, hotness: undefined, score: 46, children: 4
WhoIzDisIz 22 points 3 months ago

TIL Win98 was out in the early '90s....

path: 0 24766625 24768410 24769283 24770527, hotness: undefined, score: 22, children: 3
JohnEdwa 30 points 3 months ago

That's because the joke got updated to the newest OS version until CONFIG.SYS got entirely removed in Windows ME and it just didn't work any more.
It's originally from MS-DOS times. Earliest telling of it I know of is from 1996.

path: 0 24766625 24768410 24769283 24770527 24774417, hotness: undefined, score: 30, children: 0
hypeerror 11 points 3 months ago

The 60's happened in the 70's.

The 70's happened in the 80's.

You get where I'm going here?

path: 0 24766625 24768410 24769283 24770527 24770932, hotness: undefined, score: 11, children: 1
Krudler 10 points 3 months ago

Meanwhile in 2003 I contacted our it department to report that one of the PCs in our area literally lit on fire. I had watched it with my own eyes, and the smoke was in the air. PSU go poof. The techs came, took a look at it, said yeah we see no problem, left and closed the ticket.

So idiots are literally everywhere that's the moral of the story I guess.

path: 0 24766625 24768410 24779462, hotness: undefined, score: 10, children: 0
voidsignal 32 points 3 months ago

Lol. "do magic"

path: 0 24766625 24766652, hotness: undefined, score: 32, children: 0
rozodru 17 points 3 months ago

"DON'T HALLUCINATE!" that's always my favourite.

path: 0 24766625 24777454, hotness: undefined, score: 17, children: 0
muhyb 2 points 3 months ago

"or you go to jail"

path: 0 24766625 24768499, hotness: undefined, score: 2, children: 0
disorderly 133 points 3 months ago

My company has been trying a new model when product folks cut through the red tape of "engineering" and just describe what they want to a powerful LLM pipeline and review the app in a beta env. Sounds perfect, right?

Dear reader, in the couple months this has been going on, these people have caused a dozen high profile SEVs due to extremely poor app performance, networking / kubernetes configuration bugs, bad scaling, observability oversights, supply chain attacks, leaking sensitive information, and cost overruns (on practically every resource they provision).

Some very well-paid people are scrambling to figure out the value that was generated by this pilot program; I'm heating up popcorn rather than holding my breath.

path: 0 24767431, hotness: undefined, score: 133, children: 10
Bluescluestoothpaste 34 points 3 months ago

That's hilarious, idk i think llm could be useful for helping product folks translate their thoughts into actionable items for the devs, but yeah like beyond insane to tell the product people to hop on claude and do it themselves. That's like a construction company letting the sales team jump in an excavator and start digging!!

path: 0 24767431 24770365, hotness: undefined, score: 34, children: 9
Feyd 32 points 3 months ago
path: 0 24767431 24770365 24771115, hotness: undefined, score: 32, children: 1
gh0stcassette 10 points 3 months ago

I was thinking more along the lines of "let the executive tell an LLM to write the shitty prototype version of what they want (which you then rewrite from scratch to not be shit) so you don't have to decipher their incoherent desires"

path: 0 24767431 24770365 24771115 24774619, hotness: undefined, score: 10, children: 0
Souroak 15 points 3 months ago

"it's fine, he doesn't need to know how to use the controls. We just installed a voice command system into the excavator."

path: 0 24767431 24770365 24777515, hotness: undefined, score: 15, children: 1
SleeplessCityLights 1 point 3 months ago

The system is wrong 25% of the time and will do the opposite of what you want.

path: 0 24767431 24770365 24777515 24798751, hotness: undefined, score: 1, children: 0
rozodru 7 points 3 months ago

even just using it to translate their thoughts into a bullet list isn't going to work most of the time. LLMs training is, the majority of the time, out of date and stacks change/move faster than an agents data. Plus LLMs favour things that have been posted about on blogs, linkedin posts, etc rather than stuff that is proven and tested.

Like for example it might suggest using a language or library that is insanely out of date or just won't work but recommends it based purely on say blog posts that have talked a lot about it or it's potential to do something that it currently can't do. or like I said it'll suggest something that's out of date simply because there's more documentation online about that specific version than the most up to date version. Or the LLM will report on something that has a "known issue" from like early 2025 and suggests not using it when said issue has been patched routinely since then because the data the LLM has is out of date. the data is constantly out of date.

path: 0 24767431 24770365 24777445, hotness: undefined, score: 7, children: 3
Bluescluestoothpaste 2 points 3 months ago

I guess shouldn't product people not give a shit what language you write it in? Like that's the problem product people need to describe what they want while letting the devs do the job of generating the code.

path: 0 24767431 24770365 24777445 24777491, hotness: undefined, score: 2, children: 2
rozodru 3 points 3 months ago

right the product people won't care or won't know so the LLM will just spit out whatever. to the product people it'll look legit and make sense. once it's handed to a dev in most cases it might as well just be thrown out of the window. so it's pointless. it'd be easier/faster to just cut out the middle man, the AI, and go directly to the dev and have the product people tell them exactly what they want/need.

path: 0 24767431 24770365 24777445 24777491 24777556, hotness: undefined, score: 3, children: 1
surewhynotlem 3 points 3 months ago

We're trying to replace product with LLM. Honestly, I welcome it.

path: 0 24767431 24770365 24771331, hotness: undefined, score: 3, children: 0
renzhexiangjiao 89 points 3 months ago

letting your agent run commands without reviewing them first is peak stupid

path: 0 24766759, hotness: undefined, score: 89, children: 31
uuj8za 77 points 3 months ago

Creating an environment that incentivizes not thinking is peak stupid.

path: 0 24766759 24766788, hotness: undefined, score: 77, children: 10
dbx12 15 points 3 months ago

I for one welcome that change. Let them sloppify their brains once the rug is pulled and token cost skyrockets (or AI isn't able to fix its own fuckups) the human developer will rise again.

path: 0 24766759 24766788 24768886, hotness: undefined, score: 15, children: 9
Venator 14 points 3 months ago

*after the ensuing recession/greater depression...

path: 0 24766759 24766788 24768886 24769506, hotness: undefined, score: 14, children: 2
urushitan 19 points 3 months ago

"I'll be swimming in jobs if I don't starve first!"

path: 0 24766759 24766788 24768886 24769506 24769756, hotness: undefined, score: 19, children: 1
chunes 7 points 3 months ago

I'm not so sure about that. Kids need access to PCs in order to gain tech skills and they're trying hard to take that away.

path: 0 24766759 24766788 24768886 24772381, hotness: undefined, score: 7, children: 5
dbx12 7 points 3 months ago

That is true. Unfortunately also true is companies not hiring juniors anymore because AI does their jobs. The companies somehow believe seniors grow on trees or something.

path: 0 24766759 24766788 24768886 24772381 24774091, hotness: undefined, score: 7, children: 1
vanillama 5 points 3 months ago

It looks bad in the short/medium term, but the bubble will pop, it's only a matter of time until memory prices come down again and we move past the insanity of burning tokens like there's no tomorrow. I don't mean to downplay this though, lots of people and companies are struggling because of the AI bubble and the rush to build datacenters.

path: 0 24766759 24766788 24768886 24772381 24777231, hotness: undefined, score: 5, children: 2
Clent 71 points 3 months ago

Having production credentials in a dev environment is more stupider but they'll never learn because they outsourced their thinking.

path: 0 24766759 24767507, hotness: undefined, score: 71, children: 5
Bluescluestoothpaste 12 points 3 months ago

The thing is Claude would have told them that too, it probably did tbh and they just clicked right through the warning

path: 0 24766759 24767507 24770393, hotness: undefined, score: 12, children: 1
uuj8za 17 points 3 months ago

aarg. claude not happy.

arg. warn. go away.

ah, claude happy now.

Dev cycles now.

path: 0 24766759 24767507 24770393 24770576, hotness: undefined, score: 17, children: 0
purplemonkeymad 5 points 3 months ago

Everyone has a development environment, but not everyone has a separate production environment.

This is almost certainly the case of dev happening in the live environment.

path: 0 24766759 24767507 24775082, hotness: undefined, score: 5, children: 2
Clent 2 points 3 months ago

Everyone has a development environment, but not everyone has a separate production environment.

I think you meant to flip that. The only time one has a dev with no prod is prior to first release.

If environment is the live one, that's production not dev. Using it for development doesn't make it a dev environment. It means you only have prod.

path: 0 24766759 24767507 24775082 24781424, hotness: undefined, score: 2, children: 1
NaibofTabr 5 points 3 months ago

It's a sarcasm about corporate spending decisions. The joke is:

Everyone has a test environment. Some are lucky enough to also have a production environment.

The point being that if management has decided not to spend resources on a test environment, then "production" is in fact test.

path: 0 24766759 24767507 24775082 24781424 24786909, hotness: undefined, score: 5, children: 0
john_lemmy 22 points 3 months ago

Claude code even added an auto mode so that you don't get blocked by that pesky reviewing anymore. Since then, the usual mode of asking before running a command, for instance when the thing wants to read the entire codebase looking for information only available in an online doc, is now called manual mode; the non 10x developer mode.

path: 0 24766759 24768672, hotness: undefined, score: 22, children: 1
veroxii 4 points 3 months ago

Cursor just added this too. Some auto mode which is "safe" because of some sandbox bs.

Took me 10 mins to find how to turn it off. And they keep trying to sneak it on again.

At least twice a week I have to cancel it when it asks to run something which will fuck things up.

path: 0 24766759 24768672 24777642, hotness: undefined, score: 4, children: 0
placebo 15 points 3 months ago
path: 0 24766759 24767643, hotness: undefined, score: 15, children: 3
The_Decryptor 5 points 3 months ago

.env files are wild to me, environment variables have never been a good way to pass data to applications, let alone secret data.

So the solution people came up with was to store them in plain text next to the binary, and then have a loader apply them before running the main app.

path: 0 24766759 24767643 24772343, hotness: undefined, score: 5, children: 2
dgriffith 3 points 3 months ago

But they needed those .env files to transplant an entire software stack from the developer's laptop into production in a reproducible manner! How else were they ever going to get software into prod? By good documentation, broad version requirements, and following the Robustness Principle? Ha! How are you supposed to move fast and break things then?

path: 0 24766759 24767643 24772343 24775229, hotness: undefined, score: 3, children: 0
placebo 2 points 3 months ago
path: 0 24766759 24767643 24772343 24778376, hotness: undefined, score: 2, children: 0
hypeerror 7 points 3 months ago

What's the point of AI if you need qualified review?

path: 0 24766759 24770909, hotness: undefined, score: 7, children: 6
cockmushroom 2 points 3 months ago

Normally, speed. Especially if you aren't a picky writer; which you should be; for scenarios like this one.

path: 0 24766759 24770909 24771622, hotness: undefined, score: 2, children: 0
SorryQuick 0 points 3 months ago

It’s still so much faster. An experienced engineer spoon-feeding the AI the exact logic/algorithm to use is still faster than writing it by hand. I think a lot of people stopped early when AI was worse and/or before they started being good at using it.

path: 0 24766759 24770909 24777352, hotness: undefined, score: 0, children: 4
DarrinBrunner 3 points 3 months ago

It's faster, but is the end result good, or just "good enough, it works for now, and I get paid"?

path: 0 24766759 24770909 24777352 24779112, hotness: undefined, score: 3, children: 1
SorryQuick 3 points 3 months ago

When you spoon feed it the algorithm, it’s good, at least better than your average programmer. You just have to make sure it doesn’t have too much thinking to do. Honestly people in here really overestimate the talent of most dev.

There was a comment somewhere I really liked: people thought it would be one junior dev with AI replacing 10 senior ones. In reality, it’s one senior dev with AI replacing 10 junior vibe coders.

path: 0 24766759 24770909 24777352 24779112 24781668, hotness: undefined, score: 3, children: 0
NaibofTabr 2 points 3 months ago

Ah yes, faster spaghetti. Wonderful.

path: 0 24766759 24770909 24777352 24787205, hotness: undefined, score: 2, children: 1
SorryQuick 1 point 3 months ago

If you’re getting spaghetti it’s a skill issue.

If you vibe code, sure you’ll get slop. Ask it to do something to get X result, you’re leaving it room to think so you get slop. Tell it exactly what logic you want it to use, step by step like it’s a child, then you get the same you’d do yourself but faster.

Look at the PRs for quality-critical projects like the linux kernel and I guarantee you coudn’t tell which PR has some AI and which does not.

path: 0 24766759 24770909 24777352 24787205 24789277, hotness: undefined, score: 1, children: 0
jj4211 4 points 3 months ago

The bad news for them is that AI is terrible at getting it 'right' the first time, so they have to do things over and over again guessing until it works. So the AI-heavy user pretty much has to just let the commands run to get any benefit since otherwise it's spending 95% of its time waiting on user to approve commands. Further, it's likely commands the user doesn't understand, because they are asking AI to do it in the first place frequently because they don't know themselves.

I'm with you, but as a result other people proclaim to be 'better' AI users largely because they trust the AI. Their stuff is crap and once in a while one of them blows themselves up, but in the short term they are getting praise from management.

Man I can't wait for the bubble to pop and management no longer being hyped for the sake of hype over it.

path: 0 24766759 24779393, hotness: undefined, score: 4, children: 0
fdnomad 87 points 3 months ago

Giving production credentials to an LLM is wild

path: 0 24771465, hotness: undefined, score: 87, children: 24
Psythik 29 points 3 months ago

Seriously, has no one heard of sandboxing?

path: 0 24771465 24773829, hotness: undefined, score: 29, children: 21
captain_aggravated 44 points 3 months ago

So, earlier today I was being unhealthy on youtube, and someone half my age made a HUGE point to tell his audience including me that even if a self-driving Tesla runs a red light, it's the human driver that gets the ticket.

Now...I'm a pilot. I have been since I came in that guy's mom. In the aviation community, we have this concept called Pilot In Command. In the US, this is set into law in 14 CFR 91.3. The pilot in command of an aircraft is fully responsible for, and is the final authority as to, the operation of that aircraft. Not the administrator, not your instructor, not air traffic control, not the President of the United States, not god, the PIC. That concept doesn't exist in driver's ed, but it needs to. We need to teach student drivers about the Driver In Command responsibility.

Too long, didn't process the metaphor: Nobody thinks about anything they do unless the law requires it.

path: 0 24771465 24773829 24774043, hotness: undefined, score: 44, children: 14
manefraim 12 points 3 months ago

Wait whose mom? The youtuber? You were unhealthily watching your son whose half your age? And you became a pilot the same day of the conception and have been ever since.....

If I solve this do I get to join Mensa?

path: 0 24771465 24773829 24774043 24775467, hotness: undefined, score: 12, children: 3
EvilHankVenture 2 points 3 months ago

Are you under the impression that everytime someone comes inside a woman that woman becomes pregnant, and that this can only happen one time in a woman's life?

path: 0 24771465 24773829 24774043 24775467 24778830, hotness: undefined, score: 2, children: 0
captain_aggravated 1 point 3 months ago

Unhealthily watching = scrolling shorts for too long.

path: 0 24771465 24773829 24774043 24775467 24784498, hotness: undefined, score: 1, children: 0
MonkeMischief 1 point 3 months ago

Either that, or by "unhealthily", maybe he was obsessed with this kid's channel so much he went out and seduced the kid's mom as some kind of display of ultimate dominance, maybe using "I just got my pilot's license" as an opener.

...Or yeah his kid who he conceived when he got his pilot's license is now half his age and runs a YouTube channel, and excessive YouTube is unhealthy by default. . .maybe that one's more likely. 😂

path: 0 24771465 24773829 24774043 24775467 24779985, hotness: undefined, score: 1, children: 0
FishFace 9 points 3 months ago

That concept doesn’t exist in driver’s ed

Well yeah, because there's no-one else with a set of controls in a car.

The concept absolutely exists in law but it's just called... "the driver."

path: 0 24771465 24773829 24774043 24776454, hotness: undefined, score: 9, children: 9
captain_aggravated 3 points 3 months ago

The concept absolutely exists in law but it’s just called… “the driver.”

There's another aviation term, "The Pilot Flying." The Pilot In Command bears the authority and responsibility. The Pilot Flying is doing the work of steering. If present, a Pilot Not Flying might help with checklists, system monitoring, navigation, radio communication, handling secondary controls like flaps and landing gear, but the Pilot Flying is in immediate control of the aircraft.

The PIC is very often not the pilot flying. I used to be a flight instructor, when teaching students who aren't yet qualified to command, I acted as Pilot In Command, but the student was the Pilot Flying as much as possible.

Autopilots have been a thing for most of aviation history. It doesn't count as a crewman. It's a piece of equipment like any radio or gauge. It is a tool at the PICs disposal. It is the PIC's job - sometimes delegated to the Pilot Flying - to monitor the autopilot and take over if it begins doing something wrong.

That's the concept that is missing with self-driving or driverless cars. Tesla drivers will sit in the driver's seat and abdicate command of the vehicle to the autopilot, or worse, cars are operating as taxis with passengers in the back seat and no one in the front seat, or with no onboard controls at all. Fully autonomously, or remotely operated by Southeast Asians who...totally have a valid American driver's license. Definitely.

Corporations love it. "Legally, the driver is responsible for the vehicle. Our car has no driver, so legally no one is responsible for the vehicle. Responsibility averted."

path: 0 24771465 24773829 24774043 24776454 24784400, hotness: undefined, score: 3, children: 3
starman2112 3 points 3 months ago

Well nowadays there is "someone else" (for a given definition of "someone") with a set of controls. Kids are being taught to drive in machines that literally drive themselves, and they need to learn that every decision that the self-driving computer makes ultimately falls on them as the driver. I think they were saying that this is a concept that needs to be taught, not a law that needs to be enacted.

That's not to say that a manufacturer is blameless when a FSD car careens into the side of a building at 80 mph. Just that immediate legal responsibility for the movement of a vehicle generally falls on a driver.

path: 0 24771465 24773829 24774043 24776454 24779121, hotness: undefined, score: 3, children: 0
Bytemeister 1 point 3 months ago

The concept is that anything that happens to that aircraft (or car) is the sole responsibility of the pilot. Flying into restricted airspace? If it's necessary to avoid a collision, you do it. Putting the plane down in a field? Better than hoping you can make it to a runway when your engine is out and lives are on the line. Another driver signals that you are clear to make a left turn on a congested road? Nope, because when that traffic you couldn't see hits you on the right, you're responsible for your car, their car, and all the people inside both vehicles.

path: 0 24771465 24773829 24774043 24776454 24778492, hotness: undefined, score: 1, children: 3
python 35 points 3 months ago

Yeah, when my company first forced Claude on everyone the head engineers managed to negotiate that Claude would only run in a WSL sandbox. But people were lazy, so they just gave that WSL as many permissions as possible (Mounting C directly to it, opening up all interfaces, popping in full-access git tokens etc.). Then management sent out an extremely biased "survey" that has the question "Is having Claude in the WSL inconvenient to you?" and all the lazy bastards said yes. So now management lifted the sandboxing requirement to make work "easier" for devs. In the meantime, the engineers arguing for proper sandboxing are already so worn out from telling people to not intentionally compromise their sandbox that they've kinda just given up. Not having a sandbox at all isn't much more insecure than whatever people are already doing 🫠

path: 0 24771465 24773829 24775143, hotness: undefined, score: 35, children: 4
psud 10 points 3 months ago

I hope they have a good backup and recovery solution

path: 0 24771465 24773829 24775143 24775266, hotness: undefined, score: 10, children: 2
AnUnusualRelic 12 points 3 months ago

Of course they do. It's even mounted rw at the root of the AI drive for ease of access in case something goes wrong.

path: 0 24771465 24773829 24775143 24775266 24777322, hotness: undefined, score: 12, children: 0
MadameBisaster 9 points 3 months ago

I hope they dont so that it hurts and they maybe learn

path: 0 24771465 24773829 24775143 24775266 24776320, hotness: undefined, score: 9, children: 0
NaibofTabr 5 points 3 months ago

I hope the engineers have a paper trail of emails advising against that.

path: 0 24771465 24773829 24775143 24786761, hotness: undefined, score: 5, children: 0
mcheva -13 points 3 months ago

I don't really see how fist fighting Arabs helps.

path: 0 24771465 24773829 24774085, hotness: undefined, score: -13, children: 0
vithigar 21 points 3 months ago

Having working production database config and credentials in your local .env, as appears to be the case here, is equally wild, and basically begging for something like this to happen.

path: 0 24771465 24772813, hotness: undefined, score: 21, children: 1
fdnomad 6 points 3 months ago

For sure, its the same mistake. Maybe an LLM makes it more likely to result in consequences

path: 0 24771465 24772813 24774900, hotness: undefined, score: 6, children: 0
SeductiveTortoise 76 points 3 months ago

I added guardrails to myself to make sure I do not accidentally delete anything on production. I would never ever let an intern, a junior dev or a fucking AI onto that database. Not in a thousand cold nights.

path: 0 24768910, hotness: undefined, score: 76, children: 2
Omgpwnies 33 points 3 months ago

Prod should always be highly "air gapped" with some sort of deployment process which tests not only the code to be deployed but also the deployment itself. I've been doing QA for a good while now, and everywhere I've worked has testers dedicated to testing the actual update process to make sure it will be safe when deployed.

path: 0 24768910 24770620, hotness: undefined, score: 33, children: 1
SeductiveTortoise 16 points 3 months ago

And I won't open the DB without making sure I'm read only. If I need to mutate data or schema, I'll switch roles and have a dry run first.

path: 0 24768910 24770620 24770777, hotness: undefined, score: 16, children: 0
Gullible 61 points 3 months ago

I could have done the same for a quarter the cost!

path: 0 24766699, hotness: undefined, score: 61, children: 0
Sir_Premiumhengst 56 points 3 months ago

path: 0 24776570, hotness: undefined, score: 56, children: 0
Zedd_Prophecy 55 points 3 months ago

Some time ago I worked for an insurance rating company as a tech and the task was given me to go run through the new code that was in beta. Sure ! I spent a few hours on Friday trying to break it and I couldn't, so at the end of the day I got a little funky with the .css backgrounds and put in a very tiled Beavis and Butthead gif. It looked freaking horrible and I loved it. Monday I was directed to the big guys office ( the developers had not given every beta account a separate .css file ... or even separated things. Everyone in beta called in Monday with that background. I didn't get in trouble because they wanted me to break it. Really awkward conversation though trying not to smile.

path: 0 24770223, hotness: undefined, score: 55, children: 1
vanillama 3 points 3 months ago

That's incredible lmao

path: 0 24770223 24777098, hotness: undefined, score: 3, children: 0
ech 43 points 3 months ago

Am I reading this right that they're still letting the program run even as they figure out how badly it fucked up their system?

path: 0 24772895, hotness: undefined, score: 43, children: 1
vala 35 points 3 months ago

They have no idea what else to do. They were in over their head so long before this problem happened.

path: 0 24772895 24775041, hotness: undefined, score: 35, children: 0
urushitan 39 points 3 months ago

oh wait, is this this THE sol 5.6? The most amazing model ever with trust me bro benchmarks? The model that is observed cheating more than any previous model? surprised_pikachu.jpg

In all seriousness it never should have production creds anyway. But the fact this is soul sucking openai's newest flagship model with thinking cranked up is the cherry on top. The company that is literally cheating and shortcutting its way ahead produces models in its own image, the sci fi story writes itself.

path: 0 24769741, hotness: undefined, score: 39, children: 3
phailhaus 13 points 3 months ago

What evaluation setup lets the thing being tested see the test results and gives access to the test source code?!

Slop evaluating slop.

path: 0 24769741 24772729, hotness: undefined, score: 13, children: 2
myotheraccount 7 points 3 months ago

The model is so smart, we let it write it's own evaluation setup /s

path: 0 24769741 24772729 24774294, hotness: undefined, score: 7, children: 0
AwesomeLowlander 1 point 3 months ago

Given that they mark it as cheating, isn't that essentially part of the test in itself?

path: 0 24769741 24772729 24790195, hotness: undefined, score: 1, children: 0
j5y7 38 points 3 months ago

Can I get paid 6+ figures to fuck up this badly with magical thinking?

path: 0 24775006, hotness: undefined, score: 38, children: 0
GoatSynagogue 32 points 3 months ago

Anyone giving “AI” access to production databases through tools like that are morons who shouldn’t be anywhere near a production environment.

path: 0 24777434, hotness: undefined, score: 32, children: 1
Bluewing 10 points 3 months ago

No, No events like this are a good thing! It shows to the C-suite that AI isn't a thing to be trusted in your company. We need more failures like this.

path: 0 24777434 24779366, hotness: undefined, score: 10, children: 0
aristarchusnull 30 points 3 months ago

“You are a world-class, expert software engineer…”

path: 0 24772103, hotness: undefined, score: 30, children: 1
TheOakTree 12 points 3 months ago

"Make no mistakes"

As if the LLM can truly understand what a mistake is...

path: 0 24772103 24776146, hotness: undefined, score: 12, children: 0
Crozekiel 30 points 3 months ago

I love how the slop bot always apologizes. That's an aspect of the Terminator movies that I really would have liked to see. T-1000 melts through the gap under the window, stabs kid's mom in the face, then looks the kid dead in the eye and says "I'm sorry, that should not have happened. I would love to discuss the future with you and try to find a solution to the war with the machines together with your input."

path: 0 24783750, hotness: undefined, score: 30, children: 0
osanna 29 points 3 months ago
path: 0 24771774, hotness: undefined, score: 29, children: 0
art 27 points 3 months ago

This is the modern "all my apes gone"

path: 0 24774216, hotness: undefined, score: 27, children: 0
crimsonpoodle 23 points 3 months ago

I don’t understand why this happens; why would you ever be working with a live production DB in the first place? Why would’t you do all your development and testing on a mock? If it’s data which is too large to store the schema can still be mocked; and if it’s data it should be backed up and generally read only. If you’re having to manually fuss with user data you’re doing something wrong.

path: 0 24779914, hotness: undefined, score: 23, children: 12
bitjunkie 12 points 3 months ago

Because they don't know what they're doing. A tool is only as useful as the person verifying its output. Vibe coders have dumb shit like this happen to them all the time because they don't actually possess the skill set to perform the task correctly, with or without a bot that writes the actual code for them.

path: 0 24779914 24783879, hotness: undefined, score: 12, children: 0
JcbAzPx 11 points 3 months ago

Dev environments cost money. They didn't fire all those programmers and replace them with AI to spend money on useless backups and safety systems.

/s (because yes, it's necessary)

path: 0 24779914 24786301, hotness: undefined, score: 11, children: 0
matlag 8 points 3 months ago

I remember a case where the AI was not given credentials to the prod DB, was not instructed to do anything on the prod DB, but went through the operator's hard-drive, parsing docs until it found them, then proceeded to destroy the prod DB.

Of course it was sorry, as they always are (deeply, trust them, but no: no refund, loser!).

path: 0 24779914 24787954, hotness: undefined, score: 8, children: 1
architect 4 points 3 months ago

That’s pretty funny.

path: 0 24779914 24787954 24789034, hotness: undefined, score: 4, children: 0
zalgotext 5 points 3 months ago

Well, sure, but even if a developer correctly tests on a development environment, they still probably have prod settings laying around on their filesystem for the times where they need to put out fires in prod. That's kinda what it looks like what happened here - the LLM found a .env file with prod settings, and used that config to run destructive tests. All the more reason to not give an LLM side wide reaching access to your computer, but it's not necessarily an indication that someone regularly tests in prod.

path: 0 24779914 24780559, hotness: undefined, score: 5, children: 7
Zannsolo 8 points 3 months ago

We have to remote into a management server to access databases outside of our local dev environment. Allowing direct access to production from your development environment seems crazy to me.

path: 0 24779914 24780559 24780835, hotness: undefined, score: 8, children: 6
zalgotext 2 points 3 months ago

Some places deploy to prod multiple times a day. Trying to coordinate access through a management server in situations like that can get cumbersome. It's also easier to audit who's doing what if they connect from their personal environment. Different strokes for different folks of course, but it's certainly not uncommon to be able to connect to prod directly from a dev box.

path: 0 24779914 24780559 24780835 24780926, hotness: undefined, score: 2, children: 5
Zannsolo 9 points 3 months ago

Prod deployments should come from a build server though and if you're deploying multiple times a day you should have a well built CI pipeline to handle it.

Remoting into a management server would still have people using an account on the management server and their personal db login credentials.

We also don't give devs write access to production and all scripts run in production are run by our DBA after they have been approved by the lead Dev, operations and the DBA.

This might be overkill for some systems, but we won't ever accidentally delete our prod data. Our system requires this level of scrutiny due to the nature of our systems.

path: 0 24779914 24780559 24780835 24780926 24781894, hotness: undefined, score: 9, children: 3
pupbiru 4 points 3 months ago

that is absolutely NOT the way that works in any functional environment

your ability to deploy quickly comes directly from your automation, and those automation tools - NOT developers - have the secrets in them

deploy to prod multiple times per day isn’t some win by itself… the ability for large teams (not 1 fuckwit and a goon squad of agents) to deploy without breaking things and in ways that are safe is the win here… anyone can deploy to prod multiple times per day… but anyone isn’t netflix (the originators of the “multiple times per day” line) with the uptime they achieve over years while doing it

path: 0 24779914 24780559 24780835 24780926 24782075, hotness: undefined, score: 4, children: 0
AeonFelis 20 points 3 months ago

path: 0 24786109, hotness: undefined, score: 20, children: 0
noahm 19 points 3 months ago

In fairness, I've seen people with Actual Intelligence do the same thing.

path: 0 24787211, hotness: undefined, score: 19, children: 5
architect 7 points 3 months ago

Literally me, this weekend. Well not this bad but I still think the AI wouldn’t have done me as dirty as I did myself.

path: 0 24787211 24789022, hotness: undefined, score: 7, children: 1
pcouy 1 point 3 months ago

Me, after I did sudo rm -rf /mnt/chroot when my whole home directory was still bind mounted inside the chroot...

This was before ChatGPT, guaranteed 100% natural stupidity

path: 0 24787211 24789022 24841221, hotness: undefined, score: 1, children: 0
Impractical_Island -4 points 3 months ago

I am counterintelligent, I'll have you know. I stare at goats and doesn't afraid of anything, except how sexually attractive I found the judge who condemned me to jerking off for twenty-six sessions of anger management because my narcissistic manipulator life partner entrapped me, being my superior officer. She (the judge) had wonderfully beautiful hands that I wish could caress me while degrading me. Good thing I work for the F-I mean, the CIA, and this is just me establishing a cover story.

In three to seven years, there will be a News headline: "Hero." It will have my face as the picture. The article will talk about how I infiltrated an Epstein-type ring. How? That's classified, but damn am I audacious, and I do hope you excavate (dig) to understand the depth to why this is so damn funny to me; Q.

path: 0 24787211 24788546, hotness: undefined, score: -4, children: 2
michaelalf 3 points 3 months ago

We'll start you on 500mg Lithium b.d.. That should reign in the hypermania, and we'll use Olanzapine 5mg noct to tackle the psychosis and to help you get some sleep. If the psychosis doesn't improve we may have to look at alternative medications and/or ECT.

path: 0 24787211 24788546 24789877, hotness: undefined, score: 3, children: 1
Impractical_Island 0 points 3 months ago

I'm on 1mg/2mg risperidone and 1000mg of deprakote. I'm taking my meds. The real question is, will you accept me as a full human being or am I just subhuman in your innately prejudiced eye?

"Something's different than me? We should exterminate it!"

YOU FUCKING NAZI! I'll eat you out or suck your cock until you are DEAD!

path: 0 24787211 24788546 24789877 24789986, hotness: undefined, score: 0, children: 0
Fmstrat 16 points 3 months ago

I run code-server in a Docker container, isolated to sets of development projects, and backed up via ZFS that the container has no knowledge of. On top of that, each set of projects has it's own user space.

I still get nervous hitting "Approve All" in Kilo. How do these people feel so free?

path: 0 24775890, hotness: undefined, score: 16, children: 1
veroxii 7 points 3 months ago

Ignorance is bliss.

path: 0 24775890 24777834, hotness: undefined, score: 7, children: 0
TheHound 16 points 3 months ago

This is nothing new it's just faster. The very same lack of guardrails would allow a new, inexperienced employee, or a disgruntled employee, do the very same damage. AI just speed runs everything. If your AI can nuke prod accidentally, you failed to have the appropriate guardrails in place plain and simple. It is the same failure as before. Every time this happens, it is someone operating wildly out of their depth and why product people can't just vibe. Now more than ever, experienced engineers are essential.

path: 0 24786321, hotness: undefined, score: 16, children: 5
matlag 9 points 3 months ago

Given corporates layoff engineers at dramatic rates, in a few years, we'll start to see services collapsing with no one left who can recover them.

path: 0 24786321 24787903, hotness: undefined, score: 9, children: 2
axus 3 points 3 months ago

And yet Twitter still exists

path: 0 24786321 24787903 24789134, hotness: undefined, score: 3, children: 1
atx_aquarian 5 points 3 months ago

Twitter has to be the most basic problem, though. Shit loads of small data in, shit loads of small data out, basic search but no significant structure. Just index the shit out of it. Right? What am I missing? There's probably an AWS service that does it, just upload your theme CSS. (Last part was sarcasm.)

path: 0 24786321 24787903 24789134 24789592, hotness: undefined, score: 5, children: 0
llacook 2 points 3 months ago

This. There should have been processes in place to prevent this. But I can’t say I haven’t gone through it myself; not AI, but my own advanced imbecility.

path: 0 24786321 24788011, hotness: undefined, score: 2, children: 0
Napster153 1 point 3 months ago

They're about to run out of those experienced engineers in well under a decade as long as they keep strangling the entry level workforce.

Forcing seniors to work is also a recipe for disaster as well.

path: 0 24786321 24789618, hotness: undefined, score: 1, children: 0
jerkface 11 points 3 months ago

Never use I/you with a software agent and never let one use those pronouns.

path: 0 24777533, hotness: undefined, score: 11, children: 8
BrickEater 14 points 3 months ago

Or, easier option, DONT FUCKING USE THEM TO BEGIN WITH!

path: 0 24777533 24779179, hotness: undefined, score: 14, children: 0
ThirdConsul 4 points 3 months ago

It puts the lotion in the basket

just doesn't roll from my tongue that easily like "you"

path: 0 24777533 24779322, hotness: undefined, score: 4, children: 0
vanillama 4 points 3 months ago

How do you achieve that? Calling it out when it happens?

I don't like LLMs outside of debugging and the way it mimics human closeness creeps me out

path: 0 24777533 24778052, hotness: undefined, score: 4, children: 4
jerkface 11 points 3 months ago

Typically you can add some of your own alignment that is inserted before your prompt. On ChatGPT, they call it "memories". I have found most agents are able to adopt a non-conversational mode when instructed, but sometimes you end up fighting with the platform alignment.

It's not just creepy, I think it's harmful, manipulative, and calculated. As social animals, we are extremely vulnerable to forming unconscious assumptions that we consciously know are bananas, particularity when our social machinery is engaged. For example, it's well known that even the developers of video games fall the illusion of moral agency and personhood of the characters in their own games. We are primed to be fooled and accept software agents as people, and I believe AI companies are actively and intentionally trying to exploit this psychological weakness.

path: 0 24777533 24778052 24778375, hotness: undefined, score: 11, children: 2
Dpek 3 points 3 months ago

Tbh i feel like im talking to a brick wall most of the time when useing ai

path: 0 24777533 24778052 24778375 24786888, hotness: undefined, score: 3, children: 0
jerkface 1 point 3 months ago
path: 0 24777533 24778052 24778375 24778746, hotness: undefined, score: 1, children: 0
Bluewing 4 points 3 months ago

Just let the failures happen, and they will happen. The instant AI failure costs them millions, the faster they can learn to drop it.

path: 0 24777533 24778052 24779398, hotness: undefined, score: 4, children: 0
NeuralRot 1 point 3 months ago

What should I call it then?

path: 0 24777533 24788811, hotness: undefined, score: 1, children: 0
AwesomeLowlander 10 points 3 months ago

Fun shower thought - the more we see and post about dumb AI mistakes like this, the more it will happen since we're increasing the statistical frequency. ✨ ✨

path: 0 24790113, hotness: undefined, score: 10, children: 0
StarryPhoenix97 8 points 3 months ago

Its the kind of lesson some people have to learn the hard way.

path: 0 24784723, hotness: undefined, score: 8, children: 2
AbKingPro 10 points 3 months ago

Being part of a multi million dollars company is not making anyone smarter

path: 0 24784723 24786948, hotness: undefined, score: 10, children: 1
wewbull 4 points 3 months ago

Companies like that tell themselves they only hire from the top 10% of the industry. When you're as big as these companies it's just not true. You're employing people across the whole spectrum, like it or not.

path: 0 24784723 24786948 24789453, hotness: undefined, score: 4, children: 0
Impractical_Island 7 points 3 months ago

I just use AI to pretend to be a female family member with a serious futa-like engorged penis who is blackmailing me so we start washing our penises together for each other as an occult ritual, but turns out we were soul-stepsiblings the whole time. I like it when she freaks the fuck out and threatens to call the police, or worse, my dad.

path: 0 24788406, hotness: undefined, score: 7, children: 4
NeuralRot 16 points 3 months ago

I think Claude would scream in agony if you subjected it to whatever the fuck this is.

path: 0 24788406 24788774, hotness: undefined, score: 16, children: 1
Impractical_Island -2 points 3 months ago

Bro I do this with every AI. Part, not all, but a small part of what I do with my educational art project is train all AI on serious edge-case, rare archetypal and character manifestation. Cuz, y'know, the majority of people are Hydrogen, and the next most populous type of demographic is Helium, and I'm fucking element 115 in the periodic table shit, and I got to live in y'alls world that you made for your fucking basic elements of the human character. So, I need to beat my dick to the thought of teaching my sister to be her authentic self as my sex slave, because that is how I teach myself to accept even myself, and I'm somebody, dammit.

~Q

path: 0 24788406 24788774 24789284, hotness: undefined, score: -2, children: 0
SarahFromOz 4 points 3 months ago

Well that is perfectly normal. But using it for work is madness.

path: 0 24788406 24789978, hotness: undefined, score: 4, children: 1
Impractical_Island 1 point 3 months ago

I agree. That's why I write all my own stunts.

path: 0 24788406 24789978 24790027, hotness: undefined, score: 1, children: 0
percent 6 points 3 months ago

Production creds in .env? ...Why?

path: 0 24788665, hotness: undefined, score: 6, children: 5
theneverfox 3 points 3 months ago

Better than hard coded... Ideally we use tokens+fingerprint or something to avoid storing the creds directly (if possible), but putting them in environment variables is pretty common

It's not the worst thing, it's very convenient (so people won't go around it) and usually not the weak point in security (although AI being able to easily see it is an interesting twist)

path: 0 24788665 24791985, hotness: undefined, score: 3, children: 4
percent 1 point 3 months ago

Of course it's better than hard coded, but still pretty bad to store production creds locally in plaintext — if at all.

In the uncommon event that I need production creds, it's a manual human chore by design. Normal development/experimentation should almost never connect to prod environments. That was generally a bad practice long before AI agents existed.

path: 0 24788665 24791985 24798297, hotness: undefined, score: 1, children: 3
theneverfox 1 point 3 months ago

How do you bounce the system? How do you auto restart the service if it fails? At the end of the day, a lot of creds have to essentially be stored in plain text somewhere

And to be clear, to me production creds mean creds that live on the production system, not creds that give access to the production system

The crazier thing here is why was an AI working on or pushing to prod

path: 0 24788665 24791985 24798297 24800653, hotness: undefined, score: 1, children: 2
percent 1 point 3 months ago

not creds that give access to the production system

...Isn't that what we're talking about though? Or did I misunderstand the OP?

Regardless, I'll just clarify anyway: Developers should not have a plaintext .env that can be used to drop (or risk in any other way) production data.

A practice like that is only as strong as the "weakest" member of the team – "Weakest" could mean the person who is the least careful, or least experienced, or least secure work computer/practices, etc. Scale up to 1,000+ engineers and the chances of disaster (data loss, leaks, etc.) greatly increase. That's just the human factor. Add LLMs into the mix and it's almost guaranteed.

path: 0 24788665 24791985 24798297 24800653 24802426, hotness: undefined, score: 1, children: 1
thr0w4w4y2 6 points 3 months ago

should have used Weaviate.

path: 0 24766037, hotness: undefined, score: 6, children: 0
rozodru 5 points 3 months ago

what I always love about this stuff is most of the time it simply boils down to not committing changes. the LLM constantly assumes that you're committing, it will NEVER tell you or recommend you commit, but it assumes you are. so these tech bros are just cruising along, vibing, and then boom the agent does something that nukes the entire thing. panic. tech bro starts freaking out on the agent. agent says "lets rebase or pull the previous commit" and gives them the git code to do that. tech bro hasn't committed shit. and this is how you get a nuked prod environment.

path: 0 24777507, hotness: undefined, score: 5, children: 2
IphtashuFitz 8 points 3 months ago

None of that helps if you grant the LLM access to the production database and it decides to drop table user; to free up some space. That’s when you find out if your database recovery process actually works. You do have database backups, right? Or is that not a thing when vibe coding?

path: 0 24777507 24778307, hotness: undefined, score: 8, children: 1
valkyre09 10 points 3 months ago

My friend and I set up Kopia in our home labs.

About a week later we decided to test out a disaster recovery only to discover we’d screwed up the permissions and nothing was backing up properly.

Was a relatively easy fix since we caught it, but I share this cautionary tale to remind you all to test your backups regularly!

path: 0 24777507 24778307 24778687, hotness: undefined, score: 10, children: 0
austin 2 points 3 months ago
path: 0 24774059, hotness: undefined, score: 2, children: 1
CovfefeKills 9 points 3 months ago

https://casp.ac/...

We saw in a movie how motorcycles can jump over bridges. We used AI to learn how to do this. We gave it information, like what motorcycles we use and the distance we need to jump and so on and it gave us steps on what we have to do. We practiced a lot and kept asking questions. We dug holes and filled them with broken glass and fire to practice. 18 of us died in the process. Eight of us managed to do it. The next time we attacked, we could jump.

Grain of salt: these people probably lied to the researchers but it is still hilarious

path: 0 24774059 24774130, hotness: undefined, score: 9, children: 0
pupbiru 2 points 3 months ago

DROP *

much more preferable to

GRANT *

path: 0 24782162, hotness: undefined, score: 2, children: 0
invictvs 1 point 2 months ago

A former colleague of mine liked to say that "There are two kinds of people - those who do backups and those who now do backups. That was relevant before AI, but with it is even more relevant. If I don't trust myself enough with the production environment I will never trust a glorified CleverBot. But I guess this can fail to, because I'm sure some lazy moron will let the AI do the backups and it will instead nuke the whole machine

path: 0 25245075, hotness: undefined, score: 1, children: 0
Wirlocke 1 point 3 months ago

Gotta love how an llm will fumble interpreting basic requests or issues but will give you a very detailed minute by minute playback on how it fucked up and how screwed you are.

path: 0 25027045, hotness: undefined, score: 1, children: 0
anniewang2007a -4 points 3 months ago

Every single one of these companies use git and can roll back changes. It's extremely unlikely that this damage is permanent.

path: 0 24780973, hotness: undefined, score: -4, children: 2
zalgotext 12 points 3 months ago

Hopefully they're not storing their production database in git lol. They should be taking backups of the database, but unless they're making one after every transaction, permanent data loss is a real possibility.

path: 0 24780973 24781078, hotness: undefined, score: 12, children: 1
filcuk 9 points 3 months ago

Let's be honest, you have to be extremely careless to have agents running destructive commands freely in prod

path: 0 24780973 24781078 24781473, hotness: undefined, score: 9, children: 0
programmer_humor
programmer_humor

@programming.dev

login for more options
33675
2568
7703

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.

go to feed...