🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #181424

Re: [scoring] Beginnings of a generalised scoring FAQ

#181424
From: Peter J Ross
Date: Sun, 05 Mar 2006 11:55
82 lines
4178 bytes
On Sat, 4 Mar 2006 19:39:31 +0000, Whiskers <catwheezel@operamail.com>
wrote in news.software.readers:

> On 2006-03-04, Peter J Ross <pjr@kookbusters.org> wrote:
>> I haven't forgotten that many weeks ago I promised to try to produce a
>> generalised FAQ on the subject of scoring. 
>
> snip
>
> Good idea  :))
>
>> Here's question #1: "How do I get a result like the following (in a
>> threaded view), on the assumption that threads derived from my posts
>> are likely to decrease in interest to me as they progress?":
>>
>> My post (score 100)
>>  \-> Reply level 1 (score 50)
>>    \-> Reply level 2 (score 40)
>>      \-> Reply level 3 (score 30)
>>        \-> Reply level 4 (score 20)
>>          \-> Reply level 5 (score 10)
>>            \-> Reply level 6 (score 10)
>>              \> Reply level 7 (score 10)
>>                \-> etc.
>>
>>
>> This is how I'd do it in slrn:
>>
>> Score: 100
>> 	Message-Id: pjr@nntp\.alcatroll\.com
>> Score: 50
>> 	References: pjr@nntp\.alcatroll\.com>$
>> Score: 40
>> 	References: pjr@nntp\.alcatroll\.com> *<[^>]+>$
>> Score: 30
>> 	References: pjr@nntp\.alcatroll\.com>( *<[^>]+>)\{2\}$
>> Score: 20
>> 	References: pjr@nntp\.alcatroll\.com>( *<[^>]+>)\{3\}$
>> Score: 10
>> 	References: pjr@nntp\.alcatroll\.com>( *<[^>]+>)\{4,\}$
>
> I don't feel the need to score my own articles, but I do like to score 
> responses to them, so I copied your 'Score: 50' to 'Score: 10' entries 
> into my scorefile and replaced your identifier with my own.  The entries
> for 50 and 40 work, but 30, 20, and 10, are ignored (ie slrn says that
> 'This article does not match any scorefile entries...).

Yes, the reason it seemed to me to work at first glance was that I
forgot to comment out my previous scorefile entries.
<emoticon for blushing>

<...>

>> (The FAQ will probably also include notes on the details of writing
>> regexes, since something like "( *<[^>]+>)\{4,\}$" isn't easy to
>> search for in Google. Therefore, examples of the different regex
>> syntax used by different newsreaders will be useful to me.)
>
> snip
>
> I like that idea too - regexs baffle me.

I'm not competent to write a complete regex tutorial. I'll confine
myself to explaining simple things like "+", "*" and escaping, except
where something more complicated is essential for an example to work.


PJR :-)
-- 
Have you been touched    ___    ___          Hammer of Thor, Jan 2006
by His noodly           / _ \  / _ \
appendage?             ( (_) )( (_) )        Pierre Salinger Memorial
                        \_ _/  \_ _/         Hook, Line & Sinker, Dec
STOP GLOBAL   __       _.-\\----//--._                2003 & May 2005
WARMING   _  / _\___.-'/ _| / _\  /\/\`-._.-.__   _
NOW,     (_\_)| \___   ||_  ((_  //\/\\  _.-._ \-' )     AHM Wittiest
JIM LAD!   \__)   __)  | _| _) ) ||  || (_    \_.-'      Troll of the
                 /_-.  ||   \_/  ||  .-'-.\                Year, 2003
http://      _._//  / .--._______.-'\ \   \\__._          2004 & 2005
www.        /_._/   \ \              ))    \__._) 
venganza   (/     _.-')             ( `-._          wsd 42 ~ mhm 34x8
.org/            (_.-'         :F_P: `--._)      smeeter 30 ~ mwpl 12
Technical Details
Message-ID: <slrne0lklf.f9v.pjr@nntp.alcatroll.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news.alt.net!nntp.alcatroll.com!news
References: <slrne0hq5h.7vs.pjr@nntp.alcatroll.com> <j07pd3-sri.ln1@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrne0lklf.f9v.pjr@nntp.alcatroll.com>
Subject: Re: [scoring] Beginnings of a generalised scoring FAQ
Date: Sun, 5 Mar 2006 11:55:04 +0000
From: Peter J Ross <pjr@kookbusters.org>
References: <slrne0hq5h.7vs.pjr@nntp.alcatroll.com> <j07pd3-sri.ln1@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news.alt.net!nntp.alcatroll.com!news
Newsgroups: news.software.readers
Organization: Cabal Obsidian Order [TINCOO]
Lines: 82
X-Operating-System: Debian GNU/Linux (Sid/Unstable)
X-Kernel: Linux 2.6.15-1-686
X-Complaints-To: abuse@nntp.alcatroll.com
User-Agent: slrn/0.9.8.1pl1 (Debian)