Thread View: news.software.nntp
10 messages
10 total messages
Started by root
Wed, 22 Jan 2003 02:42
PAR file parts. (is there a better newsgroup?)
Author: root
Date: Wed, 22 Jan 2003 02:42
Date: Wed, 22 Jan 2003 02:42
31 lines
1948 bytes
1948 bytes
Currently, if you have a file, with 3 parts of 3 subparts each, and 1 par, the messages look something like this. Part1 1 2 3 Part2 1 2 3 Part3 1 2 3 Par 1 2 3 Now, we lose some subparts in transit, so it looks like Part1 1 2 3 Part2 1 3 Part3 1 2 Par 2 3 We can no longer recover it by decoding all the parts, then running a PAR program. The first third of parts 1-3 can be recovered without the PAR file. Can the second and third subparts of parts 1-3 be recovered by treating each subpart as a part of a smaller message? Obviously if this is so, this is handy, as it allows lots more subparts to get lost, while still being able to recover the file, reducing requests for reposts. -- http://inquisitor.i.am/ | mailto:inquisitor@i.am | Ian Stirling. ---------------------------+-------------------------+-------------------------- "I am the Emperor, and I want dumplings." - Austrian Emperor, Ferdinand I.
Re: PAR file parts. (is there a better newsgroup?)
Author: Rob Maxwell
Date: Wed, 22 Jan 2003 05:24
Date: Wed, 22 Jan 2003 05:24
48 lines
2408 bytes
2408 bytes
<root@mauve.demon.co.uk> wrote in message news:b0l0e9$ncj$1$8300dec7@news.demon.co.uk... > Currently, if you have a file, with 3 parts of 3 subparts each, and 1 par, > the messages look something like this. > > Part1 1 2 3 > Part2 1 2 3 > Part3 1 2 3 > Par 1 2 3 > > Now, we lose some subparts in transit, so it looks like > > Part1 1 2 3 > Part2 1 3 > Part3 1 2 > Par 2 3 > > We can no longer recover it by decoding all the parts, then running a > PAR program. > > The first third of parts 1-3 can be recovered without the PAR file. > Can the second and third subparts of parts 1-3 be recovered by treating > each subpart as a part of a smaller message? > > Obviously if this is so, this is handy, as it allows lots more subparts > to get lost, while still being able to recover the file, reducing requests > for reposts. As long as you have 1 par file for each broken file you can recover. The missing .p01 file is unimportant in this example as you still have 2 par files to cover your 2 broken rar files. I have actually encountered this before. -Rob > > -- > http://inquisitor.i.am/ | mailto:inquisitor@i.am | Ian Stirling. > ---------------------------+-------------------------+---------------------- ---- > "I am the Emperor, and I want dumplings." - Austrian Emperor, Ferdinand I.
Re: PAR file parts. (is there a better newsgroup?)
Author: Juergen Helbing
Date: Wed, 22 Jan 2003 09:41
Date: Wed, 22 Jan 2003 09:41
52 lines
2374 bytes
2374 bytes
<root@mauve.demon.co.uk> wrote: >Now, we lose some subparts in transit, so it looks like > >Part1 1 2 3 >Part2 1 3 >Part3 1 2 >Par 2 3 It seems that >Par 2 3 means: .P01 2 3 The PAR file itself is very small and does contain just file-information. (YOu dont need the PAR file with FsRaid). >We can no longer recover it by decoding all the parts, then running a >PAR program. Yes, in such cases PAR files do not help. >The first third of parts 1-3 can be recovered without the PAR file. >Can the second and third subparts of parts 1-3 be recovered by treating >each subpart as a part of a smaller message? No - in your case recovery is not possible. Posting a multipart with 9 parts as 3 files plus one p01 file is a bad idea. If someone wants to protect such messages against loss then it is necessary to post NINE smaller part1..part9 plus 3 p01 p02 p03 files. >Obviously if this is so, this is handy, as it allows lots more subparts >to get lost, while still being able to recover the file, reducing requests >for reposts. This problem must be solved by the person which is posting. It cannot be solved on the receiving side. Splitted P01 P02 P03 parity files are a part of the problem. For smaller files it would be better to post them in small RAR parts together with a reasonable amount of PAR files. There is no solution for properly protecting large binaries which are splitted into RAR parts and in multiparts by PAR. As soon as you dont get enough parts+PARs together you'd better not start downloading at all. HTH -- Juergen
Re: PAR file parts. (is there a better newsgroup?)
Author: root
Date: Wed, 22 Jan 2003 15:53
Date: Wed, 22 Jan 2003 15:53
52 lines
3077 bytes
3077 bytes
Juergen Helbing <archiver@i3w.com> wrote: > <root@mauve.demon.co.uk> wrote: > >>Now, we lose some subparts in transit, so it looks like >> >>Part1 1 2 3 >>Part2 1 3 >>Part3 1 2 >>Par 2 3 > > It seems that >Par 2 3 means: .P01 2 3 > The PAR file itself is very small and does contain just > file-information. (YOu dont need the PAR file with FsRaid). > >>We can no longer recover it by decoding all the parts, then running a >>PAR program. > > Yes, in such cases PAR files do not help. > >>The first third of parts 1-3 can be recovered without the PAR file. >>Can the second and third subparts of parts 1-3 be recovered by treating >>each subpart as a part of a smaller message? > > No - in your case recovery is not possible. > > Posting a multipart with 9 parts as 3 files plus one p01 file > is a bad idea. If someone wants to protect such messages > against loss then it is necessary to post NINE smaller part1..part9 > plus 3 p01 p02 p03 files. I should have made it clear that this was a simplified example, it could have been 60 parts of 50 parts each, with 10 par files. <snip> > There is no solution for properly protecting large binaries > which are splitted into RAR parts and in multiparts by PAR. > As soon as you dont get enough parts+PARs together you'd better > not start downloading at all. It was my understanding that this is a limitation of the current tools. From my (limited) look at the encoding of PAR files, it seemed to me that the first byte of the PAR data was completely determined by the first bytes of all of the input files, and the last byte by the last byte. Will have to do more reading. -- http://inquisitor.i.am/ | mailto:inquisitor@i.am | Ian Stirling. ---------------------------+-------------------------+-------------------------- "Give a man a fire, and he's warm for a day. Set him on fire, and he's warm for the rest of his life" -- Terry Pratchett-Jingo
Re: PAR file parts. (is there a better newsgroup?)
Author: Juergen Helbing
Date: Thu, 23 Jan 2003 08:32
Date: Thu, 23 Jan 2003 08:32
43 lines
2416 bytes
2416 bytes
<root@mauve.demon.co.uk> wrote: >I should have made it clear that this was a simplified example, it could >have been 60 parts of 50 parts each, with 10 par files. I know - and the problem stays the same: As soon as the _one_ msg is missing in any RAR or P07 file it is no longer usable. >It was my understanding that this is a limitation of the current tools. No, it is a limitation of the currently used system. It would be better to post a 750 MB video as 1500 RAR files (every RAR file just 500 kBytes) and then posting 50 P01..P50 files. Then EVERY single missing message could be repaired. But unfortunately the currently used PAR files are limited to 256, so the RAR and P## file must be ALSO splitted. And you need complete RAR and/or P## files to repair. >From my (limited) look at the encoding of PAR files, it seemed to me >that the first byte of the PAR data was completely determined >by the first bytes of all of the input files, and the last byte by the >last byte. >Will have to do more reading. It would be the very best if users would _always_ send out all huge binaries in exactly 256 parts (or below) RAR+P## together. Then the "repair" effect would be maximized and the loss of single parts would have the least possible effect. Unfortunatly nobody does this.... AFAIK there is work in progress on the PAR method. Perhaps it would be possible soon to protect "single parts" one day, but it is not scheduled or announced yet. HTH -- Juergen
Re: PAR file parts. (is there a better newsgroup?)
Author: root
Date: Sun, 26 Jan 2003 01:41
Date: Sun, 26 Jan 2003 01:41
34 lines
2432 bytes
2432 bytes
Juergen Helbing <archiver@i3w.com> wrote: > <root@mauve.demon.co.uk> wrote: > >>I should have made it clear that this was a simplified example, it could >>have been 60 parts of 50 parts each, with 10 par files. > > I know - and the problem stays the same: > As soon as the _one_ msg is missing in any RAR or P07 file > it is no longer usable. <snip> > > AFAIK there is work in progress on the PAR method. > Perhaps it would be possible soon to protect "single parts" > one day, but it is not scheduled or announced yet. Oh well, I'll have to do some reading, and see if I can come up with working code. If it did work, it'd be a partial solution. For example, with a 25 part file with 10 PAR files posted in 30 bits each, losing over about 1.5% of the messages will mean that you can't assemble it. The ideal woud be to be able to recover from around 40% of losses, but this isn't possible without a change in encoding. -- http://inquisitor.i.am/ | mailto:inquisitor@i.am | Ian Stirling. ---------------------------+-------------------------+-------------------------- <Squawk> Pieces of eight! <Squawk> Pieces of eight! <Squawk> Pieces of eight! <Squawk> Pieces of eight! <Squawk> Pieces of eight! <Squawk> Pieces of nine! <SYSTEM HALTED: parroty error!>
Re: PAR file parts. (is there a better newsgroup?)
Author: John
Date: Sun, 26 Jan 2003 09:51
Date: Sun, 26 Jan 2003 09:51
34 lines
2893 bytes
2893 bytes
On Sun, 26 Jan 2003 01:41:27 +0000, root wrote: > Juergen Helbing <archiver@i3w.com> wrote: >> <root@mauve.demon.co.uk> wrote: >> >>>I should have made it clear that this was a simplified example, it >>>could have been 60 parts of 50 parts each, with 10 par files. >> >> I know - and the problem stays the same: As soon as the _one_ msg is >> missing in any RAR or P07 file it is no longer usable. > <snip> >> >> AFAIK there is work in progress on the PAR method. Perhaps it would be >> possible soon to protect "single parts" one day, but it is not >> scheduled or announced yet. > > Oh well, I'll have to do some reading, and see if I can come up with > working code. > If it did work, it'd be a partial solution. For example, with a 25 part > file with 10 PAR files posted in 30 bits each, losing over about 1.5% of > the messages will mean that you can't assemble it. The ideal woud be to > be able to recover from around 40% of losses, but this isn't possible > without a change in encoding. I've been thinking about this problem for a few days (I had not seen this discussion, but I had some files with some parts missing) and I've got a "proof-of-concept" program that shows it can be done. I haven't got the time to write a working program, but I'll put the code I've got so far onto a web site somewhere for you to look at. I believe that the people who invented "par" are working on a version 2 that will perhaps solve the problem but has a different file format. My method works with the existing par file format, and uses extra information supplied by the yenc encoding scheme.
Re: PAR file parts. (is there a better newsgroup?)
Author: root
Date: Sun, 26 Jan 2003 10:34
Date: Sun, 26 Jan 2003 10:34
39 lines
2991 bytes
2991 bytes
John <john@pond-weed.com> wrote: > On Sun, 26 Jan 2003 01:41:27 +0000, root wrote: > >> Juergen Helbing <archiver@i3w.com> wrote: >>> <root@mauve.demon.co.uk> wrote: >>> >>>>I should have made it clear that this was a simplified example, it >>>>could have been 60 parts of 50 parts each, with 10 par files. >>> >>> I know - and the problem stays the same: As soon as the _one_ msg is >>> missing in any RAR or P07 file it is no longer usable. >> <snip> >>> >>> AFAIK there is work in progress on the PAR method. Perhaps it would be >>> possible soon to protect "single parts" one day, but it is not >>> scheduled or announced yet. >> >> Oh well, I'll have to do some reading, and see if I can come up with >> working code. >> If it did work, it'd be a partial solution. For example, with a 25 part >> file with 10 PAR files posted in 30 bits each, losing over about 1.5% of >> the messages will mean that you can't assemble it. The ideal woud be to > I've been thinking about this problem for a few days (I had not seen this > discussion, but I had some files with some parts missing) and I've got a > "proof-of-concept" program that shows it can be done. I haven't got the > time to write a working program, but I'll put the code I've got so far > onto a web site somewhere for you to look at. Thanks. Not perfect, but a new par format won't fix already downloaded files, and this band-aid at least helps quite a lot. -- http://inquisitor.i.am/ | mailto:inquisitor@i.am | Ian Stirling. ---------------------------+-------------------------+-------------------------- "Give a man a fire, and he's warm for a day. Set him on fire, and he's warm for the rest of his life" -- Terry Pratchett-Jingo
Re: PAR file parts. (is there a better newsgroup?)
Author: Curt Welch
Date: Mon, 27 Jan 2003 04:52
Date: Mon, 27 Jan 2003 04:52
27 lines
2546 bytes
2546 bytes
<root@mauve.demon.co.uk> wrote: > It was my understanding that this is a limitation of the current tools. > From my (limited) look at the encoding of PAR files, it seemed to me > that the first byte of the PAR data was completely determined > by the first bytes of all of the input files, and the last byte by the > last byte. In theory that will work but the actual par tools used today I believe use extra meta data and are simply not designed set up to work correctly at the article level instead of the "file" level. It's a natural problem that arrises from the two-level approach to splitting a large file into rars/pars and then spliting those into articles. To solve the type of problem you are talking about the par files need to be created per-article-set and not per-file-set and the current tools just don't make that very easy to do. As we have looked at how xBin should work with par files, we have talked about creating par files which match the article sizes so the problem you talk about would not exist. i.e., each par article would be useful on it's own as a free-standarding par file to help replace other missing articles. But this is all just talk and nothing which will help you with your real problems today. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: PAR file parts. (is there a better newsgroup?)
Author: John
Date: Mon, 27 Jan 2003 18:47
Date: Mon, 27 Jan 2003 18:47
10 lines
1863 bytes
1863 bytes
> John <john@pond-weed.com> wrote: >> I've been thinking about this problem for a few days (I had not seen >> this discussion, but I had some files with some parts missing) and I've >> got a "proof-of-concept" program that shows it can be done. I haven't >> got the time to write a working program, but I'll put the code I've got >> so far onto a web site somewhere for you to look at. Sorry about the delay. I've put my proof-of-concept code on http://www.pond-weed.com.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads