🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63925

Re: xBin and PARity files

#63925
From: Rene
Date: Thu, 06 Feb 2003 23:46
45 lines
3209 bytes
curt@kcwc.com (Curt Welch) wrote:

(I'm also replying a bit out of order, sorry)

> Or, maybe the par posting code has to be so complex and general purpose
> anyway that it can take any strange description of missing data from
> multiple repost requests and tend to generate a strange mix of par and
> "real" data files all the time so none of my concerns is really relevent?
> :)

Yep, I thought about something like that. Its not even that complicated.
- collect repost requests
- "line them up" (overlay where applicable)
- then scan the imaginary band with gaps from left to right. Seek small
(however that is defined) gaps. "Fix" them with reposts. - For any
remaining gap, prepare for PAR creation and look up how many gaps one PAR
can fix (especially when a PAR is region dependent). Repeat until all gaps
are fixed.

Optimisation: Once it is known where PARs are going to be created, try to
  remove  some reposts and see if they can be dealt with PARs at the same
  time.

> The software then combines all those requests together and ends up with a
> bunch of data that needs to be reposted.  Then it uses an internal
> algorithm to figure out the minimum amount of data that can be posted to
> fill all the requests using a strange combination of PAR files and data
> files with the PAR files having block alignments that seem to have
> nothing to do with either of the orginal posts.  If PAR data is always

Yep. The problem we are having is, that article size and therefor any
PAR-alignment is unpredictable. If there is only one poster then it is more
or less clear, however xBin has the power to combine a file from any source
anywhere so the chances are quite high that any assumption about article
size and par-alignment will fail.

> generated by a complex algorithm like that, then it makes no difference
> how the stuff is first posted so why not use the file leveling technique.

Yes, go with that. We don't have any influence about alignment anyway.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Technical Details
Message-ID: <20030206184623.613$kE@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <20021230133312.202$K5@newsreader.com> <20021230171837.399$Im@newsreader.com> <20030103212914.998$3s@newsreader.com> <20030130214337.749$eF@newsreader.com> <1ry951werx.fsf@vingodur.ifi.uio.no> <20030202192320.152$Sn@newsreader.com> <1ry94vo843.fsf@vingodur.ifi.uio.no> <20030204210357.038$Rw@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <20030206184623.613$kE@newsreader.com>
Subject: Re: xBin and PARity files
Date: Thu, 06 Feb 2003 23:46:23 +0000
From: Rene <invalid@email.addr>
References: <20021230133312.202$K5@newsreader.com> <20021230171837.399$Im@newsreader.com> <20030103212914.998$3s@newsreader.com> <20030130214337.749$eF@newsreader.com> <1ry951werx.fsf@vingodur.ifi.uio.no> <20030202192320.152$Sn@newsreader.com> <1ry94vo843.fsf@vingodur.ifi.uio.no> <20030204210357.038$Rw@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com Subscriber
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com IAXocOriYULisdnfm2C19SdM86BCk-Z8c0RLiF_@ojAplQ,
Lines: 44