• camr_on@lemmy.world
      link
      fedilink
      arrow-up
      39
      ·
      12 天前

      One of my friends had a production machine go down bc someone apparently left vim running on a log file all night. Took up over 300gb of ram by the morning. Apparently they got rid of session timeouts because devs were sick of having to log back in

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      12 天前

      I once interviewed at a company that bragged about not using version control or FTP, and how everyone made their changes in production.

      ~I’m so very glad I didn’t get that job.~

      • JcbAzPx@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        12 天前

        Dev is too expensive. Just don’t make mistakes…

        At least we had backup data for all the times we had to rebuild from bare metal.

  • mesa@piefed.social
    link
    fedilink
    English
    arrow-up
    23
    ·
    12 天前

    Except when you have to make iOS/Windows/Linux specific instructions to get it working haha.

    We have the joke at work where it almost works all the time. As long as the base OS is the same. Also random updates to libraries that break the docker container. But thats less on Docker and more on base OS images that are provided (im looking at you Ubuntu and your “new” sudo…).

    • Whelks_chance@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      12 天前

      And the discussion on whether or not to pin versions.

      Pinned, these packages work together, but don’t automatically pull in security updates.

      Don’t pin, things randomly change on each build, best of luck debugging things.

      • mesa@piefed.social
        link
        fedilink
        English
        arrow-up
        8
        ·
        12 天前

        Oh yeah those are fun. Ive come across projects just 6 months after creation that cant work if they have a small version update. So it just sits there for a LONG time before a senior dev (mostly me) decides to get grumpy and fix the dang thing.

        CI/CD builds can help…but you have to have someone keep an eye out for potential issues and, in best case, have a development deploy actually test the dang things.

      • kionay@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        12 天前

        I had success running unit tests for software deployments in pairs, one with pinned versions (error on a failed build) and one unpinned (warning on a failed build)

        so at least you get forewarning when an upstream dependency messes everything up, and if the software changes are somewhat regular than each log of pipeline runs should show incremental changes making it easier to spot the package that started breaking everything

      • mesa@piefed.social
        link
        fedilink
        English
        arrow-up
        13
        ·
        edit-2
        12 天前

        Its a good question.

        This bit me when we tried to use it via a beta build: https://www.omgubuntu.co.uk/2025/05/ubuntu-25-10-rust-sudo-rs-change

        Ubuntu is removing core utils and replacing them with supposedly plug and play replacements that work exactly the same. In practice its already breaking some builds ( https://www.phoronix.com/news/Ubuntu-25.10-Coreutils-Makeself ), which is unfortunate. I dont care if core utils are rust or not to be honest. But I DO want things to be rock solid stable in our environment.

        There are MANY articles on techrights.org on rust and Microsoft as well, but I don’t know enough about the subject to verify any of the claims other than Microsoft seems to have a interest in getting people to use rust more. They are one of their biggest backers. And it would be unfortunate if yet another open source project becomes…influenced by MS and their needs.

        • Theoriginalthon@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          12 天前

          If I had to guess it’s because Microsoft wants the memory protections that rust gives. Which would make windows more stable and less hackable? Meaning more money

          • ripcord@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            12 天前

            I mean, I guess it’s more money if it’s better. But turning the goal of being more stable and less hackable into something insidious seems weird.

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    12 天前

    I swear every time I work with docker I’ve got to check the manual. It’s got some of the least intuitive commands.

  • unphazed@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    12 天前

    As an OMV user, most of my time starting a container is troubleshooting the compose syntax (delete tabs, replace with spaces, is it " or ’ ?) I recently discovered that some containers create a user by default with no way of specifying another user and since it’s a container it doesn’t register to the host, meaning that setting file permissions and accessing via smb is oh so much joy. But every struggle is a new fount of knowledge.

    • chunkystyles@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      5
      ·
      12 天前

      User permissions is my biggest gripe with containers. Most other things are so easy once you get the hang of them.

      Lord help you if you want to use a non root user in the container and mount any volumes to it.

      • unphazed@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        12 天前

        And it was all over setting up kiwix for me. It now overshadows Paperless in complexity. Now I need to find more things to play with, with no intention of using them for anything other than learning.

        • MaggiWuerze@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          12 天前

          What’s your issue with paperless? Assuming its PaperlessNGX it shouldn’t be more than a simple compose

          • unphazed@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            12 天前

            It was my 3rd ever container and I’m still learning the wonderful world of Linux by doing stuff (I’m using Bazzite on main pc, but it’s locked and so not a whole hella lot I can fiddle with) And it was the first compose that wasn’t just copy paste edit for me.