John Carlos Baez on Nostr: The Voyager 1 and 2 spacecraft sent back hundreds of color pictures as they flew by ...
The Voyager 1 and 2 spacecraft sent back hundreds of color pictures as they flew by Jupiter and Saturn. But they could only transmit 14 kilobytes per second! So they used a highly efficient error-correcting code: the Golay code.
This is a 24-bit code. The first 12 bits convey the message, and the rest are computed from those. Up to 3 of the 24 bits can be wrong and you can still figure out what was intended! Up to 7 can be wrong and you can still know there was an error!
This image by npub1t76as6gjr7pzg0taz40e55smjjegmj89ud7g056aqed90hs7cynspe4l63 (npub1t76…4l63) shows how it works. This shape, an icosahedron, has 12 vertices. There are also 12 pentagons inside this shape. Your first 12 bits say which pentagons to light up. 0 means "leave it dark" and 1 means "light it up". Your second 12 bits say which vertices to light up!
The second 12 bits are computed from the first 12 using this trick:
If you light up a single pentagon, then you only light up the vertices that don't contain that pentagon! What if you light up a bunch of pentagons? Then you use addition mod 2. You work out which vertices get lit up for each pentagon you light up. You think of those results as 12-bit strings. Then you add them up mod 2.
The last part may sound complicated, but it's a common trick, called a "linear code". What's special about the Golay code is its connection to the icosahedron. This gives it remarkable features, which I explain here:
{
"id":"5ec65288404fea2cf3c7fbe251eca766be968f4de86543ef17cb2e4e4e5fd86d",
"pubkey":"f7346eb283902ada9d21c109a93e83128d9f87d8fcfe70ad819b3bf2ad9bce16",
"created_at":1691396255,
"kind":1,
"tags": [
[
"p",
"5fb5d869121f82243d7d155f9a521b94b28dc8e5e37c87d35d065a57de1ec127",
"wss://relay.mostr.pub"
],
[
"p",
"0037e9f1404aa866c76ed1358206ac5387eb2d3589361a3802af0f260bda26d7",
"wss://relay.mostr.pub"
],
[
"proxy",
"https://mathstodon.xyz/users/johncarlosbaez/statuses/110847344994751841",
"activitypub"
]
],
"content":"The Voyager 1 and 2 spacecraft sent back hundreds of color pictures as they flew by Jupiter and Saturn. But they could only transmit 14 kilobytes per second! So they used a highly efficient error-correcting code: the Golay code.\n\nThis is a 24-bit code. The first 12 bits convey the message, and the rest are computed from those. Up to 3 of the 24 bits can be wrong and you can still figure out what was intended! Up to 7 can be wrong and you can still know there was an error!\n\nThis image by nostr:npub1t76as6gjr7pzg0taz40e55smjjegmj89ud7g056aqed90hs7cynspe4l63 shows how it works. This shape, an icosahedron, has 12 vertices. There are also 12 pentagons inside this shape. Your first 12 bits say which pentagons to light up. 0 means \"leave it dark\" and 1 means \"light it up\". Your second 12 bits say which vertices to light up! \n\nThe second 12 bits are computed from the first 12 using this trick:\n\nIf you light up a single pentagon, then you only light up the vertices that don't contain that pentagon! What if you light up a bunch of pentagons? Then you use addition mod 2. You work out which vertices get lit up for each pentagon you light up. You think of those results as 12-bit strings. Then you add them up mod 2. \n\nThe last part may sound complicated, but it's a common trick, called a \"linear code\". What's special about the Golay code is its connection to the icosahedron. This gives it remarkable features, which I explain here:\n\nhttps://blogs.ams.org/visualinsight/2015/12/01/golay-code/\n\nI need to learn more about the other codes used by the Voyagers!\n\nhttps://media.mathstodon.xyz/media_attachments/files/110/847/250/194/933/281/original/963ff8a0ab0456b3.mp4",
"sig":"914f6ec50fdd349b92b041105114c19fa2a571c27ae4c75eeb08112cdfa523364a5e4225d0f28c9c3b15affdd8c838882d07b934bff14fcf176bcca066da70e3"
}