🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
28 messages
28 total messages Started by da... John E. Davis Wed, 27 Sep 1995 00:00
Poll: slrn and kill files
#17246
Author: da... John E. Davis
Date: Wed, 27 Sep 1995 00:00
129 lines
5487 bytes
Hi,

   This is not really a poll; rather, I am seeking comments on my
implementation of kill files in slrn which will appear in the next release.
Below I have attached a small document that describes the kill file format
as well as some examples of the kinds of kill that will be possible.

   Some of the things that still need sorting out are issues such as whether
or not an article that is killed be simply marked as delete or actually
killed.  Since I am really implementing score files, I thing the easiest
thing to do is to mark as read a file that scores poorly but scores above
some minimum score.  Articles that score below this threshold will be
totally ignored.  Any thought here?

   Here is the score file format.  Please send me examples of the kinds of
kill that you would like to do but do not appear possible in the current
implentation as described below.

   Thanks,
   --John

----- score files ------------
Basic Idea:

  slrn awards an article points by giving it a score.  If the score for the
article is less than zero, the article is killed.  The purpose of the score
file is to define the set of tests that an article must go through to
determine the score.  The score may be based on any of the following header
items:

      * Subject
      * From
      * Xref
      * References
      
as well as the newsgroup that the article is part of.
  
Score file format:

  The format of the file is very simple (See below for an explicit example).
The file is divided into sections delimited by a newsgroup enclosed in
square brackets.  The name may contain the `*' wild card character.  Comments
begin with the `%' character.  Leading whitespace is ignored.

Each section consists of comment lines, empty lines or keyword lines.  Only
the keyword lines are meaningful and all leading whitespace is ignored.  A
keyword line begins with the name of the keyword followed immediately by a
colon and one space.  The rest of the lines must contain a regular
expression.  A group of keywords defines a test that is given to the header
of the article.  The `Score' keyword is used to assign a score to the header
if the header passes the test.  It also serves to delimit tests.  The score
can be any positive or negative integer.  However there are two special
values: 9999 and -9999.  If the score for an individual test is one of these
two values, any following tests are skipped and the article is simply given
one of the two special values.

In the current implementation, only the following keywords are valid:

    Score
    Subject
    From
    Newsgroups
    Xrefs
    References

Here is a sample slrn score file:
-------------------------------------------------------------  
  [news.software.readers]
     Score: 9999
     % All slrn articles are good
     Subject: slrn
  
     Score: 9999
     % This is someone I want to hear from
     From: davis@space\.mit\.edu

     Score = -9999
     Subject: \<f?agent\>

  [comp.os.linux.*]
     Score: -10
     Subject: swap
     
     Score: 20
     Subject: SunOS
      
     Score: 50
     From: Linus
     
     % This person I want nothing to do with unless he posts about 
     % `gizmos' but only in comp.os.linux.development.*
     Score: 9999
     From: someone@who\.knows\.where
     Subject: gizmo
     Newsgroup: development
     
     Score: -9999
     From: someone@who\.knows\.where
--------------------------------------------------------  

This file consists of two sections.  The first section defines a set of
tests applied to the news.software.readers newsgroups.  The second section
applies to the comp.os.linux newsgroups.

The first section consists of three tests.  The first test applies a score
of 9999 to any subject that contains the string `slrn'.  The second test
applies to the `From'.  It says that any article from da...@space.mit.edu
gets scores 9999.  The third test gives a score of -9999 to any article
whose subject contains the word `agent'.  Since tests are applied in order,
if an article contains both `slrn' and `agent', it will be given a score of
9999 since 9999 is a special score value.

The second section is more complex.  It applies to the newsgroups
comp.os.linux newsgroups and consists of 5 tests.  The first three are
simple: -10 points are given if the subject contains `swap', 20 if it
contains SunOS, and 50 if the article is from someone named `Linus'.  This
means that if Bill@Somewhere writes an article whose subject is `Swap, Swap,
Swap', the article is give -10 points.  However, if the Linus writes an
article with the same title, it is given -10 + 50 = 40 points.

The last two tests serve to filter out posts from someone@who.knows.where
unless he posts about `gizmos' in one of the comp.os.development newsgroups.



  

Re: Poll: slrn and kill files
#17249
Author: jca... John Caruso
Date: Thu, 28 Sep 1995 00:00
32 lines
2023 bytes
On 27 Sep 1995 21:51:46 GMT, John E. Davis <da...@space.mit.edu> wrote:
 : 
 : Since I am really implementing score files, I thing the easiest
 : thing to do is to mark as read a file that scores poorly but scores above
 : some minimum score.  Articles that score below this threshold will be
 : totally ignored.  Any thought here?

