1.3 KiB
1.3 KiB
Binary Math Exercises
Description
A command line application and Python library for generating binary numbers for a human to decode, as well as generating the integers they represent, to check the human's work.
Installation on MacOS or Linux
git clone https://github.com/Averbach-Transcription/email_quoteln -s <repo_fullpath>/app/get_quote /usr/local/bin/- brew install ghostscript (install homebrew if needed)
- brew install enscript
Usage
make_binary_problems <number_of_bits: integer> <number_of_problems: integer>
TODO
- add nice spacing and typography for easy reading
- pdf options
- problem numbers [true]
- number of columns [auto]
- font
- include column labels
- addition
- subtraction
- mult? div?
- hex?
Other Projects That Could Depend On This
- do the problems online/on computer
- a website to serve these up and let people use them for free
- a web API that serves it, so people can do that programmatically
- a snail mail service?
- if there's going to be exercises in the browser,
- parseInt('0101', 2)
- maybe re-implement in Javascript so all computation and rendering is done on the client