🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Wayne Davison Thu, 27 Aug 1992 01:25
Re: relaynews vs the "threaded" newsreaders
#2060
Author: Wayne Davison
Date: Thu, 27 Aug 1992 01:25
112 lines
5886 bytes
geoff@world.std.com (Geoff Collyer) wrote:
> My earlier bold prediction, of feeding modified versions of mthreads and
> nnmaster with the headers of articles as they arrive, is unlikely to be
> realised.  After staring at mthreads (the harder case), it appears that
> the trn database is organised such that it cannot be efficiently updated
> as articles arrive

Exactly.  Trn's thread files were designed as a space-efficient snapshot
of the entire group organized via Reference lines.  Space efficiency was
the overriding design goal (the machine it was developed on had about 60M
of space dedicated to news :-).  So, I'd agree that feeding mthreads single
articles isn't a good idea (though I know of one fellow who has modified
C news to do exactly that).  What's needed is a new database format.

> Further staring has
> convinced me that in fact trn wants two distinct databases:  a
> ``presentation menu'' database [...] and the link data used
> to generate the trn `hunt the wumpus' diagrams

	Ieeeee.  You fell in a pit (known as "usenet").   :-)

Yes.  This conceptual separation is something I mentioned to Rich Salz
when we talked about his desire to integrate a news database into INN.
Whether it translates into a separation of files or not is up to you.
If it is in one file it must be easy to get in and update the parent
references as articles arrive.

It would be interesting to see the "relations database" kept on the
entire news-base so that trn could be enhanced to follow threads as
they wind their way through various groups.  However, a per-group
set of relations would be adequate to support existing readers.

Maybe you and Rich should get together and talk.  Last I heard he was
planning to return a set of headers from the group's articles including
special headers that would indicate their relationships.  Using this
concept, trn would ask for a dump of the group's data and it would link
up the parent/child/sibling references as it goes.  If the references
were given in terms of article numbers it would be a breeze to modify
trn to allow this.

> Does anyone understand what's *in* the link data in the trn database?

I know of at least one person who understands trn's database -- beyond
that I can't say.  Oh!  You wanted me to _explain_ it to you!  Ok.

Here's a simple summary of everything that is in the database.  If you
want a more detailed description of mthreads' database format, mail me.
I'm going to write up something for a VMS guy, so I could send you a copy.

The essential data that trn will need for each article includes:

	Article Number, Subject, author, date (in GMT unix seconds),
	parent pointer, thread-id, and flags.

The other data that is in the thread files that wouldn't need to be
supplied to trn:

	First child pointer, first sibling pointer, message id.

The thread-id is a unique id that indicates which thread an article
belongs to.  While an article's group can be determined by looking at
its lineage, it is essential to have an unchanging thread-id so that
kill files can act upon thread groups.  Mthreads puts this id in the
"root" -- a group node that contains a few items such as the subject
list required by the associated articles.

The parent reference is rather complicated, since it might point to
a valid article, or it might point to a missing article that has expired
or not arrived yet.  Mthreads uses "faked" article nodes for these
cases that are filled in with actual data when/if they arrive.

The flags that trn uses so far indicate if an article is the root article
or not and if an article has xref data available (it speeds junking).

The first- child/sibling pointers exist in the database because it is
doubly-linked.  These could be ommitted in the server database and trn
could double-link its data as it reads it in.

Mthreads keeps the message-id data around for each article for its
reference-line parsing, but trn doesn't use this data when news-reading.

If you want to keep this simple, you could provide something like the
following.  Assume trn has requested the thread data for n.s.readers
and it gets a list of headers back:

	Art: 1823 1432 missing1 missing2 1800
	Subject: trn
	Author: Wayne Davison
	Date: 713738170
	Xref: news.software.b:3987
	Art: 1824 1432 missing2 1800
	Subject: mthreads (was Re: trn)
	Author: Joe Smoe
	Date: 713734987

The "Art" line gives the article number (1823), the thread group id
(1432 -- the first article number we encountered for this thread),
and the parent list.  The first article's immediate parent and
grandparent are missing and must be specified by some sort of a
unique id so that trn's thread display can link things up correctly
(articles may have missing articles in common).  You might just want
to put the uninterpreted messages ids there, but they can get pretty
long.  A hash might be better.

> (I think I've got a block against `hunt the wumpus' diagrams.)

Oh well.  You can turn them off, you know.  I think the data provided
in the display is very useful, though.  If everyone had such a display
the number of duplicate responses to articles would drop appreciably.
-- 
Wayne Davison
davison@borland.com
Re: relaynews vs the "threaded" newsreaders
#2077
Author: Rich Salz
Date: Mon, 31 Aug 1992 13:08
4 lines
917 bytes
In <BtMBz5.1t9@borland.com> davison@borland.com (Wayne Davison) writes:
>Maybe you and Rich should get together and talk. ...
Geoff and I have exchanged a handful of messages on this subject.
	/r$
