Article View: news.software.readers
Article #266163Re: betterbird: reading crossposts once?
From: Frank Slootweg
Date: Thu, 19 Oct 2023 13:14
Date: Thu, 19 Oct 2023 13:14
50 lines
3650 bytes
3650 bytes
Russ Allbery <eagle@eyrie.org> wrote: > Frank Slootweg <this@ddress.is.invalid> writes: > > > 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!? > > :-) > > Well, we know exactly how hard this is, because you're describing a news > server's history database. News servers also have to remember every > message they've seen, and they have to do that by message ID. News > servers limit this to articles within a certain date range and reject all > articles older than that date range, but servers that never expire > essentially keep that data forever. > > There are a bunch of techniques for maintaining that database. It mostly > uses dedicated data structures optimized for this specific problem, not a > SQLite database, although I'd be interested to see someone try with modern > SQLite or another SQL database and see if it can be optimized enough, > since those tools have a lot more general optimizations and way more > active developers. > > This is certainly *doable*, since it's done all the time, and a modern > server is often smaller (in disk, memory, and CPU) than a typical laptop, > let alone desktop. On my news server, it currently takes up about 660MiB > of disk space, which is smaller than a lot of video games. :) But that's > literally every message the server has on disk, and I can assure you that > I have not read the VAST majority of them, so most history databases for a > personal newsreader would be substantially smaller. Hi Russ, Just to be sure/clear: I was both joking (hence "SMOP", "How hard can *that* be!?" and the smiley) and serious in my responses to those who apparently took my comments seriously. And indeed, it's not that hard to do, because it's exactly what a newsserver's history database does. That's why I later talked about Hamster (which I use) and Leafnode(2). My response was somewhat in jest, because it was a response to Ray's likeminded post: RB> It would have never occurred to me that somebody would expect this to RB> work across multiple servers ;-) So neither Ray, nor I took the original 'problem' seriously. But humour and Usenet often don't go well together. Hope this clarifies things.
Technical Details
Message-ID:
<ugrh4v.m6g.1@ID-201911.user.individual.net>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-mailReferences:
<uftnus$2voq4$1@dont-email.me> <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> <877cnjyc89.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <ugrh4v.m6g.1@ID-201911.user.individual.net>
Subject: Re: betterbird: reading crossposts once?
Date: Thu, 19 Oct 2023 13:14:49 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <uftnus$2voq4$1@dont-email.me> <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> <877cnjyc89.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
Newsgroups: news.software.readers,news.software.nntp
Organization: NOYB
Lines: 50
X-Trace: individual.net F7xe7q+VSFJ6eH9r1SyuvAzgtzWZVI16DTtL0nP+JxYEY3sqnx
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:zvdy8ck+qqhnJzpWSDOxgbZ08Go= sha256:RiyJPaBxjaD5eciV1yAiBUOfd6uysPAZt7FHgL3elc8=
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2