What if we could store all of human knowledge in a fraction?
Every letter has a number code.
As an example, "create" would be a string of 18 digits.
You could do the same with an entire book, using #'s for markdown.
This digit becomes a decimal which has a an exact fraction.
To read the book, just divide the fraction and decode the decimal.
- Clone the repo
- Open up VSCode/Your IDE
- Run the script
- Use the key to encode a given sentence
- Find a numerator and denominator whose fraction results in the encoded decimal. Theoretically, these two integers could be etched into a metal rod and the notch length would be measured.
- Finally, decode that decimal.
- Python
- Decimal module
- 1hr build
- Terminal interface only
- Does not handle line breaks
- Capitalizes programmatically, so it may not always match inputted content.