🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32188

Re: Diablo 1.18-REL available

#32188
From: XOXO Fluffy
Date: Tue, 13 Oct 1998 00:00
66 lines
4236 bytes
On 13 Oct 1998, Fluffy wrote:

> > closely at how readily commands like LAST, which require such a scan, can
> > be detached from an ARTICLE ### command immediately before, without
> > breaking things too much.
> 
> It's not too bad really.  A/H/B/S <number> already has code to account
> for something that goes missing between the dirscan and the read, and
> you can definitely skip the scan for A/H/B/S <msgid>.

Yahbut, doing a CMDfetch on a message number also has the result of
setting ARTindex, the pointer to the current article, which is then used
by future commands.  Which is why I took the easy way out and put that
scan back in at that point.

Do I really want to populate the array with the numbers from the active
file watermarks gp->Low to gp->High inclusive, in order to get some value
for ARTindex which may or may not match when the array is scanned from the
disk?  I'm not sure yet, but the night is early, and there's still a
bottle of fortitude in front of me that hasn't fallen empty to the floor
yet.


> The only times you really want to bother scanning are for
> XHDR/XOVER/XPAT, NEXT, LAST and LISTGROUP.  Oh yeah, and A/H/B/S
> without an argument, but fortunately those usually involve serial
> scans that will benefit from loading the array anyway.

Now, since most of our lusers are probably only issuing CMDfetch ARTICLE
commands based on the numbers of the articles of interest (or, as it
seems, article of interest most of the time), I wouldn't worry much about
this, but if you read news like me, with Only Newsreader That Counts,
Telnet-119[tm], you're going to give a HEAD ### command and then following
that, a series of LAST commands.  Particularly in groups like
control.newgroup that seem to have large gaps in 'em nowadays.

I'm sure there would be a way to map the current article pointer that
results from the HEAD ### command to an appropriate entry when the group
gets Really And Truly GRPscandir()ed, even in the case where the article
which was retrieved by the initial HEAD command to set the current pointer
gets wiped out before the scan made by the initial subsequent LAST
command.  I'm going to have to think this over a little bit, cuz there are
lusers online now who will pester our Helldesk when I break things, and
the people who take the onslaught when I break things, they know where I
live.  Bah, with this climate that's an advantage, I throw caution and
common sense to the winds now...


> I believe those are group-group-group munchers as well.  Not very many
> readers rely on LIST or LIST ACTIVE <froup>.

I'm not sure yet if there is much of an advantage to be seen from the
previous hackery to eliminate the gratuitous directory scans when the
clients update the available articles in their subscribed groups.  I want
to think so, and things look good so far, but it could also be that people
are discouraged by our b0rken swerver and are going elsewhere to download
their pr0nz.

Ah, the night is young, and the Helldesk will be empty when I unleash the
latest hacked code to break the few persistent lusers who continue to read
news instead of getting their beauty rest.  Heh heh.

Zrbj.


Technical Details
Message-ID: <Pine.LNX.4.00.9810132035050.4176-100000@newsmangler.inet.tele.dk>
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!not-for-mail
References: <6vhjml$oqb$1@flea.best.net> <19981009124140.207$fa@newsreader.com> <Pine.LNX.4.00.9810100542280.8264-100000@coredump.int.tele.dk> <ylu31cq5fm.fsf@windlord.stanford.edu> <6vtrs3$eso@newsops.execpc.com> <Pine.LNX.4.00.9810130402070.4176-100000@newsmangler.inet.tele.dk> <slrn725i13.j1g.fluffy@fluffy.meow.org>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.00.9810132035050.4176-100000@newsmangler.inet.tele.dk>
Subject: Re: Diablo 1.18-REL available
Date: Tue, 13 Oct 1998 00:00:00 +0000
From: XOXO Fluffy <bofh@newsmangler.inet.tele.dk>
References: <6vhjml$oqb$1@flea.best.net> <19981009124140.207$fa@newsreader.com> <Pine.LNX.4.00.9810100542280.8264-100000@coredump.int.tele.dk> <ylu31cq5fm.fsf@windlord.stanford.edu> <6vtrs3$eso@newsops.execpc.com> <Pine.LNX.4.00.9810130402070.4176-100000@newsmangler.inet.tele.dk> <slrn725i13.j1g.fluffy@fluffy.meow.org>
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!not-for-mail
X-Deja-AN: 400710688
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: news-inn.inet.tele.dk 908305182 103472 (None) 193.163.158.4 (13-10-98 18:59:42 GMT)
Organization: stale codewankers
Mime-Version: 1.0
Newsgroups: news.software.nntp