🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55296

Re: yEncoding -- gnus? slrn?

#55296
From: Russ Allbery
Date: Thu, 22 Nov 2001 21:50
39 lines
3090 bytes
In news.software.readers, J B Moreno <planb@newsreaders.com> writes:
> Heikki Kantola <hezu@iki.fi> wrote:

>> From results of quick Google-search I gather yEncode is some sort of
>> Mac-specific encoding for (binary?) files. Personally I see no need for
>> posting anything but plain text in Usenet.

> Mac specific?  No, it's Usenet specific -- i.e. it's designed to work
> with Usenet and not with mail, and doesn't have the same wasteful
> overhead as uu or base64 does.

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.

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

The web page <http://www.yenc.org/> is incorrect in several respects:
There is a MIME standard for multipart posts, introducing a new MIME
content transfer encoding is not at all difficult when done as an
experimental encoding, and MIME adds no additional complexity (instead,
the current proposal just completely ignores a bunch of issues that MIME
deals with and that will have to be dealt with one way or another
already).  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.

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.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylelmqwk4t.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-gnu.emacs.gnus.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <221120010211552470%planb@newsreaders.com> <slrn9vq5ai.c35.hezu@donner.ling.helsinki.fi> <1f3a1ms.1a2g1vy3mhwmlN%planb@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylelmqwk4t.fsf@windlord.stanford.edu>
Subject: Re: yEncoding -- gnus? slrn?
Date: Thu, 22 Nov 2001 21:50:10 +0000
From: Russ Allbery <rra@stanford.edu>
References: <221120010211552470%planb@newsreaders.com> <slrn9vq5ai.c35.hezu@donner.ling.helsinki.fi> <1f3a1ms.1a2g1vy3mhwmlN%planb@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-gnu.emacs.gnus.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: gnu.emacs.gnus,news.software.readers,news.software.nntp
Organization: The Eyrie
Lines: 38
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1006465811 5130 171.64.13.23 (22 Nov 2001 21:50:11 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)