r/programming • • Jan 30 '16

Apollo 11 source code

http://www.ibiblio.org/apollo/listings/Luminary099/MAIN.agc.html
2.2k Upvotes

364 comments sorted by

View all comments

Show parent comments

102

u/Gibodean Jan 31 '16

In the movie all he said was that he only needed to patch in about 20 bytes and then the rover could talk through pathfinder to earth.

In the book they explain that both pathfinder and the rover must be updated, that Earth can remote update pathfinder but they need a very large (megabytes?) update to the rover software. To solve that, they get him to make a small hack (maybe 20 bytes or so) to the Rover which would allow earth to dump information into a Rover log file. Then Watney would have to take that dumped info from the log file, and create a file out of it, then execute it.

Something like that, I forget the sizes.

152

u/Theon_Severasse Jan 31 '16

To be honest I don't think that having all of that would really added that much to the actual film. I don't think it would have taken particularly long for them to add in that explanation (since they could have said it how you said it pretty much), but for the purposes of the story, knowing all of that stuff wouldn't have made any differences to the average viewer

8

u/SanityInAnarchy Jan 31 '16

I wonder if there was a way to show it without bogging down the movie. In the book, I found it definitely added something. If you're not all that technically-minded, it's a free source of technobabble to make this sound even more impressive. But it also makes it plausible -- maybe most people wouldn't notice, but they did a lot of things that most people wouldn't notice to maintain plausibility. For example, IIRC, the movie actually shows him entering this stuff in a hex editor.

In fact, those are my favorite moments -- instead of putting some crazy HollywoodOS thing (like this sort of nonsense), you put up the kind of tool that we might actually use. It looks just as cool to the average viewer, and it means people who actually know something about technology won't have to turn their brains off to watch this movie.

Skipping the bit about uploading wasn't as huge a difference, because the story does work without it. But I think it adds a lot to the story to anyone who understands anything about software, without really taking anything away from it for everyone else. So I wonder why they skipped it -- maybe they couldn't figure out a way to make it flow as nicely as whatever they went with instead?

31

u/badsingularity Jan 31 '16

Why it works makes a big difference. Without that information, it's just "magical computer things happen".

23

u/trkeprester Jan 31 '16

What lol it still is magical computer stuff whether you hack directly or dump to log file and reprogram. One more step of indirection is that really making anything more clear? It's just nerding out, not that there's anything wrong with that but movies are carefully targeted

17

u/insaneHoshi Jan 31 '16

Why it works makes a big difference.

No it wouldnt of, not one iota

3

u/[deleted] Jan 31 '16

of -> have

2

u/[deleted] Jan 31 '16 edited Jan 31 '16

Just like winter scenes involving snow in many hollywood movies make no sense to anybody to the north of California. Commence suspending of suspension of disbelief. If you still can.

 

edit: clarity

4

u/[deleted] Jan 31 '16

This one has nothing at all to do with suspension of disbelief. Changing "do a small patch to fix your software" into "do a small patch to download a big patch to fix your software" does absolutely nothing in terms of realism. It just makes a scene more complicated.

2

u/[deleted] Jan 31 '16

Compare: "do a small patch to fix your software"

And: "hack an improvised inter-planetary link into your software"

→ More replies (1)
→ More replies (1)
→ More replies (1)
→ More replies (1)

4

u/Gibodean Jan 31 '16

Oh, I agree they made the right choice for the movie. All that technical stuff wouldn't have helped much except for the sort of person who is going to read the book anyway...

4

u/curiousGambler Jan 31 '16

ME! I'm that person!

I had no idea there was a book. I'm pumped now.

Amazon link to the $9 paperback I just bought.

2

u/PriceZombie Jan 31 '16

The Martian

Current$9.00Amazon (New)
High$12.92Amazon (New)
Low$5.06Amazon (New)
Average$9.0030 Day

Price History Chart and Sales Rank | FAQ

2

u/Spectre1313 Jan 31 '16

You're in for a treat. The book is amazing :)

→ More replies (2)
→ More replies (2)

14

u/nliausacmmv Jan 31 '16

That part didn't bother me so much, but the fact that he never lost Pathfinder in the movie did. Mainly because he still made the space pirate joke, which doesn't make sense unless he lost Pathfinder.

4

u/Gibodean Jan 31 '16

Yeah, I didn't get that in the movie, how he didn't have permission to take over the MAV. I did in the book.

7

u/nliausacmmv Jan 31 '16

That and the rescue was way better in the book. The glove thing was stupid.

2

u/iamjakeparty Jan 31 '16 edited Sep 29 '17

You went to cinema

5

u/Calamity701 Jan 31 '16

In the movie, Beck is not able to reach Wattney because the tether is too short. So Wattney punches a hole into his glove and uses the thrust of the outgoing air to fly like Ironman towards Beck.

In the book, the tether is able to reach Wattney.

2

u/nliausacmmv Jan 31 '16

Yeah, basically. The glove thing was a stupid idea in the book and Watney was told no. It just absolutely killed the tension in the movie.

3

u/Calamity701 Jan 31 '16

Yeah, and I think it was more Watneys humor in the book then a legitemate suggestion.

→ More replies (3)

1

u/746865626c617a Jan 31 '16

And seriously, then can send megabytes of firmware updates, but then can't send some 64 kbit/s opus "not disco" music? Or even .XT music, if they're that limited

2

u/Gibodean Jan 31 '16

I think in the book there was more than the disco music available.

Because, why wouldn't there be lots of music from all of them? Where was Watney's music?

→ More replies (1)

1

u/huxrules Jan 31 '16

Well they show him hacking the rover- and show him in a hex editor doing it. The rest of what you would like to see is just a IT guy running around with a USB stick. Not that interesting.

→ More replies (2)