🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #54785

Re: Article numbering and handling article number rollover

#54785
From: Andrew Gierth
Date: Wed, 24 Oct 2001 05:41
25 lines
2122 bytes
>>>>> "Howard" == Howard Siegel <not.interested@nospam.invalid> writes:

 >> no, but an unsigned one is.

 Howard> OK.  Anyone know if perl (5.005.3) can handle integers that
 Howard> large?

Perl uses doubles for numbers by default, so no problem.

 >> What _can_ happen is that the server dies and is replaced, or the
 >> article numbers are reset for some other reason. If the article
 >> numbers returned from the server are wildly different from the old
 >> ones, you may want to throw the old info away

 Howard> Anyone know what algorithm the "brand name" news readers use
 Howard> to detect 'wildly different' numbers and what they do to
 Howard> reset the newsrc article number list when this happens?

Generally they just break, and require that the user manually reset the
group, or unsubscribe and resubscribe, or in extreme cases re-initialise
as though using a new server.

-- 
Andrew.
Technical Details
Message-ID: <87hesp1tos.fsf@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lios!news.gweep.ca!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
References: <9r5agg$7ma$1@news.panix.com> <87lmi120ui.fsf@erlenstar.demon.co.uk> <9r5hmi$9pq$1@news.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <87hesp1tos.fsf@erlenstar.demon.co.uk>
Subject: Re: Article numbering and handling article number rollover
Date: Wed, 24 Oct 2001 05:41:07 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <9r5agg$7ma$1@news.panix.com> <87lmi120ui.fsf@erlenstar.demon.co.uk> <9r5hmi$9pq$1@news.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lios!news.gweep.ca!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster
Newsgroups: news.software.nntp,news.software.readers
Organization: disorganised
Lines: 24
Distribution: inet
NNTP-Posting-Host: erlenstar.demon.co.uk (5473:09a4)
X-Mayan-Date: Long count = 12.19.8.12.2; tzolkin = 8 Ik; haab = 0 Zac
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: andrew@erlenstar.demon.co.uk
X-Post-Filter: postfilter v0.6 alpha