🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
17 messages
17 total messages Started by Russ Allbery Thu, 22 Nov 2001 21:50
Re: yEncoding -- gnus? slrn?
#55296
Author: 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/>
Re: yEncoding -- gnus? slrn?
#55298
Author: JanC
Date: Thu, 22 Nov 2001 23:34
25 lines
1968 bytes
in <news:ylelmqwk4t.fsf@windlord.stanford.edu>, Russ Allbery wrote:

[snip]
> 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. 

There is a discussion about yEnc and MIME starting here:

From: archiver@i3w.com (The Archiver)
Newsgroups: news.software.nntp
Subject: yEnc and MIME ?
Date: 16 Nov 2001 11:23:34 +0100
Message-ID: <3423b.gb1204@archiver.winews.net>


Seems like yEnc and MIME are incompatible...

-- 
JanC

"Behold, I send thee forth as newbies in the midst of wolves,
so RTFM! (read the fine manual)"  --Xnews manual
Re: yEncoding -- gnus? slrn?
#55301
Author: Russ Allbery
Date: Fri, 23 Nov 2001 00:01
53 lines
3510 bytes
In news.software.nntp, JanC <janc_removethis@digibel.org> writes:

> There is a discussion about yEnc and MIME starting here:

> From: archiver@i3w.com (The Archiver)
> Newsgroups: news.software.nntp
> Subject: yEnc and MIME ?
> Date: 16 Nov 2001 11:23:34 +0100
> Message-ID: <3423b.gb1204@archiver.winews.net>

> Seems like yEnc and MIME are incompatible...

No, the approach proposed in that message just doesn't make any sense.
It's still using magic text strings.

yEncode as a content transfer encoding is not at all incompatible with
MIME.  It's actually quite straight-forward.  Take the current yEnc
encoding rules, strip out the needless begin and end markers, remove the
checksum in favor of using Content-MD5, and call it a content transfer
encoding of x-yencode using the standard MIME encoding rules.  All done.

As a content transfer encoding, there's no need to worry about multipart
messages, interaction with other MIME parts, or any of that.  It just all
falls neatly out of the existing rules for content transfer encodings.
Any MIME part that's encoded using yEncode has in its header section the
line:

    Content-Transfer-Encoding: x-yenc

and the body of that part is yEncode-encoded information.

Any MIME implementation, such as those in Gnus and slrn, can then just
plug in a new content transfer encoding like the existing handling for
quoted-printable and base64, using the yEncode decoding rules.  It makes
implementation very simple.

The additional stuff in there about handling multipart binaries is
misplaced.  message/partial is a better designed and more formal system;
see RFC 2046.  It has a problem with use on Usenet in that it explicitly
requires that only 7-bit encodings be used, but I think that a variant of
message/partial that removes that restriction is still simpler and more
consistent with MIME than the ugly hack of using magic body strings.

For the right way to do message integrity checking, see RFC 1864.  Note
that, properly used, Content-MD5 survives re-encoding from one transfer
encoding to another, just the way that it should.

-- 
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.
Re: yEncoding -- gnus? slrn?
#55300
Author: JanC
Date: Fri, 23 Nov 2001 00:23
19 lines
2111 bytes
in <news:ylk7wis6cu.fsf@windlord.stanford.edu>, Russ Allbery wrote:

> The additional stuff in there about handling multipart binaries is
> misplaced.  message/partial is a better designed and more formal
> system; see RFC 2046.  It has a problem with use on Usenet in that
> it explicitly requires that only 7-bit encodings be used, but I
> think that a variant of message/partial that removes that
> restriction is still simpler and more consistent with MIME than
> the ugly hack of using magic body strings. 

I understood from some discussions about yEnc that the "MIME guys" 
don't want an 8-bit variant of message/partial?

-- 
JanC

"Behold, I send thee forth as newbies in the midst of wolves,
so RTFM! (read the fine manual)"  --Xnews manual
Re: yEncoding -- gnus? slrn?
#55302
Author: Andrew Gierth
Date: Fri, 23 Nov 2001 00:31
51 lines
2796 bytes
>>>>> "JanC" == JanC  <janc_removethis@digibel.org> writes:

 JanC> Seems like yEnc and MIME are incompatible...

MIME and yEnc (used as a transfer-encoding) are incompatible to the
extent that the MIME spec requires that only 7-bit encodings be used
in multiparts.  This restriction stems from mail usage, and is way too
restrictive for Usenet.

If you're prepared to violate that particular rule, then a yEnc MIME
multipart would look something like this:

----message1
 From: whoever
 Subject: yenc file (1/2)
 Content-Type: message/partial; number=1; total=2; id="abcdef@foo.bar"

 Content-Type: image/jpeg
 Content-Transfer-Encoding: x-yenc
 Content-Disposition: attachment; filename="picture.jpg"
 Content-MD5: MDEyMzQ1Njc4OWFiY2RlZgo=

 [yenc-encoded data]
