🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82061

Re: Truncation of the string of Message-IDs in References

#82061
From: Curt Welch
Date: Fri, 30 Oct 2009 16:30
87 lines
5953 bytes
wollman@bimajority.org (Garrett Wollman) wrote:
> In article <hcdb2m$47c$1@snarked.org>,
> D. Stussy <replies@newsgroups.kd6lvw.ampr.org> wrote:
>
> >Considering that the BNF syntax indicates that the newer messages appear
> >at the beginning of the header data (and older messages appear at the
> >end),

I don't know what BNF you are looking at, but Usenet References: headers
work the other way. The oldest is at the beginning and the newest are at
the end.

The first one is the root of the tree, and the last one is the one the
article is following up to.

> >truncation will be removing the earlier (older) messages.

Truncation of References: headers is done in a very specific way - not by
simply stripping characters or message-ids from the end.  It's done by
removing the second Message-ID in the list (repeatedly).

This allows the root Message-ID to be saved which acts as the tree
identifier.  It makes threading and killing by thread easier if all the
articles have valid message-ids because it allows you to quickly lump all
the articles in the same tree together without requiring link traversal and
tree reconstruction.

Correctly identifying sub-trees however is not easy if some of the sub-tree
roots have been deleted from the References: headers.

> >However, as the newer messages that weren't truncated will still have
> >that data that was lost as one traces back toward the original message
> >which started the thread, no data (message IDs of all prior messages in
> >the thread structure) should be lost.  So where's the problem?

Well, you have it backwards, so your logic doesn't work.  If some
newsreader or news server does an indiscriminate truncate on the line
(which has been known to happen on rally crappy newsreaders), the most
important back link (the articles immediate parent) will be lost making it
very difficult to correctly construct the follow-up tree.  It would require
scanning the article bodies and trying to identify quoted text from the
parent articles to guess at a correct tree structure.  I'm not aware of any
newsreader that has gone to that level of effort to try and correctly
reconstruct thread trees.

> Some threads go on for many months.  Unless you have ridiculously long
> expiration, truncation of References means that eventually the
> articles you need to examine to reconstruct the tree will no longer be
> available.

Yes, and sometimes because of services like Google, a thread comes back to
life many years or even decades later. :)  Though for these rare cases,
it's really not important in my view if the tree is not correctly
represented. :)

The more real problem is simply when threads live longer than the retention
of the server someone is reading articles from.  Most newsreader that
attempt to do a good job at threading maintain local thread/article data so
as long as the newsreader got to see the articles before it expired, it
will have the data it needs to correctly display the thread tree.

>(At least Google only mangles message-ids in the bodies of
> articles -- most of the threads of this sort that I've seen recently
> have died out and then been reenergized by a few postings from a
> far-behind-current Google Groups user.)
>
> -GAWollman

I've use Usenet for about 20 years and in all this time, I've never used
(on a regular basis) a newsreader that did true threading.  The one's I've
used only did subject based threading.  I don't feel like I've really
missed much.  So for me, the References: header is not even all that
important.  Being able to traverse the follow-up tree backwards to the root
is good so you can quickly verify what people wrote and what you wrote, but
only the parent link is needed to implement that.

My only issue with this whole subject of References: headers is that there
is a old and established standard for how the header should be constructed
and any newsreader that is used to post a follow-up damn will better be
creating valid References: headers for all those newsreaders that do use
the header to reconstruct the thread tree and display it and offer various
UI features based on a correctly reconstructed tree.  There's just no
(good) excuse for not doing it correctly.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Technical Details
Message-ID: <20091030122427.357$eA@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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!xlned.com!feeder1.xlned.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!transit3.readnews.com!textspool1.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mail
References: <hc8jch$ovh$2@news.albasani.net> <87iqdydv0e.fsf@windlord.stanford.edu> <20091029163541.462$lW@newsreader.com> <hcdb2m$47c$1@snarked.org> <hcde7e$2ueq$1@grapevine.csail.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20091030122427.357$eA@newsreader.com>
Subject: Re: Truncation of the string of Message-IDs in References
Date: Fri, 30 Oct 2009 16:30:44 +0000
From: curt@kcwc.com (Curt Welch)
References: <hc8jch$ovh$2@news.albasani.net> <87iqdydv0e.fsf@windlord.stanford.edu> <20091029163541.462$lW@newsreader.com> <hcdb2m$47c$1@snarked.org> <hcde7e$2ueq$1@grapevine.csail.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!xlned.com!feeder1.xlned.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!transit3.readnews.com!textspool1.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-NRC-Trace: NewsReader.Com EOLA9DlpgYTe9o480hwmqhcc8j_jrnDENJgWYgD.T3TW@2MFUd
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: 87
NNTP-Posting-Host: 19313d39.nr5-q1.newsreader.com
X-Trace: DXC=7efJGfT@ol8ediZ[lD8K; 3bgZaH`e<A[9Z?:i9<JJBS>WPb<_4g4DX1iJ;
 iV2YAoG5m=@kEM\AEU6:>UgBB=Fk54
X-Complaints-To: abuse@newsreader.com