this post was submitted on 15 Jun 2023
58 points (100.0% liked)

Programmer Humor

32383 readers
786 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago
[–] [email protected] 4 points 1 year ago (2 children)

A temporary fix for overloaded lemmy.ml servers, via THAIO (Throw-Hardware-At-It Optimisation)...

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

Nothing more permanent than a temporary solution

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

Sadly there's only one server since Lemmy doesn't support horizontal scaling (hopefully for now only)

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

This sounds like something we need. I'm sure it's much harder to implement than I imagine (I'm not a programmer, just a geek). Lemmy needs more devs.

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

I actually ran a moderately active (like 20,000 hits a day) small business site from a laptop for a couple years. Of course one of the first thing I did was put a "SERVER DO NOT SHUT DOWN" sticker on it, and set the power settings so closing the lid did not shut down or sleep the computer. It was a Dell 7000 series with 16GB IIRC, it did great.

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

Not advertising here, but with this low traffic you could be in a permanent free tier with AWS with all the availability guarantees. It doesn't work with EC2, but for serverless solutions (ApiGateway, Lambda, DynamoDB) they have something like "we start charging after 1M calls per month" (don't quote me on this exact number). I have a couple of pet projects working this way

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

Bro that's the Reddit server.

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

Old shitty laptops make good servers. They have a built-in UPS.

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

I have a minecraft server running on a laptop like this. Sadly I don't have any friends that want to play minecraft right now ):

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

This looks like my old laptop - Lenovo Y510P. Even down to the slight abrasion below the mousepad from the user wearing a watch with a metal band.

It had SLI GPUs in a laptop through the ultra bay. It was a beast for about 20 minutes until the heat built up.

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

Unplug it real quick so we can find out