🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Curt Welch Sun, 31 Aug 1997 00:00
Re: Variable sized queues idea for diablo 1.12
#21125
Author: Curt Welch
Date: Sun, 31 Aug 1997 00:00
61 lines
2493 bytes
dillon@best.net (Matt Dillon) wrote:
>     minsize is on the TODO for 1.12.  I'll think about adding min's for
>     other parameters.

I'd second that need for the other min's.  I just had a use for
a minpath.  I wanted to split a feed into two feeds based on
path lenght.

When used to split a feed like this, it's very important to
know exactly how the operators work.  i.e, are they <, <=, etc.
You don't want to accidently drop a subset of you feed by
getting that wrong (more of a problem with path then size).

I'd suggest you make min the equivilent of not max.  i.e.
if max is "reject if >", then min should be "reject if <=".
That way, to split a feed you use the same value as the
argument to the min and max parameters.  If you have to
use N and N-1 it increases the chance that you will get
it wrong (should the max be +1 or -1 the min value?).

And, since there's no news log file, it's hard to check to see
if your feed specifications are working correctly, so it's
important to make them as simple as possible to increase the
chance that the feed is actually doing what was intended.

Here's another thought.  How about a notgroupref?

label site-small
    groupref SITE
    groupref SMALL
end

label site-big
    groupref SITE
    notgroupref SMALL
end

groupdef SITE
    delgroup  *
    addgroup  whatever.*
end

groupdef SMALL
    maxsize  40k
end

The concept seems simple but is actually quite complex.  For
example, if a group contained an "addgroup comp.*" what would
it mean to use this in the notgroupref context?  Should it
be an addgroup <anything that's not comp.*>, or should it
act like a delgroup comp.*, or a delgroupany comp.*?

I've just thought about this for an hour and still don't
known how it would work.  Maybe it's just just too complex
to be a good idea?

Curt Welch
http://CurtWelch.Com/

Re: Variable sized queues idea for diablo 1.12
#21121
Author: Rahul Dhesi
Date: Sun, 31 Aug 1997 00:00
16 lines
1110 bytes
In <Pz5V$dE@NewsReader.Com> curt@kcwc.com (Curt Welch) writes:

>I'd suggest you make min the equivilent of not max.  i.e.
>if max is "reject if >", then min should be "reject if <=".

Or just add a general negation operator.  Hence:

     minsize xxx
     !minsize xxx

Ideally it would work for everything.
-- 
Rahul Dhesi <dhesi@spams.r.us.com>

Re: Variable sized queues idea for diablo 1.12
#21165
Author: Matt Dillon
Date: Mon, 01 Sep 1997 00:00
26 lines
1413 bytes
:In article <5ubao8$f1r$1@samba.rahul.net>,
:Rahul Dhesi <c.c.eiftj@69.usenet.us.com> wrote:
:>In <Pz5V$dE@NewsReader.Com> curt@kcwc.com (Curt Welch) writes:
:>
:>>I'd suggest you make min the equivilent of not max.  i.e.
:>>if max is "reject if >", then min should be "reject if <=".
:>
:>Or just add a general negation operator.  Hence:
:>
:>     minsize xxx
:>     !minsize xxx
:>
:>Ideally it would work for everything.
:>-- 
:>Rahul Dhesi <dhesi@spams.r.us.com>

    Well, it's an idea.  I'll think about it.  At the moment there's a lot
    of confusion because people expect 'maxpath' to intuitively mean <=
    and 'minpath' to intuitively mean >=, but this makes mutual exclusive
    less intuitive.

					-Matt


Re: Variable sized queues idea for diablo 1.12
#21245
Author: Ragnar Lonn
Date: Wed, 03 Sep 1997 00:00
22 lines
1302 bytes
In article <5uds6m$8q$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote:
>:In article <5ubao8$f1r$1@samba.rahul.net>,
>:Rahul Dhesi <c.c.eiftj@69.usenet.us.com> wrote:
>:>In <Pz5V$dE@NewsReader.Com> curt@kcwc.com (Curt Welch) writes:
>:>
>:>>I'd suggest you make min the equivilent of not max.  i.e.
>:>>if max is "reject if >", then min should be "reject if <=".
>:>
>:>Or just add a general negation operator.  Hence:
>:>
>:>     minsize xxx
>:>     !minsize xxx
>:>

Hmm, is "minsize" available in current Diablo versions?  Is it in 1.10?
I can't find anything about it in the documentation...

  /Ragnar, Algonet/TNI


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