🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
32 messages
32 total messages Started by Junior Thu, 12 Nov 2009 20:10
Re: Question about message numbers in news groups
#81940
Author: Junior
Date: Thu, 12 Nov 2009 20:10
26 lines
2153 bytes
Added => alt.free.newsservers,news.software.nntp

Anonymous wrote:
> Anonymous wrote:
>
>>   When the message numbers in a news group is determined to be
>> getting too high, does the ng admin simply reset it to zero?
>
> Those numbers... article numbers you can see in Xref headers for
> example... are generated by individual news servers. They're
> internal to that server, not specific to a news group globally.
>
> It's "rude" for a news server admin to reset article numbers
> because it messes up most news clients (they keep track of what
> you've already read using article numbers), and news servers "peer"
> by using them to move new articles about, but it can and *has*
> happened. Suddenly you see no traffic in the groups that were
> reset, and typically you have to do something like manually
> download X number of headers in each group to "reset" your article
> numbers so they sync with the server again.

For the INN server the number will max out at 9,999,999,999 so some
high volumn groups could run into that after several years. There
was some talk a few months back about the boneless newsgroup and a
server admin who had to deal with that. I don't remember if it was
mentioned what actually had to be done to fix that group.
Re: Question about message numbers in news groups
#81941
Author: Ray Banana
Date: Thu, 12 Nov 2009 20:17
14 lines
2490 bytes
Thus spake Junior <junior@not-for-mail.invalid>
 
> For the INN server the number will max out at 9,999,999,999 so some
> high volumn groups could run into that after several years. There
> was some talk a few months back about the boneless newsgroup and a
> server admin who had to deal with that. I don't remember if it was
> mentioned what actually had to be done to fix that group.


http://www.giganews.com/news/article/64-bit-Usenet.html

-- 
Too many ingredients in the soup, no room for a spoon
http://www.eternal-september.org
Re: Question about message numbers in news groups
#81942
Author: Julien ÉLIE
Date: Thu, 12 Nov 2009 20:44
32 lines
2738 bytes
Hi Junior,

> For the INN server the number will max out at 9,999,999,999 so some
> high volumn groups could run into that after several years.

2^31-1 in fact, that is to say 2,147,483,647 for INN (and probably
also some other news servers).
The fact that the active file uses 10 digits does not mean that
it can read 10^11-1.


According to RFC 3977:

   Article numbers MUST lie between 1 and 2,147,483,647, inclusive.  The
   client and server MAY use leading zeroes in specifying article
   numbers but MUST NOT use more than 16 digits.  In some situations,
   the value zero replaces an article number to show some special
   situation.

   Note that it is likely that the article number limit of 2,147,483,647
   will be increased by a future revision or extension to this
   specification.  While servers MUST NOT send article numbers greater
   than this current limit, client and server developers are advised to
   use internal structures and datatypes capable of handling larger
   values in anticipation of such a change.

-- 
Julien ÉLIE

« C'est la goutte d'eau qui fait déborder le vase et qui met
  le feu aux poudres. »
Re: Question about message numbers in news groups
#81943
Author: Stray Cat
Date: Thu, 12 Nov 2009 22:03
40 lines
3062 bytes
On Thu, 12 Nov 2009 20:10:31 -0000, Junior
<junior@not-for-mail.invalid> wrote:

>Added => alt.free.newsservers,news.software.nntp
>
>Anonymous wrote:
>> Anonymous wrote:
>>
>>>   When the message numbers in a news group is determined to be
>>> getting too high, does the ng admin simply reset it to zero?
>>
>> Those numbers... article numbers you can see in Xref headers for
>> example... are generated by individual news servers. They're
>> internal to that server, not specific to a news group globally.
>>
>> It's "rude" for a news server admin to reset article numbers
>> because it messes up most news clients (they keep track of what
>> you've already read using article numbers), and news servers "peer"
>> by using them to move new articles about, but it can and *has*
>> happened. Suddenly you see no traffic in the groups that were
>> reset, and typically you have to do something like manually
>> download X number of headers in each group to "reset" your article
>> numbers so they sync with the server again.
>
>For the INN server the number will max out at 9,999,999,999 so some
>high volumn groups could run into that after several years. There
>was some talk a few months back about the boneless newsgroup and a
>server admin who had to deal with that. I don't remember if it was
>mentioned what actually had to be done to fix that group.

>From http://en.wikipedia.org/wiki/Alt.binaries.boneless :


"On March 31, 2009, NewsBin sent out an alert to its users that the
alt.binaries.boneless post count is the first to break the 32-bit
threshold, having over 4,294,967,296 posts. Until then, all
newsgroups' post totals could be stored as a 32-bit number. This
occurrence might cause compatibility issues with binary news readers
that cannot address post counts stored as a 64-bit number."
Re: Question about message numbers in news groups
#82078
Author: D. Stussy
Date: Thu, 12 Nov 2009 22:10
31 lines
2562 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:hdhs48$r41$1@news.trigofacile.com...
> > For the INN server the number will max out at 9,999,999,999 so some
> > high volumn groups could run into that after several years.
>
> 2^31-1 in fact, that is to say 2,147,483,647 for INN (and probably
> also some other news servers).
> The fact that the active file uses 10 digits does not mean that
> it can read 10^11-1.
>
>
> According to RFC 3977:
>
>    Article numbers MUST lie between 1 and 2,147,483,647, inclusive.  The
>    client and server MAY use leading zeroes in specifying article
>    numbers but MUST NOT use more than 16 digits.  In some situations,
>    the value zero replaces an article number to show some special
>    situation.
>
>    Note that it is likely that the article number limit of 2,147,483,647
>    will be increased by a future revision or extension to this
>    specification.  While servers MUST NOT send article numbers greater
>    than this current limit, client and server developers are advised to
>    use internal structures and datatypes capable of handling larger
>    values in anticipation of such a change.

Would all that is needed would be to redefine the article count as an
"unsigned long long" and perhaps adjust a couple of places where int<=>text
conversions take place?  If so, let's do this now.

Re: Question about message numbers in news groups
#82080
Author: Russ Allbery
Date: Thu, 12 Nov 2009 22:31
13 lines
1707 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:

> Would all that is needed would be to redefine the article count as an
> "unsigned long long" and perhaps adjust a couple of places where
> int<=>text conversions take place?

Sure, if you're happy to break all your clients.

-- 
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: Question about message numbers in news groups
#82081
Author: D. Stussy
Date: Thu, 12 Nov 2009 22:36
13 lines
1797 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87r5s3gysj.fsf@windlord.stanford.edu...
> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > Would all that is needed would be to redefine the article count as an
> > "unsigned long long" and perhaps adjust a couple of places where
> > int<=>text conversions take place?
>
> Sure, if you're happy to break all your clients.

That should only happen once the count actually exceeds 2^31-1, which has
already happened at the giganews server.

Re: Question about message numbers in news groups
#82082
Author: Russ Allbery
Date: Thu, 12 Nov 2009 22:43
33 lines
2875 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:
>> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:

>>> Would all that is needed would be to redefine the article count as an
>>> "unsigned long long" and perhaps adjust a couple of places where
>>> int<=>text conversions take place?

>> Sure, if you're happy to break all your clients.

> That should only happen once the count actually exceeds 2^31-1, which
> has already happened at the giganews server.

In a group that no one reads with regular Usenet clients.

I would care more about this issue if there were any realistic possibility
of having that many articles if you're not abusing Usenet for things that
Usenet was never designed to handle and which are probably illegal.

There was a lot of discussion of this on the NNTP standardization list.
The working group consensus is that servers should not advertise large
article numbers without negotiating an extension with the client.  No one
has cared enough to write the extension.  I'm personally happy to leave it
there.  I'm definitely opposed to INN sending large article numbers
without going through the work that was outlined in the standardization
discussion, particularly since I've seen no indication that the clients
have been fixed (and the number of clients that would break was *large*).

-- 
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: Question about message numbers in news groups
#82079
Author: D. Stussy
Date: Fri, 13 Nov 2009 01:37
39 lines
3219 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87my2rgy90.fsf@windlord.stanford.edu...
> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > "Russ Allbery" <rra@stanford.edu> wrote:
> >> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> >>> Would all that is needed would be to redefine the article count as an
> >>> "unsigned long long" and perhaps adjust a couple of places where
> >>> int<=>text conversions take place?
>
> >> Sure, if you're happy to break all your clients.
>
> > That should only happen once the count actually exceeds 2^31-1, which
> > has already happened at the giganews server.
>
> In a group that no one reads with regular Usenet clients.
>
> I would care more about this issue if there were any realistic
possibility
> of having that many articles if you're not abusing Usenet for things that
> Usenet was never designed to handle and which are probably illegal.
>
> There was a lot of discussion of this on the NNTP standardization list.
> The working group consensus is that servers should not advertise large
> article numbers without negotiating an extension with the client.  No one
> has cared enough to write the extension.  I'm personally happy to leave
it
> there.  I'm definitely opposed to INN sending large article numbers
> without going through the work that was outlined in the standardization
> discussion, particularly since I've seen no indication that the clients
> have been fixed (and the number of clients that would break was *large*).

OK.  If you oppose the large (64-bit) count, do you also oppose changing
the 31-bit value to 32 bits (i.e. making it an unsigned quantity)?  That
should be a minimal change and would probably affect few client programs
(at least those that defined it as unsigned to begin with).

If it must remain a signed quantity, then what does a negative value mean?

Re: Question about message numbers in news groups
#82083
Author: Russ Allbery
Date: Fri, 13 Nov 2009 01:52
33 lines
2732 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:

> OK.  If you oppose the large (64-bit) count, do you also oppose changing
> the 31-bit value to 32 bits (i.e. making it an unsigned quantity)?

Yes.  I oppose violating the MUST in RFC 3977.  This was a contentious
topic in the IETF working group with a lot of gotchas, which reached a
consensus conclusion.  I'm very hesitant to then strike out on our own
without taking all of that discussion into account and following the plan
outlined in the working group discussion.

> That should be a minimal change and would probably affect few client
> programs (at least those that defined it as unsigned to begin with).

Please see the NNTP working group archive for the full discussion, which
included discussion of whether to relax the restriction to an unsigned
32-bit number.  There are more clients than you think that use "int" to
store article numbers.

> If it must remain a signed quantity, then what does a negative value
> mean?

Negative values aren't allowed.  See RFC 3977.

If we start sending article numbers larger than 2^31 - 1, some clients
will then see negative article numbers, and as you might expect strange
things then start happening.

-- 
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: Question about message numbers in news groups
#82084
Author: D. Stussy
Date: Fri, 13 Nov 2009 02:00
15 lines
2017 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87fx8jchsv.fsf@windlord.stanford.edu...
> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > ...
> > If it must remain a signed quantity, then what does a negative value
> > mean?
>
> Negative values aren't allowed.  See RFC 3977.

If such isn't permitted and doesn't make sense, why wasn't the value
defined as unsigned to begin with?

To me, having declaring it as unsigned was a "no-brainer."

Re: Question about message numbers in news groups
#82086
Author: Russ Allbery
Date: Fri, 13 Nov 2009 02:05
13 lines
1819 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:

> If such isn't permitted and doesn't make sense, why wasn't the value
> defined as unsigned to begin with?

You will find that most C programmers don't use unsigned in many places
that they should.

-- 
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: Question about message numbers in news groups
#82085
Author: Curt Welch
Date: Fri, 13 Nov 2009 04:26
38 lines
3601 bytes
"D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> wrote:
> "Russ Allbery" <rra@stanford.edu> wrote in message
> news:87r5s3gysj.fsf@windlord.stanford.edu...
> > "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > > Would all that is needed would be to redefine the article count as an
> > > "unsigned long long" and perhaps adjust a couple of places where
> > > int<=>text conversions take place?

It a huge ass tangled mess.  newsgroup articles end up being stored in
different places on disk in different servers so not only do you have to
hunt down and change every place in the software that uses them, you also
have to hunt down and check every place they might have been stored and
then decide how to deal with converting live running systems that have huge
databases of article numbers stored as 32 bits.  Sure, it's simple in
concept, but someone has to actually do it for all software in use and for
all running servers.

> > Sure, if you're happy to break all your clients.
>
> That should only happen once the count actually exceeds 2^31-1, which has
> already happened at the giganews server.

It has probably happened on every server that carries boneless by now.  So
far, all we have done, is turn off the group.  Only one person in all these
many months has even mentioned it, and they didn't even seem to care, they
were just letting us know they had noticed it.  You can still fetch the
articles from the group by Message-ID, you just can't get headers for it.

And as Russ points out, most clients can't deal with it yet.  An
interesting question is what happens when a client downloads the group list
(LIST ACTIVE) and one of the groups has a high water mark > 2^31-1?  Might
there be some clients that blow up when they see that even though you have
not subscribed to the group?  I don't know.  I've not tried to test clients
to see how they work with that.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: Question about message numbers in news groups
#82087
Author: Curt Welch
Date: Fri, 13 Nov 2009 04:32
24 lines
2680 bytes
"D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> wrote:
> "Russ Allbery" <rra@stanford.edu> wrote in message
> news:87fx8jchsv.fsf@windlord.stanford.edu...
> > "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > > ...
> > > If it must remain a signed quantity, then what does a negative value
> > > mean?
> >
> > Negative values aren't allowed.  See RFC 3977.
>
> If such isn't permitted and doesn't make sense, why wasn't the value
> defined as unsigned to begin with?
>
> To me, having declaring it as unsigned was a "no-brainer."

Usenet was never designed.  It just happened.  There was no "beginning
design".

RFC 3977 very carefully formalized what had come into existence and how to
best go forward from that point.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: Question about message numbers in news groups
#82088
Author: Russ Allbery
Date: Fri, 13 Nov 2009 04:36
16 lines
2109 bytes
curt@kcwc.com (Curt Welch) writes:

> And as Russ points out, most clients can't deal with it yet.  An
> interesting question is what happens when a client downloads the group
> list (LIST ACTIVE) and one of the groups has a high water mark > 2^31-1?
> Might there be some clients that blow up when they see that even though
> you have not subscribed to the group?  I don't know.  I've not tried to
> test clients to see how they work with that.

Indeed.  We were concerned that this might be the case.

-- 
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: Question about message numbers in news groups
#82090
Author: Xavier Roche
Date: Fri, 13 Nov 2009 06:43
15 lines
1988 bytes
Russ Allbery wrote:
>> That should only happen once the count actually exceeds 2^31-1, which
>> has already happened at the giganews server.
> In a group that no one reads with regular Usenet clients.

Absolutely. Even with full retention (from the beginning of usenet -
something probably no one has), the 31-bit "limit" extension has just no
use case except for binary groups.

And for binary groups, you need binary newsreaders anyway, because
downloading gigabytes or pr0n and warez is just a pain with a regular
text client.

No wonder that only "commercial" usenet providers decided to make the
switch ..
Re: Question about message numbers in news groups
#82089
Author: D. Stussy
Date: Fri, 13 Nov 2009 08:31
12 lines
2062 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87639fb2n2.fsf@windlord.stanford.edu...
> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > If such isn't permitted and doesn't make sense, why wasn't the value
> > defined as unsigned to begin with?
>
> You will find that most C programmers don't use unsigned in many places
> that they should.

Their bad choices in design should not affect standards.

Re: Question about message numbers in news groups
#82091
Author: Russ Allbery
Date: Fri, 13 Nov 2009 08:50
28 lines
2696 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:
>> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:

>>> If such isn't permitted and doesn't make sense, why wasn't the value
>>> defined as unsigned to begin with?

>> You will find that most C programmers don't use unsigned in many places
>> that they should.

> Their bad choices in design should not affect standards.

The point of the RFC 3977 effort was to document the current state of NNTP
in a formal standard so that one has some hope of both writing
interoperable software and expanding the protocol for new purposes.  It
wasn't to tilt at windmills or fight battles on software design that were
lost ten years before the document was published.  It's intended to be a
practical document that you can use for real-world software.

If you want to redesign NNTP in a way that isn't constrained by backward
compatibility with the news software that's already out there, you may
want to look at IMAP.  It can do quite a bit more than NNTP can.

-- 
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: Question about message numbers in news groups
#82094
Author: floffy
Date: Fri, 13 Nov 2009 11:59
33 lines
2964 bytes
On Fri, 13 Nov 2009 00:50:44 -0800, Russ Allbery <rra@stanford.edu>
wrote:

>"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
>> "Russ Allbery" <rra@stanford.edu> wrote:
>>> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
>
>>>> If such isn't permitted and doesn't make sense, why wasn't the value
>>>> defined as unsigned to begin with?
>
>>> You will find that most C programmers don't use unsigned in many places
>>> that they should.
>
>> Their bad choices in design should not affect standards.
>
>The point of the RFC 3977 effort was to document the current state of NNTP
>in a formal standard so that one has some hope of both writing
>interoperable software and expanding the protocol for new purposes.  It
>wasn't to tilt at windmills or fight battles on software design that were
>lost ten years before the document was published.  It's intended to be a
>practical document that you can use for real-world software.
>
>If you want to redesign NNTP in a way that isn't constrained by backward
>compatibility with the news software that's already out there, you may
>want to look at IMAP.  It can do quite a bit more than NNTP can.

I do not think NNTP standard will change they have no intererest to
change it

since , more and more people have no interest to news groups
old standard will stay

Re: Question about message numbers in news groups
#82093
Author: Junior
Date: Fri, 13 Nov 2009 14:37
12 lines
1721 bytes
Curt Welch wrote:
> It has probably happened on every server that carries boneless by now.  So
> far, all we have done, is turn off the group.  Only one person in all these
> many months has even mentioned it, and they didn't even seem to care, they
> were just letting us know they had noticed it.  You can still fetch the
> articles from the group by Message-ID, you just can't get headers for it.

With INN; isn't there a simple way to reset a particular newsgroup?
Something like 'ctlinnd reset alt.test' or a perl script. I mean,
good grief; 2 billion posts? You might need to do something like
that every couple dozen years, so why not leave it up to the news
provider to give an advance notice and then reset the sucker?
Re: Question about message numbers in news groups
#82092
Author: Curt Welch
Date: Fri, 13 Nov 2009 15:12
59 lines
5012 bytes
Junior <junior@not-for-mail.invalid> wrote:
> Curt Welch wrote:
> > It has probably happened on every server that carries boneless by now.
> > So far, all we have done, is turn off the group.  Only one person in
> > all these many months has even mentioned it, and they didn't even seem
> > to care, they were just letting us know they had noticed it.  You can
> > still fetch the articles from the group by Message-ID, you just can't
> > get headers for it.
>
> With INN; isn't there a simple way to reset a particular newsgroup?
> Something like 'ctlinnd reset alt.test' or a perl script. I mean,
> good grief; 2 billion posts? You might need to do something like
> that every couple dozen years, so why not leave it up to the news
> provider to give an advance notice and then reset the sucker?

Yeah, that's the other option here.  But that also gets messy in regard to
the articles already on the server.  I don't know about how INN does it,
but you may have to run conversion programs to renumber all the indexes on
the server, and then there's the Xref: header which would need to be
considered both in the articles themselves and potential in separate xover
databases.  Do you remember it for all articles on the server or just
ignore it?  Since we are talking about the single highest volume group on
Usenet, we are also talking about significantly large percentage of your
news spool and xover data that would have to be updated.  boneless receives
on average many articles per second, 24x7 (I've lost track of how many
"many" is these days).  So a server with 6 months of retention would have a
shit load of articles and xover and indexes to update if the idea was to
renumber the group back to a lower number.

If it doesn't break the server, the other option is to just remember the
new articles showing up and live with invalid article numbers in the spool
until all the old articles expire.

And all cases of trying to reset the article number lower, you risk causing
clients problems.

It's not just that boneless is a binary group with large multipart posts in
it that caused it to run out of numbers.  It's the fact that it's a dump
group that caused the high volume.  That is, it's used to post _any_ binary
that is not intended to be indexed by content because it's indexed by
database systems external to Usenet.  As such, no one reads the group
anyway.  It's where you post stuff that you don't expect anyone to look at
the group because you expect people to fetch the post by Message-ID where
the Message-ID comes from the external index system/service.

One change to NNTP that would "fix" this problem is to allow these types of
articles to be posted without a newsgroup header.  The newsgroup header and
associated xover system are simply a way of indexing articles.  And it's a
way that doesn't work well for large binary groups.  So let people formally
declare when it's posted that they don't expect the NNTP server to even try
to index the article except by Message-ID.

We have hacked our systems (simply as a quick and dirty solution) to use
"alt.binaries.boneless" as a special flag to mean "don't index it in any
group".

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: Question about message numbers in news groups
#82095
Author: Frank Slootweg
Date: Fri, 13 Nov 2009 20:24
21 lines
2182 bytes
Curt Welch <curt@kcwc.com> wrote:
> "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> wrote:
> > "Russ Allbery" <rra@stanford.edu> wrote in message
> > news:87fx8jchsv.fsf@windlord.stanford.edu...
> > > "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > > > ...
> > > > If it must remain a signed quantity, then what does a negative value
> > > > mean?
> > >
> > > Negative values aren't allowed.  See RFC 3977.
> >
> > If such isn't permitted and doesn't make sense, why wasn't the value
> > defined as unsigned to begin with?
> >
> > To me, having declaring it as unsigned was a "no-brainer."
> 
> Usenet was never designed.  It just happened.  There was no "beginning
> design".

  I think a likely reason might have been that not all *hardware* (i.e.
CPUs) at the time had *un*signed 32-bit integers.
Re: Question about message numbers in news groups
#82096
Author: Curt Welch
Date: Fri, 13 Nov 2009 20:56
53 lines
4438 bytes
Frank Slootweg <this@ddress.is.invalid> wrote:
> Curt Welch <curt@kcwc.com> wrote:
> > "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> wrote:
> > > "Russ Allbery" <rra@stanford.edu> wrote in message
> > > news:87fx8jchsv.fsf@windlord.stanford.edu...
> > > > "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > > > > ...
> > > > > If it must remain a signed quantity, then what does a negative
> > > > > value mean?
> > > >
> > > > Negative values aren't allowed.  See RFC 3977.
> > >
> > > If such isn't permitted and doesn't make sense, why wasn't the value
> > > defined as unsigned to begin with?
> > >
> > > To me, having declaring it as unsigned was a "no-brainer."
> >
> > Usenet was never designed.  It just happened.  There was no "beginning
> > design".
>
>   I think a likely reason might have been that not all *hardware* (i.e.
> CPUs) at the time had *un*signed 32-bit integers.

Well, there's no difference in signed vs unsigned ints on all modern CPUs
except for the > and < comparison and I've never seen a CPU that could do
signed ints that you couldn't easily code an unsigned compare.  So it's not
really a hardware limitation at work here.  I think the real issue has more
to do with the idea that 16 bits was too small, so they went with the next
larger size of 32 bits which was available as longs in C on 16 bit PDP-11s
before Usenet was created (and as the standard int on the Vax that were
typical at the time NNTP was being created).  But 32 bits was complete
overkill (would not run out of bits for 50 thousand years for any real
group) so the distinction between whether it was coded as signed (31 bits)
vs unsigned (32 bits) was just mostly irrelevant.  And as such, how it got
coded was random luck depending on the thinking of each programmer.

When you write a loop that goes from 1 to 10, and you code it with a 32 bit
int, you don't bother to say to yourself, "gee, maybe someone in the future
will want this loop to go to 4 billion instead of 10 so I better define it
as an unsigned int now just to get ready for that day!".  This issue with
article numbers for Usenet is much the same.

It's only now become an issue because Usenet (especially boneless) is being
used in a way it was never intended to be used.  When you use software in a
way totally incompatible with the way it was first intended to be used,
these sorts of problems are just normal and expected.  You have to do back
and re-code everything that breaks.  And when you have as much working
software in the field as we have to keep Usenet running, it becomes very
disruptive and expensive to just "fix everything".

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: Question about message numbers in news groups
#82098
Author: D. Stussy
Date: Fri, 13 Nov 2009 21:15
39 lines
3080 bytes
"Frank Slootweg" <this@ddress.is.invalid> wrote in message
news:7m5tkgF3fsiioU1@mid.individual.net...
> Curt Welch <curt@kcwc.com> wrote:
> > "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> wrote:
> > > "Russ Allbery" <rra@stanford.edu> wrote in message
> > > news:87fx8jchsv.fsf@windlord.stanford.edu...
> > > > "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > > > > ...
> > > > > If it must remain a signed quantity, then what does a negative
value
> > > > > mean?
> > > >
> > > > Negative values aren't allowed.  See RFC 3977.
> > >
> > > If such isn't permitted and doesn't make sense, why wasn't the value
> > > defined as unsigned to begin with?
> > >
> > > To me, having declaring it as unsigned was a "no-brainer."
> >
> > Usenet was never designed.  It just happened.  There was no "beginning
> > design".
>
>   I think a likely reason might have been that not all *hardware* (i.e.
> CPUs) at the time had *un*signed 32-bit integers.

That's the lamest reply I've seen.

Whether an integer is signed or unsigned is not a hardware dependency.
It's an interpretation.  I have yet to see a CPU that acts as you say.

I note that the following do NOT act that way:  IBM/360 and derrivatives
(370, 9370, 3080s, etc), 8008, 8080, x86 series, Z80 (D780), 6800 series,
68000 series, 6500 series (especially the 6502), and the TI/9900 series.
Some of these do comparisons that yield both signed and unsigned results in
the flags, but such are opcode independent and differ only in which flags
are subsequently tested by conditional opcodes which follow (thus
signed/unsigned is an interpretation).

Re: Question about message numbers in news groups
#81964
Author: Julien ÉLIE
Date: Fri, 13 Nov 2009 23:37
17 lines
2067 bytes
Correcting a miscount I did...

>> For the INN server the number will max out at 9,999,999,999 so some
>> high volumn groups could run into that after several years.
>
> 2^31-1 in fact, that is to say 2,147,483,647 for INN (and probably
> also some other news servers).
> The fact that the active file uses 10 digits does not mean that
> it can read 10^11-1.

Of course, it was to be read 10^10-1.

-- 
Julien ÉLIE

« Les idées fausses ne sont pas toujours mauvaises. » (Marcel Aymé) 
Re: Question about message numbers in news groups
#81968
Author: Junior
Date: Sat, 14 Nov 2009 00:16
14 lines
1489 bytes
Julien ÉLIE wrote:
> Correcting a miscount I did...
>
>>> For the INN server the number will max out at 9,999,999,999 so some
>>> high volumn groups could run into that after several years.
>>
>> 2^31-1 in fact, that is to say 2,147,483,647 for INN (and probably
>> also some other news servers).
>> The fact that the active file uses 10 digits does not mean that
>> it can read 10^11-1.
>
> Of course, it was to be read 10^10-1.

I miss Carl Billions N Billions Sagan too. ;)
Re: Question about message numbers in news groups
#82110
Author: Frank Slootweg
Date: Sat, 14 Nov 2009 13:07
31 lines
2541 bytes
D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> "Frank Slootweg" <this@ddress.is.invalid> wrote in message
> news:7m5tkgF3fsiioU1@mid.individual.net...
> > Curt Welch <curt@kcwc.com> wrote:
> > > "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> wrote:
> > > > "Russ Allbery" <rra@stanford.edu> wrote in message
> > > > news:87fx8jchsv.fsf@windlord.stanford.edu...
> > > > > "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > > > > > ...
> > > > > > If it must remain a signed quantity, then what does a
> > > > > > negative value
> > > > > > mean?
> > > > >
> > > > > Negative values aren't allowed.  See RFC 3977.
> > > >
> > > > If such isn't permitted and doesn't make sense, why wasn't the value
> > > > defined as unsigned to begin with?
> > > >
> > > > To me, having declaring it as unsigned was a "no-brainer."
> > >
> > > Usenet was never designed.  It just happened.  There was no "beginning
> > > design".
> >
> >   I think a likely reason might have been that not all *hardware* (i.e.
> > CPUs) at the time had *un*signed 32-bit integers.
> 
> That's the lamest reply I've seen.

  That's probably because what you 'read' was never written. Try again.

<woosh>
Re: Question about message numbers in news groups
#82114
Author: D. Stussy
Date: Sun, 15 Nov 2009 01:51
41 lines
3023 bytes
"Frank Slootweg" <this@ddress.is.invalid> wrote in message
news:7m7obrF3ggpltU2@mid.individual.net...
> D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> > "Frank Slootweg" <this@ddress.is.invalid> wrote in message
> > news:7m5tkgF3fsiioU1@mid.individual.net...
> > > Curt Welch <curt@kcwc.com> wrote:
> > > > "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> wrote:
> > > > > "Russ Allbery" <rra@stanford.edu> wrote in message
> > > > > news:87fx8jchsv.fsf@windlord.stanford.edu...
> > > > > > "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > > > > > > ...
> > > > > > > If it must remain a signed quantity, then what does a
> > > > > > > negative value
> > > > > > > mean?
> > > > > >
> > > > > > Negative values aren't allowed.  See RFC 3977.
> > > > >
> > > > > If such isn't permitted and doesn't make sense, why wasn't the
value
> > > > > defined as unsigned to begin with?
> > > > >
> > > > > To me, having declaring it as unsigned was a "no-brainer."
> > > >
> > > > Usenet was never designed.  It just happened.  There was no
"beginning
> > > > design".
> > >
> > >   I think a likely reason might have been that not all *hardware*
(i.e.
> > > CPUs) at the time had *un*signed 32-bit integers.
> >
> > That's the lamest reply I've seen.
>
>   That's probably because what you 'read' was never written. Try again.
>
> <woosh>

What I read was clear.  All hardware (post 1980) support UNSIGNED
operations.  That's why your reason was lame.

Re: Question about message numbers in news groups
#82111
Author: Pieter Zijlstra
Date: Sun, 15 Nov 2009 03:18
41 lines
3055 bytes
Frank Slootweg wrote:

> D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> > "Frank Slootweg" <this@ddress.is.invalid> wrote in message
> > news:7m5tkgF3fsiioU1@mid.individual.net...
> > > Curt Welch <curt@kcwc.com> wrote:
> > > > "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> wrote:
> > > > > "Russ Allbery" <rra@stanford.edu> wrote in message
> > > > > news:87fx8jchsv.fsf@windlord.stanford.edu...
> > > > > > "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > > > > > > ...
> > > > > > > If it must remain a signed quantity, then what does a
> > > > > > > negative value
> > > > > > > mean?
> > > > > > 
> > > > > > Negative values aren't allowed.  See RFC 3977.
> > > > > 
> > > > > If such isn't permitted and doesn't make sense, why wasn't
> > > > > the value defined as unsigned to begin with?
> > > > > 
> > > > > To me, having declaring it as unsigned was a "no-brainer."
> > > > 
> > > > Usenet was never designed.  It just happened.  There was no
> > > > "beginning design".
> > > 
> > >   I think a likely reason might have been that not all hardware
> > > (i.e.  CPUs) at the time had *un*signed 32-bit integers.
> > 
> > That's the lamest reply I've seen.
> 
> That's probably because what you 'read' was never written. 

Maybe that's just because what you wrote was not what you wanted to
convey?

-- 
Pieter

"They show you how detergents take out bloodstains. I think if 
 you've got a T-shirt with bloodstains all over it, maybe your 
 laundry isn't your biggest problem." -- George Carlin
Re: Question about message numbers in news groups
#82117
Author: Frank Slootweg
Date: Sun, 15 Nov 2009 16:58
49 lines
3422 bytes
D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> "Frank Slootweg" <this@ddress.is.invalid> wrote in message
> news:7m7obrF3ggpltU2@mid.individual.net...
> > D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> > > "Frank Slootweg" <this@ddress.is.invalid> wrote in message
> > > news:7m5tkgF3fsiioU1@mid.individual.net...
> > > > Curt Welch <curt@kcwc.com> wrote:
> > > > > "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> wrote:
> > > > > > "Russ Allbery" <rra@stanford.edu> wrote in message
> > > > > > news:87fx8jchsv.fsf@windlord.stanford.edu...
> > > > > > > "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > > > > > > > ...
> > > > > > > > If it must remain a signed quantity, then what does a
> > > > > > > > negative value
> > > > > > > > mean?
> > > > > > >
> > > > > > > Negative values aren't allowed.  See RFC 3977.
> > > > > >
> > > > > > If such isn't permitted and doesn't make sense, why wasn't
> > > > > > the value defined as unsigned to begin with?
> > > > > >
> > > > > > To me, having declaring it as unsigned was a "no-brainer."
> > > > >
> > > > > Usenet was never designed.  It just happened.  There was no
> > > > > "beginning design".
> > > >
> > > >   I think a likely reason might have been that not all
> > > > *hardware* (i.e. CPUs) at the time had *un*signed 32-bit
> > > > integers.
> > >
> > > That's the lamest reply I've seen.
> >
> >   That's probably because what you 'read' was never written. Try again.
> >
> > <woosh>
> 
> What I read was clear.  All hardware (post 1980) support UNSIGNED
> operations.  That's why your reason was lame.

  You still didn't read/understand what I wrote, and your "(post 1980)"
is IMO too late.

  It's fine to say that the reason I gave is unlikely, very unlikely,
impossible, <whatever>. But to say that my response was lame, is
uncalled for, especially when you didn't/don't read/understand what I
wrote.

  Anyway, as far as I'm concerned it's EOD. The original issue is moot
and we (TINW) call well do without the attitude and aggro.
Re: Question about message numbers in news groups
#82118
Author: Frank Slootweg
Date: Sun, 15 Nov 2009 16:58
37 lines
2975 bytes
Pieter Zijlstra <p.zylstra.notthis@hccnet.nl> wrote:
> Frank Slootweg wrote:
> 
> > D. Stussy <spam+newsgroups@bde-arc.ampr.org> wrote:
> > > "Frank Slootweg" <this@ddress.is.invalid> wrote in message
> > > news:7m5tkgF3fsiioU1@mid.individual.net...
> > > > Curt Welch <curt@kcwc.com> wrote:
> > > > > "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> wrote:
> > > > > > "Russ Allbery" <rra@stanford.edu> wrote in message
> > > > > > news:87fx8jchsv.fsf@windlord.stanford.edu...
> > > > > > > "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> > > > > > > > ...
> > > > > > > > If it must remain a signed quantity, then what does a
> > > > > > > > negative value
> > > > > > > > mean?
> > > > > > > 
> > > > > > > Negative values aren't allowed.  See RFC 3977.
> > > > > > 
> > > > > > If such isn't permitted and doesn't make sense, why wasn't
> > > > > > the value defined as unsigned to begin with?
> > > > > > 
> > > > > > To me, having declaring it as unsigned was a "no-brainer."
> > > > > 
> > > > > Usenet was never designed.  It just happened.  There was no
> > > > > "beginning design".
> > > > 
> > > >   I think a likely reason might have been that not all hardware
> > > > (i.e.  CPUs) at the time had *un*signed 32-bit integers.
> > > 
> > > That's the lamest reply I've seen.
> > 
> > That's probably because what you 'read' was never written. 
> 
> Maybe that's just because what you wrote was not what you wanted to
> convey?

  Nope. Curt understood it perfectly OK.
Re: Question about message numbers in news groups
#82130
Author: Rostyslaw Lewyckyj
Date: Mon, 16 Nov 2009 05:39
17 lines
1942 bytes
Russ Allbery wrote:
> "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> writes:
> 
>> Would all that is needed would be to redefine the article count as an
>> "unsigned long long" and perhaps adjust a couple of places where
>> int<=>text conversions take place?
> 
> Sure, if you're happy to break all your clients.
> 
No.
You need to close down, delete, that newsgroup
and start a brand new slightly renamed newsgroup.
That immediately and completely within the rules
of the news system (re)starts the article counter
at 1.
-- 
Rostyk
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