🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by D. Stussy Mon, 20 Sep 2010 00:29
Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83434
Author: D. Stussy
Date: Mon, 20 Sep 2010 00:29
14 lines
1451 bytes
Re - Change in configuration commands (inn.conf and readers.conf):

"addnntppostingdate" -> "addinjectiondate"

However

"addnntppostinghost" -> "addinjectionpostinghost"

Not simply "addinjectionhost"?


Could we have some consistency here?

Re: Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83435
Author: Julien ÉLIE
Date: Mon, 20 Sep 2010 06:32
27 lines
2164 bytes
Hi D. Stussy,

> "addnntppostingdate" -> "addinjectiondate"

Named according to the Injection-Date: header field.


> "addnntppostinghost" -> "addinjectionpostinghost"
>
> Not simply "addinjectionhost"?

Named according to the posting-host parameter in the Injection-Info: header field.


> Could we have some consistency here?

Not a big deal.  It is the "posting-host" parameter:

Injection-Info: news.trigofacile.com;
  posting-host="aaubervilliers-151-1-56-13.w83-112.abo.wanadoo.fr:83.112.29.13"

-- 
Julien ÉLIE

« Après la clairière d'attente, on entre dans la hutte
  de consultation. » (Astérix) 
Re: Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83437
Author: D. Stussy
Date: Mon, 20 Sep 2010 21:18
38 lines
2324 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:i76v62$aqn$1@news.trigofacile.com...
> Hi D. Stussy,
>
> > "addnntppostingdate" -> "addinjectiondate"
>
> Named according to the Injection-Date: header field.
>
>
> > "addnntppostinghost" -> "addinjectionpostinghost"
> >
> > Not simply "addinjectionhost"?
>
> Named according to the posting-host parameter in the Injection-Info:
header field.
>
>
> > Could we have some consistency here?
>
> Not a big deal.  It is the "posting-host" parameter:
>
> Injection-Info: news.trigofacile.com;
>
posting-host="aaubervilliers-151-1-56-13.w83-112.abo.wanadoo.fr:83.112.29.1
3"

You are aware that makes the keyword (for the inn.conf and readers.conf
file) over 20 characters (24), aren't you?  That alone may tend to
introduce errors.

Also, what OTHER "hosting" field is there for the Injection-Info header, if
we must include the word "posting" in the configuration directive?   ;-)

If we were following the renaming pattern based on INN's directives, it
would be called by the shorter label.  We don't have to name it per what it
generates.

Re: Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83441
Author: Julien ÉLIE
Date: Tue, 21 Sep 2010 19:18
58 lines
3553 bytes
Hi Dieter,

>>> "addnntppostingdate" -> "addinjectiondate"
>>> "addnntppostinghost" -> "addinjectionpostinghost"
>>>
>>> Not simply "addinjectionhost"?

It is the injection date of the article ("posting date" is useless).

And it is the posting host at injection time.  I believe it is not
accurate to speak of "injection host" because the injection host
can be either the server or the client.

  Injection-Info: news.trigofacile.com; posting-host="me:83.112.29.1"

Here, there is an injecting agent (news.trigofacile.com) and
a posting agent (me:83.112.29.1).
That is why I believe "addinjectionpostinghost" is a better name;
it could otherwise be confusing.



> You are aware that makes the keyword (for the inn.conf and readers.conf
> file) over 20 characters (24), aren't you?  That alone may tend to
> introduce errors.

What is that 20-character limit?
I do not find the reason of introducing errors convincing.  One can mispell
a keyword with fewer characters...



> Also, what OTHER "hosting" field is there for the Injection-Info header, if
> we must include the word "posting" in the configuration directive?   ;-)

The server name itself.  (Not in a field, stricto sensu.)



> If we were following the renaming pattern based on INN's directives, it
> would be called by the shorter label.  We don't have to name it per what it
> generates.

Note that the renaming pattern would be exactly to name it per what it generates:
the NNTP-Posting-Date: and NNTP-Posting-Host: header fields :-)

But addinjectioninfo is not a great value in inn.conf because it adds
the posting host both in the Injection-Info: header field and in the
Path: header field.  The notion was not present before (the Path: header
field was not changed by addnntppostinghost).

-- 
Julien ÉLIE

« Pour une personne optimiste, le verre est à moitié plein.
  Pour une personne pessimiste, il est à moitié vide.
  Pour l'informaticien, il est deux fois plus grand que nécessaire. » 
Re: Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83442
Author: D. Stussy
Date: Tue, 21 Sep 2010 21:00
63 lines
3743 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:i7b0e9$r8h$1@news.trigofacile.com...
> >>> "addnntppostingdate" -> "addinjectiondate"
> >>> "addnntppostinghost" -> "addinjectionpostinghost"
> >>>
> >>> Not simply "addinjectionhost"?
>
> It is the injection date of the article ("posting date" is useless).
>
> And it is the posting host at injection time.  I believe it is not
> accurate to speak of "injection host" because the injection host
> can be either the server or the client.
>
>   Injection-Info: news.trigofacile.com; posting-host="me:83.112.29.1"
>
> Here, there is an injecting agent (news.trigofacile.com) and
> a posting agent (me:83.112.29.1).
> That is why I believe "addinjectionpostinghost" is a better name;
> it could otherwise be confusing.
>
>
>
> > You are aware that makes the keyword (for the inn.conf and readers.conf
> > file) over 20 characters (24), aren't you?  That alone may tend to
> > introduce errors.
>
> What is that 20-character limit?

Human psychology.  The longer one makes a keyword, the higher the chance of
a misspelling error.

