• GissaMittJobb@lemmy.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    10 hours ago

    Testing in production rules actually. Use feature flags and monitoring and you’re all good

    • eldavi@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 hours ago

      Tags also work well; it’s how I’ve been making hot fixes for that last 3 years. Lol

    • MrScottyTay@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      4
      ·
      1 day ago

      Would be more apt if animals’ physiology was even remotely similar to humans though. Test environments in programming can at least be exact replicas of production environments.

      • usernamesAreTricky@lemmy.ml
        link
        fedilink
        arrow-up
        23
        ·
        1 day ago

        But but it worked on my machine

        In 2004, the FDA estimated that 92 percent of drugs that pass preclinical tests, including “pivotal” animal tests, fail to proceed to the market.More recent analysis suggests that, despite efforts to improve the predictability of animal testing, the failure rate has actually increased and is now closer to 96 percent

        https://pmc.ncbi.nlm.nih.gov/articles/PMC4594046/

        • Telorand@reddthat.com
          link
          fedilink
          arrow-up
          17
          ·
          1 day ago

          That’s actually really good to hear. It really sucks that the animal component is almost pointless, and it seems to be more unethical to include them in the testing process, but it’s good to hear that at least the safety guardrails were working in the past.

          Seems we just need to rethink how to ethically test on humans from the start, though I worry about letting the current people in charge execute that plan.

          • HiddenLayer555@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            19 hours ago

            Hopefully it also means animal testing isn’t actually that important and can be easily phased out for alternatives.

          • usernamesAreTricky@lemmy.ml
            link
            fedilink
            arrow-up
            8
            ·
            edit-2
            1 day ago

            The good news is that some progress has been made in the US. The semi-recent (2022) FDA modernization act 2.0 removes mandates for animal testing in law and allows other testing methods to be used instead

            There’s another bill (FDA modernization act 3.0) that was just reintroduced a few days ago to not just allow the FDA to use non-animal testing, but to require that the FDA start actually working to allow it and setup pathways, rules, requirements, etc. And prioritize the review of drugs done via approved non-animal testing

            It includes various reporting, safety, etc. requirements laid out so it wouldn’t just be handing it blindly to the current admin

            The 2.0 act was suprisingly bipartisan, so it’s not a given that the 3.0 act would be doomed. Call your house representative and senators to make sure it gets through!

        • MrScottyTay@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          6
          ·
          1 day ago

          There’s actual medication that was tested on animals that was completely fine then when it got approved it was given to human women and caused crazy amounts of miscarriages. Different species are not comparable when it comes to medication, testing on animals is almost completely pointless.

        • Carighan Maconar@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          5
          ·
          1 day ago

          It sometimes feels as if the medical and scientific knowledge of people who are hardline against animal testing at all is exactly that and only that thinking, yes.

  • zqwzzle@lemmy.ca
    link
    fedilink
    English
    arrow-up
    44
    ·
    1 day ago

    Paraphrased: everyone has a production environment, if you’re lucky you have a test environment too.

    • IMALlama@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      7 hours ago

      We have a test environment but it’s a hot mess. All the data is made up and extremely low quality. All the things you would normally interface with are also in test, but getting other teams to coordinate testing in the test space is… a chore. We do the best we can with mock services, but without having real services or representative data some of the data pattern assumptions don’t play out. Leaders value writing code and our lack of architects that span teams mean that when team architects either don’t meet ahead of time, make assumptions, or don’t ever agree on a design then…

      We always host UAT. We also track logins. Guess how many users even show up for UAT, let alone actually click on anything.

      This is why the vast majority of our testing happens in prod when our users are doing real work.

      Sorry for the baby rant :)

    • Ajen@sh.itjust.works
      link
      fedilink
      arrow-up
      15
      ·
      1 day ago

      Not entirely true… If you write libraries for other developers you can use them as beta testers. Your customers have a production environment, but you don’t. At least, that’s what one of our vendors seems to think…

    • naeap@sopuli.xyz
      link
      fedilink
      arrow-up
      9
      ·
      1 day ago

      Looking at the error reports and the user input logs, a rabbit couldn’t do worse…

      • hope@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        1 day ago

        This is a real incident ticket I saw:

        Subject: “broken” Description: “website down”

        Given that the website was in fact not down, and they included no details, and they must have been filing it on behalf of someone else as their user-id didn’t have an account at all (it is an internal corporate product), this was a real head scratcher.

        • naeap@sopuli.xyz
          link
          fedilink
          arrow-up
          5
          ·
          1 day ago

          Yeah, error reports seem to be some esoteric concept for some people…

          I’m obviously doing the IT stuff for my family (although in the last years, I got out by saying, I’m doing Linux exclusively). So once I got a hysterical call, that the laptop is dead and nothing is working anymore.
          So stupid me rushed over, just to find out that they just couldn’t receive emails, because their provider had a problem.

          In my book, if a laptop is dead, there isn’t anything on the screen anymore - best case some BIOS stuff is happening.

          I started to switch people over to Linux, at least the next generation and my near surroundings, and decline now most things on windows (or smartphones), because I officially haven’t worked with those operating systems since years, and all I do is just searching around and reading things, they could’ve done themselves, if they wouldn’t be too lazy to read.
          I’m all open for people who are lost and need help, but then they mustn’t treat me like a fucking employee. I’m here to help you to solve your problems next time yourself, else my work here has no point.

      • TORFdot0@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 day ago

        Yeah right. The idiom is a thousand monkeys with typewriters could eventually produce the entire works of Shakespeare, not end users.

    • Grtz78@feddit.org
      link
      fedilink
      Deutsch
      arrow-up
      1
      ·
      11 hours ago

      My company needs a new sign to hang outside on the building. Let me see if I can get this past the head of marketing…

  • Carighan Maconar@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 day ago

    Always test in production!

    Extra environments cost money. Testers cost money. Users pay to use your software and test it for free!