Sounds like a good convention--then the user can choose which behavior
they want.  Would the threshold be global, or could it be set on a group-
by-group basis (with a global default)?

 : Comments begin with the `%' character.  Leading whitespace is ignored.

Minor nit--by conventions, comments nearly always begin with "#", not "%".
It'd lessen confusion if slrn adopted this convention.

 : However there are two special values: 9999 and -9999.  If the score for
 : an individual test is one of these two values, any following tests are
 : skipped and the article is simply given one of the two special values.

Something symbolic, e.g. HIGHEST and LOWEST, would be better (easier to
remember, more mnemonic) than arbitrary values.  Or maybe HEAVEN and HELL,
ZENITH and NADIR, YIN and YANG, BONNIE and CLYDE....  :-)

--
John Caruso, Senior Technology Consultant
ADP Claims Solutions Group                 Phone: (800) 366-4237 x2102
2010 Crow Canyon Place                     FAX  : (510) 866-4839
San Ramon, CA  94583 (USA)                 Email: jca...@sr.csg.com

Re: Poll: slrn and kill files
#17250
Author: abr... Per Abrahamsen
Date: Thu, 28 Sep 1995 00:00
18 lines
1440 bytes

>>>>> "JED" == John E Davis <da...@space.mit.edu> writes:

JED> This is not really a poll; rather, I am seeking comments on my
JED> implementation of kill files in slrn which will appear in the
JED> next release. 

How about using either the strn or Gnus score file format?

JED> Since I am really implementing score files, I thing the easiest
JED> thing to do is to mark as read a file that scores poorly but scores above
JED> some minimum score.  Articles that score below this threshold will be
JED> totally ignored.  

Well, Gnus allow you to set `mark-below' and `expunge-below' in the
score files, which does exactly what you suggest above.  It works fine.
Re: Poll: slrn and kill files
#17251
Author: Tim Pierce
Date: Thu, 28 Sep 1995 00:00
24 lines
1898 bytes
In article <44esij$s...@senator-bedfellow.MIT.EDU>,
John E. Davis <da...@space.mit.edu> wrote:

>On 28 Sep 1995 16:51:28 GMT, John Caruso <jca...@sr.csg.com> wrote:
> : Sounds like a good convention--then the user can choose which behavior
> : they want.  Would the threshold be global, or could it be set on a group-
> : by-group basis (with a global default)?
> 
>    I do not see the point of making it vary with the group.  After all, you
>    determine the score within a group.

I think that permitting the user to specify a threshhold is a more
user-friendly option.  Judging from my own reactions with strn,
I'm often likely to assign scores based on arbitrary or emotional
criteria -- even if a score of -20 would suffice to kill an
article, I may give it -50 if I feel very strongly about it.  The
kill threshold is then likely to fluctuate between groups.

-- 
By sending unsolicited commercially-oriented e-mail to this address, the 
sender agrees to pay a $100 flat fee to the recipient for proofreading 
services.
Re: Poll: slrn and kill files
#17259
Author: ro... root
Date: Thu, 28 Sep 1995 00:00
12 lines
1004 bytes
Hey this is really great.

On 27 Sep 1995 21:51:46 GMT, John E. Davis <da...@space.mit.edu> wrote:
 : Hi,
 : 
 :    This is not really a poll; rather, I am seeking comments on my
 : implementation of kill files in slrn which will appear in the next release.
 : Below I have attached a small document that describes the kill file format
 : as well as some examples of the kinds of kill that will be possible.

