🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by id est Mon, 23 Nov 1998 00:00
bug in scoring based on "Lines" in slrn 0.9.4.3 ?
#44764
Author: id est
Date: Mon, 23 Nov 1998 00:00
12 lines
975 bytes
i'm running slrn 0.9.4.3 on a redhat 5.1 system.  the following rule
kills _all_ posts, regardless of how many lines the "Line" line says
there are in an article.  is this a bug?

[alt.test]
Score: -9999
	Lines: 1

-- 
Excuse me, where are we going?  And what's with this handbasket?

Re: bug in scoring based on "Lines" in slrn 0.9.4.3 ?
#44765
Author: id est
Date: Mon, 23 Nov 1998 00:00
31 lines
1724 bytes
>> the following rule kills _all_ posts, regardless of how many lines the
>> "Line" line says there are in an article.
>
>What happens when you use that score in a group with a 0 or 1 line article?

the article isn't killed, which seems backwards at best to me.  

>> is this a bug?
>No.  Why do you think it's a bug?

shouldn't it work in the same general way as the following?

[alt.test]
Score: -9999
	Subject: Whatever

that is, killing the article if the regular expression matches.  that works
as i expect it to.  whereas the following doesn't kill the article _unless_
the expression _doesn't_ match, or something like that

[alt.test]
Score: -9999
	Lines: 1

looks like a bug to me, unless the rules for "Lines" are intentionally
contrary to those for "Subject".

-- 
Excuse me, where are we going?  And what's with this handbasket?

Re: bug in scoring based on "Lines" in slrn 0.9.4.3 ?
#44786
Author: Dawn Owens-Nicholson
Date: Mon, 23 Nov 1998 00:00
17 lines
1231 bytes
id est wrote:
> i'm running slrn 0.9.4.3 on a redhat 5.1 system.

You should upgrade to the latest slrn (0.9.5.4 as I write this) compiled
with the latest S-Lang (1.2.2 is the latest production version, 1.3.3 is the
latest development snapshot) and try it again.

> the following rule kills _all_ posts, regardless of how many lines the
> "Line" line says there are in an article.

What happens when you use that score in a group with a 0 or 1 line article?

> is this a bug?

No.  Why do you think it's a bug?

Re: bug in scoring based on "Lines" in slrn 0.9.4.3 ?
#44796
Author: Dawn Owens-Nicholson
Date: Tue, 24 Nov 1998 00:00
36 lines
2071 bytes
id est wrote:
> From: repent-spammer-said-the-ticktockman-mrn@shaw.wave.ca (id est)
> Reply-To: get-thee-behind-me-spammer-mrn@shaw.wave.ca

You should tell your ISP to get a real MTA and use a valid e-mail address.

> X-Newsreader: slrn (0.9.4.3 UNIX)

Upgrading to the latest slrn wouldn't hurt either.  You might need to
upgrade to the latest S-Lang too.  You'll miss out on neat new features and
bugfixes if you don't upgrade.

I asked rhetorically:
> What happens when you use that score in a group with a 0 or 1 line article?

id est replied:
> the article isn't killed, which seems backwards at best to me.

Which suggests you should read the documentation to see if you're mistaken.
Slrn may have a bug, or you may need to familiarize yourself with it.  You
won't know which until you read the scoring documentation.

> shouldn't it work in the same general way as the following?
> 
> [alt.test]
> Score: -9999
> 	Subject: Whatever
>
> that is, killing the article if the regular expression matches.  that works
> as i expect it to.

Where in the documentation does it say scoring on Lines: should work like
scoring on Subject:--"that is, killing the article if the regular expression
matches"?

Re: bug in scoring based on "Lines" in slrn 0.9.4.3 ?
#44798
Author: Michael Perry
Date: Tue, 24 Nov 1998 00:00
27 lines
1478 bytes
On Mon, 23 Nov 1998 22:04:33 GMT, id est 
<repent-spammer-said-the-ticktockman-mrn@shaw.wave.ca> wrote:
>i'm running slrn 0.9.4.3 on a redhat 5.1 system.  the following rule
>kills _all_ posts, regardless of how many lines the "Line" line says
>there are in an article.  is this a bug?
>
>[alt.test]
>Score: -9999
>	Lines: 1
>
>-- 
>Excuse me, where are we going?  And what's with this handbasket?

My score for this is:

Score: -9999
~Lines: 3

Notice the little squiggle (non-tech term) in front of the Lines?  Check
out the html score file also for slrn.  Helped me considerably.

-- 
Michael Perry
mperry@basin.com
------------------

Re: bug in scoring based on "Lines" in slrn 0.9.4.3 ?
#44805
Author: Ashok Aiyar
Date: Tue, 24 Nov 1998 00:00
32 lines
1652 bytes
On Mon, 23 Nov 1998 22:04:33 GMT,
    id est (repent-spammer-said-the-ticktockman-mrn@shaw.wave.ca) wrote:
>i'm running slrn 0.9.4.3 on a redhat 5.1 system.  the following rule
>kills _all_ posts, regardless of how many lines the "Line" line says
>there are in an article.  is this a bug?

No, it is not a bug.  The syntax of your score file is incorrect.

>
>[alt.test]
>Score: -9999
>	Lines: 1

Slrn is doing exactly what you have specified in the score file, 
i.e. it is killing all those articles that have at *least* one 
line in them.  If you want to kill all the articles that have at 
*most* one line in them, then your score file should look like:

[alt.test]
Score: -9999
	~Lines: 1

(There is a tilde before "Lines:")

Later,
Ashok
-- 
Ashok Aiyar, Ph.D.
McArdle Laboratory for Cancer Research
aiyar@ebv.oncology.wisc.edu

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