this post was submitted on 14 Sep 2023
813 points (98.7% liked)

Programmer Humor

19471 readers
1296 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
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 185 points 1 year ago (2 children)

I love it, because it is not an over exaggeration like it happens most of the time with memes, but actual, real diagram for WordPress.

[–] [email protected] 25 points 1 year ago

I didn’t even notice that, that’s amazing

[–] [email protected] 9 points 1 year ago

Well yeah, but it has little more consideration than just a RPI sitting on your table.

[–] [email protected] 94 points 1 year ago (2 children)

The good news is, based on the diagram looking like it's straight from AWS docs, there's a Cloud formation template for all that.
Bad news, good luck troubleshooting any of it if something breaks

[–] [email protected] 75 points 1 year ago* (last edited 1 year ago) (3 children)

More good news: There are lots of simpler hosts that are more deserving of your money than Jeff Bezos.

[–] [email protected] 16 points 1 year ago (3 children)

Name and shame. I'd love go start a new home project without bezobucks limiting what I can afford.

[–] [email protected] 16 points 1 year ago

Depends on your region and use-cases.

As fellow german I luckily have an answer for smaller projects, where my non-techy mother-in-law hosts her own business wordpress since years without any issues. It's just a simple webhoster with ssh-login.

https://uberspace.de/de/

Best thing: it's pay-what-you-want. My first projects were 1€/mo because i was broke; nowadays I voluntary pay a bit more.

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

I’ve been with digital ocean for more years than I can remember. I love Digital Ocean. Their core product is great, great UI, API, and their new products have been great as well. I’m using their K8s managed install for a year or so now on a product with no issues.

I believe they have 1 click installs for Wordpresss.

Here’s a referral code for $200 over 2 months if anyone wants to try it:

https://m.do.co/c/cb6d78945519

[–] [email protected] 1 points 1 year ago

I adore DO. They offer so many good products beyond VMs these days. Their K8s is cheap and their AppEngine stuff is like baby FarGate, sort of. They even offer server less as well. S3, RDS, NLBs, it's all there 😎

[–] [email protected] 7 points 1 year ago

Hetzner has €2/m webhost plan with Wordpress installer

[–] [email protected] 2 points 1 year ago

Shouln't AWS do this?

[–] [email protected] 52 points 1 year ago (1 children)

Arstechnica runs on WordPress on AWS, and they have a really nice series of articles about it. Sure, you could use just one EC2 instance for everything, but on a high traffic website you would need a bit more.

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

But how many sites really are high traffic?

That's the thing with almost all of the cloud stuff: reasonable at scale, but overcomplicated garbage for 95% of the users.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (3 children)

95%? More like 99.999%, considering how many Wordpress sites are there.

And in many of these 0.001% cases, simple horizontal scaling would do the trick.

And if you need more than that, just use something that can work on the edge.

load more comments (3 replies)
[–] [email protected] 42 points 1 year ago

Gets a $3000 bill because they picked the wrong instance type.

[–] [email protected] 29 points 1 year ago* (last edited 1 year ago) (2 children)

The equivalent of "just configure && make && make install bro, it's super easy"

(it never is)

Edit: Alright, is it just my browser or does lemmy not know how to hand ampersands? Test: && && & &

[–] [email protected] 10 points 1 year ago (3 children)

Do you ever make install for minutes just to have it crash at the end because you missed a completely random C dependency?

[–] [email protected] 5 points 1 year ago

And then you find out you have that dependency but your linker decides to not take it and then you have it but a slightly other version and you decide it's not worth it

[–] [email protected] 3 points 1 year ago

sobs uncontrollably

Uh...I mean...of course not

[–] [email protected] 1 points 1 year ago

No, I use Portage

[–] [email protected] 6 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Could you do that in

``

though?

Oh wait,

4 spaces

./configure && make && make install

Three circumflexes

./configure && make && make install

Edit: nope, doesn't work using the browser interface

[–] [email protected] 2 points 1 year ago

Maybe somebody is paranoid about injections?

[–] quicken 27 points 1 year ago (1 children)

Gotta do that for my blog. It'll score me my next job. Might cost me $300 a month for a blog no one reads.

load more comments (1 replies)
[–] [email protected] 23 points 1 year ago (2 children)

If a basic Wordpress on aws (no load balancers or auto scaling) is all you need… it is super easy to run on aws. Like a few clicks easy. https://aws.amazon.com/lightsail/projects/wordpress/

[–] [email protected] 37 points 1 year ago (3 children)
[–] [email protected] 46 points 1 year ago (1 children)

Because how else do you tick off Cloud presence in your business bingo?

[–] [email protected] 11 points 1 year ago

A fair point.

[–] [email protected] 32 points 1 year ago* (last edited 1 year ago)

You might have too much money and wish to give a large portion of it to Jeff Bezos?

load more comments (1 replies)
[–] [email protected] 13 points 1 year ago

Installing WordPress through a traditional Apache server shared hosting account only requires one click, and you can host as many sites as you want for like $9 per month.

[–] [email protected] 12 points 1 year ago (2 children)

Been out of the game a long time. Is Wordpress still used heavily or are people shifting to other platforms? For all the easy power it had, it always required convincing to do what it wasn't originally intended to do. Dunno if that's still the case but seems it.

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

I had the same impression until recently. It's now evolved into a high end, professional content management system and a ton of very high traffic sites use it. Wired runs on WordPress. Here are some other sites

[–] [email protected] 5 points 1 year ago

Oh yeah, it's used extensively. It's far and away the most popular CMS.

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (2 children)

Last time I tried aws, took me like four hours to figure that I had to borrow another IP address (different than the ip I received when created the instance) in order point it at my domain. Took me a long time find that option in the menu too

Edit:added cohesion and some punctuation.

[–] [email protected] 14 points 1 year ago (2 children)
[–] [email protected] 5 points 1 year ago

The way it's written fits very well with the madness that's AWS, though.

[–] [email protected] 2 points 1 year ago

Sorry,I had just waken up and my lemmy app (jerboa) is terrible when erasing words..got some punctuation erased.

[–] [email protected] 9 points 1 year ago

This is difficult to read.

[–] [email protected] 7 points 1 year ago (1 children)

Why would you need autoscaling for the bastion server?

[–] [email protected] 17 points 1 year ago

Autoscaling isn't only used the grow the number of servers under load, but also to guarantee availability of a fixed number. If the max is set to 1, the bastion host is protected against hardware failure, zone outages, or just you screwing up. Accidentally killed your bastion host? No problem, within a few minutes autoscaling will have provisioned a new one and you're good to go again.

[–] [email protected] 5 points 1 year ago

From my personal experience, AWS is extremely powerful (especially on security and networking). If you cross the learning curve, and know automation or Infrastructure as Code (e.g. Terraform) then it's fast and easy to build almost any architecture.

But yes, it's overkill for a simple website or a simple setup (if one is not familiar with AWS).

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

Just use webinoly baremetal and call it a day

load more comments
view more: next ›