Perhaps the 84 second burn overflowed the integer (2^6) and was caught by a 2^7s check (127s)

    • @14th_cylon@lemm.ee
      link
      fedilink
      611 months ago

      i can see doing one burn that is kind of rough, then evaluating the situation and applying some correction?

    • @Millie@lemm.ee
      link
      fedilink
      English
      311 months ago

      Why do you expect the Russian space program to be using new equipment after the antique show of an invasion in Ukraine?

      • leviosa
        link
        fedilink
        611 months ago

        Every country uses a combination of older and newer equipment in any war. The war propaganda wizards just try to make things like that look unique to Russia.

          • leviosa
            link
            fedilink
            311 months ago

            I would take what our jingoistic media and talking heads say with a very large pinch of salt. It’s quite disrespectful to Ukrainian soldiers to say they’ve been facing an “antique show of an invasion”, not to mention Russian engineers. Propaganda aside, both sides have fought hard in what has been a very modern war.

            • @Millie@lemm.ee
              link
              fedilink
              English
              111 months ago

              I’ve more paid attention to Ukranians’ accounts of events than major media coverage. Lots of pictures of really old tanks being dragged away by farm equipment and other extremely dated supplies being found. If this is anyone’s propaganda it’s Ukraine’s, in which case I’m happy to participate.

              Nobody said it hasn’t been hellish for Ukraine, or that it hasn’t been a hard fight. Even if they were equipped with entirely WW2-era supplies, an invasion is an invasion, and by all accounts this has been a particularly cruel and brutal invasion.

              I really don’t care at all about being fair to Russian engineers at the moment.

              • leviosa
                link
                fedilink
                111 months ago

                If this is anyone’s propaganda it’s Ukraine’s, in which case I’m happy to participate.

                Why is that? It’s a blood bath and we shouldn’t support any propaganda that perpetuates wars.

                • @Millie@lemm.ee
                  link
                  fedilink
                  English
                  111 months ago

                  Uhh, don’t think it’s the propaganda that’s perpetuating the war. That’d be the invasion.

                  Found the Russian sympathizer though.

  • @colonial@lemmy.world
    link
    fedilink
    1911 months ago

    Why in God’s name would you use a 6-bit signed integer for anything on a spacecraft? I know space-certified chips are pretty barebones, but surely not that bare bones…

  • @IWriteDaCode@programming.dev
    link
    fedilink
    12
    edit-2
    11 months ago

    The tweet you link didn’t indicate that. It said that an engine failure likely caused the overrun, running for 127 seconds instead of the planned 84. Why would something have a 2^7 int size check?

    Edit: Quoted

    The head of Roscosmos Yuri Borisov said that the main cause of the #Luna25 crash was an engine failure. Instead of the planned 84 seconds, he worked 127 seconds.

    Am I missing something?

  • You know what this reminds me of? The processing failure that killed Phobos 2 right before it reached Mars.

    As I recall, the craft lost attitude control and didn’t have a safe mood to orient it toward the sun; so it burned through its batteries making adjustments in a few hours. It had two landing probes on board that never got to be used. So, no emergency backup systems. Never heard from it again.

    Of course this was 1989, and most people only had a vague idea what programmers did; but it still feels like a serious and kind of nebulous oversight.

    • athos77
      link
      fedilink
      111 months ago

      Mistakes happen. For example, may I introduce you to NASA’s 125 million dollar Mars Climate Orbiter, which spent most of a year traveling to the Red Planet before ignominiously burning up because a Lockheed Martin programmer decided to write the thruster-firing calculations in Imperial units (feet and pounds) instead of following the specifications to use metric units (meters and kilograms).