🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63765

Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))

#63765
From: J.B. Moreno
Date: Fri, 31 Jan 2003 22:24
70 lines
5201 bytes
In article <1rwuklt8nb.fsf@vingodur.ifi.uio.no>, 
 Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:

> [J.B. Moreno]:
> >
> >   You got a message-id where this was disccused?
> 
> navigating this thread is very painful :-)

Yes, I've changed the Subject, perhaps that will help.

> >   Because while I don't think that the number of files in the set,
> >   or the number of the file *in* the set, is all that important
> >   (i.e. put it in other headers), a reasonably unique
> >   collection/series id sounds like a good idea to me -- if I was
> >   interested in collections, then I'd want an easy way to say "get
> >   this collection" and not have to specify each and every file in
> >   the collection.
> 
> if you use the file set tagging in my xBin draft, you can do this.
> I'm not sure if it is a good idea, though, since it complicates
> readers looking for a single file in that set.

I don't see why (of course I don't have your draft handy either to
check first).  Set tagging should simply be an optional filed in the
xBin structure -- and not a particularly large one IMO.

> the hash used in the Message-ID is constructed by hashing all the root
> hashes of the files concatenated in posting order (this makes the
> resulting hash unstable if the ordering changes, but it would also
> change if a file was added or removed, so I think it doesn't matter
> much).  the Message-ID is also tagged with the file number in the set.
> a reader looking for an individual file will have to peek inside to
> see if that file is actually on its wanted list.  only the first
> article with a given file number needs to be considered, and XHDR
> Content-SHA1-Tree provides enough information.

I think I need to find and read your draft, because while the above
makes sense on a sentence level, it doesn't as a paragraph...

-snip-
> we could bloat the Message-ID to include both the individual file's
> root hash and the set's root hash, but I'm not too fond of that idea.

Neither am I -- in fact I don't think that hashing the set at all makes
sense.  If you do that then you're basically treating it as one huge
file, which it isn't.  Use a much smaller ID, and if someone lies about
it, then so what?  And a set ID should be temporary and reusable, it
should be a way of speeding things up, nothing more -- naturally the
set id would be computer generated in some way, but if I post a set of
vacation pictures one week with a set ID of JVP and Jane posts a set of
*her* vacation pictures the next with the same ID, then no harm done
(my pictures having expired off the server).  More realistically, if I
post it this week in a group and she posts it next year in a different
group, then it makes no difference at all.

If there is a desire to avoid fakes or misktakes, then put the
additional information required to prevent them in some other header,
don't try to cram it into Message-ID.  For instance, there's really no
reason why it couldn't be a simple counter -- sets are normally posted
by one person, comparing the From address and the set id/counter tells
you all you really need to know 99.99% of the time; repost by others of
a subset could be handled by hand.  That's not what I'd recommend, I'd
recommend using 2 or 3 characters as the id and then use the From as a
cross check and ask the users input when they didn't match, but a
counter would work sufficiently well to be worthwhile.

-- 
J.B. Moreno
Technical Details
Message-ID: <310120031724340041%planb@newsreaders.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!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!planb
References: <u7391vole7cci3qlobpvq0u79dqkiuoufm@news.iplweb.org> <2bi91vg80cfhrc1vu78r8226o241ngmid7@news.iplweb.org> <D937CC94FFD1B06B.2262204BE93E08E7.8BD8BA8158F689AA@lp.airnews.net> <3o9b1vglqbf4sm72efks2ivgd7u5tqn7mr@news.iplweb.org> <1041671876.599031@ok-corral.gunslinger.net> <11ud1v47mk49997bgnnnun1d57mi52f0pk@news.iplweb.org> <20030104113637.385$sm@newsreader.com> <6hqq1vk3dc5i0lbk65r761hr3jetalt9ap@news.iplweb.org> <20030115124728.470$XM@newsreader.com> <59369.i13205@archiver.winews.net> <20030119214844.592$sv@newsreader.com> <GJLW9.736995$vi4.98872@post-02.news.easynews.com> <20030131000233.119$Yb@newsreader.com> <310120031404147067%planb@newsreaders.com> <1rwuklt8nb.fsf@vingodur.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <310120031724340041%planb@newsreaders.com>
Subject: Sets and xBin (was: xBin (Power-Post 2003 - requesting input from authorities..))
Date: Fri, 31 Jan 2003 17:24:34 -0500
From: "J.B. Moreno" <planb@newsreaders.com>
References: <u7391vole7cci3qlobpvq0u79dqkiuoufm@news.iplweb.org> <2bi91vg80cfhrc1vu78r8226o241ngmid7@news.iplweb.org> <D937CC94FFD1B06B.2262204BE93E08E7.8BD8BA8158F689AA@lp.airnews.net> <3o9b1vglqbf4sm72efks2ivgd7u5tqn7mr@news.iplweb.org> <1041671876.599031@ok-corral.gunslinger.net> <11ud1v47mk49997bgnnnun1d57mi52f0pk@news.iplweb.org> <20030104113637.385$sm@newsreader.com> <6hqq1vk3dc5i0lbk65r761hr3jetalt9ap@news.iplweb.org> <20030115124728.470$XM@newsreader.com> <59369.i13205@archiver.winews.net> <20030119214844.592$sv@newsreader.com> <GJLW9.736995$vi4.98872@post-02.news.easynews.com> <20030131000233.119$Yb@newsreader.com> <310120031404147067%planb@newsreaders.com> <1rwuklt8nb.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!planb
Newsgroups: news.software.nntp
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
User-Agent: Thoth/1.7.0 (Carbon/OS X)
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8
  N*x>d^h
X-Trace: ellis.newsreader.com XmAA1Wh/2QiV1ha+ytyI1pgvM0TomzkXUBkQI9uh-Rb0Vv-
Lines: 69