🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90982

Re: betterbird: reading crossposts once?

#90982
From: Jakob Bohm
Date: Mon, 16 Oct 2023 16:21
29 lines
3285 bytes
On 2023-10-16 18:03, candycanearter07 wrote:
> On 10/16/23 10:49, Frank Slootweg wrote:
>>    Neither do I, but it's just SMOP (Small Matter Of Programming). All
>> you have to do is to remember all the hundred of thousands / millions of
>> message-ids of the postings you've ever 'read'. How hard can *that* be!?
>> :-)
> 
> You could just scan for matching ids when you read an article. Or, maybe 
> you could limit it to the messages read in the last x days, to cut down 
> on processing time.

A more practical optimization is to only retain a database of MIDs of
messages that are marked "read" in actively kept message storage.  Thus
when a read message is "aged out" of storage, its "read" status is aged
out too.  To avoid old messages transiting in and out of view, keep a
count of how many copies are marked read for each MID and count that
down as messages age out.  Once in a while, rebuild database from the
stored messages and their "read" status, then do a second pass to mark
duplicates of read messages as read.  Bonus: Also index the body
contents hash to catch identical multi-posting.

Enjoy

Jakob
-- 
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
Technical Details
Message-ID: <PYicnd_php9R_7D4nZ2dnZeNn_Vi4p2d@giganews.com>
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> <w29h803rmpn4.dlg@v.nguard.lh> <slrnuilnm3.3uvei.rayban@raybanana.net> <ofkn3js6yvvh$.dlg@v.nguard.lh> <uggt8q.rdg.1@ID-201911.user.individual.net> <ugh6ae$cvr5$3@dont-email.me> <ughha2.nhc.1@ID-201911.user.individual.net> <ughfd8$aigv$1@news.trigofacile.com> <ugjdnb.ido.1@ID-201911.user.individual.net> <8mpm1esqft.fsf@raybanana.net> <ugjt35.nqo.1@ID-201911.user.individual.net> <ugjmsc$1fjvk$2@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <PYicnd_php9R_7D4nZ2dnZeNn_Vi4p2d@giganews.com>
Subject: Re: betterbird: reading crossposts once?
Date: Mon, 16 Oct 2023 18:21:12 +0200
From: Jakob Bohm <jb-usenet@wisemo.com.invalid>
References: <uftnus$2voq4$1@dont-email.me> <1qnm7s6fh6uot$.dlg@v.nguard.lh> <87y1g5yxux.fsf@hope.eyrie.org> <w29h803rmpn4.dlg@v.nguard.lh> <slrnuilnm3.3uvei.rayban@raybanana.net> <ofkn3js6yvvh$.dlg@v.nguard.lh> <uggt8q.rdg.1@ID-201911.user.individual.net> <ugh6ae$cvr5$3@dont-email.me> <ughha2.nhc.1@ID-201911.user.individual.net> <ughfd8$aigv$1@news.trigofacile.com> <ugjdnb.ido.1@ID-201911.user.individual.net> <8mpm1esqft.fsf@raybanana.net> <ugjt35.nqo.1@ID-201911.user.individual.net> <ugjmsc$1fjvk$2@dont-email.me>
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
Nntp-Posting-Date: Mon, 16 Oct 2023 16:20:28 +0000
Newsgroups: news.software.readers,news.software.nntp
Organization: WiseMo A/S
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:6.2) Goanna/20230604 Epyrus/2.0.2
Mime-Version: 1.0
In-Reply-To: <ugjmsc$1fjvk$2@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Lines: 29
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-YPkY2Axxb5L4AegiK17z1cEX3G34raRy46t2NEW7r0B06n2WKLh4i1mjvFftOvcHCRHQSbblEXptBll!ZZfEA/3L8zxQdIhvPpl3KM236zIBShvVR3v3+fM6fWCxFIkYj1uk0WIAxGC3/829v1WqzlQLXFc=
X-Complaints-To: abuse@giganews.com
X-Dmca-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-And-Dmca-Info: Please be sure to forward a copy of ALL headers
X-Abuse-And-Dmca-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40