by edw519 · 16y ago · 0 comments
2. Put a decimal point in front of this long string. The result will be a rational number between 0 and 1. Call it x.
3. Get a titanium rod exactly 12 inches long.
4. Using a fine laser, etch a line in the rod precisely 12x inches from the end.
5. Done. Precise, durable, elegant, compact, and green.
EDIT: </sarcasm>
Another problem is that any rod etched in this way will have two decodings. :-)
Of course, n bytes can store a number up to 2^(8n), not up to n. Thus, the number we'd be recording has order of magnitude (50 terabytes/bit)×log[2]/log[10] ≈ 1.20e+14, so we'd need to distinguish that many digits after the decimal point.
Conversely, as bayes pointed out (http://news.ycombinator.com/item?id=1585498), if we have a resolution of 10 digits after the decimal point, then we can handle about 10*log[10]/log[2] ≈ 33 bits.
(EDIT: To be clear, it's the same person posting; I just can't stand to wait 154 minutes to correct the error.)
But in ours, where stuff is made of atoms, I can't see you positioning the mark on the rod any more precisely than the width of an atom, which I think is about 10 to the -10 meters. So I'm guessing you could only encode 30 or 40 bits, even with super-advanced etching and measuring equipment.