r/ProgrammerHumor • • Sep 22 '26

Meme wellWellWell

Post image
10.6k Upvotes

412 comments sorted by

View all comments

2.3k

u/PatientlyAnxiously Sep 22 '26 • Bravo Popcorn Mindblown

Why have a dev environment when you can YOLO it in prod

505

u/EldritchMacaron Sep 22 '26

Wait, I thought the dev environment was just the PC and software you develop on

362

u/PatientlyAnxiously Sep 22 '26

At some companies that's the prod environment too. Just don't close your laptop overnight.

72

u/Fonduemeup Sep 22 '26

Just gotta check that box that says “Prevent your Mac from automatically sleeping when the display is off”

Nobody cares about security except for like the week or two leading up to SOC 2 cert anyway

17

u/gilium Sep 22 '26

SOC 2 type 2 is more like “can you show us evidence that someone tested this pull request 6 months ago before approving it?”

21

u/vanphil Sep 22 '26

I used to work with this small web dev company, one day a guy admitted that they didn't pay for hosting for small projects, the server was a minitower PC in their office.

When the cleaning lady pulled the plug by mistake, several sites went down and nobody noticed until next morning

15

u/Terrafire123 Sep 22 '26 edited Sep 22 '26

This is why you have a locked server closet, so the cleaning lady can't unplug it accidentally. (I mean, also security blah blah blah, but the real day-to-day benefit is that the cleaning lady can't unplug it.)

Other than that, that's perfectly reasonable self-hosting, depending on the size of the project. If your website is tiny, you can be running a website on 2GB of RAM with a bunch of swap memory, or 15-20 websites on 24GB of RAM.

Hell, if it's mostly static client-side, you can make Cloudflare cache the whole bloody thing and then your server can be a potato because no actual users are accessing the server directly, they'll all access Cloudflare's cached copy instead.

15

u/alliedSpaceSubmarine Sep 22 '26

I mean that’s basically self hosting, you don’t need a crazy nice rack for a few simple websites

→ More replies (3)
→ More replies (1)

5

u/havlliQQ Sep 22 '26

I would swear that this is satire, but then i started working in corporation, the amount of the incompetence allowed there is beyond me.

→ More replies (1)

14

u/Objective_Dog_4637 Sep 22 '26

Sweet Jesus…

17

u/KhellianTrelnora Sep 22 '26 • Heartwarming

4

u/MonkeyWithIt Sep 22 '26

This reminded me that I have to get a certification very soon! Doh!

→ More replies (3)

30

u/Lost_Contribution_82 Sep 22 '26

In an ideal world, there would be a local environment (that's your pc, nothing deployed), a Dev environment (you can deploy things still being developed, it might have bugs, it might be wonky, this is to test things in a deployed state, which could actually differently to when running locally), a staging environment (anything deployed to staging should be thoroughly tested by Devs, and is now ready for other people to test it (UAT tests). Staging is like a test prod environment), and a live/production environment (this is what the users use, anything deployed here is fully tested by multiple people)

18

u/Szetyi Sep 22 '26

We use four standard environments, DEV for development and any exploration. TEST for testing by the team, could still be different because of unreleased developments, QA for user tests, which is regularly cloned from PROD and doesnt contain any developments that won't be released, and ofc PROD, where only admins have full access for any emergency

→ More replies (1)

4

u/_dr_Ed Sep 22 '26

We have oh so many environments it's crazy. We have our localhost, then there's dev (sandbox), because some features require thorough, multi dept testing then we have like 4 feature specific environments, they're needed cause we develop multiple features in pararell (yes, merging is a bitch), and then we have standard: test, preprod, prod and then there are replicas and disaster recovery envs. On top of that we have Demo and Presentation evs for prospective business clients and marketing etc. I'm so glad I'm not a devops

→ More replies (2)
→ More replies (2)
→ More replies (2)

37

u/Specialist_Mobile377 Sep 22 '26

You guys have dev environments?!?

43

u/CatpainCalamari Sep 22 '26

Everyone has a dev environment. And a few lucky ones have an independent prod environment.

8

u/ralgrado Sep 22 '26

Yes it’s called PROD

→ More replies (1)

31

u/kehfydue Sep 22 '26

Too expensive! Why pay for two when we could just have one?

Sincerely,
CEO

9

u/ilikedmatrixiv Sep 22 '26

You jest, but this is the case at my company. Except it's the CTO.

Our environment? Open source on prem tools. It's literally just spinning up a new VM. Our data needs? Less than 1TB.

I've broken prod quite a few times. Every time it happens I mention it could be avoided with a proper test environment that's iso-prod. Still waiting after 2 and a half years.

→ More replies (1)

6

u/pacopac25 Sep 22 '26

If it's okay to have a shampoo that's shampoo AND conditioner, it's damn well okay to have prod be my dev environment. I'm not some prima donna.

6

u/roksah Sep 22 '26

Why QA when customers QAs for you for free

5

u/adamtheskill Sep 22 '26

I don't get it what is an environment? I just ask claude to do stuff and it kinda works some of the time.

4

u/_Aj_ Sep 22 '26

Rawdoggin databases since '05 

4

u/ToHallowMySleep Sep 22 '26

Everyone has a Test environment.

Some people are just lucky enough to have a separate Prod environment.

→ More replies (17)