Also noted is the fact that it is now the longest configuration keyword,
and those people who like to format their configuration files by aligning
things into columns now have to reformat for the longer keyword field.  ;-)

> I do not find the reason of introducing errors convincing.  One can
mispell
> a keyword with fewer characters...
>
> > Also, what OTHER "hosting" field is there for the Injection-Info
header, if
> > we must include the word "posting" in the configuration directive?
;-)
>
> The server name itself.  (Not in a field, stricto sensu.)

...But there's no keyword for it.

> > If we were following the renaming pattern based on INN's directives, it
> > would be called by the shorter label.  We don't have to name it per
what it
> > generates.
>
> Note that the renaming pattern would be exactly to name it per what it
generates:
> the NNTP-Posting-Date: and NNTP-Posting-Host: header fields :-)
>
> But addinjectioninfo is not a great value in inn.conf because it adds
> the posting host both in the Injection-Info: header field and in the
> Path: header field.  The notion was not present before (the Path: header
> field was not changed by addnntppostinghost).

Re: Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83446
Author: Julien ÉLIE
Date: Sun, 26 Sep 2010 16:42
34 lines
2382 bytes
Hi Dieter,

>> What is that 20-character limit?
>
> Human psychology.  The longer one makes a keyword, the higher the chance of
> a misspelling error.
>
> Also noted is the fact that it is now the longest configuration keyword,

Oh, I thought
"extraoverviewadvertised"
had the same length as
"addinjectionpostinghost"
:)


> and those people who like to format their configuration files by aligning
> things into columns now have to reformat for the longer keyword field.  ;-)

Sure, I understand.
Thanks for having mentioned the fact.
I assume I was lazy when I added the two keywords...
I have just taken the time to realign our inn.conf sample file in both STABLE
and CURRENT:
    http://inn.eyrie.org/trac/changeset/9128

This way, new users will have a proper alignment.
And for the others, well, happy realignment if they want :-)

-- 
Julien ÉLIE

« Sum, ergo bibo ; bibo, ergo sum. » 
Re: Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83447
Author: D. Stussy
Date: Sun, 26 Sep 2010 21:17
44 lines
2811 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:i7nt5i$861$1@news.trigofacile.com...
> >> What is that 20-character limit?
> >
> > Human psychology.  The longer one makes a keyword, the higher the
chance of
> > a misspelling error.
> >
> > Also noted is the fact that it is now the longest configuration
keyword,
>
> Oh, I thought
> "extraoverviewadvertised"

I've not heard of this option.  I'm guessing it's new too....

However, I do note that some directives that address the overview actually
contain "ov" instead of overview spelled out.

> had the same length as
> "addinjectionpostinghost"
> :)
>
> > and those people who like to format their configuration files by
aligning
> > things into columns now have to reformat for the longer keyword field.
;-)
>
> Sure, I understand.
> Thanks for having mentioned the fact.
> I assume I was lazy when I added the two keywords...
> I have just taken the time to realign our inn.conf sample file in both
STABLE
> and CURRENT:
>     http://inn.eyrie.org/trac/changeset/9128
>
> This way, new users will have a proper alignment.
> And for the others, well, happy realignment if they want :-)

As far as that goes, one should probably use tabs between the colon
following the keyword and its data, not a mix of spaces and tabs.  Such
would also produce a smaller file too.  ;-)

Re: Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83448
Author: Russ Allbery
Date: Sun, 26 Sep 2010 22:16
15 lines
1905 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:

> As far as that goes, one should probably use tabs between the colon
> following the keyword and its data, not a mix of spaces and tabs.  Such
> would also produce a smaller file too.  ;-)

Or eliminate tabs completely, which would be my vote.

http://www.jwz.org/doc/tabs-vs-spaces.html

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83449
Author: Julien ÉLIE
Date: Sun, 26 Sep 2010 22:41
13 lines
2058 bytes
Hi Dieter,

> As far as that goes, one should probably use tabs between the colon
> following the keyword and its data, not a mix of spaces and tabs.

I do not see any tabs in the sample inn.conf file.  Where do you see
mix of spaces and tabs?

-- 
Julien ÉLIE

« Si l'art n'a pas de patrie, les artistes en ont une. » (Camille Saint-Saëns) 
Re: Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83450
Author: D. Stussy
Date: Mon, 27 Sep 2010 01:27
12 lines
1886 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:i7oi7l$v19$1@news.trigofacile.com...
> > As far as that goes, one should probably use tabs between the colon
> > following the keyword and its data, not a mix of spaces and tabs.
>
> I do not see any tabs in the sample inn.conf file.  Where do you see
> mix of spaces and tabs?

http://inn.eyrie.org/trac/changeset/9128 - looked to me to be tabbed, not
spaced.  I could be wrong.

Re: Query regarding INN 2.6.0 proposed (from the snapshot archive - 20010917 version)
#83454
Author: Julien ÉLIE
Date: Mon, 27 Sep 2010 17:21
21 lines
2246 bytes
Hi Dieter,

>> I do not see any tabs in the sample inn.conf file.  Where do you see
>> mix of spaces and tabs?
>
> http://inn.eyrie.org/trac/changeset/9128 - looked to me to be tabbed, not
> spaced.  I could be wrong.

These are spaces.
See the original file:
    http://inn.eyrie.org/trac/browser/trunk/samples/inn.conf.in?rev=9128
    http://inn.eyrie.org/trac/export/9128/trunk/samples/inn.conf.in

-- 
Julien ÉLIE

« The hardest thing is to go to sleep at night, when there are
  so many urgent things needing to be done.  A huge gap
  exists between what we know is possible with today's machines
  and what we have so far been able to finish. »  (Donald Knuth) 
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