🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89824

Re: Advertising the MAXARTNUM extension

#89824
From: Michael Bäuerle
Date: Sun, 11 Dec 2022 11:08
30 lines
1987 bytes
Franck wrote:
Julien ÉLIE wrote:
> > 
> > I'll use the ^n notation below, meaning 2^n-1.
> > We'll have to discuss whether we should keep it (client<->server or only
> > client->server) or only use numbers.
> 
> Since this number is (usually) based on the integer type used by the
> developer, I really don't see the point of accepting anything other than
> the maximum values of the main integer types.
> 
> So I'll go for a single, simple syntax, in both directions, like :
> 
> MAXARTNUM INT32		=> ^31
> MAXARTNUM UINT32	=> ^32
> MAXARTNUM INT64		=> ^63
> MAXARTNUM UINT64	=> ^64
> MAXARTNUM		=> Unlimited.
> 
> Away goofy numbers, away very confusing ^N (meaning ^N-1 !).

Yes, the meaning should not differ from what is written.

> What is the real benefit of a MAXARTNUM 1234567890?

I would prefer plain numbers.

Possibly in hexadecimal (if this helps debugging):

    MAXARTNUM 7FFFFFFFFFFFFFFF
Technical Details
Message-ID: <AABjlbor5lQAAApc.A3.flnews@WStation7.micha.freeshell.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
References: <D9E85xtkDAg@news.spitfire-nntp.fr> <tn3245$2mbfk$2@news.trigofacile.com> <Cmr6pS8uULc@news.spitfire-nntp.fr>

Show Full Headers
Complete Article Headers
Message-ID: <AABjlbor5lQAAApc.A3.flnews@WStation7.micha.freeshell.org>
Subject: Re: Advertising the MAXARTNUM extension
Date: Sun, 11 Dec 2022 11:08:27 +0000
From: Michael Bäuerle <michael.baeuerle@gmx.net>
References: <D9E85xtkDAg@news.spitfire-nntp.fr> <tn3245$2mbfk$2@news.trigofacile.com> <Cmr6pS8uULc@news.spitfire-nntp.fr>
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.nntp
Lines: 30
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net K4dNuPVuZgMq/Scc7bKvcQCFbMeMrEFcd3OuugGeGm0LJLPR0j
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:hsS8oD/AnNTu1cPXSFzQeO9d0PE= sha256:HvhXRirmN4KTTbPgSb1k6zeeGpyb+s/Y83gtlxf5F24= sha1:UJGFyd6GvudNTXonDfqHpGNYusQ=
Injection-Date: Sun, 11 Dec 2022 11:08:27 -0000
User-Agent: flnews/1.2.0pre16 (for GNU/Linux)