In the 1940s, Richard Hamming often lost his work when the Bell V computer failed to read his programs
correctly, so he developed
error-correcting codes
to handle frequent computer errors. Since then,
Golay codes corrected
Voyager's images from Saturn, and other error-correcting codes are used for Internet traffic and cell phone conversations. The code here is
the (7,4) Hamming Code. In a
correct code, the first three and last three bits are either the same or exact opposites,
depending on whether the first four bits have an even or odd parity. In the animation below, the top row is a transmission,
the middle row is the possible error, and the bottom row is the corrected code.