🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57952

Re: A better way to post binaries

#57952
From: Jeremy
Date: Fri, 05 Apr 2002 20:46
92 lines
4648 bytes
Juergen Helbing <archiver@i3w.com> wrote:

> Perhaps you did not get my point:
> 
> A typical multimedia newsgroup has 10.000 splitted file messages
> per day _and_ 200 text messages per day.
> 
> If you want to perform an XOVER just to get the 200 text-msgs then
> you'll have to fetch 10.200 overview lines.
> Additionally it would be necessary to make XHDR for 10.200 msgs.

No.  You'd be doing XHDR on 10200 messages.  With that information, you
now know which articles are *not* the binaries.  If you want those (it
could be a user option), you can use XOVER on just those articles.

> I dont believe that fetching XOVERs one-by-one (or in smaller ranges)
> would be acceptable due to delays in server response.

Well, first, it'd be a heck of a lot faster than XOVER on the whole
group.  Second, you can pipeline XOVER commands to get around the
latency.

> yEnc would be the same as QP-lite-Rot. 
> Also here we would also need additional decoding information 
> (like the offset '42' which is already variable in the
> future ideas for yEnc-V2 to prevent extreme overhead cases) .

I just don't see variable offset as being necessary.  I don't think the
extreme overhead cases are worth worrying about.

>> However, it's been pointed out that simply using =yend as end-of-data
>> would work; I think it's kind of ugly, but it *would* work, and thus
>> wouldn't require any changes in the existing yEnc.
> 
> Well, having =yend without a =ybegin would be at least strange :-)

Not at all.  At some future point, when no one cares about the =ybegin
anymore, it just won't matter.

> And having a =yend without the other parameters would again
> cause changes to existing yDecoders - because they surely are
> scanning thze =yend line actually for the parameters to verify
> the correctness.

Right, but if they're doing that, then we're including the other
parameters, as well as the =ybegin line.  The MIME version of the
decoding spec would ignore the parameters, but they don't have to
disappear until no one is still using them.

> One of my very old ideas for the MIME-embedding of yEnc was
> to include the full block  =ybegin....   up to  =yend .... into a
> MIME part. This would also solve the problem where to place
> the "offset=40" parameter. 
> But I'm sure that you dont like this.

No, that's exactly what I'm thinking -- use =ybegin and =yend (and
also =ypart if necessary), in order to make the articles *completely*
backwards compatible.  The MIME spec would require implementations to
ignore those lines, but existing decoders could use them.

As for the offset... I just don't see it as important.

> Actually I'm having no idea how binary-downloader-sw is handling
> MIME/yEnc. So I dont know if they would have it easier if a full
> =ybegin/=yend block is there.

I'm sure they would, because that's where they will be getting their
metadata from.

> I'm afraid that all these tools must be reworked - so it seems to
> be not too important which solution we are using.

I don't think you're seeing the direction I'm going in here.  I want
to make it so the only re-working which needs to be done is the MIME
part.  People could start posting with MIME right away (once a final
spec is in place) and everyone could still decode the binaries just
fine because they would work with *existing* software people are
using.

> btw.: Whatever we choose to do:
> We will _need_ a "decoder-API" - and perhaps even an external
> "decoder-DLL" for our MIME-changes.
> In "former" days MIME decoders had only to deal with BASE64
> and sometimes X-uuencode
> Now we are adding 1/2/3/<future> decodings.

Just one.  I don't think there will be much of a need for another
method until we can do true binary transfer.

-- 
Jeremy  |  jeremy@exit109.com
Technical Details
Message-ID: <1018039603.718251@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> <3915b.342201@archiver.winews.net> <1017854668.242120@ok-corral.gunslinger.net> <4219b.542200@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <1018039603.718251@ok-corral.gunslinger.net>
Subject: Re: A better way to post binaries
Date: Fri, 05 Apr 2002 20:46:43 +0000
From: Jeremy <jeremy@exit109.com>
References: <1017777829.201228@ok-corral.gunslinger.net> <3915b.342201@archiver.winews.net> <1017854668.242120@ok-corral.gunslinger.net> <4219b.542200@archiver.winews.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
Newsgroups: news.software.nntp
Organization: There Is No Organization
Lines: 91
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
X-Meow: Meow