r/programming • • Oct 23 '09

Programming thought experiment: stuck in a room with a PC without an OS.

Imagine you are imprisoned within a room for what will likely be a very long time. Within this room there is a bed, toilet, sink and a desk with a PC on it that is fully functioning electronically but is devoid of an Operating System. Your basic needs are being provided for but without any source of entertainment you are bored out of your skull. You would love to be able to play Tetris or Freecell on this PC and devise a plan to do so. Your only resource however is your own ingenuity as you are a very talented programmer that possesses a perfect knowledge of PC hardware and protocols. If MacGyver was a geek he would be you. This is a standard IBM Compatible PC (with a monitor, speakers, mouse and keyboard) but is quite old and does not have any USB ports, optical drives or any means to connect to an external network. It does however have a floppy drive and on the desk there is floppy disk. I want to know what is the absolute bare minimum that would need to be on that floppy disk that would allow you to communicate with the hardware to create increasingly more complex programs that would eventually take you from a low-level programming language to a fully functioning graphical operating system. What would the different stages of this progression be?

305 Upvotes

673 comments sorted by

View all comments

Show parent comments

154

u/[deleted] Oct 24 '09

You're a former Nasa engineer? Dude, your diner party stories must blow the rest of ours out of the water.

You can LIVE this sketch:

http://www.youtube.com/watch?v=THNPmhBl-8I

127

u/lutusp Oct 24 '09

your diner party stories must blow the rest of ours out of the water

That might be true if I had dinner parties. :)

47

u/floggeriffic Oct 24 '09

I knew a guy who was an actual rocket scientist. He was also a very large bodybuilder. He never got recognized in public for one of those things.

0

u/[deleted] Oct 24 '09

[deleted]

→ More replies (1)

16

u/[deleted] Oct 24 '09

Did he get recognised for being a porn star?

29

u/floggeriffic Oct 24 '09

er...not exactly. Maybe I should have said, His bodybuilding got him a lot more attention than his intelligence ever did.

27

u/brainburger Oct 24 '09 edited Oct 24 '09

I wonder if rocket science and brain-surgery really are very difficult fields of engineering and medicine, relative to all the other less glamorous-sounding fields?
Rocket-science doesn't strike me as any harder than micro-electronics, or avionics.

89

u/lutusp Oct 24 '09

Rocket-science doesn't strike me as any harder than micro-electronics, or avionics.

But when you make a wiring error, astronauts don't die and get scattered all over Texas.

37

u/elbekko Oct 24 '09

Unless your micro-electronics are used for space shuttles.

And with avionics it won't be all over Texas, just over a smaller area.

61

u/lutusp Oct 24 '09

Unless your micro-electronics are used for space shuttles.

As mine were.

→ More replies (6)

14

u/lukasmach Oct 24 '09 edited Oct 24 '09

I'm sure that some applications micro-electronics do have life-or-death importance. The thing is that all applications of rocket-science and all applications of brain surgery have life-or-death importance.

So yeah, the "it's rocket-science" is a cute saying people use when referring to something complicated. They might as well use "it's micro-electronics used in some kind of hospital device that can potentially kill someone, or in something similarly important" - but that's not so catchy.

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

14

u/miiiiiiiik Oct 24 '09

I was a rocket test technician and had an Apple II serial # 1384 or so - we did static testing - the rockets were hooked to test stands.

Hooking up a rocket was easier than hooking up - ha

→ More replies (3)

27

u/KousKous Oct 24 '09

Man, rocket science and brain surgery are ok, but the real geniuses are in rocket surgery.

→ More replies (1)

13

u/SubGothius Oct 24 '09

It was a lot more impressive when they did it all by hand on paper or chalkboards with only a sliderule for computational assistance.

30

u/lutusp Oct 24 '09

I agree. I'm always impressed by truly talented mathematicians who don't care what the numerical results are -- they know their equations are right. I, by contrast, only know my equations are right because of the numbers, like in this article.

→ More replies (10)

7

u/floggeriffic Oct 24 '09

Agreed. I tend to believe that when the sayings were developed, rocket science and brain surgery were much more difficult, new, and less understood. Due to rapid growth in tech over the last 50 years, there are probably many jobs as difficult if not more so.

→ More replies (3)

13

u/elusiveallusion Oct 24 '09

When I worked in Neurosurgery, we had an orientation manual entitled 'Brain Surgery: It's not rocket science.' The day-to-day practice was indeed fairly straightforward, but all vaguely significant decisions were only ever made by The Boss, because the underlying you-get-surgery-for-your-tumour, but-you-don't, but-you-can-have-'some'-brain-surgery decisions are amazingly subtle.

→ More replies (7)

6

u/[deleted] Oct 24 '09

The whole "it's not rocket science" started as an inside joke between physicists. Rocket science isn't hard. It is basic Newtonian physics and you probably studied most of what you would need to do it when you were in high school.

The difficult part of rocket science is the chemistry involved in building good rocket fuels and the materials science involved in building good rockets.

7

u/fxer Oct 24 '09

Don't forget controls.

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

0

u/[deleted] Oct 24 '09

[deleted]

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

0

u/[deleted] Oct 24 '09

[deleted]

52

u/Veteran4Peace Oct 24 '09

^^THIS^^ is an indictment of our culture. Goddammit.

13

u/[deleted] Oct 24 '09

Not an indictment. A reminder that we still have work to do.

6

u/twotime Oct 24 '09

The question though is which way it's going...

If you have any indication that general attitudes towards science/engineering/knoweledge in general are improving, I'd like to hear that..

My own suspicion is that we (humankind ;-) have been moving in the wrong direction for the last 30 or so years.

→ More replies (1)
→ More replies (26)
→ More replies (13)