🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57912

Re: A better way to post binaries

#57912
From: Klaas
Date: Thu, 04 Apr 2002 06:29
134 lines
6818 bytes
Jeremy <jeremy@exit109.com> wrote in message
news:1017882364.413453@ok-corral.gunslinger.net...
> 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.

True.  I can certainly see the potential uses for it, if nothing else
than to easily allow clients to display to users what the final
filesize is.  Of course, this does not have to be in the Content-Type
header, and only in the first post.  Where else to put it though?
Another idea if you want to save space is to use a base64 encoding for
the md5 hash.  The disadvantage being that it makes the md5 parameter
different than the Content-MD5 header, which is unfortunate.

> > 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.)

I'd consider it too, but I think I have the time nor the familiarity
with news administration and binary usenet to do the best job of 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.

That is certainly one use.  The mere fact that the article is marked
as binary would be extremely use for feeding text-only sites.  Also, I
can see how it could be used to facilitate grouping articles as files
for combined expiration/transport/storage.  The md5 parameter of
Content-Type accomplishes the same thing, but it seems to me that it
would be easier on the server-side to use Message-ID, since that is
already the header used for transport and storing the article.
Perhaps this discussion is better suited for when we talk about binary
transport and new posting/peering nntp extentions.

> > 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?

It would add bloat, certainly.  Perhaps 5-10%?  Whether its would be
unnecessary or not depends on your POV, I suppose.

> Would non-modified clients take advantage of it in any way other
than
> displaying the posts as followups?

I couldn't fathom how.  They could use it to find the first post, but
that implies some knowledge of the posting system.  I think threading
is an advantage not to be overlooked, though.  On second thought,
however, users of non-modified clients might want to ignore "new"
posts anyway, they being difficult to decode.

> > 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.

Wouldn't the =ybegin and =yend lines be thrown out, and the yEnc
decoder thus at a loss for checksumming, filename, etc?  Will Agent et
al. be able to detect that the post is in fact yEncoded?  The
terminating =z would surely break existing decoders, as well.

> 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.

Yep, that's quite possible.  I woudln't be surprised if someone wrote
an nntp proxy that converted MIMEPost to yEnc format on the fly, just
like the existing yEnc -> UU.

> > 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.

I've seen a few reasons, but none of which outweigh the
existing-support factor.  Arithmetic encoding was proposed as an
alternative, and there are some minor efficiency gains that could be
made to the yEnc process (longer lines, etc).

The only other issues that come to mind are first, the subject line,
and if it is useful to keep all the data there as well for reverse
compatibility, and second, whether it would be useful to have an
indicator that the post is made using the system MIME extentions you
propose.  I suppose it fairly easy to grep for a required parameter in
a post's Content-Type, however.

-Mike


Technical Details
Message-ID: <a8grrp$s0025$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!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!shw50-97.accesscable.NET!not-for-mail
References: <1017777829.201228@ok-corral.gunslinger.net> <a8g6ng$s8dfm$1@ID-26705.news.dfncis.de> <1017882364.413453@ok-corral.gunslinger.net>

Show Full Headers
Complete Article Headers
Message-ID: <a8grrp$s0025$1@ID-26705.news.dfncis.de>
Subject: Re: A better way to post binaries
Date: Thu, 4 Apr 2002 02:29:55 -0400
From: "Klaas" <spamhole@klaas.ca>
References: <1017777829.201228@ok-corral.gunslinger.net> <a8g6ng$s8dfm$1@ID-26705.news.dfncis.de> <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!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!shw50-97.accesscable.NET!not-for-mail
Newsgroups: news.software.nntp
Organization: This is a valid mailbox
Lines: 133
NNTP-Posting-Host: shw50-97.accesscable.net (24.138.50.97)
X-Trace: fu-berlin.de 1017901754 29360197 24.138.50.97 (16 [26705])
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200