πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92855

Re: Combined LIST command

#92855
From: InterLinked
Date: Tue, 02 Jun 2026 22:26
40 lines
3578 bytes
On 6/2/2026 5:32 PM, Julien Γ‰LIE wrote:
> Hi InterLinked,
> 
>> I'm doing LIST, LIST ACTIVE.TIMES, LIST NEWSGROUPS, and LIST COUNTS 
>> serially right now when listing groups
> 
> As LIST COUNTS contains the information provided by LIST (ACTIVE), you 
> could skip the LIST command when the news server advertises the LIST 
> COUNTS capability.

Ah, yes, I'd assumed that the list of groups could differ from ACTIVE, 
but that's only true of ACTIVE.TIMES and NEWSGROUPS since those 
traditionally involve separate files - I can't think why the COUNT 
listing wouldn't be identical to ACTIVE since it should use the same 
file. At least that brings me down from 3 avoidable RTTs to 2.

> Also, I suggest that you cache the results of LIST ACTIVE.TIMES and LIST 
> NEWSGROUPS for a given server, and that you just sent it again when 
> either the user wants a refresh (via a dedicated button to refresh the 
> descriptions and creation dates) or you notice a change of status a 
> creation or a removal in the newsgroups list received with LIST or LIST 
> COUNTS.

If I were building a "real" offline client, I would do that. I wrote 
this mainly for testing, and I don't want to cache or save anything, 
it's fully stateless - intentionally - as I always want to see what's on 
the server. Sort of like some webmail software (and the mail clients I 
have written are similar, they cache nothing and retrieve everything 
using IMAP - important on shared systems like bulletin board systems 
where caching is counterproductive, since it's requesting everything 
from the local mail server anyways - though this is less of an issue 
with news since everyone has the same (or part of the same)  group 
selection).

IMAP has evolved to support "online only" clients relatively well with 
extensions like LIST-STATUS and STATUS=SIZE, etc. My suggested 
optimization really only applies to online NNTP clients, which I'll 
grant are not much of a thing, but it still seems like a niche where it 
would be useful. Apologies if I'm rocking the boat by proposing 
extensions everyone else things are dumb :)
Technical Details
Message-ID: <10vnlat$38irk$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <10vfdpf$12fb7$1@dont-email.me> <10vktc7$lf7c$1@news.xmission.com> <10vl0uq$2hsmv$1@dont-email.me> <20260602tu081111@o15.ybtra.de> <10vmv1u$320pj$1@dont-email.me> <87ik80lt1b.fsf@hope.eyrie.org> <10vngvg$37f8b$1@dont-email.me> <10vni5v$n7ll$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: InterLinked <nntp@phreaknet.org>
Newsgroups: news.software.nntp
Subject: Re: Combined LIST command
Date: Tue, 2 Jun 2026 18:26:36 -0400
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <10vnlat$38irk$1@dont-email.me>
References: <10vfdpf$12fb7$1@dont-email.me> <10vktc7$lf7c$1@news.xmission.com>
 <10vl0uq$2hsmv$1@dont-email.me> <20260602tu081111@o15.ybtra.de>
 <10vmv1u$320pj$1@dont-email.me> <87ik80lt1b.fsf@hope.eyrie.org>
 <10vngvg$37f8b$1@dont-email.me> <10vni5v$n7ll$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 02 Jun 2026 22:26:38 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3427188"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19byD4QxEguemXP4lrO5zFjK8ypkHUJ3x8="; posting-host="43a6ef2cf129fbef75a61b99ec72bb1f"
Cancel-Lock: sha1:rfCJTkLhEk7uKVg2AFmJdSP+hz4= sha256:IY6gJdlgGHXamrlwlmHYWG1nqHKN8b+i4s6BCe6vCn0=
	sha1:eIeVruvPMbTRTbd0CT5iWr2sxwM=
Content-Language: en-US
In-Reply-To: <10vni5v$n7ll$1@news.trigofacile.com>
X-Mailer: MailNews/52.9.9224a1