Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-08-2005, 04:25 AM
|
#1
|
Member
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320
Rep:
|
software interest level poll and feedback
what would you think of this: have you ever experienced a 650 MB corrupted download (with MD5 sums not matching). what if someone told you that you could download something like 5 MB and fix your download.
would you like such an utility? if you mantain a repository, would you consider adding 5 MB for every 650 MB file out there?
feedbacks welcomed.
aj.
|
|
|
04-08-2005, 04:46 AM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
That's where P2P is good for, every "piece" of the "thing" you download is checked against corruption
Just to add another bad experience: Downloaded Red-Hat mmm 6? I don't remember, it was on year 1999 using dial-up... as you may guess my download was corrupted! And here where I live, you've to pay for local calls... it was like a month 6 hours per day.. not good :/
As you may guess, it would be nice to have this kind of utility
Unfortunatly there's no magic file since it's imposible to know which part is corrupted unless you check it enterily against the original. Maybe you could download "partial" checksums which could be compared against parts of the file, and if one fails, download that part (like p2p networks.. )
Last edited by gbonvehi; 04-08-2005 at 04:57 AM.
|
|
|
04-08-2005, 04:51 AM
|
#3
|
Member
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320
Original Poster
Rep:
|
Quote:
Originally posted by gbonvehi
Unfortunatly there's no magic file since it's imposible to know which part is corrupted unless you check it enterily against the original.
|
actually there is. it's a very interesting algorithm which is being used currently today especially on sound and data transmission.
i would know how to do this: i'm just asking if you think if this could be interesting
|
|
|
04-08-2005, 07:04 AM
|
#4
|
Member
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265
Rep:
|
If what you say is true, then all you'd need to reconstruct a "broken" 650MB download is a 5MB file. What if I just pretended to download the 650MB, and then used your magic 5MB file to turn a completely empty file into the required 650MB one? All currently existing file compression algorithms would be redundant!
But this isn't true, and cannot be true.
So there's a catch.
What's the catch?
|
|
|
04-08-2005, 07:06 AM
|
#5
|
Member
Registered: Jan 2004
Distribution: Debian etch
Posts: 202
Rep:
|
You can build a correct file if you have more that 1 corupt download but I cant see how a 5 mb file will know which part is corrupted.
|
|
|
04-08-2005, 07:44 AM
|
#6
|
Member
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320
Original Poster
Rep:
|
i invented nothing new, i'm talking about the Reed-Solomon algorithm.
basically with this algorithm (used to create the famous PAR files) you can rebuid parts of the missing data within specific limits.
you cannot of course rebuilt 650 MB from 5MB. but, if you miss, for instance, 2 MB of the 650 MB file (and in bad MD5 sums is often much less than that, just a bunch of bytes), it is enough to have a 2MB PAR file to fill that empty.
and i confirm, this is true whatever 2 MB you are missing in the 650 MB file.
well, still noone answers my question would this be of interest? this IS possible. i just need to know if it does interest anyone.
Last edited by acidjuice; 04-08-2005 at 07:58 AM.
|
|
|
04-08-2005, 08:07 AM
|
#7
|
Member
Registered: Mar 2005
Location: Connecticut/USA
Distribution: Ubuntu 9.04
Posts: 68
Rep:
|
So, I'll be the first to answer. As an end-user (currently my computer is not a repository for such big files), I'm interested.
However the last time I had a corrupted file was when downloading an old version of Mandrake via dial-up, some years ago. As the broadband gets more and more popular around the world, I think files up to 600-700MB are no longer a problem. But if you were able (if not yet) to implement this algorithm for files as big as DVD images, then I think your software will be a success.
|
|
|
04-08-2005, 08:21 AM
|
#8
|
Member
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320
Original Poster
Rep:
|
thanks amwink,
the idea is to have ano size limit, or set it up quite high.
it is no easy task, i'm currently developing it. if someone is interested in contributing just email me, however this is not for the immediate tomorrow.
|
|
|
04-08-2005, 09:16 AM
|
#9
|
Member
Registered: Apr 2005
Location: Russia, Saint-Petersburg
Distribution: Slackware 10
Posts: 109
Rep:
|
I'm now writing such prog as a part of one large program. I think, there must be pattern recognition, addtionally to partial checksums. (may be there'll appera one byte and shift all file - so all checksums'll be inequal. But pattern recognition will recognize this)
|
|
|
04-08-2005, 09:16 AM
|
#10
|
Member
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265
Rep:
|
OK, I think I understand now.
So how much error-correcting code would need to be added to a 650MB download in order to make it correctible by RS?
|
|
|
04-08-2005, 09:24 AM
|
#11
|
Member
Registered: Apr 2005
Location: Russia, Saint-Petersburg
Distribution: Slackware 10
Posts: 109
Rep:
|
There is large theory about that codes. AFAIK, RS code is used for protect bytes. (I don't know good)
|
|
|
04-08-2005, 09:28 AM
|
#12
|
Member
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320
Original Poster
Rep:
|
it's up to human judgement.
i believe that if you perform a full download (which is then found corrupted) you might be missing only some bytes. in this case, a 2 MB file, for instance, is largely enough to cover all errors that the corrupted file has.
Nad0xFF: exactly what are you coding? i want to avoid reinventing the well and duplicating efforts.
|
|
|
04-08-2005, 09:44 AM
|
#13
|
Member
Registered: Apr 2005
Location: Russia, Saint-Petersburg
Distribution: Slackware 10
Posts: 109
Rep:
|
That is part of large solution for my work - find different files very fast and make them "equal"
Acidjuice: You should learn a little about error correcting codes in general, there is very good articles which explain basics very good
|
|
|
04-08-2005, 09:53 AM
|
#14
|
Member
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320
Original Poster
Rep:
|
Quote:
Originally posted by Nad0xFF
You should learn a little about error correcting codes in general, there is very good articles which explain basics very good
|
any links welcomed.
|
|
|
04-08-2005, 09:57 AM
|
#15
|
Member
Registered: Apr 2005
Location: Russia, Saint-Petersburg
Distribution: Slackware 10
Posts: 109
Rep:
|
|
|
|
All times are GMT -5. The time now is 01:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|