Re: Poll: slrn and kill files
#17284
Author: da... John E. Davis
Date: Wed, 04 Oct 1995 00:00
26 lines
1614 bytes
On Wed, 4 Oct 1995 15:55:21 GMT, Tim Pierce <twpi...@midway.uchicago.edu> wrote:
 : Most of the time, however, I do agree with you.  I like John's
 : proposed two-tier scoring scheme for just that reason: an article
 : which I regard merely as noise or a nuisance should simply be
 : marked as `delete' and left available, while some articles I'd
 : prefer to have removed completely from my field of vision.
 
Actually there are 4 tiers:

     score == -9999   : Kill article
     score < 0        : Mark as read
     score == 0       : Normal article
     score > 0        : Mark as interesting
     
Headers that fall in the last class are indicated by the `!' character in
the left margin.  You can use the `!' key to move to such articles.

A note to jed users:

slrn version 0.7.9 includes a file (score.sl) that sets up syntax
highlighting and indentation for slrn score files.

--John

Re: Poll: slrn and kill files
#17285
Author: twpi... Tim Pierce
Date: Wed, 04 Oct 1995 00:00
43 lines
2670 bytes
In article <44fdf7$s...@ill.msilink.com>, J.B. Nicholson-Owens <j...@mystery-train.cu-online.com> wrote:

> John E. Davis <da...@space.mit.edu> wrote:
>
> >    Some of the things that still need sorting out are issues
> > such as whether or not an article that is killed be simply
> > marked as delete or actually killed.
> 
> I can't imagine too many times when I would want to not see an article, even
> in the case of a kill file.

I can.  There are some people who raise my blood pressure to such
a degree that I do not even want to see their names in a newsgroup
window.  I do not want to know that they have posted anything.  I
do not want to think that they exist.  (You may point out that
there are theraputic ways of dealing with this that do not involve
news software, and you'd be right, but still it doesn't hurt.)

Most of the time, however, I do agree with you.  I like John's
proposed two-tier scoring scheme for just that reason: an article
which I regard merely as noise or a nuisance should simply be
marked as `delete' and left available, while some articles I'd
prefer to have removed completely from my field of vision.

> > The file is divided into sections delimited by a newsgroup enclosed in
> > square brackets.  The name may contain the `*' wild card character.
> 
> Maybe regular expressions used consistently in all places that accept wild
> cards would be a better way to go?

Maybe.  Shell-style globbing is nice to use in newsgroup names
because it doesn't treat `.' as a special character, and because
of the informal convention of referring to a hierarchy as e.g.
`news.software.*'.  But if this sort of hackery is confusing to
some people, then consistency is probably a better solution.

-- 
By sending unsolicited commercially-oriented e-mail to this address, the 
sender agrees to pay a $100 flat fee to the recipient for proofreading 
services.

Re: Poll: slrn and kill files
#17289
Author: Tom Christiansen
Date: Thu, 05 Oct 1995 00:00
26 lines
1703 bytes
 [courtesy cc of this posting sent to cited author via email]

In news.software.readers, 
    twpi...@midway.uchicago.edu (Tim Pierce) writes:
:> Maybe regular expressions used consistently in all places that accept wild
:> cards would be a better way to go?
:
:Maybe.  Shell-style globbing is nice to use in newsgroup names
:because it doesn't treat `.' as a special character, and because
:of the informal convention of referring to a hierarchy as e.g.
:`news.software.*'.  But if this sort of hackery is confusing to
:some people, then consistency is probably a better solution.

It would seem that a hook into newsclip-like functionality that
returned a score would be the most versatile.  Everything else
is a kludge and won't allow the programmer to think of something
you didn't.

--tom
-- 
Tom Christiansen      Perl Consultant, Gamer, Hiker      tch...@mox.perl.com


150 years ago everybody was a Christian Scientist.   --dmr
Re: Poll: slrn and kill files
#17293
Author: l... Lars Marowsky-Bree
Date: Fri, 06 Oct 1995 00:00
33 lines
2298 bytes
John E. Davis (da...@space.mit.edu) wrote:

>      score == -9999   : Kill article
>      score < 0        : Mark as read
>      score == 0       : Normal article
>      score > 0        : Mark as interesting

John, this sounds quite good. You might want to look at
ftp://ftp.teuto.de/pub/user/lmb/killfile-1.1.tar.gz , which also does
killing by a scoring system. I prefer it, because it does this offline --
killfiling with interesting expressions is a long process, and so I start
this in the background, go for a cup of coffee, and come back with all
annoying articles marked read. With Perl being the regex language, it is
basically totally versatile.

The tradeoff is the lacking integration into a newsreader. But perhaps you
can get some ideas from it... Oh, it is a spool-dir only version, since I
don't run NNTP. (This is what kept me from trying slrn -- does it now
support spool dirs?)

Anyhow, I am already thinking about automatically issuing local cancels
messages for killed articles -- not seeing them is nice, but having to waste
disk space is still annoying.

-- 
Lars Marowsky-Bree   Voice: +49-571-63663   PGP-key avail. via server
HomePage: http://www.teuto.de/~lmb/    Mail: l...@pointer.in-minden.de
PGP-Id: 0xDAB57941 / CF FC 3A F0 86 F1 D3 EB  79 8A CF 75 4F 4C 81 DF
> GCS$/M/P d-? s++: a? C++++ UL++++ P+++ L+++>++++ D-- W++(--) N+++ <
> o++ K w--- !O- M-(?) V? PS+ PE(+++) Y(+) PGP+++ t++>+++ 5++ X+ R- <
>         tv+ b++>++++ DI? E- G++>+++ e* h(+)>++ r+ y++**>$         <
speed of kill/score (was: Re: Poll: slrn and kill files)
#17296
Author: da... John E. Davis
Date: Fri, 06 Oct 1995 00:00
20 lines
1655 bytes
On Fri, 6 Oct 1995 18:26:06 GMT, Lars Marowsky-Bree <l...@pointer.in-minden.de> wrote:
 : John, this sounds quite good. You might want to look at
 : ftp://ftp.teuto.de/pub/user/lmb/killfile-1.1.tar.gz , which also does
 : killing by a scoring system. I prefer it, because it does this offline --
 : killfiling with interesting expressions is a long process, and so I start
 : this in the background, go for a cup of coffee, and come back with all
 : annoying articles marked read. With Perl being the regex language, it is

I believe that scoring in slrn is quite efficient.  Unfortunately, I have
not really used scoring or killing in any other newsreader before, so I
cannot say how fast it is compared to others.

Does anyone else have any comments regarding the speed of slrn kill/scoring
compared to other newsreaders?

Thanks,
--John

Re: speed of kill/score (was: Re: Poll: slrn and kill files)
#17298
Author: da... John E. Davis
Date: Fri, 06 Oct 1995 00:00
56 lines
2344 bytes
On 6 Oct 1995 20:29:33 GMT, I wrote:
 : Does anyone else have any comments regarding the speed of slrn kill/scoring
 : compared to other newsreaders?

Here is an example: In the newsgroup news.software.readers, slrn retrieved,
scored, and threaded 1024 headers in about 1.5 - 2 seconds (Sparc-IPX, network
connection to news server which supports XOVER).  In my scorefile, I have:

[news.software.readers]
   Score: 9999
       Subject: slrn
   Score: 9999
       From: da...@space.mit.edu
   Score: -9999
       Subject: \<agent\>
   Score: -100
       Subject: \<tin\>
   Score: -9999
       Subject: \<forte\>
   Score: -9999
       Subject: \<fa\>
   Score: -9999
       Subject: \<xpress
   Score: -9999
       Subject: newsxpress
   Score: -9999
       Xref: winsock

That is, I mark an article as important if:

    The subject contains `slrn'
    or it is from `da...@space.mit.edu'
    
It is marked as read if `tin' occurs as a word in the subject.  By
specifying the regular expression as \<tin\>, I avoid marking subjects
subjects like `getTINg', etc....  (Similar comments apply to expressions
below)

A article is killed if the subject matches one of the regular expressions:

     \<agent\>
     \<forte\>
     \<fa\>
     \<xpress
     newsxpress
     
or if the article was cross posted to a `winsock' newsgroup.

