Season 5, Episode 15
Homer and Barney train together at NASA headquarters to determine which one of them will become an astronaut on an important mission. Barney wins but is later excluded when he cannot remain sober, so Homer, along with Race Banyon and second-man-on-the-Moon Buzz Aldrin travel into orbit to determine whether ants can be used to sort tiny screws in space. Naturally Homer causes chaos when he gets acquainted with a packet of ruffled potato chips!
When Homer is in the simulator being spun round in circles there is exquisit moment when he turns into Popeye!
There are references to Planet Of The Apes, Alien and 2001: A Space Odyssey.
See here for more details.
Notes & Screenshots: Lord Heath