🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38104

Re: Master List of Newsgroup Hierarchies...

#38104
From: Brad Knowles
Date: Thu, 17 Jun 1999 00:00
30 lines
2199 bytes
In article <7k98bg$kpq$1@newssvr03-int.news.prodigy.com>, davidsen@tmr.com
(bill davidsen) wrote:

> I think this would be useful! However, it's the type of thing you may go
> months without revisiting, so hopefully there will be a small "remind me
> what I understood when I set this up" doc file ;-)

    True enough.  I was thinking of potentially running it once a month,
but even then you might forget what you had done the month before or why.

> If performance or portability gets bad, you could probably do this in
> perl using a hashed associative array on the leading elements of the
> hierarchies, which might help in these areas.

    Oy.  I've been doing a lot of Perl hashes lately, and I've been
finding that they use up a *huge* amount of memory, and not all of our
servers have 1GB of RAM to play with.  I really want to find a better
solution to successfully tie them to a dbm file before I do too much more
in that arena.

    As it stands now, doing an iteration of "grep $line $filename" for
each and every line in the pattern file is sufficient, albeit quite slow
(especially if you're performing a negative lookup for newsgroups that are
not in the "known valid" hierarchy).

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Technical Details
Message-ID: <brad-1706991225390001@brad.techos.skynet.be>
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: <brad-1606991725360001@brad.techos.skynet.be> <7k98bg$kpq$1@newssvr03-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <brad-1706991225390001@brad.techos.skynet.be>
Subject: Re: Master List of Newsgroup Hierarchies...
Date: Thu, 17 Jun 1999 00:00:00 +0000
From: brad@shub-internet.org (Brad Knowles)
References: <brad-1606991725360001@brad.techos.skynet.be> <7k98bg$kpq$1@newssvr03-int.news.prodigy.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!not-for-mail
X-Deja-AN: 490616511
X-Complaints-To: abuse@skynet.be
X-Trace: news1.skynet.be 929615088 16495 195.238.1.121 (17 Jun 1999 10:24:48 GMT)
Organization: Shub-Internet
X-URL: http://www.shub-internet.org/
NNTP-Posting-Date: 17 Jun 1999 10:24:48 GMT
Newsgroups: news.software.nntp