----message2
 From: whoever
 Subject: yenc file (2/2)
 Content-Type: message/partial; number=2; total=2; id="abcdef@foo.bar"

 [yenc-encoded data]
----

yEnc single parts can be done without violating the MIME spec at all:

----
 From: whoever
 Subject: yenc file
 Content-Type: image/jpeg
 Content-Transfer-Encoding: x-yenc
 Content-Disposition: attachment; filename="picture.jpg"
 Content-MD5: MDEyMzQ1Njc4OWFiY2RlZgo=

 [yenc-encoded data]
----

Existing MIME software should at least offer the option to save the
encoded data verbatim (though they obviously won't be able to handle
it in any other way).

-- 
Andrew.
Re: yEncoding -- gnus? slrn?
#55303
Author: Russ Allbery
Date: Fri, 23 Nov 2001 00:34
31 lines
2720 bytes
In news.software.nntp, JanC <janc_removethis@digibel.org> writes:
> Russ Allbery wrote:

>> The additional stuff in there about handling multipart binaries is
>> misplaced.  message/partial is a better designed and more formal
>> system; see RFC 2046.  It has a problem with use on Usenet in that it
>> explicitly requires that only 7-bit encodings be used, but I think that
>> a variant of message/partial that removes that restriction is still
>> simpler and more consistent with MIME than the ugly hack of using magic
>> body strings.

> I understood from some discussions about yEnc that the "MIME guys" don't
> want an 8-bit variant of message/partial?

There's discussion of this in the RFC.  The reason why not to do this is
that MIME anticipated no use for message/partial beyond working with old
mail systems, in which case it makes no sense to allow an 8-bit version.
The new piece of information is that Usenet actually prefers to break
messages into smaller sections because they transfer more efficiently and
easily.  That changes the equation somewhat.  There is a reason to do this
from the Usenet perspective.

One would need to take this up in detail on ietf-822@imc.org, which is the
current IETF mailing list for such things.

-- 
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.
Re: yEncoding -- gnus? slrn?
#55304
Author: JanC
Date: Fri, 23 Nov 2001 00:45
28 lines
2479 bytes
in <news:ylelmqs4ss.fsf@windlord.stanford.edu>, Russ Allbery wrote:

> In news.software.nntp, JanC <janc_removethis@digibel.org> writes:
> 
>> I understood from some discussions about yEnc that the "MIME
>> guys" don't want an 8-bit variant of message/partial?
> 
> There's discussion of this in the RFC.  The reason why not to do
> this is that MIME anticipated no use for message/partial beyond
> working with old mail systems, in which case it makes no sense to
> allow an 8-bit version. The new piece of information is that
> Usenet actually prefers to break messages into smaller sections
> because they transfer more efficiently and easily.  That changes
> the equation somewhat.  There is a reason to do this from the
> Usenet perspective. 
> 
> One would need to take this up in detail on ietf-822@imc.org,
> which is the current IETF mailing list for such things.

Well, I hope "The Archiver", J.B. Moreno and the other yEnc people will 
read this...

-- 
JanC

"Behold, I send thee forth as newbies in the midst of wolves,
so RTFM! (read the fine manual)"  --Xnews manual
Re: yEncoding -- gnus? slrn?
#55312
Author: 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]

Re: yEncoding -- gnus? slrn?
#55314
Author: The Archiver
Date: Fri, 23 Nov 2001 12:39
13 lines
1579 bytes
JanC <janc_removethis@digibel.org> wrote:

>Well, I hope "The Archiver", J.B. Moreno and the other yEnc people will 
>read this...

The "yEnc-people" did discuss and implement yEncoders/yDecoders.
We did not deal with MIME. This is a different job.


-- 
The Archiver

Re: yEncoding -- gnus? slrn?
#55316
Author: The Archiver
Date: Fri, 23 Nov 2001 13:00
13 lines
1507 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:

>If you're prepared to violate that particular rule, then a yEnc MIME
>multipart would look something like this:
> [...]

Thanks for the examples.
I will implement it and try to find out how they  perform.

-- 
Juergen, [The Archiver]

Re: yEncoding -- gnus? slrn?
#55318
Author: Marcus Mönnig
Date: Fri, 23 Nov 2001 14:34
27 lines
2249 bytes
On 22.11.01 13:50:10, Russ Allbery wrote:

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

Serious question and with no implied offense: 

What harm did and does UUEncoding do to Usenet (apart from the question if 
binaries are appropriate there at all and the blowup UU gives to binary 
data, what yEnc obviously fixes)?

