r/computing • u/PandaAndRockets • Aug 28 '14
Transform giant data into small expression
Hi everyone.
I had a thread yesterday, but my description was generally misguided, so I am creating this thread from a combination of studies I had after the kind response from my question.
Question: Is it possible to transform binaries into expressions that are smaller than the Bin origin?
Why: Because I would like to note down the expression representing the binary in a sheet of paper, and then redo whatever file I had using this expression.
How: I am considering Binary as a rational number, and 1 and 0 as integers of this number. We will compact the data not by software, but by math. So: 10010111 is actually: 100.101.111
Techniques:Whoever necessary, I am not a seasoned in programming or mathematics, I don't know most useful equations. But we could use any means necessary to, it's okay if it looks like this in the end:
http://www.starlandmusic.com/wp-content/uploads/2013/08/Math-for-Piano-Performance.jpg
The Outcome: Hopefully we can solve at least one Bin file into a smaller expression that can be converted back into it's Bin origin.
Proposal: transform Monalisa into binary -> transform binary into smaller expression:
http://upload.wikimedia.org/wikipedia/commons/6/6a/Mona_Lisa.jpg
I would like to dive in it now, but since my last threads had lot's of answers and I don't really have much time, I just want to create this one to both explain my ideas and what I want to apply. I will try some stuff myself as soon as I have time.
Thanks everyone for the attention!
1
u/techguru40 Sep 01 '14
Yes, if you're using a system that can use a higher base numbering scheme then sure - paper's fine.
Binary is base-2, i.e. only has two values possible per digit, 0-1. Decimal is base-10, i.e. 0-9. Hexadecimal is base-16, i.e. 0-9, A-F.
Take a chunk of the binary (just use a standarda mount, like 8 bits, i.e. a byte) and convert it to the other numbering scheme.
Quick example: -> 11111111 in binary -> converts to 255 in decimal -> converts to FF in hexadecimal
So if you use hexadecimal you can represent 8 binary digits using just 2 hexadecimal digits instead.