I would be interested to hear timing reports for similar kill/score
expressions for other newsreaders.

Thanks,
--John

Re: speed of kill/score (was: Re: Poll: slrn and kill files)
#17302
Author: d... Dong-Ick Lee
Date: Sat, 07 Oct 1995 00:00
29 lines
1588 bytes
In article <4544ld$d...@senator-bedfellow.MIT.EDU>,
   da...@space.mit.edu (John E. Davis) wrote:
  
|A article is killed if the subject matches one of the regular expressions:
|
|     \<agent\>
|     \<forte\>
|     \<fa\>
|     \<xpress
|     newsxpress
|     
|or if the article was cross posted to a `winsock' newsgroup.
|
|I would be interested to hear timing reports for similar kill/score
|expressions for other newsreaders.


With NewsXpress, 

[^a-z](agent|forte|fa)[^a-z]
^(agent|forte|fa)[^a-z]
[^a-z](agent|forte|fa)$


_____________________________________________________________________________
Dong-Ick Lee <d...@acpub.duke.edu> <l...@econ.duke.edu>
PhD student in Economics, Duke University, Durham, North Carolina, USA
Re: Poll: slrn and kill files
#17311
Author: lw... Larry W. Virden
Date: Mon, 09 Oct 1995 00:00
26 lines
1906 bytes

In article <44uenl$b...@senator-bedfellow.MIT.EDU>,
John E. Davis <da...@space.mit.edu> wrote:
:On Wed, 4 Oct 1995 15:55:21 GMT, Tim Pierce <twpi...@midway.uchicago.edu> wrote:
: : Most of the time, however, I do agree with you.  I like John's
: : proposed two-tier scoring scheme for just that reason: an article
: : which I regard merely as noise or a nuisance should simply be
: : marked as `delete' and left available, while some articles I'd
: : prefer to have removed completely from my field of vision.
: 
:Actually there are 4 tiers:
:
:     score == -9999   : Kill article
:     score < 0        : Mark as read

What does this 'kill article' do ?  Delete the item from the disk?  Or
is there somehow some difference between marking an article as being read
and killing the messenger?

-- 
:s Larry W. Virden                 INET: larry...@cas.org
:s <URL:http://www.teraform.com/%7Elvirden/>
:s Unless explicitly stated to the contrary, nothing in this posting should 
:s be construed as representing my employer's opinions.
Re: Poll: slrn and kill files
#17315
Author: jca... John Caruso
Date: Tue, 10 Oct 1995 00:00
34 lines
2178 bytes
On 4 Oct 1995 17:02:45 GMT, John E. Davis <da...@space.mit.edu> wrote:
>
>Actually there are 4 tiers:
>
>     score == -9999   : Kill article
>     score < 0        : Mark as read
>     score == 0       : Normal article
>     score > 0        : Mark as interesting
>     
>Headers that fall in the last class are indicated by the `!' character in
>the left margin.  You can use the `!' key to move to such articles.

I've tried out slrn's scoring now, and the 4-tier structure is great
(although it needs to be documented somewhere).  One thing that would
be nice to add is an optional default score for a newsgroup--a score
given to any article which doesn't match any of the search rules for
that newsgroup.  This would be helpful when designing an "inclusive"
strategy, where you give a positive score to stuff you want to see
and let everything else pick up the default (very useful in groups
where 99% of the postings are noise to a particular person, such as
misc.jobs.offered and probably some of the .marketplace groups).

I'm simulating this now with an entry like "Score: -10 / Newsgroup:
<newsgroup name>", which is guaranteed to match, but a per-group default
value would make it much simpler.

--
John Caruso, Senior Technology Consultant
ADP Claims Solutions Group                 Phone: (800) 366-4237 x2102
2010 Crow Canyon Place                     FAX  : (510) 866-4839
San Ramon, CA  94583 (USA)                 Email: jca...@sr.csg.com

Re: Poll: slrn and kill files
#17316
Author: da... John E. Davis
Date: Tue, 10 Oct 1995 00:00
55 lines
2374 bytes
On Mon, 9 Oct 1995 19:10:20 GMT, Larry W. Virden <lw...@cas.org> wrote:
 : :     score == -9999   : Kill article
 : :     score < 0        : Mark as read
 : 
 : What does this 'kill article' do ?  Delete the item from the disk?  Or
 : is there somehow some difference between marking an article as being read
 : and killing the messenger?

Kill means that as far as the user is concerned, the article does not exist.
For example, there has been discussion of splitting news.software.readers
because of the high number of articles pertaining to Windows newsreaders
such as Free Agent.  For me, this is a pointless because I simply never see
such articles because they have been killed.  I also have `tin' in my kill
file; however, `tin' articles are marked as already read.

Here is the news.software.readers secion of my scorefile:

[news.software.readers]
   % Mark these articles as interesting
   Score: 9999
       Subject: slrn
   Score: 9999
       From: da...@space.mit.edu


   % Not interested in TIN but simply mark it as read
   Score: -100
       Subject: \<tin\>

   % Kill all articles pertaining to Windows newsreaders
   Score: -9999
       Subject: \<agent\>
   Score: -9999
       Subject: \<forte\>
   Score: -9999
       Subject: \<fa\>
   Score: -9999
       Subject: \<freeagent\>
   Score: -9999
       Subject: \<Xpress
   Score: -9999
       Subject: newsxpress
   Score: -9999
       Subject: WinVN
   % I also do not want to read an articles crossposted to a winsock group
   Score: -9999
       Xref: winsock
	


--John


Re: Poll: slrn and kill files
#17320
Author: l... Lars Marowsky-Bree
Date: Thu, 12 Oct 1995 00:00
38 lines
2391 bytes
On 12 Oct 1995 07:13:28 GMT, John E. Davis <da...@space.mit.edu> wrote:

>  : and let everything else pick up the default (very useful in groups
>  : where 99% of the postings are noise to a particular person, such as
>  : misc.jobs.offered and probably some of the .marketplace groups).
>     0 is that value.  What's wrong with it?

I can see where he is coming from, or at least, I think so.

While the differentiation between highscore,normal,deleted and killed is
quite good, it would be nice to have the 'normal' category extend a bit
farther, something like this:

 9999 - 1000 Highscore
  999 -    0 Normal
    0 --9998 Deleted
       -9999 Killed

Then, you could view the articles in a 'sort-by-score' mode and only read
the most interesting ones. strn implements this. Sadly, the newest version I
found was from Jan 1994, so I fear it won't get updated any more.

> I can only recommend that every newsreader author takes a close look at <
> this one.                                                               <

Then, with this scheme, it would of course be nice if the article started
with say, 50 points, so that there is a little cushion for mistakes...

Lars, still on the look for the _perfect_ newsreader and thinking about
      writing another one...

-- 
Lars Marowsky-Bree   Voice: +49-571-63663   PGP-key avail. via server
HomePage: http://www.teuto.de/~lmb/    Mail: l...@pointer.in-minden.de
PGP-Id: 0xDAB57941 / CF FC 3A F0 86 F1 D3 EB  79 8A CF 75 4F 4C 81 DF

Re: Poll: slrn and kill files
#17322
Author: da... John E. Davis
Date: Thu, 12 Oct 1995 00:00
21 lines
1636 bytes
On 10 Oct 1995 19:28:10 GMT, John Caruso <jca...@sr.csg.com> wrote:
 : I've tried out slrn's scoring now, and the 4-tier structure is great
 : (although it needs to be documented somewhere).  One thing that would
 
    Hopefully it will appear in the man page in the next release.
    
 : be nice to add is an optional default score for a newsgroup--a score
 : given to any article which doesn't match any of the search rules for
 : that newsgroup.  This would be helpful when designing an "inclusive"
 : strategy, where you give a positive score to stuff you want to see
 : and let everything else pick up the default (very useful in groups
 : where 99% of the postings are noise to a particular person, such as
 : misc.jobs.offered and probably some of the .marketplace groups).

    0 is that value.  What's wrong with it?
    
    Thanks,
    --John

Re: Poll: slrn and kill files
#17323
Author: jca... John Caruso
Date: Thu, 12 Oct 1995 00:00
31 lines
2288 bytes
On 12 Oct 1995 07:13:28 GMT, John E. Davis <da...@space.mit.edu> wrote:
>On 10 Oct 1995 19:28:10 GMT, John Caruso <jca...@sr.csg.com> wrote:
>    
> : be nice to add is an optional default score for a newsgroup--a score
> : given to any article which doesn't match any of the search rules for
> : that newsgroup.  This would be helpful when designing an "inclusive"
> : strategy, where you give a positive score to stuff you want to see
> : and let everything else pick up the default (very useful in groups
> : where 99% of the postings are noise to a particular person, such as
> : misc.jobs.offered and probably some of the .marketplace groups).
>
>    0 is that value.  What's wrong with it?

It's not suitable for every group.  What's wrong with giving the user
the flexibility to change it on a group-by-group basis?

0 is fine if you want all articles to show up by default for a given
newsgroup.  But with some groups it would be preferable to have articles
present but marked as read by default (i.e. a default of < 0), and with
other groups it would be preferable to have articles not show up at all
unless they're matched by other rules (i.e. a default of -9999).  See
my previous posting for examples of newsgroups that fit these scenarios.

--
John Caruso, Senior Technology Consultant
ADP Claims Solutions Group                 Phone: (800) 366-4237 x2102
2010 Crow Canyon Place                     FAX  : (510) 866-4839
San Ramon, CA  94583 (USA)                 Email: jca...@sr.csg.com

Re: Poll: slrn and kill files
#17327
Author: da... John E. Davis
Date: Fri, 13 Oct 1995 00:00
33 lines
2414 bytes
On 13 Oct 1995 14:33:41 +0100, Olly Betts <ol...@mantis.co.uk> wrote:
 : I've had a look at slrn, and it does seem nice.  I'd want local newsspool
 : support, but that should be easy to add.  However, John's insistance on
 : sticking to the usual XOVER headers only for scoring means I can't do half
 : of what I can do with strn.

It's not that I am insisting on sticking with only the XOVER headers, it is
just that the current version only supports those headers.  You have to
remember that this is the first time slrn has ever had kill file support.  I
will add more support in future releases.  However I want to do it in such a
way that it is well though out and will not compromise the speed of the
newsreader.

In addition, I have never used a kill file before in my life until I wrote
added such support to slrn.  For that reason, I do not have all the insight
regarding kill files as others have.  With this in mind, I would appreciate
it if you let me know the kinds of things that you would like to be able to
do with kill files.

Finally, regarding local news spool support, I do not have access to a local
news spool so I cannot begin to code such support.  In the hope that someone
will add this support to slrn, I have tried to keep all the interface to
NNTP in one file.  All one would need to do is provide another file that
conforms to that interface but deals with the local news spool.  For
example, nntp_select_group is a function that is essentually a wrapper
around the nntp GROUP command.  However, one could simply wrap it around
something else that deals with a news spool.

--John
   

Re: Poll: slrn and kill files
#17328
Author: da... John E. Davis
Date: Fri, 13 Oct 1995 00:00
42 lines
2186 bytes
On 12 Oct 1995 20:38:10 GMT, John Caruso <jca...@sr.csg.com> wrote:
 : 0 is fine if you want all articles to show up by default for a given
 : newsgroup.  But with some groups it would be preferable to have articles
 : present but marked as read by default (i.e. a default of < 0), and with
 : other groups it would be preferable to have articles not show up at all
 : unless they're matched by other rules (i.e. a default of -9999).  See
 : my previous posting for examples of newsgroups that fit these scenarios.

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.

--John


  


Re: Poll: slrn and kill files
#17329
Author: ol... Olly Betts
Date: Fri, 13 Oct 1995 00:00
28 lines
1934 bytes
In article <DGCq...@pointer.in-minden.de>,
Lars Marowsky-Bree <l...@pointer.in-minden.de> wrote:
>Then, you could view the articles in a 'sort-by-score' mode and only read
>the most interesting ones. strn implements this. Sadly, the newest version I
>found was from Jan 1994, so I fear it won't get updated any more.

Someone recently released an "unofficial" update which basically updated the
underlying trn version to 3.6.  I'm using it at the moment and it seems to
work fine.

I've heard that trn 4.0 will incorporate the strn patches in the mainstream
release.  It's release has now been "real soon" for a long time though.  I
know it's free software, and you get what you get, but I can't help being
impatient.

>Lars, still on the look for the _perfect_ newsreader and thinking about
>      writing another one...

I've had a look at slrn, and it does seem nice.  I'd want local newsspool
support, but that should be easy to add.  However, John's insistance on
sticking to the usual XOVER headers only for scoring means I can't do half
of what I can do with strn.

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass
Re: Poll: slrn and kill files
#17332
Author: ol... Olly Betts
Date: Fri, 13 Oct 1995 00:00
14 lines
1218 bytes
In article <199510131...@mantis.co.uk>,
Olly Betts <ol...@mantis.co.uk> wrote:
>Someone recently released an "unofficial" update which basically updated the
>underlying trn version to 3.6.  I'm using it at the moment and it seems to
>work fine.

