Code Conquers Mars
This is a member-only chapter. Log in with your Signal Over Noise membership email to continue.
Log in to readModule 5 · Section 2 of 6
Code Conquers Mars
Picture this: you’ve spent eight years planning a mission to a place so remote that once the spacecraft leaves Earth, there’s no way to intervene. Every decision has to be encoded in advance. The most dangerous phase takes just seven minutes. And by the time you know whether it worked, it’s already over.
That’s what NASA engineers face when landing a rover on Mars. Engineers call it the “Seven Minutes of Terror.”
No Corrections Once It Starts
When you’re playing a video game and your controller stops working, you might throw it in frustration. But imagine your “controller” was trying to land a car-sized robot on another planet — and instead of lag measured in milliseconds, you had a communication delay of up to 24 minutes between pressing a button and seeing the result.
Here’s what makes it genuinely terrifying: by the time mission control on Earth receives the signal that a rover has started its landing sequence, the rover has already been on the Martian surface for seven minutes. It either landed successfully and is taking pictures, or it’s scattered in expensive pieces across the red desert. During those crucial seven minutes, there’s no human input, no real-time adjustments, no “let me try that again.” Everything depends on code written years earlier, tested thousands of times, and trusted completely.
When Code Gets One Attempt
In most work, failure is a step toward success. You try something, it doesn’t work, you adjust. Code breaks, you read the error message, you fix it. You might go through this cycle dozens of times before you get a working result.
Mars landings don’t get do-overs.
The code controlling Entry, Descent, and Landing must execute flawlessly on the first attempt. Every algorithm, every decision tree, every conditional has been scrutinized, simulated, and tested under conditions as close to Mars as possible. Yet when the moment comes, engineers can only watch and trust their work.
This forces a completely different relationship with preparation. Instead of fixing problems after they appear, Mars engineers must anticipate every possible failure and build the solution into the code beforehand. Every error has to be handled before it occurs.
The Dance of Physics, Math, and Trust
Here’s what happens during those seven minutes. The rover, traveling at about 12,000 miles per hour, hits the Martian atmosphere like a meteor. The heat shield must protect delicate instruments while friction slows the spacecraft. Then a parachute deploys — but parachutes alone can’t do the job in Mars’ thin atmosphere.
Finally, in perhaps the most audacious piece of engineering ever attempted, a rocket-powered sky crane lowers the rover on cables before flying away to crash safely in the distance.
Each step depends on sensors detecting the right conditions, computers making split-second calculations, and actuators firing at precisely the right moments. The landing algorithm accounts for wind, atmospheric density, and terrain variations — all predetermined, all encoded, all running without human intervention.
What makes this remarkable is the cumulative precision required. If one sensor gives a bad reading, one calculation is off by a few percentage points, or one motor fires a fraction of a second too late — the entire mission is lost. There’s no trial-and-error. There’s only the algorithm, running exactly as written.
What This Means for How Coders Think
You might wonder what this extreme scenario has to do with everyday work. More than it might seem.
First, the power of thorough testing. Mars teams don’t just test their code — they test it in chambers that simulate Martian atmospheric conditions, on landscapes designed to mimic Martian terrain, with hardware subjected to temperature extremes and radiation. They create testing environments so comprehensive that the actual mission becomes almost anticlimactic.
Second, building resilience in from the start. Rover code doesn’t assume everything will work perfectly. It includes fallback procedures, error handling for scenarios that seem impossibly unlikely, and ways to recover from partial failures. This defensive approach — expecting things to go wrong and planning for them — makes any system more reliable.
Finally, there’s something important about trust. After years of development, testing, and preparation, the engineering teams have to let go. They can’t hover and make last-minute adjustments. They have to believe in the work they’ve done.
When Curiosity landed in 2012 and Perseverance landed in 2021, their success represented what becomes possible when you combine rigorous planning, exhaustive preparation, and the courage to trust the process you’ve built.
From Mars to Your Prompt Window
A prompt is an algorithm sent to Mars: by the time AI executes, you can’t intervene.
This is the most useful way to think about prompting. When you write a prompt and hit send, you’re in the same position as a NASA engineer watching the signal go quiet. The AI is running your instructions. You cannot step in mid-execution. You cannot clarify what you meant. If your instructions are ambiguous, the AI will resolve the ambiguity — using its own defaults, not yours.
The engineers who landed rovers on Mars didn’t rely on “the system will probably figure it out.” They specified exactly what should happen, at each step, under every condition they could anticipate.
That’s the discipline worth bringing to AI: write instructions as if you won’t be there to explain them.
Ask yourself before every prompt: If AI runs this exactly as written, with no ability to ask me a follow-up question, will I get what I actually need? If the answer is no, the prompt needs more work before you send it.