Re: relaynews vs the "threaded" newsreaders
#2074
Author: Don Lewis
Date: Tue, 01 Sep 1992 01:10
36 lines
2813 bytes
In article <BtMBz5.1t9@borland.com> davison@borland.com (Wayne Davison) writes:
>geoff@world.std.com (Geoff Collyer) wrote:
>> My earlier bold prediction, of feeding modified versions of mthreads and
>> nnmaster with the headers of articles as they arrive, is unlikely to be
>> realised.  After staring at mthreads (the harder case), it appears that
>> the trn database is organised such that it cannot be efficiently updated
>> as articles arrive
>
>Exactly.  Trn's thread files were designed as a space-efficient snapshot
>of the entire group organized via Reference lines.  Space efficiency was
>the overriding design goal (the machine it was developed on had about 60M
>of space dedicated to news :-).  So, I'd agree that feeding mthreads single
>articles isn't a good idea (though I know of one fellow who has modified
>C news to do exactly that).

That's me B-)   I added the thread building stuff to relaynews and I
only use mthreads to expire.  I don't recommend it either since reading
a .thread file, updating the data, writing it back out and replacing
the original file makes relaynews dreadfully slow.  A deficiency
relative to mthreads is that mthreads can dig around in the article
body for references if it notices that the Subject begins with "Re: "
and it doesn't find a References: header, while my hack does not
have this ability.  The final problem is that it adds to the difficulty
of keeping up with the latest software releases - I'm still running
the July '91 C news release.  When I upgrade to the Performance release,
I'll probably drop back to a more vanilla configuration.

>It would be interesting to see the "relations database" kept on the
>entire news-base so that trn could be enhanced to follow threads as
>they wind their way through various groups.

This is a really desirable feature.
-- 
Don "Truck" Lewis              Phone: +1 916 478-8284   Silicon Systems
Internet: gdonl@ssi1.com       FAX:   +1 916 478-8290   138 New Mohawk Road
UUCP: {uunet,tektronix!gvgpsa.gvg.tek.com}!ssigv!gdonl  Nevada City, CA  95959
Re: relaynews vs the "threaded" newsreaders
#2078
Author: Ross Ridge
Date: Tue, 01 Sep 1992 22:50
16 lines
1218 bytes
gdonl@sunrise.ssi1.com (Don Lewis) writes:
>A deficiency relative to mthreads is that mthreads can dig around in
>the article body for references if it notices that the Subject begins
>with "Re: " and it doesn't find a References: header, while my hack
>does not have this ability.

I don't know how much of deficiency it is, this heuristic seems
to lose as much as it wins.

							Ross Ridge

-- 
Ross Ridge - The Great HTMU					     l/	 //
								    [OO][oo]
ross@zooid.guild.org						    /()\/()/
uunet.ca!zooid!ross						     db	 //
Re: relaynews vs the "threaded" newsreaders
#2092
Author: Don Lewis
Date: Thu, 03 Sep 1992 00:48
20 lines
1897 bytes
In article <1992Sep1.225029.9003@zooid.guild.org> ross@zooid.guild.org (Ross Ridge) writes:
>gdonl@sunrise.ssi1.com (Don Lewis) writes:
>>A deficiency relative to mthreads is that mthreads can dig around in
>>the article body for references if it notices that the Subject begins
>>with "Re: " and it doesn't find a References: header, while my hack
>>does not have this ability.
>
>I don't know how much of deficiency it is, this heuristic seems
>to lose as much as it wins.

It allows the articles in comp.dcom.telecom to be threaded, since
none of them have References: headers.  Without it, the articles are
only grouped by subject, making it more difficult to follow a discussion.
It's a really ugly hack though.  It would be much better if the
References: header were preserved, (and if inews verified that this
header had not been corrupted before posting the article).
-- 
Don "Truck" Lewis              Phone: +1 916 478-8284   Silicon Systems
Internet: gdonl@ssi1.com       FAX:   +1 916 478-8290   138 New Mohawk Road
UUCP: {uunet,tektronix!gvgpsa.gvg.tek.com}!ssigv!gdonl  Nevada City, CA  95959
Re: relaynews vs the "threaded" newsreaders
#2095
Author: Ross Ridge
Date: Fri, 04 Sep 1992 08:04
32 lines
1886 bytes
gdonl@sunrise.ssi1.com (Don Lewis) writes:
>A deficiency relative to mthreads is that mthreads can dig around in
>the article body for references if it notices that the Subject begins
>with "Re: " and it doesn't find a References: header, while my hack
>does not have this ability.

ross@zooid.guild.org (Ross Ridge) writes:
>I don't know how much of deficiency it is, this heuristic seems
>to lose as much as it wins.

gdonl@sunrise.ssi1.com (Don Lewis) writes:
>It allows the articles in comp.dcom.telecom to be threaded, since
>none of them have References: headers.  Without it, the articles are
>only grouped by subject, making it more difficult to follow a discussion.
>It's a really ugly hack though.  It would be much better if the
>References: header were preserved,

Well you can try asking your moderator to do that. 

>(and if inews verified that this header had not been corrupted before
>posting the article).

Interestingly, our mailer will do that.  Only works for moderated
groups though.

							Ross Ridge

-- 
Ross Ridge - The Great HTMU					     l/	 //
								    [OO][oo]
ross@zooid.guild.org						    /()\/()/
uunet.ca!zooid!ross						     db	 //
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads