Article View: news.software.nntp
Article #60758Re: [FNTP] 'in-completeness'
From: Curt Welch
Date: Sat, 28 Sep 2002 16:42
Date: Sat, 28 Sep 2002 16:42
64 lines
4287 bytes
4287 bytes
Kjetil Torgrim Homme <kjetilho@ifi.uio.no> wrote: > my proposal: > > <offset'part-size'total-size'id-left@id-right.nntpbin> Yes, that's heading towards the right direction. We discussed that at some point in the last year and I had created what I thought was a workable Message-ID format. The other thing that would be helpful to put in is small hash of the file contents. Not long enough to identify the file (that would make the Message-Id just too long) but one which was long enough to greatly narrow down the number of articles to search when trying to match up parts, or when trying to spot a re-post a file which you had missing segments for. A large hash would be included in the headers so for any article which looked like it might be the segment which was needed, the newsreader could download the full header and see if the file hash matched. The small hash in the Message-ID would greatly reduce the number of full HEADs that had to be done to identify articles. > offset, part-size and total-size should be represented in hexadecimal > (without any prefix like "0x") to make it easy to code and understand, > while keeping it slightly more efficient spacewise than decimal. the > sizes and offsets should refer to the _unencoded_ data. id-left and > id-right are as defined in RFC 2822. nntpbin is a text constant. > > if the partsize is (relatively) constant, it's easy to work out how > many parts there are in total, and which part number this is. you > only have a problem if the tail part is smaller than the others, and > there is no reason it should. Well, it's an estimate at best because there are different ways to split up a file. For example, a 31 byte file could be broken into size of 5 and 4 bytes each like this: 5 5 5 4 4 4 4 or 5 and 1 byte files like this: 5 5 5 5 5 5 1 The first way is better, but when looking at a single segment, it's complex to know for sure how it's divided up because there are other options than these. More imporant is the stimple fact you don't give a shit about the part count or the part number if you have offset and size information. For backward compatibility, part counts can be used in the subject for newsreaders matching up articles by the subject, but for newsreaders that knew how to use the information in the Message-ID, they would ignore the subject. If people match articles by hand, part counts are very useful, trying to comprend offset and size data would be a real bitch. But the point is that you want the computer to do this for you, and for the computer, offset and size is what makes it easy. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20020928124251.046$Da@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!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.nyc.globix.net!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!newshosting.com!news-xfer1.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <3147e.o92204@archiver.winews.net> <20020924234811.264$g2@newsreader.com> <15518.p9220c@archiver.winews.net> <20020926003453.621$EG@newsreader.com> <38427.r92204@archiver.winews.net> <1rofajcuom.fsf@vingodur.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <20020928124251.046$Da@newsreader.com>
Subject: Re: [FNTP] 'in-completeness'
Date: Sat, 28 Sep 2002 16:42:51 +0000
From: curt@kcwc.com (Curt Welch)
References: <58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <3147e.o92204@archiver.winews.net> <20020924234811.264$g2@newsreader.com> <15518.p9220c@archiver.winews.net> <20020926003453.621$EG@newsreader.com> <38427.r92204@archiver.winews.net> <1rofajcuom.fsf@vingodur.ifi.uio.no>
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!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.nyc.globix.net!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!newshosting.com!news-xfer1.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com NfMbZq0SKYPGRzIanW9Q0GMi8SLBkgXILC-Ylpfw8_8Mfxnewl
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 63