this post was submitted on 10 Jan 2025
685 points (96.5% liked)

Programmer Humor

19990 readers
1064 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 2 years ago
MODERATORS
 
top 25 comments
sorted by: hot top controversial new old
[–] tatterdemalion@programming.dev 130 points 1 week ago (1 children)

This would be more believable if Elon paid his cloud bills.

[–] Venator@lemmy.nz 5 points 6 days ago

X is probably still up, so he must be paying some of them

[–] lordnikon@lemmy.world 65 points 1 week ago (2 children)

u7in-32tb.224xlarge's get you every time

[–] AnUnusualRelic@lemmy.world 128 points 1 week ago

That's the name of one of his children, isn't it?

[–] xmunk@sh.itjust.works 46 points 1 week ago (1 children)

But my code runs 3% faster on that instance than a t3.small - it'd be inefficient to use anything else.

[–] IndieSpren@lemmy.blahaj.zone 20 points 1 week ago

An entire 3%!!!? My bad, carry on then.

[–] McLoud@lemm.ee 48 points 1 week ago* (last edited 1 week ago) (3 children)

I saw this on all, and I don't get the joke. Any programmers care to explain in lay terms?

[–] cm0002@lemmy.world 113 points 1 week ago* (last edited 1 week ago) (2 children)

EC2 are cloud based virtual machines, very easy to spin one up exactly as you need it to run whatever.

But they're billed hourly and they get very expensive very very fast especially when you leave it on (the hourly billing is for a machine that's on and running) and have shit tons of resources on it. You can have multiple terabyte RAM machines at the click of a button

[–] McLoud@lemm.ee 24 points 1 week ago (1 children)

Thanka for the detailed explanation!

[–] ysjet@lemmy.world 59 points 1 week ago (2 children)

The other thing they forgot to mention is that getting Amazon to actually tell you what anything will cost, or a breakdown of what your bill is, is like pulling teeth.

[–] cm0002@lemmy.world 12 points 1 week ago (1 children)

Oh good to know, I'm more of a GCP guy myself and it's billing tool isn't too shabby IMO lolol

[–] ysjet@lemmy.world 18 points 1 week ago* (last edited 1 week ago) (2 children)

Amazon's billing tool is the most useless thing I've ever seen lol. it's like "$XYZ of your bill was server compute!" like, there's 40 ec2s, elastic beanstalk instances, fargate, kubernetes, like what the fuck is 'server compute' and what's the breakdown of the actual individual parts?

It's not even unhelpful, it's literally worse than useless lmao

[–] steventhedev@lemmy.world 10 points 1 week ago (1 children)

You can get a full itemized bill. The only thing that isn't fully broken out are elastic ips. We found that out because we were tagging everything for billing and those weren't showing up correctly.

Mind you, it's likely a bit more itemized than you want. Like you'll see a separate line item for each price tier you paid for something, and things like ebs disks are all split out. It can be a bit...much.

[–] ysjet@lemmy.world 5 points 1 week ago (1 children)

I mean, that's kind of my point though. You either get worse than useless, over detailed to the point of useless, or you have to spend weeks pulling hacky crap with tags to try to jury-rig your own useful billing system out of their clusterfuck.

[–] steventhedev@lemmy.world 1 points 1 week ago

I think you're over exaggerating the effort needed for tagging resources. Between terraform/pulumi/cdk and the tag tool, it's relatively easy to make sure everything is tagged. Doubly so if you have a finance department who's literal job is to go through and do that (or ask you for help with it)

[–] blackn1ght@feddit.uk 0 points 1 week ago

You need to use tags on your resources if you want to get a better breakdown of what your more specific resources are costing you.

You can filter by tags in cost explorer.

I presume Google and Microsoft are similarly bad.

[–] smeg@feddit.uk 39 points 1 week ago (1 children)

You can rent cloud machines from Amazon, they can get pretty expensive if you forget about them

[–] McLoud@lemm.ee 9 points 1 week ago

Ahhh, thanks

[–] elgordino@fedia.io 1 points 1 week ago

Amazon charges per hour for renting a server. Some are very expensive. It’s a common mistake to forget to turn off a server after you’ve finished using it and end up paying more than you planned.

[–] ignotum@lemmy.world 28 points 1 week ago* (last edited 1 week ago)

bill of 40 billion dollars shows up
"Oh shit, I'm going to have to work twice as hard for a couple of hours to make that back"
Tweets twice as often

[–] foster@lemmy.fosterhangdaan.com 16 points 1 week ago

In other news: Jeff Bezos is now the richest person in the world.

[–] Lemmysweet@programming.dev 3 points 1 week ago

I don't believe your opinion