🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57902

Re: A better way to post binaries

#57902
From: Jeremy
Date: Thu, 04 Apr 2002 01:06
73 lines
4198 bytes
Klaas <spamhole@klaas.ca> wrote:

> 1. No total file size parameter for multipart articles?  This means
> that servers still don't have an easy means of filtering out _files_
> based on their size.  Sure, they could find all related parts and look
> at the last part in the series, but this is cumbersome.  I would
> consider that a desirable parameter to add.

Well.  Total filesize could certainly be added, but I didn't see it as
important enough to enlarge the Content-Type header any further.  And
if the primary use of it is so that servers can drop things at the
transit level, that's the wrong place for it anyway.

> 2. Message-ID specification.  What is your opinion of the Msg-ID
> format Curt, I, and others were discussing?

I don't particularly like it, but I'm not strongly opposed to it.  It's
not mutually incompatible, so if someone wants to write it up and send
it to me I'll put it on my site.  (Already made the offer to J.B., who
said he was considering it.)

Assuming a goal to let servers drop posts in transit based on total size
of the file, this would probably be the best way to go, because servers
get the message-id before they have to receive the full article.

> 3. References header.  If all parts except for the first in a
> multi-part posting contained the message-id of the first part in the
> references header, this would be a boon to all binary downloaders,
> even on non-modified servers and clients.

Could be, yes.  Would it add unnecessary bloat to the overviews, though?
Would non-modified clients take advantage of it in any way other than
displaying the posts as followups?

The existing spec allows clients to "find" the first post in the series,
so using it as a go-forward part of the spec seems redundant.  I'm not
aware of any real use made of such things by *current* clients, but if
there is, I'd like to hear about it...

> 4. Which brings up the issue of how non-compliant readers will deal
> with it.  I don't think the file would be salvageable at all, unless
> the user manually saved and joined the parts, then ran it through an
> external decoder himself.  Ah well, the price of progress ;).

If yEnc is used as the transfer-encoding, we can make it completely
backwards compatible.  Since yEnc currently doesn't do anything with
MIME, the articles can be formatted with MIME but still be able to
be decoded by existing (non-MIME) yEnc decoding implementations.

Without that, you would just need an external decoder, same as you
needed for yEnc for a while there, except that you would have to save
(or pipe) the full article (including headers) rather than just the
data from the MIME body.

> 6. CTEs.  As you mention, mp3s et al. contain a ton of nulls.  Wasn't
> it ~5% by someone's analysis?  If all were escaped, that's 10%
> overhead right there, without considering any other overhead.  I like
> the idea of quoted-8bit, but it seems to be far too costly.

Yes.  That was the reason for the "evolution" into quoted-8bit-rotated,
and from there it's only a small leap to yEnc (since yEnc code is out
there, and quoted-8bit isn't).  So at this point, I'm fairly convinced
that yEnc is the way to go for a new transfer-encoding, and no one has
yet brought up any reason why that shouldn't be the case.

> Anyway, thanks Jeremy, for writing it up.  I found it quite
> interesting!

Thanks for the comments.

-- 
Jeremy  |  jeremy@exit109.com
Technical Details
Message-ID: <1017882364.413453@ok-corral.gunslinger.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!sn-xit-02!supernews.com!saloon!newsbastard
References: <1017777829.201228@ok-corral.gunslinger.net> <a8g6ng$s8dfm$1@ID-26705.news.dfncis.de>

Show Full Headers
Complete Article Headers
Message-ID: <1017882364.413453@ok-corral.gunslinger.net>
Subject: Re: A better way to post binaries
Date: Thu, 04 Apr 2002 01:06:04 +0000
From: Jeremy <jeremy@exit109.com>
References: <1017777829.201228@ok-corral.gunslinger.net> <a8g6ng$s8dfm$1@ID-26705.news.dfncis.de>
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!sn-xit-02!supernews.com!saloon!newsbastard
Newsgroups: news.software.nntp
Organization: There Is No Organization
Lines: 72
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
X-Meow: Meow