🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
7 messages
7 total messages Started by Paul Eggert Sat, 24 Oct 1992 16:58
Re: common newsreader database implementation available
#3283
Author: Paul Eggert
Date: Sat, 24 Oct 1992 16:58
2 lines
760 bytes
I hope NN adopts the C News common newsreader database just announced by
Geoff Collyer in news.software.b.  Do any NN maintainers care to comment?
Re: common newsreader database implementation available
#3285
Author: Bill Wohler
Date: Mon, 26 Oct 1992 10:28
18 lines
1501 bytes
eggert@twinsun.com (Paul Eggert) writes:
>I hope NN adopts the C News common newsreader database just announced by
>Geoff Collyer in news.software.b.  Do any NN maintainers care to comment?

  i agree.  while i haven't seen what's in the database, i would say
  that nn should use a database that is already available rather than
  taking up the disc space (and cycles) to build its own.  most of the
  current problems with nn deal with nnmaster and administration of
  the database.  nnmaster and nnadmin could be eventually thrown away!

  unfortunately, in the meantime, nn would have to build and use its
  own database on b and old cnews sites.

  (now we have to find someone to implement it--a rough sample nn
  implementation *has* been written.)

Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
Heidelberg Red Barons Ultimate Frisbee Team
Re: common newsreader database implementation available
#3297
Author: Geoff Collyer
Date: Mon, 26 Oct 1992 16:28
9 lines
1034 bytes
wohler@sapwdf.UUCP (Bill Wohler) writes:
>  unfortunately, in the meantime, nn would have to build and use its
>  own database on b and old cnews sites.

No, one can either periodically regenerate the entire database with
"initdb", or make the minor changes to relaynews or rnews to generate the
header stream that the new relaynews produces.
-- 
Geoff Collyer				world!geoff, world.std.com!geoff
Re: common newsreader database implementation available
#3295
Author: Bill Wohler
Date: Wed, 28 Oct 1992 13:44
24 lines
1694 bytes
geoff@world.std.com (Geoff Collyer) writes:
>wohler@sapwdf.UUCP (Bill Wohler) writes:
>>  unfortunately, in the meantime, nn would have to build and use its
>>  own database on b and old cnews sites.

>No, one can either periodically regenerate the entire database with
>"initdb", or make the minor changes to relaynews or rnews to generate the
>header stream that the new relaynews produces.

geoff,

  in the former case, we would have to include initdb in the nn
  distribution--is it small enough to make this feasible?  how long
  does initdb take to rebuild the database (on my ancient siemens
  tableweight)?  is it really reasonable to call it every hour or so?

  in the latter case, i think someone who is motivated enough to
  update relaynews or rnews would have updated their cnews anyways.
  there are also people who are not news administrators and run nn on
  their own because their news people won't install nn.

Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
Heidelberg Red Barons Ultimate Frisbee Team
Re: common newsreader database implementation available
#3296
Author: Geoff Collyer
Date: Wed, 28 Oct 1992 20:08
26 lines
1907 bytes
Bill Wohler:
>  in the former case, we would have to include initdb in the nn
>  distribution--is it small enough to make this feasible?

Yes, initdb is a shell script that invokes a small C program.

> how long does initdb take to rebuild the database (on my ancient siemens
> tableweight)?  is it really reasonable to call it every hour or so?

initdb is definitely a last resort; it took me 12 hours to initialise our
database here.  On the other hand, the general strategy is portable: mkov
(the little C program) can be given a list of new articles and will
produce .overview file entries for those articles.  A variant of initdb
that looked at the active file before and after news processing and ran
mkov on newly-arrived articles ought to be fairly simple to construct.

>  there are also people who are not news administrators and run nn on
>  their own because their news people won't install nn.

I would hope that given a single common newsreader database that can be
updated efficiently (note that initdb need not be run initially; one can
just let the database grow incrementally as articles arrive), that more
news administrators would be willing to support a common database.
-- 
Geoff Collyer				world!geoff, world.std.com!geoff
Re: common newsreader database implementation available
#3301
Author: Luc Rooijakkers
Date: Thu, 29 Oct 1992 12:46
20 lines
1504 bytes
In <bjOnxNi8@twinsun.com> eggert@twinsun.com (Paul Eggert) writes:

>I hope NN adopts the C News common newsreader database just announced by
>Geoff Collyer in news.software.b.  Do any NN maintainers care to comment?

Not that I am an NN maintainer, but...

The common database basically consists of extracted header fields. I am
not intimately familiar with the NN database, but doesn't it contain
more than this? In particular the line count if no Lines: header is
present (if the FAQ patch has been applied).

Is there a solution for this? Line count (or anything not based on
header fields) does not fit well in the .overview database...

--
Luc Rooijakkers                                 Internet: lwj@cs.kun.nl
Faculty of Mathematics and Computer Science     UUCP: uunet!cs.kun.nl!lwj
University of Nijmegen, the Netherlands         tel. +3180652271
Re: common newsreader database implementation available
#3308
Author: Bill Wohler
Date: Sat, 31 Oct 1992 17:15
24 lines
1457 bytes
lwj@cs.kun.nl (Luc Rooijakkers) writes:
>The common database basically consists of extracted header fields. I am
>not intimately familiar with the NN database, but doesn't it contain
>more than this?

  as far as the user is concerned, it contains very little: the sender and the
  subject.  from db.h:

typedef struct {
    int                 dh_type;

#define DH_NORMAL               0
#define DH_DIGEST_HEADER        1
#define DH_SUB_DIGEST           2

    cross_post_number   dh_cross[DBUF_SIZE+1];
    char                dh_sender[DBUF_SIZE+1];
    char                dh_subject[DBUF_SIZE+1];
} data_dynamic_data;


Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
Heidelberg Red Barons Ultimate Frisbee Team
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads