this post was submitted on 05 Mar 2024
659 points (98.7% liked)

Programmer Humor

19661 readers
295 users here now

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

founded 1 year ago
MODERATORS
 
all 47 comments
sorted by: hot top controversial new old
[–] [email protected] 97 points 8 months ago (2 children)

Autoscaling for personal projects is just a tool to turn random DDOS into personal bankruptcy.

[–] Kissaki 60 points 8 months ago

I scale by dropping requests

[–] [email protected] 22 points 8 months ago (3 children)

I don't understand how anyone uses a paid API for a personal project. I looked hard into MS, Google and Amazon a few years ago for a project and couldn't find anywhere where you could hard block services to never ever go above the free tier.

Considering that I'll build a project and forget about it for years, putting in my credit card into a cloud service was a guaranteed gigantic bill sometime in the future when things went wrong. (Over your life, something is guaranteed to go wrong.)

[–] [email protected] 10 points 8 months ago

Oracle cloud will stop things if it goes out of the free tier.

[–] [email protected] 5 points 8 months ago

to answer your question you can with budgets under cost explorer and running everything as a cloudformation template

[–] [email protected] 3 points 8 months ago (2 children)

Have you heard of virtual debit cards? You can't charge what's not there.

Also, at least AWS will in fact send you an email when you approach the end of free tour usage.

Having said all that, most devs can host the few hundred visits they might get over a month with a $200 home server and a free CloudFlare cache if they know what they're doing.

[–] [email protected] 13 points 8 months ago* (last edited 8 months ago)

Have you heard of virtual debit cards?

I tried one and it didn't work. Reading about it said they block those.

I don't need an email. I need it to stop instantly. In the time it takes me to notice an email, I could have hundreds of dollars in charges.

[–] kogasa 9 points 8 months ago* (last edited 8 months ago)

All cloud providers will support budget notifications. That doesn't do much good when you shoot past the budget in a short timespan. I set a Google cloud budget of $20/month and enabled a Tensorboard instance, which had no observable indication that it cost anything except the base cost of the VM, and got notified that I was $280 over budget the next day. Apparently there was an upfront $300/month/user fee for Tensorboard. (Several months later they changed the pricing model to $10 GiB/month with no user fee.)

[–] [email protected] 30 points 8 months ago (2 children)

I'm the opposite. I build things using the YOLO practice, then refactor to scale if my shit becomes popular :D

[–] TrumpetX 5 points 8 months ago (1 children)

I think you meant YAGNI, but I dunno, YOLO might be a legit strategy for you too ;)

[–] [email protected] 1 points 8 months ago

YAGNI

At an abstract level, sure. But no, I mostly meant I just start coding and see where it takes me :D

[–] [email protected] 1 points 8 months ago

And it clearly works, considering I personally know like 3 projects you made!

[–] [email protected] 27 points 8 months ago (1 children)

On behalf of /c/selfhosted we resent this image

[–] [email protected] 4 points 8 months ago (1 children)

What in there are you doing in your self-hosted environment?

They are all way too much work for no gain at all. Arguably useful if you have enough scale, but even then it's arguably.

[–] [email protected] 6 points 8 months ago

None of those specifically, but after you have a virtualization host your flock tends to grow pretty quickly. More that I'm hosting big multi-user things like nextcloud for a single user.

[–] [email protected] 25 points 8 months ago (1 children)

Hey, not fair. It’s one user, ok? I mean, that’s me, but still

[–] Kissaki 15 points 8 months ago (2 children)

Webcrawlers count as users too, right?

[–] [email protected] 6 points 8 months ago

So... Me and the Google bot. I still don't know how to convince the Bing bot the thing exists.

[–] [email protected] 1 points 8 months ago

Only if you let them

[–] [email protected] 20 points 8 months ago (2 children)
[–] [email protected] 12 points 8 months ago (1 children)
[–] [email protected] 5 points 8 months ago (1 children)

Tuesday is coming... did you bring your coat?

[–] [email protected] 4 points 8 months ago (1 children)
[–] [email protected] 4 points 8 months ago

For the love of god! My anus is bleeding! (-Yay! Hooray!-)

[–] [email protected] 6 points 8 months ago (3 children)

Insert dick!

This is a reference I'm wondering anyone would get please let me know if you do

[–] [email protected] 3 points 8 months ago (1 children)

Surgeon simulator. The funniest video ever

[–] [email protected] 3 points 8 months ago

That video sent me back in the day

[–] [email protected] 2 points 8 months ago
[–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

Sorry/your welcome.

Edit: I misread your comment. facepalm
W.e I'm leaving the link to Rejected.

[–] [email protected] 12 points 8 months ago (2 children)
[–] Deebster 12 points 8 months ago* (last edited 8 months ago) (1 children)
[–] [email protected] 3 points 8 months ago

I can hear this gif

[–] [email protected] 1 points 8 months ago

My rectum is bleeding.

[–] [email protected] 10 points 8 months ago (1 children)

But you're prepared for when it gets big! It's inevitable!

[–] [email protected] 1 points 8 months ago

Just one more round of funding and then…

That’s the Reddit strategy of platform development.

[–] tatterdemalion 8 points 8 months ago

Yea except serverless you pay for usage, so if you have zero users, it's free! Just make sure you put a hard limit on autoscaling.

[–] [email protected] 6 points 8 months ago

I used to build things this way for a learning experience, because I knew it would be valuable on some job later.

But these days when I work with aws every day, I go for simple, cheap solutions outside of aws for private projects.

[–] [email protected] 5 points 8 months ago

Implying I know how to do any of this

[–] [email protected] 5 points 8 months ago

vaporware vs ransomware

[–] [email protected] 3 points 8 months ago

But those are th3 fun parts!

[–] [email protected] 2 points 8 months ago

why is it that every time i become more of a linux user, things only seem to get worse around me? Is this how linux works?

[–] LinearArray 2 points 8 months ago

Put everything in one app

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

Hey, it's for practising!