🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #235384

Re: [xnews] set score and move message

#235384
From: Tim Weaver
Date: Tue, 08 Sep 2009 19:03
97 lines
5996 bytes
JimH wrote:

> Tim Weaver <tmw99999@gmail.com> wrote in 
> news:Xns9C808B0A7B4470Z0thecheeseclub0Z0@aries.ka.weretis.net:
> 
>> JimH wrote:
>> 
>>> Mike Yetto <myetto1@nycap.invalid> wrote in 
>>> news:slrn20090908074041.375.twooffive@may.eternal-september.org: 
>>> 
>>>> Bada bing JimH <nvm@nunya.biz> bada bang:
>>>>> Mike Dee <mikedee@emteedee.invalid> wrote in 
>>>>> news:Xns9C806FFBD16D3mikedee@emteedee.invalid: 
>>>>>
>>>>>> me@tadyatam.invalid wrote in 
>>>>>> news:Xns9C7F991A9F647metadyataminvalid@feeder.eternal-september.org:
>>>>>> 
>>>>>>>> Probably would be better just to use:
>>>>>>>> 
>>>>>>>> Subject: \bo\.?t\.?\b
>>>>>>>> 
>>>>>>>> Yes, I have seen OT posts marked O.T. before.
>>>>>>>> 
>>>>>> [...]
>>>>>>> 
>>>>>>> There's also the "O/T" ;)
>>>>>> 
>>>>>> Ah you got me there ;-)
>>>>>> 
>>>>>> Subject: \bo/?\.?t\.?\b
>>>>>>  
>>>>>> Would soon sort it though. Any other gotchas?
>>>>>> 
>>>>>
>>>>> I still maintain that "\bot\b" is too short of a string to search for.
>>>>> A timing mistake while typing turns "to" into "ot." Missing by a
>>>>> single key  width while typing turns an "I" into an "O", resulting in
>>>>> "ot" when "it" was intended.
>>>>>
>>>>> Requiring that the Subject line begin with these two characters (or to
>>>>> be preceded by "Re:") reduces the number of false matches. Including
>>>>> likely "enclosures" such as parentheses reduces the number of false
>>>>> misses. 
>>>>>
>>>>> The following does both of the above, and will match with ^O.T. and
>>>>> ^O/T 
>>>>>
>>>>> ^(re\: )?[\[\(]?[ot/\.]{2,4}[\]\) ]
>>>>>
>>>>> Yes, it does allow false matches to very bizarre possible strings (ie,
>>>>> "./.t") at the beginning of the subject line, but those will probably 
>>>>> be exceedingly rare.
>>>>>
>>>> 
>>>> Then you prefer - it starts with "re:" or doesn't and has two to
>>>> four of "ot/." characters either after "[(" or not.
>>>> 
>>>> Just go with [ot/.]{2,4} for the same result.
>>>> 
>>>> Mike "keep it simple" Yetto
>>> 
>>> I realized after posting that, it would give a "false match" with any 
>>> subject line starting with the word "To" - oops! Fix one thing and break
>>> something else even worse.. :)
>>> 
>>> The reason I added everything before the [ot/\.]{2,4} was to define the 
>>> placement of the target string. I don't see any easy way to say "At the 
>>> very beginning of the line, unless <such and such specific text>
>>> appears. 
>>> 
>>> Omitting what's after it would cause a match with any subject line 
>>> beginning with OT. I've not used \b much, so I haven't investigated
>>> exactly which characters it matches, but it would probably suffice at
>>> the end, after looking for a match to OT. 
>> 
>> How about scoring everything down to -9999, then scoring up everything 
>> but what you don't want? 
> 
> It would require doing one of two things:
> 
> 1) Defining everything that you DO want, or
> 2) Defining exactly what you don't want.
> 
> Most of the time #1 is impractical. 
> 
> If you're going to do #2, you might as well skip the intervening step and 
> go directly to scoring what you don't want as -9999 right from the start.

I was thinking in terms of scoring everything out, then scoring everything 
back up except NOT (boolian NOT) the rules (or similar) that were being 
applied earlier in the thread.  Sometimes the effect is slightly different 
or at least easier to see.  Kind of like changing subtraction of negative 
numbers to addition.
-- 
[censored]

(This is the second sig I stole from Wavy "Double Negative" G)
Technical Details
Message-ID: <Xns9C8099226A6890Z0thecheeseclub0Z0@aries.ka.weretis.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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!weretis.net!feeder1.news.weretis.net!news.solani.org!not-for-mail
References: <Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96> <slrn20090906180000.803.twooffive@may.eternal-september.org> <pan.2009.09.07.02.35.35.707792@emteedee.invalid> <Xns9C7F991A9F647metadyataminvalid@feeder.eternal-september.org> <Xns9C806FFBD16D3mikedee@emteedee.invalid> <Xns9C8033972430Dhahadotdotdot@74.209.136.95> <slrn20090908074041.375.twooffive@may.eternal-september.org> <Xns9C805CB065FB0hahadotdotdot@74.209.136.82> <Xns9C808B0A7B4470Z0thecheeseclub0Z0@aries.ka.weretis.net> <Xns9C80903DA8C35hahadotdotdot@74.209.136.88>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9C8099226A6890Z0thecheeseclub0Z0@aries.ka.weretis.net>
Subject: Re: [xnews] set score and move message
Date: Tue, 08 Sep 2009 19:03:09 +0000
From: Tim Weaver <tmw99999@gmail.com>
References: <Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96> <slrn20090906180000.803.twooffive@may.eternal-september.org> <pan.2009.09.07.02.35.35.707792@emteedee.invalid> <Xns9C7F991A9F647metadyataminvalid@feeder.eternal-september.org> <Xns9C806FFBD16D3mikedee@emteedee.invalid> <Xns9C8033972430Dhahadotdotdot@74.209.136.95> <slrn20090908074041.375.twooffive@may.eternal-september.org> <Xns9C805CB065FB0hahadotdotdot@74.209.136.82> <Xns9C808B0A7B4470Z0thecheeseclub0Z0@aries.ka.weretis.net> <Xns9C80903DA8C35hahadotdotdot@74.209.136.88>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!weretis.net!feeder1.news.weretis.net!news.solani.org!not-for-mail
Newsgroups: news.software.readers
Organization: The Cheese Club
Lines: 97
NNTP-Posting-Host: eJwNykcBwEAIADBLbA45TP8S2neibGjtYmqipxeZjPumboQUoFe1iHgfl2/CjISQp2d076Mfl4cdHK3+KtqH8W4OYor4NDwOeUOKavsDsWIe6g==
X-Trace: solani.org
 eJwNw4kNwDAIBLCV+LmMAwnsP0Jrya7BcdPCw3x9M6/2iYmluLavX7th7pg/FKAYPjUt0RnbTy/6T8glUOZQdxlla43J2eoempS5Jiu6KmCwGIuz5w5YH4jniOnTXmUqNcZhIbDVB9qlKw0=
X-Complaints-To: abuse@news.solani.org
NNTP-Posting-Date: Tue, 8 Sep 2009 19:03:09 +0000 (UTC)
X-No-Archive: yes
X-ScandinavianChicks: They are teh Way Hot!
X-FlonkFlonkFlonk: Yes
X-Face: "!"C[U#u:<4~?k,v8zqLTG-"`#=-5@]Grcl1^E1ehso&'2<65!CzZ7?L8)yP{{%?Q$oG_^v2B8a]|DQhpi}-oU.1ANZfIK$UzCh!H4"Lb+br>[H6"@O4Yt,'5Zb;
 *(.V,Tl+<t2Z8c8"AT@%)qm|,p]:ikLn-O#)#9.YF,(!{]0`YJ-S^\*)2; I^79{JUW`P?5R`sd;
 n:G\TF|q_{i{K^@e6FZ-; @DiUuU
Cancel-Lock: sha1:8mBe7bliAvWQcujCV+DOH4uXL7s=
User-Agent: Xnews/06.02.16
X-mimus-Organization: atoms molecules polymers akaryotes prokaryotes
 eukaryotes metazoans biomes biosphere Usenet
X-Wavy-G: He tried to get me pregnant!
X-Hatchetmama: She is teh Hatchet Wench! (make me a sandwich and fetch me a
 beer)
X-Secondary-Flonk-slogans-war-cry: dreu m mth43edere is a FUDKING N
 KEYNSOMDNDFR
X-Psychotic-Chicken: I win! AGAIN!!!