🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63250

Re: Msg Sizes in Bytes

#63250
From: Andrew - Supernews
Date: Sat, 18 Jan 2003 02:58
43 lines
3099 bytes
In article <ksfh2v0llckj3d41fl2foervs9evgq6497@4ax.com>,
Jango Fett's Clone wrote:
[Bytes field in overview] 
> Why isn't this simply established by the sending newsreader program,

because it's not (usually) passed around with the message - the server is
assumed to be able to tell how big the message is. Furthermore, the size
varies as the message propagates.

> as lines (generally) are supposed to be.

The Lines value in the _overview_ is not supposed to be taken from the
(possibly client-supplied) Lines: header, but to be the actual line count.

> Is it just because there
> hasn't been a standardized header defined for this?  In these days of
> large binary posts and different encodings (which lead to any number
> of different "estimated" sizes for posts), this seems to be almost a
> necessity now.

quite the reverse - relying on the client to provide important info about
the article is _STUPID_, since the client will either screw it up, or (more
importantly) freely lie about it if the author percieves an advantage in
doing so.

> As it is, there are a few programs out there that
> royally screw up line counts by always putting the same number, no
> matter how many lines are really in the post (I think we all know
> which program I'm referring to).  Lines never have been a very good
> way to determine post size, and trying to estimate them with lines now
> with yEnc is (nearly) pointless.

this is just a better argument to stick with the (server-generated) Bytes
field rather than rely on clients.

FWIW, we forcibly attach a correct Lines: header to local posts, but we don't
currently make any attempt to fix Lines: headers in incoming feed traffic
(and I don't plan to do so).

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID: <slrnb2hgls.9l6.andrew+nonews@trinity.supernews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!DIRECTV!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <Xns93066A89CCD42idispcom@24.48.107.54> <20030117132739.069$xv@newsreader.com> <Xns9306B935FAF06idispcom@209.189.89.243> <slrnb2h4e3.9l6.andrew+nonews@trinity.supernews.net> <Xns9306C3D55BCB3peonsomecompanycomin@127.0.0.1> <slrnb2h87m.9l6.andrew+nonews@trinity.supernews.net> <ksfh2v0llckj3d41fl2foervs9evgq6497@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb2hgls.9l6.andrew+nonews@trinity.supernews.net>
Subject: Re: Msg Sizes in Bytes
Date: Sat, 18 Jan 2003 02:58:04 -0000
From: Andrew - Supernews <andrew+nonews@supernews.com>
References: <Xns93066A89CCD42idispcom@24.48.107.54> <20030117132739.069$xv@newsreader.com> <Xns9306B935FAF06idispcom@209.189.89.243> <slrnb2h4e3.9l6.andrew+nonews@trinity.supernews.net> <Xns9306C3D55BCB3peonsomecompanycomin@127.0.0.1> <slrnb2h87m.9l6.andrew+nonews@trinity.supernews.net> <ksfh2v0llckj3d41fl2foervs9evgq6497@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!DIRECTV!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://www.supernews.com - all your nntp are belong to us
Reply-To: andrew@supernews.com
User-Agent: slrn/0.9.7.4 (FreeBSD)
X-Complaints-To: abuse@supernews.com
Lines: 42