• 0 Posts
  • 186 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle


  • I’m just using Unraid for the server, after many iterations (PhotonOS, VMware, baremetal Windows Server, …). After many OSes, partial and complete hardware replacements, and general problems, I gave up trying to manage the base server too much. Backups are generally good enough if hardware fails or I break something.

    The other side of this is that I’ve moved to having very, very little config on the server itself. Virtually everything of value is in a docker container with a single (admittedly way too large) docker compose file that describes all the services.

    I think this is the ideal way for how I use a home server. Your mileage might vary, but I’ve learned the hard way that it’s really hard to maintain a server over the very long term and not also marry yourself to the specific hardware and OS configuration.




  • Serious answer:

    If the internet didn’t exist, I’d be peer pressured into following whatever norms are followed by all the people in my physical surrounding. I’d take my cues from what my parents and family and classmates told me were “right” and I wouldn’t question outside it.

    I’d probably spend more time “socializing”, which as an introvert would exhaust me. But I wouldn’t know any different, so it would just be The Way It Is.

    But you asked if my social life would be “better”, and better is hard to define. Better for… general community compliance? Probably. Better for my general mental health? Probably not.

    I like spending 15 minutes catching up on my Lenny communities and reading what you degenerate fucks are up to. I am less excited about “going out with friends” every night and “doing something”.







  • I found code that calculated a single column in an HTML table. It was “last record created on”.

    The algorithm was basically:

    foreach account group
      foreach account in each account group
        foreach record in account.records
          if record.date > maxdate
            max = maxdate
    

    It basically loaded every database record (the basic unit of record in this DATA COLLECTION SYSTEM) to find the newest one.

    Customers couldn’t understand why the page took a minute to load.

    It was easily replaced with a SQL query to get the max and it dropped down to a few ms.

    The code was so hilariously stupid I left it commented out in the code so future developers could understand who built what they are maintaining.