All I can see is that a few developers (few compared to the number of users) 
who want to support yEnc have to make sure they don't mess up like someone 
in Redmond did with catching begin/end in OE. Personally, I did implement 
much more difficult things than yEnc and I think it's an easy task for an 
average skilled developer (this time with an implied offense to that 
developer in Redmond ;-).

As long as no one is harmed that uses a client that does _not_ support yEnc 
I don't see a problem.

Marcus

-- 
I don't want the world, I just want your half.
Re: yEncoding -- gnus? slrn?
#55321
Author: Russ Allbery
Date: Fri, 23 Nov 2001 19:55
89 lines
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.
Re: yEncoding -- gnus? slrn?
#55324
Author: Russ Allbery
Date: Fri, 23 Nov 2001 20:01
36 lines
2888 bytes
Marcus M�nnig <minibbjd@gmx.net> writes:

> What harm did and does UUEncoding do to Usenet (apart from the question
> if binaries are appropriate there at all and the blowup UU gives to
> binary data, what yEnc obviously fixes)?

It encouraged ad hoc analysis methods in news readers to try to find
binaries inside posts that had no semantically unambiguous markup saying
they contained binaries.  It's added ugly complexity to dozens of news
readers.  It's discouraged the development of significantly better
technical alternatives because "uuencode works," even though people don't
see the really ugly stuff underneath the surface of "working."  It's
corrupted news messages that happened to contain lines starting with
"begin" and a number.

> As long as no one is harmed that uses a client that does _not_ support
> yEnc I don't see a problem.

It's not harming Usenet in the sense that it's breaking it; it's just a
significant and unfortunate step backwards from a fully specified and
implementable protocol like MIME to the dark ages of ad hoc body analysis
and attempts to use intuition to figure out what untagged, unmarked text
might possibly be.  It's like using unmarked national character sets and
makes life more difficult in very similar ways for people who want to
process those binaries.

Probably most unfortunately, it will confuse the issue and obscure the
fact that the *encoding* is a good idea, since the standardization folks
will quite likely react the same way that I did to the magic strings.

