🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
14 messages
14 total messages Started by Feranija Sat, 22 Dec 2012 18:18
[slrn] scoring, need help please
#252962
Author: Feranija
Date: Sat, 22 Dec 2012 18:18
34 lines
2913 bytes
To kill all _replies_ to someone's post, we used to use a Reference
header which is a Message-ID in the original post. However, the
original's post comes from Forte Agent, and in front of '@' it contains
a string of characters which is changing in each post from one
particular user.

Forte Agent's Message-ID after the @ always contains a string '4ax.com'
so it becomes a bit troublesome to use a score based on F. Agents
Message-IDs, because such a score in Slrn kills all other posts by a
whole bunch of _legitimate_ participants who use Forte Agent.

Two examples:
1.) It's easy to kill all original posts by the user Brooklyn1, but one
Brooklyn's post Message-ID which will later become one of Reference
headers looks like this: <r6ibd85u33d5u4q6au6k5qa39g5o5l8rh6@4ax.com>
His other post contains a Message-ID like this:
<b629d8h4bt676v5or4d1p2bpd3d0nje5r7@4ax.com>. One user, different
strings in Message-IDs in all his posts.

2.) The other troublesome example is a similar Message-ID like this:
<kaqir1$6al$1@dont-email.me> by the user Somebody. A string before '@'
is changing from post to post, and there are many other posters with
the same '@dont-email.me' string who don't deserve to be filtered out.

There are three or four posters in the newsgroup who constantly post
off-topic and tend to generate looong threads of totally off-topic
chatter, flame wars and a mindless drivel. They are regulars, and very
active in the newsgroup. For some of them I couldn't figure out how to
get rid of their threads.

Please suggest a way how to filter out replies to their posts.

Thank you.
Re: [slrn] scoring, need help please
#252964
Author: Mike Yetto
Date: Sat, 22 Dec 2012 18:44
36 lines
2979 bytes
In a world where Feranija <feranija@mouse-potato.com>
posts to Usenet.
>To kill all _replies_ to someone's post, we used to use a Reference
>header which is a Message-ID in the original post. However, the
>original's post comes from Forte Agent, and in front of '@' it contains
>a string of characters which is changing in each post from one
>particular user.

The MID must be unique for each message, but there is no
requirement for a consistent substring to be present that
corresponds to the poster. If there is no such token the MID
can't be used to identify the poster. It is up to the poster to
supply this token. You can see my MID for an example.

>Forte Agent's Message-ID after the @ always contains a string '4ax.com'
>so it becomes a bit troublesome to use a score based on F. Agents
>Message-IDs, because such a score in Slrn kills all other posts by a
>whole bunch of _legitimate_ participants who use Forte Agent.

This is not required, but it is the default behaviour for Forte
Agent. It can be changed by the poster, but then he can be easily
kill-filed and may not want that.

>Please suggest a way how to filter out replies to their posts.

It isn't a simple task. You need to identify something in the
headers that is unique and consistent. There is no requirement
for such a thing to be present.

This problem is not limited to slrn, but haunts everyone on
Usenet.

Mike "stupidity in the body is not filterable, unfortunately" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Re: [slrn] scoring, need help please
#252966
Author: Mike Dee
Date: Sat, 22 Dec 2012 22:00
44 lines
3713 bytes
In article <slrnkdbua7.qr3.feranija@moose.shawcable.net>,
 Feranija <feranija@mouse-potato.com> wrote:

> To kill all _replies_ to someone's post, we used to use a Reference
> header which is a Message-ID in the original post...
[...]
> Forte Agent's Message-ID after the @ always contains a string '4ax.com'
[...]

Those rotten 4ax'rs grrr ;-)
 
For example one, you won't be able to create an effective score on those 
References headers. As Mike pointed out, because of the lack of a user 
token in the generic Forte Agent Message-ID.

Agent users can inject a user token into their M-IDs but often they do 
not and some do not deliberately, as Mike says, because they know this 
can get responses to their posts ignored.

Other ways that you may be able to not seeing follow-up posts can be by 
limiting the number of cross posted groups into a group. If the person 
you dislike cross-posts heavily, and they post to the group you read 
plus for example, also to alt.religion.jedi, then block all posts 
x-posted to that group. Most people responding don't bother to remove 
the cross posted group when they reply, so you won't get to see those 
response posts either.

Another way, is if the offending person regularly uses certain OT key 
phrases or words in the subject of the post (these can also be personal 
names of other regular group posters). Block seeing posts by setting 
kill scores based on any OT key words used in the Subject header.

> 2.) The other troublesome example is a similar Message-ID like this:
> <kaqir1$6al$1@dont-email.me> by the user Somebody. A string before '@'
> is changing from post to post, and there are many other posters with
> the same '@dont-email.me' string who don't deserve to be filtered out.

