• 0 Posts
  • 73 Comments
Joined 1 year ago
cake
Cake day: July 9th, 2023

help-circle






  • I really enjoy programming, but generally I dislike cooking. I just want to eat, not spend time preparing to eat.

    My experience with cooking has been that because I don’t do it enough, I’m constantly dealing with food expiration dates and having to plan carefully around them.

    In comparison, I’ve got some servers that have been running maintenance free for 5+ years. (Probably not the most secure thing, but meh, I don’t have customers other than myself)

    I think programmers often have hobbies that are more physical though. For me, I like working on my car because turning bolts and working with my hands lets my brain turn off for a while. I could see cooking and following a recipe being in the same category for others.


  • I already had a server running docker, so throwing a few more containers in was trivial. There’s a docker-compose.yml published in the lemmy repo.

    Since my server was already running and had free space, it was literally free, but if you’re starting from scratch there’s more to consider.

    I’ve been self-hosting for over a year now, and the storage does add up. The postgres DB is 11GB, and pictrs service is getting bigger at 29GB. Between all the different services, it can eat up a decent bit of CPU. My (admittedly 10 year old CPU) sits at a load average of 1.9, so you’ll probably want 3 or 4 cores minimum. And based on my stats, 4GB of ram should be just enough to keep everything loaded.








  • It really depends on what you’re measuring. Good luck measuring the distance from a corner if you can’t get 0 to touch the end.

    Tape measures are almost always designed with this in mind, so you can hook the end over an edge, or butt it up against something and the measurement will be accurate both ways, since the metal end can slide in or out by just the right amount.