🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #131042

Re: Free Tera Has Gone Crazy

#131042
From: VanguardLH
Date: Mon, 29 Nov 2010 07:16
135 lines
9340 bytes
Deep Green wrote:

> VanguardLH wrote:
> [snip much about MID collisions]
> 
> Interesting theoretical problem. But how common are MID collisions in 
> practice? How likely is a user to want to read BOTH of two articles with 
> an MID collision, and be troubled if marking one of them read marked 
> them both read?

I had a discussion with an admin of an NNTP server.  While the MID
collisions are infrequent, they aren't so seldom occurring that they
would be considered rare.  As I recall, a large part of this problem was
letting NNTP servers accept the MID value defined by clients rather than
having the servers assign their own MID value.

With Ethernet, there no or extremely few collisions with a single host
inside a subnet.  Adding more hosts incurs more collision (contention)
which requires arbitration.  If NNTP servers always ignored any MID
header added by a client for an article submission and used there own
MID value, there would be very few collisions (in fact, NSPs using a
different domain in the right-id token of their generated MID value, I'm
not sure how any collisions might occur).  Since the default behavior of
the vast majority of NNTP servers is to accept a client-generated MID
header, if present, and because these clients cannot coordinate then
values with each other, more collions occur.  

Just think of all the Forte Agent users that have @ax.com in the
right-id token their MID value.  None them are linked together to ensure
the left-id token is unique amongst them.  I believe the time and date
are used in the hash value generated for the left-id token.  That
depends on the clock on the host where the MID is being generated.  Not
only may hosts have the same exact time and date which could result in
the same value for the left-id token but a host that generates a left-id
token now might match one generated on another host whose close is slow
by a few seconds or minutes behind (host 1 sets the left-id token at a
specific time but host 2's clock is slow so sometime later it uses the
same time to generate a left-id token).  

Obviously the less users that have their clients generate the MID value,
and of those the less users that share the same right-id token (domain),
will result in fewer collisions.  Conversely, the more of these that are
posting the more likely the collisions.  No, it's not often but it does
happen and apparently isn't a rare event, either.

>> I don't think anyone other than Deep thinks that a datestamp would make
>> a usable identifier of any post.
> 
> I don't think anyone does, including Deep. :) I was only suggesting 
> using it as part of marking older posts as read. 

Okay, might be getting your point now.  In the newsreader that I've used
(and of what details that I can remember of those I didn't continue
using after ending their trial), they let you specify how many articles
to retrieve by a count but not by a date.

There is the following command that searches by date:

NEWNEWS wildmat date time [GMT]

This returns a list of matching articles whose date and time are AFTER
the specified parameters.  To do the converse, your newsreader would
have to retrieve a list of all active articles and then subtract out
those found by this command.

So it appears using a datestamp threshold is possible.  I just don't
recall using or trialing a newsreader that let me pull articles based on
a date & time threshold, only by a count of articles.  In fact, this
command could probably used to quickly find out if there are any new
articles since your last visit to a group (rather than relying on a
prior highwater mark).  Again, using datestamps seems liable to problems
between time sync differences between client and server.  There is also
the granularity problem.  If the last article's datestamp was used then
all articles submitted with that same datestamp would not show up as new
in the next poll.  Trying to compensate by moving back to the prior
second (for the minimal time granularity in the Date header) would
result in re-retrieving articles that were retrieve before within that
same time granularity.  You would miss new articles posted within the
same second or re-retrieve old articles that were already included in
that same second.

The ARTICLE command lets you specify either the article number or its
MID value.  So once the NEWNEWS command returned the matching articles
*after* the specified date & time, your newsreader could use the ARTICLE
command to get the new ones (provided the time granularity problem got
solved).  

So it seems that it is nearly possible to do what you want but there
also seems to be problems with the granularity in the threshold defined
(a time down to a second that could be shared by many posts versus the
cutoff at a number count).

http://www.faqs.org/docs/linux_network/x-087-2-nntp.protocol.html,
section 22.1.7, gives some discussion on how NEWNEWS is used.  It
appears only to find new articles since the last poll done by your
newsreader for a group.  To mark previous articles as read would mean
having to download ALL article headers and mark those as read that
weren't in the list outputted by NEWNEWS.  Well, that ends up with
processing all the headers again which you had to do when clearing the
articles list and re-retrieving them all again.

If you subscribe to a group and are interested in only new articles
since you subscribed, you don't need to retrieve any of the old
articles.  Just let NEWNEWS find the news ones since you subscribed or
since the last poll for a group after subscribing.  If all you want are
the new articles, you don't want to waste the time getting the old ones.
If you see a "Re: <subject>" post of interest and want to see the entire
thread, some newsreaders have a helpful Reconstruct function (probably
by tracing back through the References headers to find the MIDs for the
parent posts and using "ARTICLE <mid>" to get them).  If you also wanted
to get all the old articles to, for some reason, automatically mark them
as read then you still have to download ALL the articles so you can tag
them.

While you could just subscribe to a group and start getting only new
articles posted after the moment you subscribe, trying to go backwards
to mark old articles as read seems to incur a lot of processing.  For
some folks, like me, retrieving all those old articles is important.  I
tag unwanted posts as Ignored (and use a view that hides Ignored posts)
rather than delete them.  This provides, up to the retention of the
server, a reconstruct on all the threads.  I configure my newsreader not
only to Ignore posts but apply that tag to the [sub]thread so I don't
see any replies to the unwanted post.  This often requires having the
parent article on which the Ignore tag gets applied so I don't see new
replies to those unwanted posts.  If I don't get those old posts (to
determine on which to Ignore), I end up seeing replies to unwanted posts
because there was no Ignore flag to propagate to them.  Someone just
starting out in a group might not care about all the old stuff.

So something of what you want is available via NEWNEWS to get just new
posts but that is after a date & time, like when you first subscribe to
a group.  Trying to "mark as read" older posts requires a lot more work
to retrieve them to them flag them - but why bother retrieving old posts
you aren't going to read (or use for some other purpose, like mine of
propagating the Ignore flag for old posts against the new replies)?
Technical Details
Message-ID: <icvjv2$tt4$1@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.albasani.net!not-for-mail
References: <4cf25aed.2314484@news.albasani.net> <icu5cp$rjo$1@news.albasani.net> <icuhqr$njf$1@speranza.aioe.org> <icuiv7$f8l$1@news.eternal-september.org> <icv3md$9kt$1@news.albasani.net> <icv6kk$7ci$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <icvjv2$tt4$1@news.albasani.net>
Subject: Re: Free Tera Has Gone Crazy
Date: Mon, 29 Nov 2010 01:16:35 -0600
From: VanguardLH <V@nguard.LH>
References: <4cf25aed.2314484@news.albasani.net> <icu5cp$rjo$1@news.albasani.net> <icuhqr$njf$1@speranza.aioe.org> <icuiv7$f8l$1@news.eternal-september.org> <icv3md$9kt$1@news.albasani.net> <icv6kk$7ci$1@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.albasani.net!not-for-mail
Newsgroups: alt.free.newsservers
Organization: 0.35MOA sniper at loose in Usenet
Lines: 135
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net
 Gm2yhaLFwaNEegIM0SyIKPS4KnFnzYNwOyQGu90HoEfNbEZ1x4IvkXxlikbLakqWu89g4P3p6lTs9oL+eQbb1sF0o+yVpMJjjFDlVf/YguE+grWEzQ1OWAv7NP4HAKh/
NNTP-Posting-Date: Mon, 29 Nov 2010 07:15:47 +0000 (UTC)
Keywords: VanguardLH VLH811
Cancel-Lock: sha1:gW7WzBNrMC3o9PNAT2JTQlmx1Hc=
User-Agent: 40tude_Dialog/2.0.15.41
Injection-Info: news.albasani.net;
 logging-data="aUFIbRADpTHzhikMpalCTksx1aQxPFrLhfYCoLVM/jZevNN47mEwNPaY/c/UOAdGdAdw0LSbSRhTrwoVnv/vO1fLj5Xll4lMe89yWvYOLhJ6k/TZWMYe+lcAxoIgHWSv";
 mail-complaints-to="abuse@albasani.net"
X-MOTD: It is wiser to remain silent and let others ponder your ignorance than
 to speak and remove all doubt
X-Original-Bytes: 9125