🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by MChan Sun, 28 Mar 2004 18:57
XNews: Basic filtering query...
#145424
Author: MChan
Date: Sun, 28 Mar 2004 18:57
33 lines
2059 bytes
Hi all,

I have some question while editing my "score.ini",

(1) What is the difference between "Score::" and "Score: =" ? Can "the filter" NOT working at all if I'm mis-placed them?

(2.) What is the maximum length of "text-filter" allowed in each line (without tab/spacing indent)? And how big is "score.ini" can be loaded by Xnews without loosing it's performance? (please tell your O/S,Processor & RAM)

(3.) Are both filter below have same meaning?

     % First 
     Score: =-9999
       Subject: One|Two|Three|Alpha|Beta|Gamma

     % Second
     Score: =-9999
       Subject: One|Two|Three
       Subject: Alpha|Beta|Gamma 
 

(4.) Can I use "score.ini" for automatically marking some post as "Keep" or "Read" ?

(5.) If I'm only using "plain" Xnews (without Hamster/NFilter/other news-proxy), is it possible to "hard kill" sporge posts which have such scrambling characters in subject-field like below, and what kind regex can filtered them?
  (a)  O X X U Cwmgc HqzpeTs QzTO O Cn Qhs Sczcoa Akfv Ler JwzrpkB X c  
  (b)  Re: XsdaArtpbylp Cl Nbqk Jx Clk YjE AUq Qoq PXoYp Bm f
  (c)  Attn: abwi0: KludxM TugoRf Wddiy X Tai V Jrymu Ugtmqydjoalvby Fcl ZOv FdHmcepr
  (d)    Re: QndsDtMl Vc Q Jbavll Peup M WeRqwoj C Mao Cg AbieUheAeq Vxv


Many thanks in advanced.

Regards,
Re: XNews: Basic filtering query...
#145425
Author: »Q«
Date: Sun, 28 Mar 2004 19:40
53 lines
3011 bytes
MChan <mchan@not.valid.email> wrote in
<news:ea2dafe33726982927c1515f08cd8805@news.teranews.com>:

> (1) What is the difference between "Score::" and "Score: =" ? Can
> "the filter" NOT working at all if I'm mis-placed them?

A single colon causes the score to be applied only if all the
criteria match (AND).  Double colon cause the score to apply if any
match (OR).  The presence of '=' indicates the value should be
used to set the article's score;  otherwise it is added to the
article's score.

> (2.) What is the maximum length of "text-filter" allowed in each
> line (without tab/spacing indent)? And how big is "score.ini" can
> be loaded by Xnews without loosing it's performance? (please tell
> your O/S,Processor & RAM)

Sorry, I don't know.

> (3.) Are both filter below have same meaning?
>
>      % First
>      Score: =-9999
>        Subject: One|Two|Three|Alpha|Beta|Gamma
>
>      % Second
>      Score: =-9999
>        Subject: One|Two|Three
>        Subject: Alpha|Beta|Gamma

If you added another colon (Score::) to the second example, the two
examples would do the same thing.

> (4.) Can I use "score.ini" for automatically marking some post as
> "Keep" or "Read" ?

No.

> (5.) If I'm only using "plain" Xnews (without
> Hamster/NFilter/other news-proxy), is it possible to "hard kill"
> sporge posts which have such scrambling characters in
> subject-field like below, and what kind regex can filtered them?
>   (a)  O X X U Cwmgc HqzpeTs QzTO O Cn Qhs Sczcoa Akfv Ler JwzrpkBX c
>   (b)  Re: XsdaArtpbylp Cl Nbqk Jx Clk YjE AUq Qoq PXoYp Bm f
>   (c)  Attn: abwi0: KludxM TugoRf Wddiy X Tai V Jrymu Ugtmqydjoalvby Fcl ZOv FdHmcepr
>   (d)    Re: QndsDtMl Vc Q Jbavll Peup M WeRqwoj C Mao Cg AbieUheAeq Vxv

I don't believe so.  If there's an ongoing flood of them, you might look
at other headers to see if there are commonalities to use in scoring.

-- 
�Q�
Re: XNews: Basic filtering query...
#145430
Author: Alan Ford
Date: Sun, 28 Mar 2004 20:53
22 lines
1870 bytes
On /dom 28 mar 2004 09:40:16p/, *�Q�* wrote:

>> (4.) Can I use "score.ini" for automatically marking some post as
>> "Keep" or "Read" ?
> 
> No.

You are right, but there is a little possibility... :)

in *groups.ini*

    [^news\.software\.readers$]
    OnLoaded=acvShowGe0Score,acvInvertFilter,acaSelectAll,acaMarkRead,acvRemoveFilter

for marking "read" the messages with score < 0

Bye.

-- 
 /   _ _ | Xnews his guide and manual in italian