Example 2 looks to be easier to deal with, as the 1st part, "kaqir" 
looks like it could be a user token. You would need to view several 
posts by this person to be certain, but it does look like it could be. 
If it is, then you only need to set a kill score on References: kaqir

-- 
dee
Re: [slrn] scoring, need help please
#252970
Author: notbob
Date: Sun, 23 Dec 2012 00:02
8 lines
1306 bytes
On 2012-12-22, Mike Yetto <myetto1@nycap.invalid> wrote:

> Mike "stupidity in the body is not filterable, unfortunately" Yetto

Too bad.  If it was, we could filter morons who put quoted garbage in
their name, like you.

nb
Re: [slrn] scoring, need help please
#252969
Author: Mike Dee
Date: Sun, 23 Dec 2012 00:58
22 lines
2256 bytes
In article <slrnkdcif0.2lt.notbob@nbleet.hcc.net>,
 notbob <notbob@nothome.com> wrote:

> On 2012-12-22, Mike Yetto <myetto1@nycap.invalid> wrote:
> 
> > Mike "stupidity in the body is not filterable, unfortunately" Yetto
> 
> Too bad.  If it was, we could filter morons who put quoted garbage in
> their name, like you.

B.S.

Mike's posts are very easy to filter out, in both his From & References 
headers. You /appear/ to be using an nr that is more than capable of 
doing so.

So why don't you?

Mike "just move along, nothing to see here" Dee

-- 
dee
Re: [slrn] scoring, need help please
#252972
Author: Mike Yetto
Date: Sun, 23 Dec 2012 04:25
16 lines
2036 bytes
In a world where notbob <notbob@nothome.com>
posts to Usenet.
>On 2012-12-22, Mike Yetto <myetto1@nycap.invalid> wrote:

>> Mike "stupidity in the body is not filterable, unfortunately" Yetto

>Too bad.  If it was, we could filter morons who put quoted garbage in
>their name, like you.

Please do. Score on either "twooffive" or
"@may.eternal-september.org" in the MID.

Mike "I won't feel a thing" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Re: [slrn] scoring, need help please
#252976
Author: Shmuel Metz
Date: Sun, 23 Dec 2012 09:16
32 lines
2909 bytes
In <slrnkdbua7.qr3.feranija@moose.shawcable.net>, on 12/22/2012
   at 06:18 PM, Feranija <feranija@mouse-potato.com> said:

>Forte Agent's Message-ID after the @ always contains a string
>'4ax.com' so it becomes a bit troublesome to use a score based on F.
>Agents Message-IDs, because such a score in Slrn kills all other
>posts by a whole bunch of _legitimate_ participants who use Forte
>Agent.

I've been tempted.

>Please suggest a way how to filter out replies to their posts.

Does slrn have a mechanism for calling a script to examine an article?
This topic has been discussed before, and what is needed is to
recognize an article from the undesired poster and to generate a new
filter action based on the message id of the new article. That is,
when an article comes in with From: &foo and Message-ID &bar, you want
to generate a filter action on References &bar.

There is an issue of cleanup. I don't believe that slrn has the
ability to automatically purge filter actions based on age, but only a
monolithic score file.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re: [slrn] scoring, need help please
#252980
Author: f00
Date: Sun, 23 Dec 2012 18:10
10 lines
1568 bytes
On Sun, 23 Dec 2012 04:16:51 -0500, Shmuel (Seymour J.) Metz
<spamtrap@library.lspace.org.invalid> wrote:

>There is an issue of cleanup. I don't believe that slrn has the
>ability to automatically purge filter actions based on age, but only a
>monolithic score file.

There is a perl script that automatically removes expired scripts
titled, cleanscore. slrn also automatically ignores expired scores
before they are removed.
Re: [slrn] scoring, need help please
#253202
Author: Whiskers
Date: Fri, 04 Jan 2013 18:16
45 lines
3346 bytes
On 2012-12-22, Feranija <feranija@mouse-potato.com> wrote:
> To kill all _replies_ to someone's post, we used to use a Reference
> header which is a Message-ID in the original post. However, the
> original's post comes from Forte Agent, and in front of '@' it contains
> a string of characters which is changing in each post from one
> particular user.

[...]

> Please suggest a way how to filter out replies to their posts.
>
> Thank you.

This was asked a few years ago, and a solution was devised; see
<http://al.howardknight.net/msgid.cgi?ID=125901770900> 

  Newsgroups: news.software.readers
  From: "John E. Davis" <jed@jedsoft.org>
  Subject: Re: [slrn] turbo-plonk.sl improved (Was: Can I make a rule that
   will auto-ignore all follow-ups to a certain author?)
  Message-ID: <slrnh769m0.nk4.jed@aluche.mit.edu>
  Date: 31 Jul 2009 17:15:44 GMT

(You may need to explore that thread a bit to get all the info needed).

That macro doesn't seem to have made it onto the official slrn site, but I
can remember using it myself to very good effect to handle a problem
similar to yours.  I don't know if it would need any changes to work with
the latest versions of slrn.  (It looks as though the macro is available
from <http://strcat.de/dotfiles/>, but I haven't checked whether or not
that is the same thing).

The manual approach is of course to kill each thread concerned as and when
you come across it; hit k to launch slrn's killfile creator, then select r
for References, while reading an offending article.  That's "good enough"
for most purposes.

The "Simple adaptive scoring for slrn" macro set mentioned on
<http://slrn.sourceforge.net/links.html#macros> is something I keep meaning
to try sometime, which might be able to help in your situation.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] scoring, need help please
#253205
Author: andrew
Date: Fri, 04 Jan 2013 23:47
80 lines
3596 bytes
On 2013-01-04, Whiskers <catwheezel@operamail.com> wrote:

> That macro doesn't seem to have made it onto the official slrn site, but I
> can remember using it myself to very good effect to handle a problem
> similar to yours.  I don't know if it would need any changes to work with
> the latest versions of slrn.  (It looks as though the macro is available
> from <http://strcat.de/dotfiles/>, but I haven't checked whether or not
> that is the same thing).

I am away for a fortnight but if a few people can test turbo-plonk.sl I
will be happy to add it to the slrn site:

#v+

private variable Scorefile_Score = -666;
private variable Subthread_Score = -9998;
private variable Subthread_Expires = 21;
private define auto_kill_fups ()
{
   if (is_group_mode ())
     error (_function_name () + " doesn't work in group mode!");

   uncollapse_threads ();
   call ("header_bob");
   EXIT_BLOCK
     {
	call ("header_bob");
	collapse_threads ();
     }

   variable mid, msgids = {};

   do
     {
	if (Scorefile_Score == get_header_score ())
	  {
	     mid = extract_article_header ("Message-ID");
	     list_append (msgids, mid);
             set_header_flags(get_header_flags() | HEADER_READ);
	  }
     } 
   while (header_down(1));

   if (length (msgids) == 0)
     return;

   variable 
     scorefile = make_home_filename (get_variable_value ("scorefile")),
     expires = strftime("%m/%d/%Y", 
			localtime(_time() + Subthread_Expires*86400)),
     fp = fopen (scorefile, "a");

   if (fp == NULL)
     throw IOError, "Unable to open $scorefile"$;
   
   if ((-1 == fprintf (fp, "\n%%BOS\n%% Score auto generated by %s at %s\n",
		      _function_name (), time ()))
       || (-1 == fprintf (fp, "[%s]\n\tScore:: %d\n\tExpires: %s\n",
			  current_newsgroup (), Subthread_Score, expires)))
     return;
   
   foreach mid (msgids)
     {
	if (-1 == fprintf (fp,"\tReferences: %s\n", 
			   str_quote_string (mid, "\\^$[]*.+?", '\\')))
	  return;
     }
   () = fprintf (fp, "%%EOS\n");
   () = fclose (fp);
   reload_scorefile (1);
}

() = register_hook ("article_mode_hook", &auto_kill_fups);

#v-

Andrew

-- 
Do you think that's air you're breathing?
Re: [slrn] scoring, need help please
#253206
Author: Whiskers
Date: Sat, 05 Jan 2013 13:20
31 lines
2654 bytes
On 2013-01-04, andrew <andrew@skamandros.invalid> wrote:
> On 2013-01-04, Whiskers <catwheezel@operamail.com> wrote:
>
>> That macro doesn't seem to have made it onto the official slrn site, but I
>> can remember using it myself to very good effect to handle a problem
>> similar to yours.  I don't know if it would need any changes to work with
>> the latest versions of slrn.  (It looks as though the macro is available
>> from <http://strcat.de/dotfiles/>, but I haven't checked whether or not
>> that is the same thing).
>
> I am away for a fortnight but if a few people can test turbo-plonk.sl I
> will be happy to add it to the slrn site:

[...]

That'd be good  :))

To use the macro, once installed and included in your ~/.slrnrc file, you
get it to work by creating a score-file entry for the poster concerned
(probably relying on the 'From' header) with a score of -666.  If you want
to use a different score to trigger the macro, edit the macro itself
accordingly.

The "cleanscore" script (run as a cron job) will keep your scorefile clean
of expired entries.


-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [slrn] scoring, need help please
#253209
Author: Mike Yetto
Date: Sat, 05 Jan 2013 15:01
86 lines
4178 bytes
In a world where andrew <andrew@skamandros.invalid>
posts to Usenet.
>On 2013-01-04, Whiskers <catwheezel@operamail.com> wrote:

>> That macro doesn't seem to have made it onto the official slrn site, but I
>> can remember using it myself to very good effect to handle a problem
>> similar to yours.  I don't know if it would need any changes to work with
>> the latest versions of slrn.  (It looks as though the macro is available
>> from <http://strcat.de/dotfiles/>, but I haven't checked whether or not
>> that is the same thing).

>I am away for a fortnight but if a few people can test turbo-plonk.sl I
>will be happy to add it to the slrn site:

>#v+

>private variable Scorefile_Score = -666;
>private variable Subthread_Score = -9998;
>private variable Subthread_Expires = 21;
>private define auto_kill_fups ()
>{
>   if (is_group_mode ())
>     error (_function_name () + " doesn't work in group mode!");

>   uncollapse_threads ();
>   call ("header_bob");
>   EXIT_BLOCK
>     {
>	call ("header_bob");
>	collapse_threads ();
>     }

>   variable mid, msgids = {};

>   do
>     {
>	if (Scorefile_Score == get_header_score ())
>	  {
>	     mid = extract_article_header ("Message-ID");
>	     list_append (msgids, mid);
>             set_header_flags(get_header_flags() | HEADER_READ);
>	  }
>     } 
>   while (header_down(1));

>   if (length (msgids) == 0)
>     return;

>   variable 
>     scorefile = make_home_filename (get_variable_value ("scorefile")),
>     expires = strftime("%m/%d/%Y", 
>			localtime(_time() + Subthread_Expires*86400)),
>     fp = fopen (scorefile, "a");

>   if (fp == NULL)
>     throw IOError, "Unable to open $scorefile"$;
>   
>   if ((-1 == fprintf (fp, "\n%%BOS\n%% Score auto generated by %s at %s\n",
>		      _function_name (), time ()))
>       || (-1 == fprintf (fp, "[%s]\n\tScore:: %d\n\tExpires: %s\n",
>			  current_newsgroup (), Subthread_Score, expires)))
>     return;
>   
>   foreach mid (msgids)
>     {
>	if (-1 == fprintf (fp,"\tReferences: %s\n", 
>			   str_quote_string (mid, "\\^$[]*.+?", '\\')))
>	  return;
>     }
>   () = fprintf (fp, "%%EOS\n");
>   () = fclose (fp);
>   reload_scorefile (1);
>}

>() = register_hook ("article_mode_hook", &auto_kill_fups);

>#v-

I just tested this and it works as designed. Just be sure to use
=-666 as the score to counter any other score that may have
accumulated on the triggering post.

Mike "winter isn't just coming, it's here" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Re: [slrn] scoring, need help please
#253208
Author: andrew
Date: Sat, 05 Jan 2013 21:59
23 lines
2268 bytes
On 2013-01-05, Whiskers <catwheezel@operamail.com> wrote:

> To use the macro, once installed and included in your ~/.slrnrc file, you
> get it to work by creating a score-file entry for the poster concerned
> (probably relying on the 'From' header) with a score of -666.  If you want
> to use a different score to trigger the macro, edit the macro itself
> accordingly.
>
> The "cleanscore" script (run as a cron job) will keep your scorefile clean
> of expired entries.

I have added the macro in before my fortnight away:

http://slrn.sourceforge.net/macros.html#download

so hopefully this will give greater exposure to this one. I should
mention again here that I am still unable to access the previously
mirrored website at slrn.org so it is slowly slipping further and
further behind. Sigh.....

Andrew
-- 
Do you think that's air you're breathing?
Re: [slrn] scoring, need help please
#253207
Author: Whiskers
Date: Sun, 06 Jan 2013 13:51
29 lines
2545 bytes
On 2013-01-05, andrew <andrew@skamandros.invalid> wrote:
> On 2013-01-05, Whiskers <catwheezel@operamail.com> wrote:
>
>> To use the macro, once installed and included in your ~/.slrnrc file, you
>> get it to work by creating a score-file entry for the poster concerned
>> (probably relying on the 'From' header) with a score of -666.  If you want
>> to use a different score to trigger the macro, edit the macro itself
>> accordingly.
>>
>> The "cleanscore" script (run as a cron job) will keep your scorefile clean
>> of expired entries.
>
> I have added the macro in before my fortnight away:
>
> http://slrn.sourceforge.net/macros.html#download
>
> so hopefully this will give greater exposure to this one. I should
> mention again here that I am still unable to access the previously
> mirrored website at slrn.org so it is slowly slipping further and
> further behind. Sigh.....
>
> Andrew

Bravo!  :))

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
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