-- 
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.
Re: yEncoding -- gnus? slrn?
#55331
Author: Jøhnny Fävòrítê (it means "Mario...
Date: Sat, 24 Nov 2001 02:43
29 lines
2751 bytes
Russ Allbery wrote:
> Marcus M�nnig <minibbjd@gmx.net> writes:
>> What harm did and does UUEncoding do to Usenet (apart from the
>> question if binaries are appropriate there at all and the blowup UU
>> gives to binary data, what yEnc obviously fixes)?
>
> It encouraged ad hoc analysis methods in news readers to try to find
> binaries inside posts that had no semantically unambiguous markup
> saying they contained binaries.  It's added ugly complexity to dozens
> of news readers.  It's discouraged the development of significantly
> better technical alternatives because "uuencode works," even though
> people don't see the really ugly stuff underneath the surface of
> "working."

Boy, is that ever the truth.

If a UUENCODE binary is spread across two or more files then second and
subsequent parts won't even have the "begin" line for you to look for.
So I tried to work around that by checking the first ten lines or so to
see if they were valid UUENCODE lines -- proper length byte, proper
number of chars afterward, all within the UUENCODE charset, etc. -- and
a surprisingly large number of average everyday text lines turn out to
be totally valid UUENCODE lines as well.  So my newsreader gets fooled
into thinking a message contains UUENCODE stuff and doesn't display it.
That bug still exists, I haven't come up with a good workaround.

I prefer MIME binaries.  It's next to impossible to make that kind of
mistake there.
Re: yEncoding -- gnus? slrn?
#55335
Author: The Archiver
Date: Sat, 24 Nov 2001 10:14
156 lines
7324 bytes
Russ Allbery <rra@stanford.edu> wrote:

>> I could accept your objections if MIME would be _the_ solution.
>> Unfortunately this is not the case.
>
>Yes, I'm sorry, it is.  

We agree to disagree here.

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

From an admins point of view - and for a simple decoder - who has all the
messages and parts 100% correct on his harddisk this is correct.

You are simply ignoring that this has nothing todo with Usenet today. 

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

So a MIME implementation of yEnc should simply include the binary
data, rotated and escaped ? 
No line-length definition ?  No part position info ?  No CRC per part?
Going _back_ three steps without an option to add further things ?

Believe me:  yEnc is _far_ more than just saving a few bytes of space.
And if it is possible to have all the advantages of yEnc when you 
DONT use the MIME option for yEnc then people wont use MIME 
for yEnc at all.

>> yEnc permits to detect single defective messages of a splitted
>> multipart.
>
>So does MIME.

AFAIK the Content-MD5 appears only ONCE for a multipart (in the
first message). If you have a 50 part binary and part 35 is broken
then you cannot detect this. 
yEnc detects that part-35 is broken. It does not store it to disk.
My 'ad-hoc' decoder is storing 49 parts to the file - if it is a binary
then you can even LOOK at it already (or listen).

>> Additionally yEnc permits to collect missing data from secondary
>> reposts - because it offers also position information in binaries.
>
>So does MIME.

Mixing parts from two different MIME-posts (with a different MIME id)
into one file ?   I'm curious who would ever implement this.

yEnc is even able to collect missing data from a reposter who reposts
with a different part-size !   (Keyword is 'repacked' today).

And I would really like to see how you want to tell a mail/news-reader 
how to integrate a message you've got by FTP or WWW or MAIL
into an incomplete MIME message.

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

A newsreader which does not understand "yEnc" will save the file under
the original filename. Which is incorrect. An external decoder cannot
identify the content (because _all_ surrounding info is stripped) 
- it must 'blindly' operate on the data - and it has to replace the filename
with a new one (a death sin on Usenet). There is not even VERSION info
for the external decoder.


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

I wish you would try to download a 200 MB DivX Enterprise movie
with a 56 kBt modem. (or even with DSL).

With all those missing messages and broken parts.
Dealing with PAR files. and WinRAR or MasterSplit.

Have a closer look to alt.binaries.startrek
Look for the episode number 109 

Talking about Usenet from an academic position is very easy today.
But you _ignore_completely_ what's going on out there.

If those people would use yEnc with your type of MIME then 
_nothing_ would ever change. 

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

You did not follow the discussion about yEnc ?
There have been proposals to add automatic compression.
I told those people that we should do this in a later step.

There have been proposals to add PAR information.
I told the creator of PAR that we should do this in a later step.

There have been proposals to make part identification more reliable
- BEFORE the messages are downloader (only from the headers).
I told those people that we should do this in a later step.


I want to see the MIME people when we start adding _such_ things.


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

I am having now years of experience with binary messages on Usenet
and now I know that MIME is a bad idea.
And the fact that it is standardized does not make it better on _Usenet_.

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

For a 'crippled' version of yEnc you are right.

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

I dont believe that we are reinventing the wheel.
yEnc is adding new things which are helpful and necessary on _Usenet_.
That is the reason why it was easy to find support for it.

But perhaps it would be really better to have a complete different 
strategy for binaries.

-- 
Juergen, [The Archiver]
 
Re: yEncoding -- gnus? slrn?
#58513
Author: James A. Donald
Date: Mon, 29 Apr 2002 01:21
32 lines
2411 bytes
--
Russ Allbery <rra@stanford.edu> wrote in message
> It's not harming Usenet in the sense that it's breaking it; it's 
> just a significant and unfortunate step backwards from a fully 
> specified and implementable protocol like MIME to the dark ages 
> of ad hoc body analysis and attempts to use intuition to figure 
> out what untagged, unmarked text might possibly be.  It's like 
> using unmarked national character sets and makes life more 
> difficult in very similar ways for people who want to process 
> those binaries.

All of which is true, but MIME is hopelessly broken, dominated by 
huge committees which are dominated by people who have not written 
a line of code for a very long time.  Children not yet born will 
grow old and grey before the MIME process blesses a solution, and
when it finally blesses a solution, it will be an incredibly
complicated but very thorough solution to the wrong problem.

yEnc is a typical hack.

Hands up all those who could have done something better (everyone 
raises hand).

Hands up all those who did do something better (no one raises 
hand.) 

    --digsig
         James A. Donald
     6YeGpsZR+nOTh/cGwvITnSR3TdzclVpR0+pr3YYQdkG
     tehBCVZySILM2/h0gGpWmi62G8fDc8Uj5VTm8vH0
     4UfXaodlYmJaVpnsmiZQeazap0m3k05hEDd6tyozx
Re: yEncoding -- gnus? slrn?
#58514
Author: Russ Allbery
Date: Mon, 29 Apr 2002 05:49
35 lines
2453 bytes
James A Donald <jamesd@echeque.com> writes:

> All of which is true, but MIME is hopelessly broken,

Matter of opinion which I don't agree with.

> dominated by huge committees which are dominated by people who have not
> written a line of code for a very long time.

Objectively and provably not true.

> Children not yet born will grow old and grey before the MIME process
> blesses a solution,

This does have a grain of truth, but that's because they try not to break
mail, which has huge backward compatibility challenges.  An informal
blessing for the MIME solution discussed here has *already* been arrived
at in ietf-822.

> and when it finally blesses a solution, it will be an incredibly
> complicated but very thorough solution to the wrong problem.

Matter of opinion again and I again disagree.

> Hands up all those who did do something better (no one raises hand.)

Eventually I'll make INN support binary articles, and then I'll raise my
hand.

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

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads