🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #17333

slrn: default scores for newsgroups [was Re: Poll: slrn and kill files]

#17333
From: Jim Knoble
Date: Sat, 14 Oct 1995 00:00
66 lines
2978 bytes
On 13 Oct 1995 21:13:09 GMT John E. Davis <da...@space.mit.edu> wrote:
> So what you want is really a simplified interface a score such as:
> 
>    Score: -100
>    Newsgroup: misc.jobs.offered
>    
> This can be accomplished by extending the syntax of the newsgroup
> specification, e.g., allow
> 
>   [misc.jobs.offered] -100
>   
> to set a default score of -100 to articles in misc.jobs.offered.  That is
> easy.  But now consider a score file:
> 
>   [misc.*] -100
>      .
>      .
>   [*.jobs.*] -200
>      .
>      .
> 
> Suppose this is applied to an article in misc.jobs.offered.  Here, all
> scores in the section [misc.*] will be applied to the article first and then
> all scores in [*.jobs.*] will be applied.  Since there are now two default
> scores (-100 and -200) which one shall be used?  Algorithmically, the clear
> choice is to used the first since it can serve initialize the score.

actually, you could use either the first score to appear or the last
one, depending on where you want the less-specific entries to appear.
if i have in the score file, for instance:

    [alt.*] -3000
    [alt.lang.s-lang] 1000
    [alt.*erotica.*] -9999
    [alt.dcom.slip-emulators] 0
    [alt.peace-corps] 0
    
    [*.beer.*] 50
    
then all alt groups, except those listed, should have a score of
-3000, and the hypothetical groups alt.food.drink.beer.german and
alt.food.drink.beer.home-brew get a score of 50.  for this
arrangement, the score to apply should be the *last* one that appears
in the score file.  if the *first* one that appears should apply, then
we need to reverse the order of listing in the score file:

    [*.beer.*] 50
    
    [alt.lang.s-lang] 1000
    [alt.*.erotica.*] -9999
    [alt.dcom.slip-emulators] 0
    [alt.peace-corps] 0
    [alt.*] -3000
    
depends on how you want the listing to appear.  in my opinion, the
first example above is preferable (last score applies).

peace.

--jim

-- 
##########  jim knoble  ###  jmkn...@mercury.interpath.net  ##########

Technical Details
Message-ID: <45niam$6ck@redstone.interpath.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
References: <44ch1i$1js@senator-bedfellow.MIT.EDU> <44fdf7$sse@ill.msilink.com> <DFxLK9.FMp@midway.uchicago.edu> <44uenl$bm0@senator-bedfellow.MIT.EDU> <45ehga$2d5@nova.umuc.edu> <45if6o$2q5@senator-bedfellow.MIT.EDU> <45jubi$mgi@nova.umuc.edu> <45mkp5$mj7@senator-bedfellow.MIT.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <45niam$6ck@redstone.interpath.net>
Subject: slrn: default scores for newsgroups [was Re: Poll: slrn and kill files]
Date: Sat, 14 Oct 1995 00:00:00 +0000
From: jmknoble@zephyr (Jim Knoble)
References: <44ch1i$1js@senator-bedfellow.MIT.EDU> <44fdf7$sse@ill.msilink.com> <DFxLK9.FMp@midway.uchicago.edu> <44uenl$bm0@senator-bedfellow.MIT.EDU> <45ehga$2d5@nova.umuc.edu> <45if6o$2q5@senator-bedfellow.MIT.EDU> <45jubi$mgi@nova.umuc.edu> <45mkp5$mj7@senator-bedfellow.MIT.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 117552290
Organization: Knoble's Fine Foods
Reply-to: jmkn...@mercury.interpath.net
Newsgroups: news.software.readers,alt.lang.s-lang,alt.sources.d