🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
12 messages
12 total messages Started by Daniele Frijia Tue, 01 Jun 1999 00:00
slrn and "realtime"-scoring
#49001
Author: Daniele Frijia
Date: Tue, 01 Jun 1999 00:00
24 lines
1525 bytes
Hiho.

I have the problem, that I dont remember which postings a answered...so
sometimes I dont see the answers of my postings.

I can add the subject into the scorefile, but thats too much work I
think ;^).

So is there a possibility, to add something into the scorefile while I�m
reading news?

Or is there something I can add into the scorefile, so that all threads,
where I posted something have an higher scorevalue?


Regards, Daniele
-- 
 -                          -*-asklaskl-*-                                -
|     http://realcosmo.hat.gelitten.org -*- Realcosmo@IRCnet               |
|           realcosmo@ist.total.am.verpeilen.bei.infra.de                  |
|_-*- God made the world in six days, and was arrested on the seventh. -*-_|

Re: slrn and "realtime"-scoring
#48997
Author: Peppe
Date: Tue, 01 Jun 1999 00:00
32 lines
1947 bytes
Thus wrote Daniele Frijia <realcosmo@ist.total.am.verpeilen.bei.infra.de>
> Or is there something I can add into the scorefile, so that all threads,
> where I posted something have an higher scorevalue?

Straight from my scorefile:

    [*]
    Score:: 100
            References: @urdybet.bergsoe.dtu.dk> *$
            References: @urdybet.pbk.dk> *$

    [*]
    Score:: 50
            References: @urdybet.bergsoe.dtu.dk> *<[^>]*> *$
            References: @urdybet.pbk.dk> *<[^>]*> *$

This requires that the domain part of your references are unique.

The first one catches immediate followups to my posts, the second catches
followups to followups. You could differentiate further by adding more
"<[^>]*> *"'s.

If you want to see all all references to one of yor articles, omit " *$".

Peppe
-- 
His educational career began,                  __/-\__         Preben Guldberg
interestingly enough, in agricultural school,   (o o)   c928400@student.dtu.dk
where he majored in animal husbandry,       oOOo (_) oOOo---------------------
until they... caught him at it one day...  --Tom Lehrer: In Old Mexico (intro)

Re: slrn and "realtime"-scoring
#49012
Author: Remco Gerlich
Date: Tue, 01 Jun 1999 00:00
32 lines
1915 bytes
Daniele Frijia <realcosmo@ist.total.am.verpeilen.bei.infra.de> wrote:
> I have the problem, that I dont remember which postings a answered...so
> sometimes I dont see the answers of my postings.
> 
> I can add the subject into the scorefile, but thats too much work I
> think ;^).
> 
> So is there a possibility, to add something into the scorefile while I�m
> reading news?
> 
> Or is there something I can add into the scorefile, so that all threads,
> where I posted something have an higher scorevalue?

I use the References: header to check if something is a reply to my
post. If it ends on a message-id that's obviously mine, it adds
an amount to the Score. You could score the whole thread by just
checking on the Id, not the end of the line.

Something like:

Score: 10
  References: realcosmo@gelitten\.infra\.de>$

Should give +10 to followups to your posts. If your message ids
always look like that. Lose the $ if you want to score all the
messages that follow after.

-- 
Remco Gerlich,  scarblac@pino.selwerd.cx
"Early to rise, early to bed, makes a man healthy, wealthy and dead." -- TP

Re: slrn and "realtime"-scoring
#49014
Author: Heikki Kantola
Date: Wed, 02 Jun 1999 00:00
45 lines
2428 bytes
Peppe <c928400@student.dtu.dk> informed
news.software.readers with the following:
>Thus wrote Daniele Frijia <realcosmo@ist.total.am.verpeilen.bei.infra.de>
>> Or is there something I can add into the scorefile, so that all threads,
>> where I posted something have an higher scorevalue?
>
>Straight from my scorefile:
>
>    [*]
>    Score:: 100
>            References: @urdybet.bergsoe.dtu.dk> *$
>            References: @urdybet.pbk.dk> *$
>
>    [*]
>    Score:: 50
>            References: @urdybet.bergsoe.dtu.dk> *<[^>]*> *$
>            References: @urdybet.pbk.dk> *<[^>]*> *$
>
>This requires that the domain part of your references are unique.

Not necessarily, taken account that if you let slrn to generate the
message-id, there should be also username included in msg-id which you
can include before those @s to help detecting articles posted by
certain people.

>The first one catches immediate followups to my posts, the second catches
>followups to followups. You could differentiate further by adding more
>"<[^>]*> *"'s.

It is good to note that the above type of score entries have one
little quirk, namely if some newsreader splits the References:-header
on multiple lines also some articles further in the thread may get
those scores.

>If you want to see all all references to one of yor articles, omit " *$".

From the first entry you listed.

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Re: slrn and "realtime"-scoring
#49020
Author: Jan Hlavacek
Date: Wed, 02 Jun 1999 00:00
52 lines
3058 bytes
On 2 Jun 1999 21:19:51 GMT, Dawn Owens-Nicholson
<bluemoon@ux6.cso.uiuc.edu> wrote:
> Peppe wrote:
> >             References: @urdybet.bergsoe.dtu.dk> *$
> >             References: @urdybet.pbk.dk> *$
> 
> I'm not sure, but these regular expressions and the one in the last quote
> below suggest you might have the wrong idea of what "*" means in an S-Lang
> regular expression.  In case you didn't know, the asterisk means '0 or more
> repetitions of the previous character', not 'any string' like in a wildmat.

I think that his regexps are ok.  He wants his msgid be the last one on
the line, and puts " *" there just in case something appended some
spaces et the end of the references line.  I don't know how often that
happens, but it does not hurt.  The imortant part is that there is no
more msgids. 

> > This requires that the domain part of your references are unique.
> 
> Including the usernames under which you post (username@host) will
> disambiguate the message-ID:
> 
>     References: <my\.posting@address\.goes\.here>
> 
> If this doesn't happen automatically for you now, try letting slrn generate
> the message-ID.

It may not help.  Some servers throw away client generated msgids and
replace them by their own.

> > You could differentiate further by adding more "<[^>]*> *"'s.
> 
> It's a bit odd since nobody's message-ID will be "<>" (which "<[^>]*> *"
> matches), 

Therefore it doesn't hurt if we test for it.  "<>" is not going to be
there anyway (unless something goes completely wrong), so no harm is
done (it may lower speed, but I would be surprised if it was very
noticeble). 

> and the dots in the hostname are regex wildcards which may (but
> are unlikely to) match any character; I suggest escaping them.

That's completely right.

-- 
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu>  (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/

Re: slrn and "realtime"-scoring
#49023
Author: Thorfinn
Date: Wed, 02 Jun 1999 00:00
21 lines
2045 bytes
In news.software.readers, on 1 Jun 1999 21:07:04 GMT
Daniele Frijia <realcosmo@ist.total.am.verpeilen.bei.infra.de> wrote:
> So is there a possibility, to add something into the scorefile while I�m
> reading news?

If you press 'esc-1-K' (that's escape, then 1, then shift-k), that
should bring up a the scorefile in an editor.  If you select a post,
and simply press K, that should go through a sequence of prompts, one
of which is "Edit".

Later,

   Thorfinn

-- 
<a href = "http://www.netizen.com.au/"> thorfinn@netizen.com.au </a>
The problem with the gene pool is that there is no lifeguard. -- BSD fortune
Nah, the problem is that it doesn't have enough chlorine. -- Lionel in ASR
It also lacks an undertow for the weak ones. -- Joe Creighton in ASR

Re: slrn and "realtime"-scoring
#49032
Author: Dawn Owens-Nicholson
Date: Wed, 02 Jun 1999 00:00
28 lines
1726 bytes
Peppe wrote:
>             References: @urdybet.bergsoe.dtu.dk> *$
>             References: @urdybet.pbk.dk> *$

I'm not sure, but these regular expressions and the one in the last quote
below suggest you might have the wrong idea of what "*" means in an S-Lang
regular expression.  In case you didn't know, the asterisk means '0 or more
repetitions of the previous character', not 'any string' like in a wildmat.

> This requires that the domain part of your references are unique.

Including the usernames under which you post (username@host) will
disambiguate the message-ID:

    References: <my\.posting@address\.goes\.here>

If this doesn't happen automatically for you now, try letting slrn generate
the message-ID.

> You could differentiate further by adding more "<[^>]*> *"'s.

It's a bit odd since nobody's message-ID will be "<>" (which "<[^>]*> *"
matches), and the dots in the hostname are regex wildcards which may (but
are unlikely to) match any character; I suggest escaping them.

Happy newsreading!

Re: slrn and "realtime"-scoring
#49034
Author: Peppe
Date: Thu, 03 Jun 1999 00:00
46 lines
2568 bytes
Thus wrote Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu>
> Peppe wrote:
> >             References: @urdybet.bergsoe.dtu.dk> *$
> >             References: @urdybet.pbk.dk> *$

> I'm not sure, but these regular expressions and the one in the last quote
> below suggest you might have the wrong idea of what "*" means in an S-Lang
> regular expression.  In case you didn't know, the asterisk means '0 or more
> repetitions of the previous character', not 'any string' like in a wildmat.

I do know what * means. Thanks for pointing it out, so other won't
make the mistake.

> > This requires that the domain part of your references are unique.

> Including the usernames under which you post (username@host) will
> disambiguate the message-ID:

>     References: <my\.posting@address\.goes\.here>

Like in "<c928400@urdybet.pbk.bk>"? Seems like the leading, unique
(sp?), part is not addressed. Leads to failure, afaict.

Still, I guess most people needs to rely on this.

> If this doesn't happen automatically for you now, try letting slrn generate
> the message-ID.

Well, actually I do most of the time. Fortunately I am the sole user
of this address.

> > You could differentiate further by adding more "<[^>]*> *"'s.

> It's a bit odd since nobody's message-ID will be "<>" (which "<[^>]*> *"
> matches),

Ok, it should be "<.[^>]*>" then, I'd say.

Peppe
-- 
Preben Guldberg            __/-\__       "Time goes, you say? Ah, no!
c928400@student.dtu.dk      (o o)        Alas, Time stays, we go."
------------------------oOOo (_) oOOo    --Austin Dobson (1840-1921),
http://www.student.dtu.dk/~c928400/             _The Paradox of Time_

Re: slrn and "realtime"-scoring
#49046
Author: Sylvan Butler
Date: Thu, 03 Jun 1999 00:00
40 lines
2117 bytes
On 1 Jun 1999 21:07:04 GMT, Daniele Frijia <realcosmo@ist.total.am.verpeilen.bei.infra.de> wrote:
>I have the problem, that I dont remember which postings a answered...so
>sometimes I dont see the answers of my postings.

Me too.

>I can add the subject into the scorefile, but thats too much work I
>think ;^).

Definitely too much work.

>So is there a possibility, to add something into the scorefile while I�m
>reading news?

Hmm, and clean it up later?  Rather ugly approach.

>Or is there something I can add into the scorefile, so that all threads,
>where I posted something have an higher scorevalue?

This is what I do.  It isn't 100% perfect, as it relies on reference
headers.  I score with:

  Score:: 9000
    References: hpb13799
    Message-ID: hpb13799

This catches all occurances of my hostname in either the message-id or
references field.  This will high-score any message I post (message-id)
or any message which is a followup to mine (references).

sdb

-- 
 | Sylvan Butler | Not speaking for Hewlett-Packard | sbutler-boi.hp.com |
 | Watch out for my e-mail address. Thank UCE.   #### change ^ to @ #### |
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
 "Don't Tread On Me!"

slrn scoring regular expression tips
#49049
Author: Dawn Owens-Nicholson
Date: Thu, 03 Jun 1999 00:00
43 lines
2455 bytes
Peppe wrote:
> I do know what * means. Thanks for pointing it out, so other won't
> make the mistake.

If you are interested in regular expressions, there's an excellent book
published by O'Reilly on the topic--_Mastering Regular Expressions_ (MRE for 
short) by Jeffrey E.F. Friedl.  He also publishes changes from one
reprinting to the next on his websites: [from page 309, the first page of
Appendix A in the March 1997 reprint of MRE]

   http://www.wg.omron.co.jp/cgi-bin/j-e/jfriedl.html
   http://www.itc.omron.com/cgi-bin/j-e/jfriedl.html
   http://enterprise.ic.gc.ca/cgi-bin/j-e/jfriedl.html
   http://www.gsquare.or.jp/cgi-bin/jfriedl/j-e/jfriedl.html

MRE is largely for Perl, but there is much that applies to all regular
expression packages, even if it doesn't apply literally (for example, 
S-Lang's regular expressions does not (yet?) have grouping parentheses).

> Like in "<c928400@urdybet.pbk.bk>"? Seems like the leading, unique
> (sp?), part is not addressed. Leads to failure, afaict.

Correct, I made a typo, the leading "<" shouldn't have been there:

   References: c928400@urdybet\.pbk\.bk

will find your e-mail address anywhere in the References header.  Since it
appears at the end of the message-ID, you could also do stuff like this to
keep from finding /all/ the followups to your posts:

   References: c928400@urdybet\.pbk\.bk> <[^>]+>

and such.

> Ok, it should be "<.[^>]*>" then, I'd say.

Actually, the period isn't strictly necessary there, but it doesn't
mismatch.  If you removed the period, the asterisk (as opposed to plus)
would allow "<>" to match, but that's a preference issue.

Happy newsreading!

Re: slrn and "realtime"-scoring
#49051
Author: Remco Gerlich
Date: Thu, 03 Jun 1999 00:00
16 lines
1264 bytes
Peppe <c928400@student.dtu.dk> wrote:
> > > You could differentiate further by adding more "<[^>]*> *"'s.
> 
> > It's a bit odd since nobody's message-ID will be "<>" (which "<[^>]*> *"
> > matches),
> 
> Ok, it should be "<.[^>]*>" then, I'd say.

That'd match "<> <foo>". "<[^>]+>" is what you're looking for.
*: 0 or more, +: 1 or more.

-- 
Remco Gerlich,  scarblac@pino.selwerd.cx
-rwxr-xr-x  1 root  5.89824e37 Oct 22  1990 /usr/bin/emacs

Re: slrn and "realtime"-scoring
#49227
Author: Stephen Chadfield
Date: Fri, 11 Jun 1999 00:00
46 lines
2530 bytes
On 2 Jun 1999 16:39:05 GMT, Heikki Kantola <hezu@iki.fi> wrote:

> Peppe <c928400@student.dtu.dk> informed
> news.software.readers with the following:
> >Thus wrote Daniele Frijia <realcosmo@ist.total.am.verpeilen.bei.infra.de>
> >> Or is there something I can add into the scorefile, so that all threads,
> >> where I posted something have an higher scorevalue?
> >
> >Straight from my scorefile:
> >
> >    [*]
> >    Score:: 100
> >            References: @urdybet.bergsoe.dtu.dk> *$
> >            References: @urdybet.pbk.dk> *$
> >
> >    [*]
> >    Score:: 50
> >            References: @urdybet.bergsoe.dtu.dk> *<[^>]*> *$
> >            References: @urdybet.pbk.dk> *<[^>]*> *$
> >
> >This requires that the domain part of your references are unique.
> 
> Not necessarily, taken account that if you let slrn to generate the
> message-id, there should be also username included in msg-id which you
> can include before those @s to help detecting articles posted by
> certain people.
> 
> >The first one catches immediate followups to my posts, the second catches
> >followups to followups. You could differentiate further by adding more
> >"<[^>]*> *"'s.
> 
> It is good to note that the above type of score entries have one
> little quirk, namely if some newsreader splits the References:-header
> on multiple lines also some articles further in the thread may get
> those scores.
> 
> >If you want to see all all references to one of yor articles, omit " *$".
> 
> From the first entry you listed.


--
Stephen Chadfield
http://www.aquamarine.demon.co.uk/

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