( (/( (/ | http://web.lacasadialice.it/alanford/
Re: XNews: Basic filtering query...
#145437
Author: Murray Peterson
Date: Sun, 28 Mar 2004 23:26
46 lines
2963 bytes
MChan <mchan@not.valid.email> wrote in
news:ea2dafe33726982927c1515f08cd8805@news.teranews.com: 

Just adding a bit to >Q<'s responses...

> (2.) What is the maximum length of "text-filter" allowed in each line
> (without tab/spacing indent)? And how big is "score.ini" can be loaded
> by Xnews without loosing it's performance? (please tell your
> O/S,Processor & RAM) 

I can't give you exact numbers, since the performance also depends on the 
type of filter expressions used.  You can certainly get up to some very 
large score files without seeing any noticeable change in performance.

> (5.) If I'm only using "plain" Xnews (without Hamster/NFilter/other
> news-proxy), is it possible to "hard kill" sporge posts which have
> such scrambling characters in subject-field like below, and what kind
> regex can filtered them? 
>   (a)  O X X U Cwmgc HqzpeTs QzTO O Cn Qhs Sczcoa Akfv Ler JwzrpkB X c
>    (b)  Re: XsdaArtpbylp Cl Nbqk Jx Clk YjE AUq Qoq PXoYp Bm f
>   (c)  Attn: abwi0: KludxM TugoRf Wddiy X Tai V Jrymu Ugtmqydjoalvby
>   Fcl ZOv FdHmcepr (d)    Re: QndsDtMl Vc Q Jbavll Peup M WeRqwoj C
>   Mao Cg AbieUheAeq Vxv 

Not easily, but if you are willing to put in enough score entries, then 
it's possible to kill most of them.  Filter on letter sequences that never 
(or very rarely) appear in the english language.  For example:

Score:: -9999
    	Subject: q[^u]|kx|kf|fv
and so on (many more entries needed).

To save a lot of effort, it would probably be best to find an existing 
table of letter-pair probabilties and use those to program a score file 
generator.

All your work will be for naught if the sporger starts using a higher order  
generator, since the subject strings will then contain valid letter 
probabilities.  Even worse is a sporger that uses word generators instead 
of letter generators. 

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Re: XNews: Basic filtering query...
#145451
Author: Tech Zero
Date: Mon, 29 Mar 2004 08:45
43 lines
2502 bytes
The voice of ""Q"" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> MChan <mchan@not.valid.email> wrote in
> <news:ea2dafe33726982927c1515f08cd8805@news.teranews.com>:
 <snip>
>> (3.) Are both filter below have same meaning?
>> 
>>> First
>> Score: =-9999
>> Subject: One|Two|Three|Alpha|Beta|Gamma
>> 
>>> Second
>> Score: =-9999
>> Subject: One|Two|Three
>> Subject: Alpha|Beta|Gamma
> 
> If you added another colon (Score::) to the second example, the
> two examples would do the same thing.


Well, in those examples "Q" there is no difference...
(Aside from the aforementioned colon)

But if you were trying to speed up some then placing long or complex 
entries after simpler or the most likely triggers, then it does speed 
things up a bit.  For example:

  [^alt\.binaries\.pictures.+[^d]$]
  Score:: -3000
     Xref: (.*:){3,}
     Subject: cosp(lay)?|incest|loli(ta|con)?|lottery|guarantee|pass(code|word)|scat
     Subject: (eazy|free|make|quick).*(money|cash|thousand)|(earn|money).*free
     Subject: ([a-z])\1{12}|([�-�]){3}|\=\?(big|iso|koi|utf)|(\w\W\s?){7}|\s{12}|\${2}

The first two lines do score faster then the last two...
Although the difference may not be perceivable in smaller text groups, 
or if you have a fast processor, I did notice a difference in the 
filter time needed in some large binary groups these entries are from.

-- 
The Tech Zero, Maxwell Pollare - Lost in the keys of Xnews
Re: XNews: Basic filtering query...
#145628
Author: Toys-R-Us
Date: Fri, 02 Apr 2004 15:58
31 lines
2206 bytes
MChan <mchan@not.valid.email> wrote in
news:ea2dafe33726982927c1515f08cd8805@news.teranews.com: 

>
> 
> (5.) If I'm only using "plain" Xnews (without Hamster/NFilter/other
> news-proxy), is it possible to "hard kill" sporge posts which have
> such scrambling characters in subject-field like below, and what kind
> regex can filtered them? 
>   (a)  O X X U Cwmgc HqzpeTs QzTO O Cn Qhs Sczcoa Akfv Ler JwzrpkB X c
>    (b)  Re: XsdaArtpbylp Cl Nbqk Jx Clk YjE AUq Qoq PXoYp Bm f
>   (c)  Attn: abwi0: KludxM TugoRf Wddiy X Tai V Jrymu Ugtmqydjoalvby
>   Fcl ZOv FdHmcepr (d)    Re: QndsDtMl Vc Q Jbavll Peup M WeRqwoj C
>   Mao Cg AbieUheAeq Vxv 
> 
> 
> Many thanks in advanced.
> 
> Regards,

Use "Article", "Add to Score File"  for dialog box....
You can kill him very effectively by using one "Xref" score group.
Just choose any different group than the one you are
in, that is not likely to be posted to, by the poster (such as cracks).
It does a great kill job on this asshole.  Remember, the first time in
a group do a sort and delete on the score column. After that, if
"Enable Scoring" is turned on, it is totally automatic.

Toys...  

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