Article View: news.software.nntp
Article #55321Re: yEncoding -- gnus? slrn?
From: Russ Allbery
Date: Fri, 23 Nov 2001 19:55
Date: Fri, 23 Nov 2001 19:55
89 lines
5066 bytes
5066 bytes
The Archiver <archiver@i3w.com> writes:
> I could accept your objections if MIME would be _the_ solution.
> Unfortunately this is not the case.
Yes, I'm sorry, it is. One can argue about it in newsgroups like this all
that one wants, and in the meantime all of the major companies making the
integrated mail and news readers that most Usenet users are using are all
working on MIME support because that's the direction that the whole world
is moving and it's actually fully specified and doesn't rely on easily
broken heuristics.
So believe what you want, but MIME is *the* solution, and down the road
it's going to be the only thing that anyone uses because pretty much all
of the generators and decoders that people will be using will understand
MIME and there won't be any other common ground.
> I've written explicitely that this document must be handled with care
> because embedding yEnc into MIME is difficult thing.
Doing yEnc in a MIME world is very easy; it just has to be specified as a
content transfer encoding.
> 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.
Your previous request for help assumed a solution that wouldn't work. I
don't want to help you implement embedding of a uuencode-like protocol
into a MIME multipart because that entire approach is fundamentally
broken.
> yEnc permits to detect single defective messages of a splitted
> multipart.
So does MIME.
> Additionally yEnc permits to collect missing data from secondary
> reposts - because it offers also position information in binaries.
So does MIME.
> 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.
I don't see any reason why the same thing couldn't also be done with a
content transfer encoding.
> "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.
I don't agree that this is true.
> 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.
As long as the =ybegin =ypart stuff is present, the protocol is fatally
flawed in my opinion. I think that's a shame, since the *encoding* is a
good idea; the rotation of the code space in particular is an excellent
idea. But the magic string thing is just a bad idea. It can very easily
look like a good idea -- uuencode, BinHex, and the like were excellent
solutions at the time -- but we now have years of experience with this
sort of thing and now we know why it's a bad idea.
> 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 :-)
It's not particularly hard. I'm sure that if someone posted a draft here
they'd get a lot of help. It's something that should be raised on
ietf-822@imc.org first, though.
Again, I think your idea is very good. There's just a portion of it
that's reinvention of the wheel (the checksum and multipart stuff) and a
portion of it that's new and worth pursuing (the actual encoding), and I
don't want to see the latter be hampered by the former.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<yllmgxz2gl.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!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<221120010211552470%planb@newsreaders.com> <slrn9vq5ai.c35.hezu@donner.ling.helsinki.fi> <1f3a1ms.1a2g1vy3mhwmlN%planb@newsreaders.com> <ylelmqwk4t.fsf@windlord.stanford.edu> <5230d.nb1205@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <yllmgxz2gl.fsf@windlord.stanford.edu> Subject: Re: yEncoding -- gnus? slrn? Date: Fri, 23 Nov 2001 19:55:54 +0000 From: Russ Allbery <rra@stanford.edu> References: <221120010211552470%planb@newsreaders.com> <slrn9vq5ai.c35.hezu@donner.ling.helsinki.fi> <1f3a1ms.1a2g1vy3mhwmlN%planb@newsreaders.com> <ylelmqwk4t.fsf@windlord.stanford.edu> <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!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 88 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1006545355 13157 171.64.13.23 (23 Nov 2001 19:55:55 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)