| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Tue Nov 11, 2008 6:48 pm Post subject: odd storage idea |
|
|
I've been thinking about compression and how things are stored and
transmitted, and I'm wondering if this would work. Take a video file
(30MB video, anything really) and take its actual binary code value,
and convert it to a base 10 string and store that in a generic text
file. Then, take that string, and convert it to a binary storage
value. It should work, but the string being stored should be
significantly smaller than the original file right? I mean, a file is,
when you break it down, just a giant string of binary code that you
could look at as a single massive number. so, couldn't you save space
when doing backups by using some form of storage where you convert
your files to string text and save a ton of space?
Its just an idea, and I am by no means a storage expert, but I thought
I'd throw that out there because if it could work... why hasn't anyone
done it yet? |
|
| |
|
Back to top |
Willem Guest
|
Posted: Tue Nov 11, 2008 6:53 pm Post subject: Re: odd storage idea |
|
|
Paul.k.Mcdowell@gmail.com wrote:
) I've been thinking about compression and how things are stored and
) transmitted, and I'm wondering if this would work. Take a video file
) (30MB video, anything really) and take its actual binary code value,
) and convert it to a base 10 string and store that in a generic text
) file. Then, take that string, and convert it to a binary storage
) value. It should work, but the string being stored should be
) significantly smaller than the original file right?
Where did you get the idea that it would be smaller ?
SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT |
|
| |
|
Back to top |
Guest
|
Posted: Tue Nov 11, 2008 7:03 pm Post subject: Re: odd storage idea |
|
|
On Nov 11, 12:53 pm, Willem <wil...@stack.nl> wrote:
| Quote: | Paul.k.Mcdow...@gmail.com wrote:
) I've been thinking about compression and how things are stored and
) transmitted, and I'm wondering if this would work. Take a video file
) (30MB video, anything really) and take its actual binary code value,
) and convert it to a base 10 string and store that in a generic text
) file. Then, take that string, and convert it to a binary storage
) value. It should work, but the string being stored should be
) significantly smaller than the original file right?
Where did you get the idea that it would be smaller ?
SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
|
It was an idea really, I didn't know if it would be or not, thats why
I came here to ask and find out from people who would know better than
myself I know file sizes when dealing with just basic text doesn't
change much as you add more and more to them, so I was just thinking
it might be true to say if you take a number and did the same, it
might be smaller. :: shrug :: it could be dumb, but thats why you ask
questions, to find out. |
|
| |
|
Back to top |
Jim Leonard Guest
|
Posted: Tue Nov 11, 2008 7:21 pm Post subject: Re: odd storage idea |
|
|
On Nov 11, 1:03 pm, Paul.k.Mcdow...@gmail.com wrote:
| Quote: | On Nov 11, 12:53 pm, Willem <wil...@stack.nl> wrote:
Paul.k.Mcdow...@gmail.com wrote:
) I've been thinking about compression and how things are stored and
) transmitted, and I'm wondering if this would work. Take a video file
) (30MB video, anything really) and take its actual binary code value,
) and convert it to a base 10 string and store that in a generic text
) file. Then, take that string, and convert it to a binary storage
) value. It should work, but the string being stored should be
) significantly smaller than the original file right?
Where did you get the idea that it would be smaller ?
SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
It was an idea really, I didn't know if it would be or not, thats why
I came here to ask and find out from people who would know better than
myself I know file sizes when dealing with just basic text doesn't
change much as you add more and more to them, so I was just thinking
it might be true to say if you take a number and did the same, it
might be smaller. :: shrug :: it could be dumb, but thats why you ask
questions, to find out.
|
You could have worked this out on your own. Let's take a single byte,
say the value 129, which is made up of the following eight bits:
10000001
Just looking at the above eight characters, *themselves each one
byte*, should have answered this question for you. |
|
| |
|
Back to top |
|