🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55312

Re: yEncoding -- gnus? slrn?

#55312
From: The Archiver
Date: Fri, 23 Nov 2001 12:30
102 lines
5658 bytes
Russ Allbery <rra@stanford.edu> wrote:

>Unfortunately, it's horribly specified.  The only proper way to do this is
>as a MIME content transfer encoding; I really hope that no one will add
>support for this encoding until that's fixed.  The last thing the world
>needs is more magic strings in unstructured body text.

I could accept your objections if MIME would be _the_ solution.
Unfortunately this is not the case.

>Please, let's learn from history and not just repeat the same mistakes.

The history of MIME on Usenet does not encourage me to use it.  :->>

>The web page <http://www.yenc.org/> is incorrect in several respects:
>There is a MIME standard for multipart posts, 

I've written explicitely that this document must be handled with care 
because embedding yEnc into MIME is difficult thing.
AFAIK nobody did this yet - and the discussion is still in progress.

It is very discouraging to get just a few replies when I'm asking for
help with embedding yEnc into MIME - and then finding such 
opinions in such a thread.

>In fact, modifying this to be a content transfer encoding will
>*solve* several issues; for example, it will allow including the proper
>MIME content type instead of using application/octet-stream, one can use
>the existing Content-MD5 MIME header to checksum the canonical message
>rather than inventing yet another checksum, and one gets smooth handling
>of multipart messages and partial messages using the existing MIME
>specification.

Yes - you are absolutely right. 
MIME contains already several useful approaches.
This is the reason why embedding yEnc into MIME would be a nice thing.

But you might be aware of the fact that yEnc goes a few steps _further_
than MIME - which does not solve any of the actual problems:

yEnc permits to detect single defective messages of a splitted multipart.
People who insist on creating just one CRC for a 50 part message
encourage (or enforce) reposting _entire_ huge binaries.
yEnc has the goal to _reduce_ Usenet traffic.

Additionally yEnc permits to collect missing data from secondary
reposts - because it offers also position information in binaries.
If a message is posted twice (what happens all the time) then there 
is a chance to collect all missing parts.

It is even possible to transfer partial yEncoded messages through 
other paths - and still join them.  

Last not least it is possible to operate on yEncoded messages
during a transition period. The standard newsreaders (my own 'must'
list) permit to save the messages already _today_ and use
external tools. 
The behaviour of existing newstools on MIME messages is far less
predictable. Some important tools do not even support it !
And if the =ybegin =yend structure is lost then there
is no way to find even out what's going wrong anywhere.


>It's not a bad idea, but please don't adopt it in its current form; it
>will end up just being another half-baked magic-string encoding like
>uuencode, btoa, or BinHex.  And that's the last thing Usenet needs.

"Just another half-baked....."  ?
At least it respects the fact that such messages are transmitted over 
Usenet - a thing MIME is not designed (and prepared) for.

Implementing a yEncoder/yDecoder is not a mistake - no matter how
the embedding looks like. It is done in a few hours - and it works.
It offers _benefits_ over UUencode - and even MIME with base64.

It would be even _today_ possible to implement a yDecoder for
the Transfer-Encodings  "x-yEnc" and "yEnc". The decoder could
easily determine if a =ybegin =ypart message is there - or not.
It could easily decode what's coming in - with or without =ybegin.

So there is no reason why yEnc should not be supported right now.

If one day - in a far far future - everybody agrees how we can 
embed yEnc into MIME in a form which is acceptable for everybody
and usable without rewriting all tools then we can still apply for an 
official "Content-Transfer-Encoding: yEnc".
(I am really curious who will volunteer for writing the RFC :-)

Until then let's try to reduce Usenet traffic, disk space, transfer time, reposts.
Even with a horrible specification. 
The effort is not lost - nobody else will ever create another new encoding
when he see's what happened here.

btw.: Who ever wants to rewrite my "yEnc draft" is invited to do it.

I will still try to continue the "embedding of yEnc into MIME".
But that discussion is getting more complex every day.

-- 
Juergen, [The Archiver]

Technical Details
Message-ID: <5230d.nb1205@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!newsfeed.direct.ca!look.ca!novia!novia!news-xfer.siscom.net!not-for-mail
References: <221120010211552470%planb@newsreaders.com> <slrn9vq5ai.c35.hezu@donner.ling.helsinki.fi> <1f3a1ms.1a2g1vy3mhwmlN%planb@newsreaders.com> <ylelmqwk4t.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5230d.nb1205@archiver.winews.net>
Subject: Re: yEncoding -- gnus? slrn?
Date: Fri, 23 Nov 2001 12:30:52 +0000
From: archiver@i3w.com (The Archiver)
References: <221120010211552470%planb@newsreaders.com> <slrn9vq5ai.c35.hezu@donner.ling.helsinki.fi> <1f3a1ms.1a2g1vy3mhwmlN%planb@newsreaders.com> <ylelmqwk4t.fsf@windlord.stanford.edu>
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!newsfeed.direct.ca!look.ca!novia!novia!news-xfer.siscom.net!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: MyNews
Lines: 101
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
NNTP-Posting-Date: 23 Nov 2001 13:49:33 GMT
NNTP-Posting-Host: 14bcf68b.news.newshosting.com
X-Trace: DXC=N[0?lo33eJC3i;6L`k2YTEcWAoU0VUldBS3bM27mQ[QMDAgAn_eoZ9Ea_Fh5N;4bUN6Bm@m_RQ4KCEY]j96leHQI
X-Complaints-To: abuse@newshosting.com