🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266117

Re: betterbird: reading crossposts once?

#266117
From: VanguardLH
Date: Sat, 14 Oct 2023 17:49
69 lines
4765 bytes
Russ Allbery <eagle@eyrie.org> wrote:

> VanguardLH <V@nguard.LH> writes:
> 
>> Rather than search across many subscribed newsgroups, the client could
>> use the Xref header, if present, to determine in which newsgroups a
>> message got cross-posted.
> 
> Indeed, this is what essentially every client does and what they should
> do.

Except that only tells you (the client) in which newsgroups an article
was cross-posted.  You would still need the Message-ID value to find the
matching article in each of those newsgroups.  Searching takes time.

From the bug ticket, there was a suggestion to change the records in the
MSF database files to add the MID to each message, so it could be SQL
searched by a field in a record in the message database (for each
folder) instead of having to search through the messages themselves.
The change would require dumping the old MSF databases to begin building
new ones.  As I recall, there was some resistance to changing the record
structure, and require building new MSF files.

>> A problem noted there is that the client may not yet have populated the
>> other newsgroups into which a message got cross-posted.  The "mark as
>> read" action would be stalled by however long it takes for the client to
>> retrieve all messages (well, those that cover the cross-posted article)
>> in the Xref newsgroups before they could also get marked as read.
> 
> The client shouldn't have to retrieve articles to mark them as read.  The
> standard representation on the client that goes all the way back to the
> very early days of Usenet is called a "newsrc".  It holds a list of groups
> (often both the unsubscribed and the subscribed groups so that read
> articles are tracked properly if someone later subscribes to the group)
> and a list of read articles by number in each group.  In text form, it
> looks something like this:
> 
> rec.arts.sf.misc! 1-14774,14786,14789

Does Thunderbird currently store the article numbers of messages in its
MSF database files?  The article number came from the server, but that
doesn't mean the client retains that info.  One of the posters in the
bug ticket said some info in Xref was superfluous to Tbird.  The Xref
would show the newsgroups where the message was cross-posted, but the
article number would get discarded as superfluous which hints article
numbers are not in a field for a record in the message database for a
message.  I don't know the structure (fields) in the records in the MSF
message database files.  I suppose I could do an SQLite query to find
out what fields are defined in the records, but I'm not so motivated,
especially since I gave up on Tbird over 3 years ago after many trials,
the last one of which was 6 months before I had to find something
better.

To eliminate having to rebuild MSF files, seems a field could be added
to the end of the record for the article number.  If the field were
missing in a record, an SQL query on an article number would miss those
without a field holding the article number.  The flag state for
cross-posted messages would be inconsistent at first until all records
got updated to add the new field.  I don't know if SQLite requires
records to all have the same fields in every record (the same structure
for all records), or if some records could have missing fields.  The SQL
query would be by field name, not by field position (within a record).

I don't recall Tbird uses .rc files, but I don't have an instance of
Tbird to check if it has any.  Tbird seems first designed as an e-mail
client, and newsgroups were tacked on.  Rather than have a combo client
(e-mail + newsgroups), perhaps they should slice apart the
functionality, so they can focus on fixing or enhancing an e-mail client
separate of fixing or enhancing a newsreader.
Technical Details
Message-ID: <w29h803rmpn4.dlg@v.nguard.lh>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <uftnus$2voq4$1@dont-email.me> <1qnm7s6fh6uot$.dlg@v.nguard.lh> <87y1g5yxux.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <w29h803rmpn4.dlg@v.nguard.lh>
Subject: Re: betterbird: reading crossposts once?
Date: Sat, 14 Oct 2023 12:49:11 -0500
From: VanguardLH <V@nguard.LH>
References: <uftnus$2voq4$1@dont-email.me> <1qnm7s6fh6uot$.dlg@v.nguard.lh> <87y1g5yxux.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Content-Transfer-Encoding: 7bit
Sender: V@nguard.LH
Newsgroups: news.software.readers,news.software.nntp
X-Trace: individual.net wurIkr+b5qjomBEbgyu95AK2usdNYUwS5MOeHL5vQldaSWg20U
X-Received-Bytes: 4759
Content-Type: text/plain; charset="us-ascii"
Keywords: VanguardLH,VLH
Cancel-Lock: sha1:pZybU/gcTJ1FiJNr/yfDUUSbSPk= sha256:mWHjawY8FFq68JqEq6rgexVdz2P012EkaO8diY8J4AM=
User-Agent: 40tude_Dialog/2.0.15.41
Mime-Version: 1.0
Organization: Usenet Elder
Lines: 69