🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #3316

Re: PC news readers?

#3316
From: Rhys Weatherley
Date: Fri, 12 Feb 1993 03:10
40 lines
2782 bytes
In <peter.347.729176099@psychnet.psychol.utas.edu.au> peter@psychnet.psychol.utas.edu.au (Peter R. Tattam) writes:

>The quick fix is to allow partial loading of the news group info, but this is 
>unacceptable for some people.  They want to have full subscribing capablility 
>for all of their newsgroups.

A competent programmer should be able to hide such details from the user,
loading portions at a time.  Think of the huge databases that are daily used
in corporations all over the world: they manage to swap relevant data in and
out of memory invisibly to the user, so why can't the same thing be done with
.newsrc files?  So, it's a little slower, but hard drives are fast enough
these days that it hardly matters.  Also, no one said that the .newsrc
information _has_ to be in a text file, and _has_ to be fully loaded into
memory.

>				It appears that just holding the text for the 
>names is pushing the limits of available memory in DOS.

Hmmm ... on this machine my .newsrc file has over 2000 newsgroups in it, and
comes to just over 50k in length.  50k (or even 100k) certainly isn't pushing
the DOS limits for most apps.  The real memory killer for DOS news readers is
thread and kill file information.

Memory can be seriously cut down for day-to-day news reading tasks by only
loading the groups a user is subscribed to, and loading the rest when the user
wants to update their subscription list.

It's a matter of choosing the right algorithms.  Unix programmers are spoilt
in that they can use memory intensive algorithms.  DOS programmers have to
be smarter than that.  It is was never written in concrete that "Unix news-
readers do it this way, therefore all newsreaders must do it this way", so
don't fall into the trap of using Unix-based algorithms on a machine that
isn't suited to them just because "the Unix newsreaders do it".

Cheers,

Rhys.
--
Rhys Weatherley, University of Queensland, Australia.
rhys@cs.uq.oz.au  "I'm a FAQ nut - what's your problem?"
Technical Details
Message-ID: <12038@uqcspe.cs.uq.oz.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mercury.hsi.com!psinntp!psinntp!rpi!batcomputer!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!rhys
References: <MEYER.93Jan26104330@darkwing.uoregon.edu> <SIVA.93Feb1143215@kanchen.cse.iitb.ernet.in> <peter.347.729176099@psychnet.psychol.utas.edu.au>

Show Full Headers
Complete Article Headers
Message-ID: <12038@uqcspe.cs.uq.oz.au>
Subject: Re: PC news readers?
Date: Fri, 12 Feb 1993 03:10:18 +0000
From: rhys@cs.uq.oz.au (Rhys Weatherley)
References: <MEYER.93Jan26104330@darkwing.uoregon.edu> <SIVA.93Feb1143215@kanchen.cse.iitb.ernet.in> <peter.347.729176099@psychnet.psychol.utas.edu.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!mercury.hsi.com!psinntp!psinntp!rpi!batcomputer!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!rhys
Newsgroups: news.software.readers
Sender: news@cs.uq.oz.au
Reply-To: rhys@cs.uq.oz.au
Lines: 40