Before someone asks, I can't seem to find the URL for this, but it was
ol...@bigred.inka.de who did the repatching.

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass
Re: Poll: slrn and kill files
#17331
Author: wtan... William Tanksley
Date: Sat, 14 Oct 1995 00:00
28 lines
1495 bytes
da...@space.mit.edu (John E. Davis) wrote to all:
:On 12 Oct 1995 20:38:10 GMT, John Caruso <jca...@sr.csg.com> wrote:
:  [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
:     .
:     .

: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.

I would use all the applicable scores.  Thus, misc.lang.english would get
-100, comp.jobs.programming would get -200, and misc.jobs.fortran would get
-300.  It seems to fit with what the author of that scorefile intended.
Also, misc.jobs.offered would get -400.

Isn't that what you always do in cases of multiple rule applicability?

:--John

-Billy
slrn: default scores for newsgroups [was Re: Poll: slrn and kill files]
#17333
Author: 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  ##########

Re: Poll: slrn and kill files
#17335
Author: abr... Per Abrahamsen
Date: Sun, 15 Oct 1995 00:00
12 lines
1312 bytes
>>>>> "OB" == Olly Betts <ol...@mantis.co.uk> writes:

OB> I've had a look at slrn, and it does seem nice.  I'd want local newsspool
OB> support, but that should be easy to add.  However, John's insistance on
OB> sticking to the usual XOVER headers only for scoring means I can't do half
OB> of what I can do with strn.

Gnus 5 doesn't has most of the restrictions of slrn.  If you have
16 Mb of ram and don't get scared by a large user manual, it might be
worth a try.  See <URL:http://www.ifi.uio.no/~larsi/>.
Re: Poll: slrn and kill files
#17336
Author: l... Lars Marowsky-Bree
Date: Sun, 15 Oct 1995 00:00
25 lines
1708 bytes
On 13 Oct 1995 14:33:41 +0100, Olly Betts <ol...@mantis.co.uk> wrote:

> Someone recently released an "unofficial" update which basically updated the
> underlying trn version to 3.6.  I'm using it at the moment and it seems to
> work fine.

It is at
ftp://ftp.inka.de/sites/bigred/strn-092q3.tar.gz

Looks fine to me.

> support, but that should be easy to add.  However, John's insistance on
> sticking to the usual XOVER headers only for scoring means I can't do half
> of what I can do with strn.

Yes, the scoring is better in strn. slrn has other nice features which strn
doesn't have, such as... uh... well, I am sure it has them.

-- 
Lars Marowsky-Bree   Voice: +49-571-63663   PGP-key avail. via server
HomePage: http://www.teuto.de/~lmb/    Mail: l...@pointer.in-minden.de
PGP-Id: 0xDAB57941 / CF FC 3A F0 86 F1 D3 EB  79 8A CF 75 4F 4C 81 DF

Re: Poll: slrn and kill files
#17337
Author: ol... Olly Betts
Date: Mon, 16 Oct 1995 00:00
76 lines
3761 bytes
[Removed alt.sources.d from Newsgroups:]

In article <45mjev$m...@senator-bedfellow.MIT.EDU>,
John E. Davis <da...@space.mit.edu> wrote:
>On 13 Oct 1995 14:33:41 +0100, Olly Betts <ol...@mantis.co.uk> wrote:
> : I've had a look at slrn, and it does seem nice.  I'd want local newsspool
> : support, but that should be easy to add.  However, John's insistance on
> : sticking to the usual XOVER headers only for scoring means I can't do half
> : of what I can do with strn.
>
>It's not that I am insisting on sticking with only the XOVER headers, it is
>just that the current version only supports those headers.

Sorry, I must have misunderstood your reply when I asked about this before.

>You have to
>remember that this is the first time slrn has ever had kill file support.  I
>will add more support in future releases.  However I want to do it in such a
>way that it is well though out and will not compromise the speed of the
>newsreader.

If the user can specify which headers to score on, then you can construct an
extended XOVER format including those headers (XOVER does allow for optional
extra headers anyway, so this seems a good way to implement it).

If I give a long list of headers, this will make the scoring slower, as more
time and storage is needed to handle longer XOVER details.  But it shouldn't
make things appreciably slower for those using the standard headers.

>In addition, I have never used a kill file before in my life until I wrote
>added such support to slrn.  For that reason, I do not have all the insight
>regarding kill files as others have.  With this in mind, I would appreciate
>it if you let me know the kinds of things that you would like to be able to
>do with kill files.

I think I posted a couple of examples before.  Here's a longer list of rules
I use with strn which use non-XOVER headers.  I've removed the actual scores
in an attempt to stop this turning into a flame war over the values I choose
to use.

# Catches posts by users of certain software
<score> x-mailer: Mozilla
<score> x-newsreader: Offlite

# Catches particular quoting styles
# Note: Want to test just for the presence of these headers, but strn
# insists on something to match against
<score> pattern x-ftn-to: .*
<score> pattern x-attribution: .*

# Catches follow-ups to posts by *anyone* at mantis.co.uk
<score> references: mantis.co.uk

# Catches those multipart MIME posts Netscape seems to encourage
<score> Content-Type: multipart

# Catches very long posts
<score> pattern lines: [1-9][0-9][0-9][0-9]

# Guess...
<score> organization: spamking

# Catches posts from a site despite the poster messing with the From: header
# As a side-effect, it does hit other users at the same site
<score> NNTP-Posting-Host: 131.228.24.220

# Useful in alt.humor.best-of-usenet
<score> X-Moderator-Review: thumbs up

That's probably enough to be going on with.

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass
Re: Poll: slrn and kill files
#17338
Author: da... John E. Davis
Date: Mon, 16 Oct 1995 00:00
28 lines
2084 bytes
On 16 Oct 1995 18:33:10 +0100, Olly Betts <ol...@mantis.co.uk> wrote:
 : >It's not that I am insisting on sticking with only the XOVER headers, it is
 : >just that the current version only supports those headers.
 : 
 : Sorry, I must have misunderstood your reply when I asked about this before.
 
In fact, this weekend I found some time to remove this restriction.  slrn
can now score on any header.

 : If the user can specify which headers to score on, then you can construct an
 : extended XOVER format including those headers (XOVER does allow for optional
 : extra headers anyway, so this seems a good way to implement it).
 : 
 : If I give a long list of headers, this will make the scoring slower, as more
 : time and storage is needed to handle longer XOVER details.  But it shouldn't
 : make things appreciably slower for those using the standard headers.
 
Actually things are alot slower if the server supports XOVER and the user
wants to score on headers that are not part of the XOVER database.  For
example, retrieving and scoring 2500 articles takes about 8 seconds if the
server supports XOVER and scoring is limited to XOVER headers.  However it
takes nearly 2 minutes if one scores on a non-standard XOVER keyword.
Fortunately for those without XOVER, the extra time is not that great.

--John

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