Article View: news.software.readers
Article #826Re: The References header
From: Felan shena Thoron'edras
Date: Fri, 01 Nov 1991 02:44
Date: Fri, 01 Nov 1991 02:44
89 lines
5264 bytes
5264 bytes
In article <1991Oct31.202956.17665@kronos.com> richb@kronos.com (Rich Braun) writes:
>For the example, I'll also map out what the References header would be
>for the tree given:
Good idea, I should have thought of it myself.
>>>Predecessors header: References header:
>>> A: none A: none
>>> B: <A> B: <A>
>>> C: <A> C: <A>
>>> D: <A> <B> D: <A> <B>
>>> E: <A> <B> E: <A> <B>
>>> F: <A> <C> F: <A> <C>
>>> G: <A> <F> G: <A> <C> <F>
>> 2. If F comes in next, what will you do? Put F after A, between A
>>and G? That is, of course, correct. But it may necessitate changing
>>the tree, based on how you answered question 1.
>Yep, I'd have to insert a slot for C when I saw the back-pointer to it.
>I don't consider this a big deal.
Well, I suppose so. I have a fundamental problem with rewriting the database
any more than necessary, but then I have a fundamental problem with needing
to access things like that any more than necessary anyway...
>> 3. If C comes in before F, you attach C to A, of course. What do you
>>do now when F arrives? It will take G from wherever you put it before,
>>ie it will still mean changing the tree if you assumed that G's parent
>>was a child of A.
>Let's draw another picture for this one:
>
> A
> / \
> {F} C
> |
> G
>>The References: header does contain sufficient information to tell exactly
>>where G goes in the tree, given only A and G and not having C or F yet.
>Point granted. If this example can be applied to all larger examples, and
>it would be quite a mental exercise for me to convince myself of that,
>then it's true: the tree would never change shape.
Well, it's _easier_ to do it with the References: header. Basically, if
the situation that happened to me happens at all, you'll have a _lot_ of
extra rewriting to do, as you find each new article.
(What happened was that several batches didn't arrive, for a few days,
and then the new batches made it through while the old ones hadn't been
forwarded yet. I distinctly remember seeing a trn thread tree with 3
empty slots, with an article at the end that trn did have, and having it
correctly know where to put the new articles.)
With your proposal, you're going to have to restructure the database
_completely_ every time one of the lost articles comes in. Trn can (I
don't know if it _does_, but it _could_) leave empty space for the Suject:
and From: lines (I think it only uses a maximum amount anyway, so even
if the subject or from is longer than that mthreads won't care) assosciated
with the Message-ID that it knows it hasn't gotten yet... (What was that
about saying I was unclear?)
>I still don't see the advantage of reserving the slot for both {C} and
Well, I would just think it was more efficient to not have to rewrite
the whole database when C and F come in. If mthreads doesn't work the
way I suggested above, I a) want to know why and b) want to know if it
will in the next release. All it has to do then is look at the appropriate
space and overwrite some white space, rather than having to insert extra
information to keep the tree organized.
>{F} in advance. These are dynamic data structures which can be
>rapidly expanded and contracted at whim. And until the referenced
>articles arrive, you still wind up presenting them to the user in the
>nearly the same logical order. Or do you? Can you convince me that
>this won't be true? Will this logical order sometimes become chaotic?
>(It's definitely true that once the referenced articles are in place,
>my solution yields the same fundamental result.)
Well, it depends on how you build your tree when C comes in but F hasn't
yet... You _will_ get C before G in the thread with References:, so if you
want to look at the follow-up to the follow-up, you can do that easily.
With Predecessors: you'd not know that, or at least the computer wouldn't
know that C is in G's path.
Still, if you can convince me that your way is also as efficient (not
as nasty for resources) as my presumed way mthreads can do it, I'll have
no objections (not that my objections count for much).
Leanne Phillips
"Go not unto the Elves for counsel, for they will say both yea and nay."
"Now is _not_ a good time, Keiko!" - Worf, "Disaster"
"Variety is the spice of life, and I don't want to die." - Scott Borst
Technical Details
Message-ID:
<10199@umd5.umd.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.sysadmin.mbox.zip!gmdzi!zeus.ieee.org!europa.asd.contel.com!darwin.sura.net!haven.umd.edu!umd5!syrinx.umd.edu!phillipsReferences:
<1991Oct29.211903.6380@kronos.com> <10155@umd5.umd.edu> <1991Oct31.202956.17665@kronos.com>Show Full Headers
Complete Article Headers
Message-ID: <10199@umd5.umd.edu> Subject: Re: The References header Date: Fri, 01 Nov 1991 02:44:59 +0000 From: phillips@syrinx.umd.edu (Felan shena Thoron'edras) References: <1991Oct29.211903.6380@kronos.com> <10155@umd5.umd.edu> <1991Oct31.202956.17665@kronos.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.sysadmin.mbox.zip!gmdzi!zeus.ieee.org!europa.asd.contel.com!darwin.sura.net!haven.umd.edu!umd5!syrinx.umd.edu!phillips Newsgroups: news.admin,news.misc,news.sysadmin,news.software.b,news.software.readers Sender: news@umd5.umd.edu Organization: University of Maryland, College Park Lines: 88