🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by VanguardLH Thu, 15 May 2008 14:54
40tude Dialog: How to NOT apply some scoring filters when getting the body of post?
#220891
Author: VanguardLH
Date: Thu, 15 May 2008 14:54
56 lines
4635 bytes
The problem: S
Scoring works properly when retrieving headers only; however, for those
posts that survive that initial scoring, the scoring gets reapplied when
retrieving the body which results in deleting the post.  

# Delete posts older than 7 days
!delete Age %>7
# Delete posts future-dated more than 7 days
!delete Age %<-7

What this *should* do is:
- Delete posts that are older than 7 days.
- Delete posts that are dated in the future by more than 7 days.

Whether the cutoff is 0 or -1 or -7 days for the future-dated post, this
scoring only works when the headers are retrieved.  The problem is when
I click on a post to retrieve its body.  When the body is retrieved, the
age of that post gets computed by 40tude as some huge negative number,
like -950969698.  I suspect this is because the body was retrieved in
the future of when the headers were downloaded (which would all have
datestamps in the past of when the body got retrieved).  Since scoring
gets applied when the body gets retrieved, and because age is now some
huge negative number for ANY post (that survived the scoring when
headers were retrieved), the post gets deleted.  

When retrieving the headers, the scoring works correctly; however, when
I later go to read a post (get its body) that made it through that
scoring, the age becomes a large negative number and scoring ends up
deleting it.  So I haven't figure out how to get 40tude to delete
future-dated posts or to get 40tude to stop computing a large negative
number when I retrieve a post's body.

Thanks for the heads up.  I'm still trying to figure out how to get
40tude to not compute an age of the post when its body is retrieved.
They problem may be that the age is based on when 40tude got the headers
for the post and when I later retrieved the body (which would be in the
future even if only by a few seconds) which always makes negative the
"age".  When the headers were retrieved, future-date posts are deleted
(not retrieved).  Then anytime I later retrieve the body would be in the
future of that retained post.

I have a bandwidth quota of 2GB/month so I don't retrieve the bodies
with the posts when I visit a newsgroup.  I just get the headers because
that doesn't count against my bandwidth quota.  So I will always be
retrieving the bodies in the future of the retained post.  So age will
always be negative when retrieving the body.  I need to find a means of
retrieving the body without applying scoring.  Until then, I'll have to
watch the datestamps.

I need a way to apply scoring only when the headers are retrieved but
NOT when the body of a post gets retrieved.  Yet that also means that I
cannot test on other headers that are only available when the post gets
downloaded (i.e., those headers not included in the overview set of
headers).  I don't see how to specify which scoring filters only get
applied when the headers-only are retrieved and which scoring filters
only get applied when a post's body is later retrieved.
Re: 40tude Dialog: How to NOT apply some scoring filters when getting the body of post?
#220895
Author: VanguardLH
Date: Thu, 15 May 2008 15:12
70 lines
5425 bytes
"VanguardLH" wrote in
<news:XvGdnXVVkIwh07HVnZ2dnUVZ_v3inZ2d@comcast.com>:

> The problem: S
> Scoring works properly when retrieving headers only; however, for those
> posts that survive that initial scoring, the scoring gets reapplied when
> retrieving the body which results in deleting the post.  
> 
> # Delete posts older than 7 days
> !delete Age %>7
> # Delete posts future-dated more than 7 days
> !delete Age %<-7
> 
> What this *should* do is:
> - Delete posts that are older than 7 days.
> - Delete posts that are dated in the future by more than 7 days.
> 
> Whether the cutoff is 0 or -1 or -7 days for the future-dated post, this
> scoring only works when the headers are retrieved.  The problem is when
> I click on a post to retrieve its body.  When the body is retrieved, the
> age of that post gets computed by 40tude as some huge negative number,
> like -950969698.  I suspect this is because the body was retrieved in
> the future of when the headers were downloaded (which would all have
> datestamps in the past of when the body got retrieved).  Since scoring
> gets applied when the body gets retrieved, and because age is now some
> huge negative number for ANY post (that survived the scoring when
> headers were retrieved), the post gets deleted.  
> 
> When retrieving the headers, the scoring works correctly; however, when
> I later go to read a post (get its body) that made it through that
> scoring, the age becomes a large negative number and scoring ends up
> deleting it.  So I haven't figure out how to get 40tude to delete
> future-dated posts or to get 40tude to stop computing a large negative
> number when I retrieve a post's body.
> 
> Thanks for the heads up.  I'm still trying to figure out how to get
> 40tude to not compute an age of the post when its body is retrieved.
> They problem may be that the age is based on when 40tude got the headers
> for the post and when I later retrieved the body (which would be in the
> future even if only by a few seconds) which always makes negative the
> "age".  When the headers were retrieved, future-date posts are deleted
> (not retrieved).  Then anytime I later retrieve the body would be in the
> future of that retained post.
> 
> I have a bandwidth quota of 2GB/month so I don't retrieve the bodies
> with the posts when I visit a newsgroup.  I just get the headers because
> that doesn't count against my bandwidth quota.  So I will always be
> retrieving the bodies in the future of the retained post.  So age will
> always be negative when retrieving the body.  I need to find a means of
> retrieving the body without applying scoring.  Until then, I'll have to
> watch the datestamps.
> 
> I need a way to apply scoring only when the headers are retrieved but
> NOT when the body of a post gets retrieved.  Yet that also means that I
> cannot test on other headers that are only available when the post gets
> downloaded (i.e., those headers not included in the overview set of
> headers).  I don't see how to specify which scoring filters only get
> applied when the headers-only are retrieved and which scoring filters
> only get applied when a post's body is later retrieved.

>From the help for 40tude Dialog:

"Usenet articles are scored twice in Dialog. When you get headers in a
group the scoring rules are applied to the available, limited number of
headers, however when you retrieve the complete body of the message, the
message is scored again and this time all headers can be scored."

Since the body is always (for me) retrieved in the future, the age will
always be negative so the scoring filter to get rid of future-dated
posts would delete the post when I try to read it in the future.
Re: 40tude Dialog: How to NOT apply some scoring filters when getting the body of post?
#220928
Author: Ron Ford
Date: Fri, 16 May 2008 01:07
17 lines
2145 bytes
On Thu, 15 May 2008 09:54:56 -0500, VanguardLH wrote:

snip
> I have a bandwidth quota of 2GB/month so I don't retrieve the bodies
> with the posts when I visit a newsgroup.  I just get the headers because
> that doesn't count against my bandwidth quota.  So I will always be
> retrieving the bodies in the future of the retained post.  So age will
> always be negative when retrieving the body.  I need to find a means of
> retrieving the body without applying scoring.  Until then, I'll have to
> watch the datestamps.

I would think that 2 gigs/month is huge given that you're this careful with
your downloads.  Are you running a script to get the bodies?
-- 
Ron Ford
"If at first you don't succeed, try, try, again.  Then quit.  There's no
use being a damn fool about it."  ~~W. C. Fields
Re: 40tude Dialog: How to NOT apply some scoring filters when getting the body of post?
#220968
Author: VanguardLH
Date: Fri, 16 May 2008 13:50
45 lines
4310 bytes
"Ron Ford" wrote in <news:97gvjns337yd$.8qoxre92cr9b.dlg@40tude.net>:

> On Thu, 15 May 2008 09:54:56 -0500, VanguardLH wrote:
> 
> snip
>> I have a bandwidth quota of 2GB/month so I don't retrieve the bodies
>> with the posts when I visit a newsgroup.  I just get the headers because
>> that doesn't count against my bandwidth quota.  So I will always be
>> retrieving the bodies in the future of the retained post.  So age will
>> always be negative when retrieving the body.  I need to find a means of
>> retrieving the body without applying scoring.  Until then, I'll have to
>> watch the datestamps.
> 
> I would think that 2 gigs/month is huge given that you're this careful with
> your downloads.  Are you running a script to get the bodies?

Unlike the separate mailboxes (up to 7) that my ISP provides under the
one account with them, my ISP only lets us have one account at the
Giganews-contracted NNTP service.  So everyone at home gets to share the
2GB/month bandwidth quota.  With everyone downloading all the bodies in
every newsgroup they visit whether they actually read all of those
bodies, we could end up consuming all our monthly quota.  That gives, on
average, only 400MB for each person.  Some of the newsgroups are very
busy and have lots of posts - and lots of posts that aren't going to be
read so there is no point in wasting quota on retrieving what won't be
read.  Also, if the user changes their newsreader or switches NNTP
servers and has to download a fresh set of posts, that means a lot of
posts getting downloaded considering the retention interval of Giganews
(and downloading only N headers at a time can result in screwed up
hierachies in threads, even new threads).

The problem, as noted in my 2nd post, is that 40tude Dialog will
exercise the scoring filters TWICE on a message: once when the headers
are retrieved and again when the body gets retrieved.  It is during the
body retrieve when 40tude screws up the computation of Age by making it
negative (because when I download the body will always be after when the
overview headers got downloaded for the article).  I haven't found a way
to bar some scoring filters from getting exercised when the body is
later downloaded.

While the Age filter works okay to get rid of posts over N days old, it
cannot be used to get rid of future-dated posts.  Why?  Because when I
download the body will be in the future of the datestamp of the post or
the date recorded of when that post's headers got retrieved.  The result
is a large negative number when I chose which posts to read.
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