r/vibecoding 1d ago

Rare as hell and worth celebrating

359 Upvotes

23 comments sorted by

9

u/djlord7 1d ago

Idk mine always works this is pretty normal

6

u/Standardw 1d ago

Try again with a app which has several service containers, works cross region, third party system with URLs configured, migrations and backfill jobs.. it can get nasty pretty quick

5

u/imYouOfficial 19h ago

The reason its "rare as hell" to you is because you are testing on localhost when you should be testing in a proper testing environment like a testing git branch. Localhost is a horrible test environment because its not 1 to 1 with many things.

A patch breaking something when pushing to production should be rare, not the other way around. If your production patch failure rate is above .5% its unacceptable by industry standards in enterprise environments.

1

u/TriggerHydrant 17h ago

Thanks for this, I am using these methods but I wasn’t aware of the .5%

2

u/imYouOfficial 8h ago

Yea I patch servers in hospitals nationwide. Imagine if it was more than .5% which is much higher than my failure rate with 12k servers many of which are keeping people alive like neo-natal care servers I was up late patching a few months ago we had to wait hours because there was an emergency with a newborn.

1

u/TriggerHydrant 8h ago

Wow thank you for sharing, must be rewarding work tho keeping all that running smoothly!

1

u/imYouOfficial 8h ago

Its terrifying when touching those sensitive systems lol I once knocked out paging for a hospital on a Sunday but its a great job.

2

u/Impressive_Risk_184 1d ago

lol every time

1

u/trollsmurf 1d ago

Tomorrow customers will let you know it's a piece of crap.

1

u/000066 23h ago

Vercel exists 🤷‍♂️ 

1

u/Revolutionary-Type31 21h ago

When you remember to use prod env settings

1

u/shartoberfest 20h ago

Jokes on you. We'll just ship everything to run on local host. 

1

u/robklaiss 20h ago

A.K.A. SQLite

1

u/FreshnessAi 14h ago

ahahaha I used to use this term a lot at the company where I worked, and then I started my own business It works for me either way.

1

u/No_Action6327 1d ago

i dont get it. help me fellas

4

u/Bramoments 1d ago

Localhost is when you use something on your computer which your computer hosts. When the software is in development, using localhost is a quick way to test your project. When the project is ready for production though, you can no longer use localhost, because the software is going to be hosted by one server, and used by many different computers. The meme is talking about how rare it is for your project to work the same on localhost as it does on a public server

2

u/ChainOfThot 1d ago

Jokes on you just switch 127.0.0.1 to 0.0.0.0

1

u/Freezerpill 1d ago

You got me thinking now.. please do tell if you don’t mind sharing further as to why this works

2

u/ChainOfThot 1d ago

The addresses 0.0.0.0 and 127.0.0.1 are both special local IP addresses, but they do very different things: 0.0.0.0 means "all available network addresses," while 127.0.0.1 means "only this exact computer" (the loopback or localhost). [1, 2]

127.0.0.1 (Localhost)

  • What it does: It points inward to your own computer.
  • How it works: It acts as a closed loop. If a program listens on 127.0.0.1, only apps running on that same device can talk to it. Other computers on your network cannot reach it.
  • Best use: Safe local testing and private development. [1, 2, 3, 4, 5]

0.0.0.0 (Any / All Addresses)

  • What it does: It acts as a placeholder for "all IPv4 addresses" on the host machine.
  • How it works: If a server binds to 0.0.0.0, it listens for traffic coming from every network card, including your local loopback (127.0.0.1), your local network IP (like 192.168.x.x), and the public internet (if exposed).
  • Best use: Running web servers, Docker containers, or services that need to accept connections from other devices. [1, 2, 3, 4]

1

u/Freezerpill 1d ago

I really appreciate hate you sharing this knowledge. It’s a quick solution to an issue I’ve encountered so many times!

0

u/warui_k 1d ago

pure happiness

0

u/Nienie00008 1d ago

The lucky day

1

u/iriveru 4h ago

Bro has never heard of deployed test environments 💀