Thread View: news.software.nntp
88 messages
88 total messages
Page 1 of 2
Started by Jøhnny Fävòrítê (it means "Explo...
Sun, 29 Dec 2002 10:17
Page 1 of 2 • 88 total messages
yEnc decoding implementation
Author: Jøhnny Fävòrítê (it means "Explo...
Date: Sun, 29 Dec 2002 10:17
Date: Sun, 29 Dec 2002 10:17
10 lines
1558 bytes
1558 bytes
As much as I hate it, I suppose the time has come to add yEnc decoding to my newsreader. Who here has an idea or a web page about the least offensive way to do this? I should add that I am DEAD SET against this horrible, horrible cribbed-together anti-protocol and I will surely DIE before I EVER write code to allow people to post yEnc binaries. I just want to decode them in whatever way you fellow anti-yEnc people think is the least stinky and most likely to lead users to better alternatives in the future.
Re: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Sun, 29 Dec 2002 12:42
Date: Sun, 29 Dec 2002 12:42
18 lines
1943 bytes
1943 bytes
[J�hnny F�v�r�t� (it means "Explosive Crap Laser")]: > > I should add that I am DEAD SET against this horrible, horrible > cribbed-together anti-protocol and I will surely DIE before I EVER > write code to allow people to post yEnc binaries. I just want to > decode them in whatever way you fellow anti-yEnc people think is > the least stinky and most likely to lead users to better > alternatives in the future. haha, it's not _that_ bad, is it? I suggest you only bother to decode messages which have =ybegin as their first line, this will cover 99% of the messages people are interested in. it's just wrong to use yEnc for inline attachments in text articles, IMO. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Rene
Date: Sun, 29 Dec 2002 13:24
Date: Sun, 29 Dec 2002 13:24
40 lines
2747 bytes
2747 bytes
J�hnny_F�v�r�t�_(it_means_"Explosive_Crap_Laser") <this.is@fake.com> wrote: > As much as I hate it, I suppose the time has come to add yEnc decoding > to my newsreader. Who here has an idea or a web page about the least > offensive way to do this? > > I should add that I am DEAD SET against this horrible, horrible > cribbed-together anti-protocol and I will surely DIE before I EVER write > code to allow people to post yEnc binaries. I just want to decode them > in whatever way you fellow anti-yEnc people think is the least stinky > and most likely to lead users to better alternatives in the future. Well the view on yEnc differs widely, depending on what you think what yEnc's job is. If you define yEnc's job to transfer binaries with as few overhead as possible, then it does a good job. However I am also aware that many people would have liked yEnc to tackle on other issues too, and are therefor disappointed since they have been left off. The current discussion on xBin tries to solve the remaining issues (if there is a complete list of remaining issues to solve, that is..) So I can only invite everyone to partake on the discussion of xBin. If xBin takes off, I believe the combination of xBin and yEnc will solve most of these problems (low overhead, ensured file integrity, easy file retrieval, automatic reconstruction using reposts and even FEC if we include ReedSolomon-Raid technology) However xBin does neither use nor need MIME, so that too might put some people off. Actually, xBin at the current state intentionally does not define how to encode binary data for transfer. It actually only defines the "meta-data", the data describing the attached binary data - in whatever encoding that may be. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: yEnc decoding implementation
Author: Rene
Date: Sun, 29 Dec 2002 14:18
Date: Sun, 29 Dec 2002 14:18
15 lines
1447 bytes
1447 bytes
J�hnny_F�v�r�t�_(it_means_"Explosive_Crap_Laser") <this.is@fake.com> wrote: > As much as I hate it, I suppose the time has come to add yEnc decoding > to my newsreader. Who here has an idea or a web page about the least > offensive way to do this? To answer your request, here is a site describing the basic algorithm: http://mindprod.com/jglossyenc.html Information on the header etc. is possibly best be retrieved at the source: http://www.yenc.org/develop.htm -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: yEnc decoding implementation
Author: David Magda
Date: Sun, 29 Dec 2002 16:47
Date: Sun, 29 Dec 2002 16:47
16 lines
1794 bytes
1794 bytes
Rene <invalid@email.addr> writes: [...] > most of these problems (low overhead, ensured file integrity, easy > file retrieval, automatic reconstruction using reposts and even FEC > if we include ReedSolomon-Raid technology) I am unfamiliar with the acronym "FEC", could you please expand it? Also, is the "Raid" the same used by RAID disk striping/mirroring/etc. in hard drive redudancy? -- David Magda <dmagda at ee.ryerson.ca> Because the innovator has for enemies all those who have done well under the old conditions, and lukewarm defenders in those who may do well under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
Re: yEnc decoding implementation
Author: Rene
Date: Sun, 29 Dec 2002 17:17
Date: Sun, 29 Dec 2002 17:17
41 lines
2776 bytes
2776 bytes
David Magda <dmagda+usenet@ee.ryerson.ca> wrote: > Rene <invalid@email.addr> writes: > [...] > > most of these problems (low overhead, ensured file integrity, easy > > file retrieval, automatic reconstruction using reposts and even FEC > > if we include ReedSolomon-Raid technology) > > I am unfamiliar with the acronym "FEC", could you please expand it? FEC means Forward Error Correction, it is actually a term from signal-processing. It basically means you send more data than is required. But if there are transmission failures, then with that addtional data, you can recreate the data (up to a certain extent) > Also, is the "Raid" the same used by RAID disk > striping/mirroring/etc. in hard drive redudancy? Yes its the same technology but applied a bit differently. Consider a RAID-5 system. You have, say 7 disks and one disk parity data. Now any of those total 8 disks may fail, the data is still reconstructable. Now the PARity system used on usenet is a bit different. You have N file-parts and M PAR files. Now for any missing part of the N files, you can use one of the M PAR files to repair the file. Or to put it another way, for any X missing parts, you need a parity file to be able to repair the files. As long as you have (N-X)+M >= N you can reconstruct the original N data. So it's like having a RAID-5 system but with more than one parity disk. On usenet, you may chose to send your N parts and you add M par-files. Now for any missing N part due to completion problems, a user can fetch an M-parity file you also provided to repair a gap. However if you have more missing parts than Parity files, then you're out of luck and you will need a repost/fill. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Sun, 29 Dec 2002 19:08
Date: Sun, 29 Dec 2002 19:08
24 lines
2046 bytes
2046 bytes
Rene <invalid@email.addr> writes:
> Well the view on yEnc differs widely, depending on what you think what
> yEnc's job is.
> If you define yEnc's job to transfer binaries with as few overhead as
> possible, then it does a good job.
Er, no. That's a very bad summary of at least my opinion on yEnc. yEnc
transfers binaries with low overhead *poorly* in a way that makes them
difficult to recognize and decode. It has nothing to do with whether it
solved other problems as well.
yEnc is a "magic string in the body" encoding protocol, something that
some of us hoped people were finally over after the 1980s. It's an
obviously broken way to do things, and it's really frustrating that people
with more enthusiasm than knowledge continue to reinvent square wheels.
--
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: yEnc decoding implementation
Author: Erik Hensema
Date: Sun, 29 Dec 2002 22:08
Date: Sun, 29 Dec 2002 22:08
28 lines
2341 bytes
2341 bytes
Russ Allbery (rra@stanford.edu) wrote: > Rene <invalid@email.addr> writes: > >> Well the view on yEnc differs widely, depending on what you think what >> yEnc's job is. > >> If you define yEnc's job to transfer binaries with as few overhead as >> possible, then it does a good job. > > Er, no. That's a very bad summary of at least my opinion on yEnc. yEnc > transfers binaries with low overhead *poorly* in a way that makes them > difficult to recognize and decode. It has nothing to do with whether it > solved other problems as well. > > yEnc is a "magic string in the body" encoding protocol, something that > some of us hoped people were finally over after the 1980s. It's an > obviously broken way to do things, and it's really frustrating that people > with more enthusiasm than knowledge continue to reinvent square wheels. I always wondered why yEnc wasn't a mime content-transfer-encoding scheme but an ugly uuencode-like hack. Is it _that_ hard to implement it right? -- Erik Hensema (erik@hensema.net) ICQ# 8280101 Moon, n.: 1. A celestial object whose phase is very important to hackers. See PHASE OF THE MOON. 2. Dave Moon (MOON@MC).
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Sun, 29 Dec 2002 22:29
Date: Sun, 29 Dec 2002 22:29
17 lines
1801 bytes
1801 bytes
Erik Hensema <usenet@smac.hensema.net> writes:
> I always wondered why yEnc wasn't a mime content-transfer-encoding
> scheme but an ugly uuencode-like hack. Is it _that_ hard to implement it
> right?
I believe the argument at the time was that it was too hard to get access
to the headers and putting it in the headers would confuse software that
didn't understand it so that the user couldn't save the message and then
run an external decoder on it.
--
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: yEnc decoding implementation
Author: Bas Ruiter
Date: Sun, 29 Dec 2002 22:52
Date: Sun, 29 Dec 2002 22:52
20 lines
1789 bytes
1789 bytes
> yEnc is a "magic string in the body" encoding protocol, something that > some of us hoped people were finally over after the 1980s. It's an > obviously broken way to do things, and it's really frustrating that people > with more enthusiasm than knowledge continue to reinvent square wheels. The solution would be to introduce a binary-specific Header, and perhaps a standard tag in one of the XOVER Headers to signal that this new Header is there? Bas Ruiter -- [ l o r d s n o w @home.nl http://members.home.nl/ l o r d s n o w ] Only when the population of 50 mysteriously dropped to 7 did the remainder start to suspect Hungry.
Re: yEnc decoding implementation
Author: Juergen Helbing
Date: Sun, 29 Dec 2002 23:17
Date: Sun, 29 Dec 2002 23:17
46 lines
2536 bytes
2536 bytes
=?ISO-8859-1?Q?J=F8hnny_F=E4v=F2r=EDt=EA_=28it_means_=22Explosive_Crap_Laser=22=29?= <this.is@fake.com> wrote: >As much as I hate it, I suppose the time has come to add yEnc decoding >to my newsreader. Who here has an idea or a web page about the least >offensive way to do this? Use your existing code and at the location where you check for UUenc's 'begin 644 xxxxx' add a check for =ybegin ..... and all the following stuff. Branch to an own module. The website is located at: www.yenc.org You can contact me by eMail for further questions. >I should add that I am DEAD SET against this horrible, horrible >cribbed-together anti-protocol and I will surely DIE before I EVER write >code to allow people to post yEnc binaries. I just want to decode them >in whatever way you fellow anti-yEnc people think is the least stinky >and most likely to lead users to better alternatives in the future. If you dont to write a binary poster, then this is far better than writing a bad one. There is enough good autoposting software out there so posting of yEnc binaries should not be a job for your software. Tips: Please dont forget to tell your users in case of corruption which part of a multipart is corrupt and permit to fetch it from a repost or another source. Ignore all CRC32 values which are 0x00000001. Be prepared for incomplete multiparts where the last part is empty. Dont rely on the 'yEnc' tag in the subject line. People tend to post without it because yEnc is widely standard. People dont use the subject recommendations of yEnc. Use your standard UUenc functions for finding multiparts. But verify them with the yEnc header data. The implementation should not take longer than 4 hours. HTH -- Juergen ------------------- www.yenc.org
Re: yEnc decoding implementation
Author: Juergen Helbing
Date: Sun, 29 Dec 2002 23:19
Date: Sun, 29 Dec 2002 23:19
12 lines
1141 bytes
1141 bytes
Erik Hensema <usenet@smac.hensema.net> wrote: >I always wondered why yEnc wasn't a mime content-transfer-encoding scheme >but an ugly uuencode-like hack. Is it _that_ hard to implement it right? You can find the answer in the FAQ: http://www.yenc.org/user.htm HTH -- Juergen
Re: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Sun, 29 Dec 2002 23:40
Date: Sun, 29 Dec 2002 23:40
22 lines
1829 bytes
1829 bytes
[Erik Hensema]: > > I always wondered why yEnc wasn't a mime content-transfer-encoding > scheme but an ugly uuencode-like hack. Is it _that_ hard to > implement it right? well, there's this, in RFC 2045: 6.4. Interpretation and Use [...] If an entity is of type "multipart" the Content-Transfer-Encoding is not permitted to have any value other than "7bit", "8bit" or "binary". Even more severe restrictions apply to some subtypes of the "message" type. so the MIME standard itself needs to be changed if yEnc is to be used in multiparts. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Sun, 29 Dec 2002 23:55
Date: Sun, 29 Dec 2002 23:55
28 lines
2237 bytes
2237 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> well, there's this, in RFC 2045:
> 6.4. Interpretation and Use
> [...] If an entity is of type "multipart" the
> Content-Transfer-Encoding is not permitted to have any value other
> than "7bit", "8bit" or "binary". Even more severe restrictions
> apply to some subtypes of the "message" type.
> so the MIME standard itself needs to be changed if yEnc is to be used
> in multiparts.
That's the top-level CTE. You could still use a CTE of x-yenc in a part
of the multipart, perfectly legally. And if there is no other text in the
post, you can use a top-level CTE of x-yenc, perfectly legally. yEnc fits
the restrictions of the MIME 8bit CTE.
There is an esoteric problem related to message/rfc822, but it's not
really that relevant to the binary posting problem.
--
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: yEnc decoding implementation
Author: Russ Allbery
Date: Sun, 29 Dec 2002 23:59
Date: Sun, 29 Dec 2002 23:59
36 lines
2714 bytes
2714 bytes
Bas Ruiter <lordsnow@home.nl> writes:
>> yEnc is a "magic string in the body" encoding protocol, something that
>> some of us hoped people were finally over after the 1980s. It's an
>> obviously broken way to do things, and it's really frustrating that
>> people with more enthusiasm than knowledge continue to reinvent square
>> wheels.
> The solution would be to introduce a binary-specific Header,
No need. Content-Transfer-Encoding works fine, either at the top level or
in the appropriate section of the multipart.
Using CTE even does the right thing for existing readers, as the MIME
standard requires that messages with an unknown CTE be treated as opaque
application/octet-stream parts, which is exactly what you want if you want
to save them to run an external decoder on.
> and perhaps a standard tag in one of the XOVER Headers to signal that
> this new Header is there?
Why do you need this? You can't tell from the headers whether the message
is in yEnc now; why would an alternate implementation of the basic yEnc
concept require that?
It would separately be useful to be able to tell binary postings from
XOVER data, but yEnc as it exists today doesn't solve that problem either.
People posting in yEnc right now put some comment to that effect in the
Subject header. You can do that no matter how you encode the post.
--
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: yEnc decoding implementation
Author: Russell Vincent
Date: Mon, 30 Dec 2002 00:04
Date: Mon, 30 Dec 2002 00:04
24 lines
1882 bytes
1882 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > well, there's this, in RFC 2045: > 6.4. Interpretation and Use > [...] If an entity is of type "multipart" the > Content-Transfer-Encoding is not permitted to have any value other > than "7bit", "8bit" or "binary". Even more severe restrictions > apply to some subtypes of the "message" type. > so the MIME standard itself needs to be changed if yEnc is to be used > in multiparts. Or perhaps not use an entity type of "multipart"? Just use some other word instead and then the Content-Transfer-Encoding can be set to yenc or anything else. Software that deals with the new encoding type is going to have to be modified anyway, so it can be modifed to deal with a new Content-Type at the same time. -Russell
Re: yEnc decoding implementation
Author: Curt Welch
Date: Mon, 30 Dec 2002 00:14
Date: Mon, 30 Dec 2002 00:14
55 lines
4324 bytes
4324 bytes
erik@hensema.net wrote: > I always wondered why yEnc wasn't a mime content-transfer-encoding scheme > but an ugly uuencode-like hack. Is it _that_ hard to implement it right? The problem is that when you address the issues of binaries on usenet, there are a ton of problems to explore. And we have explored a lot of them. Do you create a new type of Usenet to move binaries separate from the current Usenet? Should binaries be distributed though a fetch system where only the headers are pushed with the rest of the text? How would that work? Should article sizes be bigger so we can move most binaries as single articles? Should we try to convert Usenet to MIME? Should we make news servers support pure binary instead of just 8bit clean and move binaries without any encoding? How would that work? Does usenet overall need end-to-end data checking? How about article check-sums of some time for better overall data integrity? Should we create an encoding to remove the uuencode overhead? So, the "issue" of doing something like yEnc was always mixed with 100 other things to think about. And generally, the pain and confusion of trying to convert usenet to a new encoding format just never seem justified for the mere 30% savings it would save people in download and uplaod time. Usenet volume is always a problem, but it's an exponential problem and will not be (and was not touched by a linear one-time 30% "fix". yEnc was mostly ignored by most of us discussing all this becuse 1) most of us thought the idea of any new encoding which really only solved the uuencode overhead issue was just not worth the pain and suffering the conversion would cause (how many millions of articles have now been posted about yEnc?), and 2) yEnc was a poorly thought out hack job when we already had bether working ideas on the table which had not been pushed out to the public because we generally didn't feel the time was right. But yEnc took off because for the users, it had a compeling story (even if half the story was wrong), and because it gave them something real - a 30% savings in article size and crcs. And, because it was so close to uuencode, it was easilly added to any newsreader or tool which already supported uudecode. yEnc support can be added to most newsraders that support uuencode in less than a day. By the time those of us that knew how to do "yEnc right" realized this POS was going to be a standard, it was too late to fix it. I tried, but to much software had already been changed and was already in use. So even I added support for it many months ago. It almost made me cry to have to write that code because I was "asked" to help do it right and had the chance to work on but didn't allocate the time because I didn't expect it to go anywhere. Oh well. It's about as esthetically unpleasing as any standard can get. But it does work, and the best thing for Usenet now is to get this conversion to yEnc over so we can move on. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Mon, 30 Dec 2002 00:25
Date: Mon, 30 Dec 2002 00:25
33 lines
2363 bytes
2363 bytes
[Russ Allbery]: > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes: > > > well, there's this, in RFC 2045: > > > > 6.4. Interpretation and Use > > > > [...] If an entity is of type "multipart" the > > Content-Transfer-Encoding is not permitted to have any value other > > than "7bit", "8bit" or "binary". Even more severe restrictions > > apply to some subtypes of the "message" type. > > > > so the MIME standard itself needs to be changed if yEnc is to be used > > in multiparts. > > That's the top-level CTE. You could still use a CTE of x-yenc in > a part of the multipart, perfectly legally. I'm not convinced, consider RFC 2046: 5.2.2. Partial Subtype [...] In particular, even in environments that support binary or 8bit transport, the use of a content-transfer-encoding of "8bit" or "binary" is explicitly prohibited for MIME entities of type "message/partial". This in turn implies that the inner message must not use "8bit" or "binary" encoding. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Mon, 30 Dec 2002 00:53
Date: Mon, 30 Dec 2002 00:53
78 lines
5233 bytes
5233 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> [Russ Allbery]:
>> That's the top-level CTE. You could still use a CTE of x-yenc in
>> a part of the multipart, perfectly legally.
> I'm not convinced, consider RFC 2046:
> 5.2.2. Partial Subtype
> [...] In particular, even in environments that support binary or
> 8bit transport, the use of a content-transfer-encoding of "8bit"
> or "binary" is explicitly prohibited for MIME entities of type
> "message/partial". This in turn implies that the inner message must
> not use "8bit" or "binary" encoding.
Yes, that's message/partial. What does that have to do with the part of a
multipart?
It's true that message/partial has a bunch of problems from a Usenet
standpoint if you want to use it to post binaries across multiple articles
(which is *not* what a multipart MIME message is). But, again, yEnc
doesn't solve that problem either. It doesn't let you use
message/partial; it makes up its own metadata and embeds it in the
encoding. So the limitations of message/partial aren't relevant to a
discussion of why yEnc isn't a CTE.
There's some discussions to be had here if the intention is to lift the
metadata included in the yEnc encoding format into something reasonable
like headers rather than stuck in magic body strings, but one wouldn't
even have to do that. That would be something that people should deal
with before formal standardization, but there's nothing preventing one
from starting with magic body strings to present metainformation inside a
CTE of x-yenc, to get things started.
All of the objections I've heard to doing this in a more MIME-friendly way
are of the form "the MIME standards encourage (but do not require) people
to do things the right way, doing things the right way is too hard, and
therefore we have to avoid MIME completely in case some of the common
sense rubs off." There are lots of partial compromise solutions that were
rejected out of hand because the yEnc author was unwilling to learn about
MIME.
Putting metainformation in body strings is also a mistake, but do you
really think anyone would have bitched as much about that (particularly
given that there isn't a really obvious better solution) if at least the
message were clearly tagged as being in yEnc with a CTE rather than using
these thrice-damned magic strings?
But, at least from my perspective, most of us who felt that way were also
old curmudgeons who think that Usenet sucks as a way of transporting
binaries as it stands right now, like Curt was saying. I know I didn't
feel like spending a lot of time arguing people into doing binary
encodings right when that's just a patch over a system that's
fundamentally broken for the purpose for which people are using it. So as
a result, we don't have much influence over the outcome. That makes
sense, and I don't begrudge it.
The whole way that people exchange binaries on Usenet is a protocol
disaster, and adding one more disaster on top of the rest really doesn't
make that much of a difference to the overall cleanliness of the system.
But just because I don't find solving just the encoding problem without
addressing the fundamental issues a particularly worthwhile thing to spend
time on doesn't mean that I lose whatever taste I have, so I periodically
bitch about yEnc just because of how ugly it is. (And by that, I don't
intend to imply that the author is not intelligent. He is, and he has
good ideas. He just didn't do sufficient research first into the issues
involved in creating an encoding format and therefore failed to learn from
all of the hard lessons that other people have learned over the past 22
years of playing with this stuff.)
--
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: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Mon, 30 Dec 2002 01:48
Date: Mon, 30 Dec 2002 01:48
36 lines
2767 bytes
2767 bytes
[Russ Allbery]: > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes: > > I'm not convinced, consider RFC 2046: > > > > 5.2.2. Partial Subtype > > > > [...] In particular, even in environments that support binary or > > 8bit transport, the use of a content-transfer-encoding of "8bit" > > or "binary" is explicitly prohibited for MIME entities of type > > "message/partial". This in turn implies that the inner message must > > not use "8bit" or "binary" encoding. > > Yes, that's message/partial. What does that have to do with the > part of a multipart? a multipart in Usenet is called message/partial in MIME. MIME multiparts aren't very interesting in a Usenet setting. > It's true that message/partial has a bunch of problems from a > Usenet standpoint if you want to use it to post binaries across > multiple articles (which is *not* what a multipart MIME message > is). But, again, yEnc doesn't solve that problem either. It > doesn't let you use message/partial; it makes up its own metadata > and embeds it in the encoding. So the limitations of > message/partial aren't relevant to a discussion of why yEnc isn't > a CTE. huh? 90% of all messages posted using yEnc are multiparts. the MIME standard forbids the use of efficient encoding for multiparts. so people ignore MIME. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Mon, 30 Dec 2002 02:01
Date: Mon, 30 Dec 2002 02:01
47 lines
3165 bytes
3165 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> [Russ Allbery]:
>> Yes, that's message/partial. What does that have to do with the
>> part of a multipart?
> a multipart in Usenet is called message/partial in MIME. MIME
> multiparts aren't very interesting in a Usenet setting.
Of course they are. Nearly all binaries posted to Usenet are multiparts
in the MIME sense, since there is some textual commentary before the
actual binary. But that's another debate.
> huh? 90% of all messages posted using yEnc are multiparts.
So what? Why bring up message/partial at all?
No one is using message/partial. message/partial has nothing to do with
this entire debate. I'm talking about how a yEnc message, whether it's
part of a larger message or just one binary, should be marked as a yEnc
message.
If those yEnc messages were part of message/partial messages, then this
would be an issue, but they're not. No one uses message/partial on
Usenet. So there's nothing preventing them from being marked with a CTE,
and message/partial is a red herring.
> the MIME standard forbids the use of efficient encoding for multiparts.
> so people ignore MIME.
Because one specific MIME content type within a system with explicit
support for defining your own content types of whatever variety that you
desire, a specific type that was designed only for e-mail, isn't useful on
Usenet, MIME in some general sense is forbidding efficient encoding for
multiparts?
Huh?
Don't use message/partial; as currently specified, it's ill-suited to
posting binaries on Usenet. Now, why isn't yEnc a CTE?
--
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: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Mon, 30 Dec 2002 03:29
Date: Mon, 30 Dec 2002 03:29
23 lines
2325 bytes
2325 bytes
[Russ Allbery]: > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes: > > a multipart in Usenet is called message/partial in MIME. MIME > > multiparts aren't very interesting in a Usenet setting. > > Of course they are. Nearly all binaries posted to Usenet are > multiparts in the MIME sense, since there is some textual > commentary before the actual binary. err, not that I have noticed... > > huh? 90% of all messages posted using yEnc are multiparts. > > So what? Why bring up message/partial at all? so you're saying, ignore the mechanism in MIME for automatic assembly of parts. why should we bother with MIME, then? -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Jeffrey M. Vinocur
Date: Mon, 30 Dec 2002 03:53
Date: Mon, 30 Dec 2002 03:53
24 lines
1856 bytes
1856 bytes
In article <1r3coggp6q.fsf@thrir.ifi.uio.no>, Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: >[Russ Allbery]: >> >> > huh? 90% of all messages posted using yEnc are multiparts. >> >> So what? Why bring up message/partial at all? > >so you're saying, ignore the mechanism in MIME for automatic assembly >of parts. why should we bother with MIME, then? Because it would still be an enormous improvement (relative to magic strings) to have each post marked with headers indicating what it contains and what transfer encoding is used. You don't have to embrace every single aspect of MIME to make use of the parts that *would* be useful. Or do you not understand why magic strings are bad? -- Jeffrey M. Vinocur jeff@litech.org
Re: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Mon, 30 Dec 2002 04:02
Date: Mon, 30 Dec 2002 04:02
11 lines
1404 bytes
1404 bytes
[Jeffrey M. Vinocur]: > > Or do you not understand why magic strings are bad? we'd still be left with the worst magic strings of all: in the Subject. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Bas Ruiter
Date: Mon, 30 Dec 2002 04:08
Date: Mon, 30 Dec 2002 04:08
35 lines
2458 bytes
2458 bytes
> >> yEnc is a "magic string in the body" encoding protocol, something that > >> some of us hoped people were finally over after the 1980s. It's an > >> obviously broken way to do things, and it's really frustrating that > >> people with more enthusiasm than knowledge continue to reinvent square > >> wheels. > > > The solution would be to introduce a binary-specific Header, > > No need. Content-Transfer-Encoding works fine, either at the top level or > in the appropriate section of the multipart. But MIME is just as "magic string in body" as UUE or yEnc is! Then again, I suppose Headers are "magic strings in header" so I guess it all boils down to the same thing. It just depends on how you look at it. All you need to do is define/use a standard set of "tags" and put it in a predefined place. I've heard people ask why yEnc wasn't done in MIME. My question would be, why would you want to? Apart from uniformity and more complexity, what do you get? Bas Ruiter -- [ l o r d s n o w @home.nl http://members.home.nl/ l o r d s n o w ] Only when the population of 50 mysteriously dropped to 7 did the remainder start to suspect Hungry.
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Mon, 30 Dec 2002 04:11
Date: Mon, 30 Dec 2002 04:11
19 lines
1839 bytes
1839 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> [Jeffrey M. Vinocur]:
>> Or do you not understand why magic strings are bad?
> we'd still be left with the worst magic strings of all: in the
> Subject.
Generally when I have a long-term goal that I think is desirable but can't
reach right away, I try to make slow progress towards it anyway rather
than turning around and running as fast as I can in the opposite
direction.
--
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: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Mon, 30 Dec 2002 04:37
Date: Mon, 30 Dec 2002 04:37
26 lines
2378 bytes
2378 bytes
[Russ Allbery]: > > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes: > > [Jeffrey M. Vinocur]: > > >> Or do you not understand why magic strings are bad? > > > we'd still be left with the worst magic strings of all: in the > > Subject. > > Generally when I have a long-term goal that I think is desirable but can't > reach right away, I try to make slow progress towards it anyway rather > than turning around and running as fast as I can in the opposite > direction. hey, I didn't come up with yEnc! I'm all for having it registered as a CTE. (that is, only the transform, the CRC, size etc. should go elsewhere.) I'm just pointing out why an all MIME solution isn't workable. this was the hurdle which stopped qp-lite, it seems to me. qp-lite would be much preferable, the difference in overhead compared to yEnc isn't worth bothering about. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Jeremy
Date: Mon, 30 Dec 2002 05:25
Date: Mon, 30 Dec 2002 05:25
19 lines
1569 bytes
1569 bytes
Erik Hensema <erik@hensema.net> wrote: > I always wondered why yEnc wasn't a mime content-transfer-encoding scheme > but an ugly uuencode-like hack. Is it _that_ hard to implement it right? No, not at all. I did it a while back. http://www.exit109.com/~jeremy/news/binaries/ It's not a MIME CTE because the people who pushed it refused to listen to reason. yEnc posts should at *least* be tagged as application/octet-stream so newsreaders don't think they're text, but even that was flat-out refused. I just can't believe we're having this discussion again from the beginning. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Jeremy
Date: Mon, 30 Dec 2002 05:27
Date: Mon, 30 Dec 2002 05:27
13 lines
1620 bytes
1620 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > huh? 90% of all messages posted using yEnc are multiparts. the MIME > standard forbids the use of efficient encoding for multiparts. so > people ignore MIME. No... MIME forbids those encodings for message/partial, which, as it turns out, isn't really well-suited for this purpose anyway. So, in the end, that encoding restriction has no bearing on the issue whatsoever. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Russell Vincent
Date: Mon, 30 Dec 2002 12:00
Date: Mon, 30 Dec 2002 12:00
22 lines
2370 bytes
2370 bytes
Russ Allbery <rra@stanford.edu> wrote: > And what's even more frustrating is that it's not like the need for > metadata was lost on anyone. yEnc has metadata, although not as rich and > useful of a set of metadata as MIME does, thus proving that it > fundamentally is a case of Not Invented Here syndrome, ignoring > three-quarters of the good ideas and experience that went into the MIME > standard and implementing the other quarter in a half-assed fashion that > doesn't play well with anything else. What amazes me is that the the proponents of yenc could quite easily still make it into MIME by encouraging the software authors to post it as such, but have not done so. The body will still be the same (apart from a little extra text surrounding the yenc part) so existing decoders will work and new decoders would get the benefits of the metadata in the headers and not have to download the entire article. All they would have to do is update their web pages with a proposed MIME Content-Type and CTE. -Russell
Re: yEnc decoding implementation
Author: Jøhnny Fävòrítê (it means "Explo...
Date: Tue, 31 Dec 2002 02:48
Date: Tue, 31 Dec 2002 02:48
17 lines
1888 bytes
1888 bytes
Rene wrote: > However xBin does neither use nor need MIME, so that too might put > some people off. Why? (Yes, I know you guys are posting about eighty billion words about this stuff right now, but that's just the thing, it's *way* too much for me to read all of it.) I had a great many swearing and hair-tearing sessions before I finally got MIME to work in my newsreader. Even now there are a lot of less likely corner cases that I don't cover well or at all. But it sure as heck beats the pants off magic-string kludges like uudecode and yEnc. Why not define a near-eight-bit-clean data transfer mechanism, similar to yEnc, that fits within MIME, similar to BASE64? I think that would be the best of all possible outcomes.
Re: yEnc decoding implementation
Author: Jøhnny Fävòrítê (it means "Explo...
Date: Tue, 31 Dec 2002 02:58
Date: Tue, 31 Dec 2002 02:58
18 lines
2015 bytes
2015 bytes
Bas Ruiter wrote: > But MIME is just as "magic string in body" as UUE or yEnc is! Nope. Russ said it better than I could: > =ybegin in the body could mean all sorts of things (consider this > line, for example). Content-Type and Content-Transfer-Encoding in > the headers mean one and only one thing. > > There's a huge difference there that fundamentally changes the > nature of the protocol. It's not the same thing at all, no matter > how you look at it. Having implemented both uudecode and MIME/BASE64 in my newsreader, I cannot overstate how true that is. The uudecode magic-string hack looks "simple" until you run into all the myriad situations where the magic strings can be misinterpreted.
Re: yEnc decoding implementation
Author: Jøhnny Fävòrítê (it means "Explo...
Date: Tue, 31 Dec 2002 03:29
Date: Tue, 31 Dec 2002 03:29
22 lines
1919 bytes
1919 bytes
Rene wrote: > Information on the header etc. is possibly best be retrieved at the > source: > > http://www.yenc.org/develop.htm Yep, I guess that's what I was looking for, unfortunately. *sigh* Oh well, not your fault, so thanks. Far Canal wrote: > Is this the last yEnc troll post of 2002 ?? It is the first "me being really pissed I have to implement this shabby thing in the greatest program I ever wrote that got me hired at the most prestigious and high-paying job I ever had" post of this or any other year. Yes, it was probably more inflammatory than it should have been, but a very nice and informative thread sprouted up underneath it, so hey, mission accomplished. If anybody responded as if it was a troll I must have them kill-filed, because I sure didn't see anything like that.
Re: yEnc decoding implementation
Author: Jeremy
Date: Tue, 31 Dec 2002 04:03
Date: Tue, 31 Dec 2002 04:03
15 lines
1658 bytes
1658 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > I'm just pointing out why an all MIME solution isn't workable. this > was the hurdle which stopped qp-lite, it seems to me. qp-lite would be > much preferable, the difference in overhead compared to yEnc isn't > worth bothering about. The only thing that "stopped" qp-lite was that it was a hack, a proof of concept, essentially an abuse of the MIME standard done in order to prove a point; it was really not intended to be, nor suitable as, a finished product. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Tue, 31 Dec 2002 04:09
Date: Tue, 31 Dec 2002 04:09
13 lines
1667 bytes
1667 bytes
[Jeremy]: > > The only thing that "stopped" qp-lite was that it was a hack, a > proof of concept, essentially an abuse of the MIME standard done > in order to prove a point; it was really not intended to be, nor > suitable as, a finished product. but it would have been better than yEnc, no? -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Jeremy
Date: Tue, 31 Dec 2002 04:25
Date: Tue, 31 Dec 2002 04:25
17 lines
1591 bytes
1591 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: >> The only thing that "stopped" qp-lite was that it was a hack, a >> proof of concept, essentially an abuse of the MIME standard done >> in order to prove a point; it was really not intended to be, nor >> suitable as, a finished product. > > but it would have been better than yEnc, no? No, I don't think so; by virtue of its abuse of the spec, it could have broken existing software. (When I say "abuse", I mean it violated a few parts of the spec in small ways and took advantage of the fact that most existing implementations would deal with it anyway.) -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Tue, 31 Dec 2002 04:36
Date: Tue, 31 Dec 2002 04:36
25 lines
2300 bytes
2300 bytes
[Jeremy]:
>
> Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>
> >> The only thing that "stopped" qp-lite was that it was a hack, a
> >> proof of concept, essentially an abuse of the MIME standard done
> >> in order to prove a point; it was really not intended to be, nor
> >> suitable as, a finished product.
> >
> > but it would have been better than yEnc, no?
>
> No, I don't think so; by virtue of its abuse of the spec, it could
> have broken existing software. (When I say "abuse", I mean it
> violated a few parts of the spec in small ways and took advantage
> of the fact that most existing implementations would deal with it
> anyway.)
okay, agreed, but I was thinking actually registering a new CTE
("quoted-binary" or somesuch). the work needed to have it supported
would be minimal, certainly a lot less than a yEnc CTE.
--
Kjetil T. | read and make up your own mind
| http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Tue, 31 Dec 2002 04:59
Date: Tue, 31 Dec 2002 04:59
25 lines
2312 bytes
2312 bytes
Explosive Crap Laser <this.is@fake.com> writes:
> Why not define a near-eight-bit-clean data transfer mechanism, similar
> to yEnc, that fits within MIME, similar to BASE64? I think that would
> be the best of all possible outcomes.
It's not too hard to do this, since the hard work of the encoding system
was already done. All you really have to do is take the basic yEnc
encoding format and define it as a CTE. Some other edge cases fall out of
that and you have to figure out what to do with the various bits of
metadata that yEnc now puts in the body.
Leaving them there is one option, although a bit of a layering violation
that makes things more annoying for news readers to implement. Putting
them into an X-yEnc header is another option. Trying to figure out how to
adapt the MIME headers or add new ones in the same style is a third
option, the hardest one to pull off but probably the option with the most
future and the option that client authors will bless you for.
--
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: yEnc decoding implementation
Author: Rene
Date: Tue, 31 Dec 2002 13:46
Date: Tue, 31 Dec 2002 13:46
42 lines
2846 bytes
2846 bytes
J�hnny_F�v�r�t�_(it_means_"Explosive_Crap_Laser") <this.is@fake.com> wrote: > Rene wrote: > > However xBin does neither use nor need MIME, so that too might put > > some people off. > > Why? (Yes, I know you guys are posting about eighty billion words about > this stuff right now, but that's just the thing, it's *way* too much for > me to read all of it.) Well my words were not so well chosen. Fact is: It has not been designed yet. We're discussing the fundamental basis for the xBin system, up to now, the question of how the actual binary data is appended to a xBin posting (xBin posting = a xBin header plus a special message-id) has simply not been specified yet. Actually thinking about it, we haven't even defined how the filename is being transmitted. For xBin, all what counts is the file-hash. Of course sooner or later we have to adress these questions. But at the moment, consider xBin just to be a special way of creating some headers. Feel free to formulate how the format of the binary data within the articles body should be presented. From my point of view (which may not be the same as the other's) there must be: - the binary data in some encoding. - the filename What's not needed is: - any crc or other checksum mechanism, that's being handled by xBin - any positional data (this is chunk x of y total) that too is already being covered by xBin So basically it looks like each xBin posting has one full file attached (that should qualify as non-multipart, right?) At this point I cannot speak pro or contra MIME simply because I haven't read the RFC. I can only say that the binary data in an xBin posting should not be limited by what content-type-encoding is allowed, so that uuencode, base64 and yEnc are all possible. -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Tue, 31 Dec 2002 19:13
Date: Tue, 31 Dec 2002 19:13
28 lines
2324 bytes
2324 bytes
Rene <invalid@email.addr> writes:
> Feel free to formulate how the format of the binary data within the
> articles body should be presented. From my point of view (which may not
> be the same as the other's) there must be:
> - the binary data in some encoding.
> - the filename
> What's not needed is:
> - any crc or other checksum mechanism, that's being handled by xBin
> - any positional data (this is chunk x of y total) that too is already
> being covered by xBin
I would look at xBin as something akin to TCP fragmentation, namely a
splitting that happens at a lower protocol level than the messaging
clients need to know about. You may still want to have a high-level
checksum for the benefit of the end client, to allow it to detect bit
corruption or errors in the xBin implementation in the server, just like
TCP has one checksum but one often separately checksums data transferred
over TCP.
For the filename, this is something MIME is good at.
--
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: yEnc decoding implementation
Author: Curt Welch
Date: Tue, 31 Dec 2002 19:41
Date: Tue, 31 Dec 2002 19:41
79 lines
4548 bytes
4548 bytes
Rene <invalid@email.addr> wrote: > J�hnny_F�v�r�t�_(it_means_"Explosive_Crap_Laser") <this.is@fake.com> > wrote: > > Rene wrote: > > > However xBin does neither use nor need MIME, so that too might put > > > some people off. > > > > Why? (Yes, I know you guys are posting about eighty billion words > > about this stuff right now, but that's just the thing, it's *way* too > > much for me to read all of it.) > > Well my words were not so well chosen. Fact is: It has not been designed > yet. We're discussing the fundamental basis for the xBin system, up to > now, the question of how the actual binary data is appended to a xBin > posting (xBin posting = a xBin header plus a special message-id) has > simply not been specified yet. I see it as intentionally independent. xBin is a usenet binary meta data standard to allow both newsreaders and news servers to know what data they are downloading and transporting. > Actually thinking about it, we haven't even defined how the filename is > being transmitted. The xBin id _is_ the file name. If someone wants to include another name, it's done outside of the xBin standard (and they will of course do that). > For xBin, all what counts is the file-hash. Of course > sooner or later we have to adress these questions. But at the moment, > consider xBin just to be a special way of creating some headers. This is an xBin data ID: $XB$Hx/I8REUBPH$SEoJr$oAA$sBa$$ It is a world-unique identifier for a chunk of data being transported by Usenet. There is no other meta-data needed to identify that data. How the data is transport may change over time. For starters, it's going to be transport in RFC-1036-style articles. Here is a Message-ID of an RFC-1036 article containing the above data: <$XB$Hx/I8REUBPH$SEoJr$oAA$sBa$$zXe@xbin.org> The standard for how data is encoded in an RFC-1036 article is (mostly) out of the realm of xBin. It's in the realm of Usefor, and MIME, and uuecode, and yEnc. Those are the standards that deal with this. Half the point of xBin is to create a data-id standard that could take is to a time where data was transported separate from RFC-1036 articles by Usenet. If we went there, then the standards for how Usenet would do that would probably be a new NNTP extension and have nothing to do with MIME or uuencode, or yEnc, and the file name would probably not be transported with the data, though maybe it could. There would be a separate text post that said "the following xBin file has been posted to usenet, and oh, BTW, the file name I used for it was "bigfile.vcd". > So basically it looks like each xBin posting has one full file attached > (that should qualify as non-multipart, right?) Each xBin posting at first will be done in the exact same format is they are currently done - as multiplart or singlepart files. You can not really use xBin to put to files in one post, though I guess in theory you could do this: <$XB$Hx/I8REUBPH$SEoJr$$zXe$XB$Hinh8RIKJF8j$SATJr$$@xbin.org> ------file1------------ -------file2----------- To put two files in one Message and still follow the idea (the signature header would break however). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: yEnc decoding implementation
Author: Jeremy
Date: Wed, 01 Jan 2003 00:37
Date: Wed, 01 Jan 2003 00:37
12 lines
1339 bytes
1339 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> okay, agreed, but I was thinking actually registering a new CTE
> ("quoted-binary" or somesuch). the work needed to have it supported
> would be minimal, certainly a lot less than a yEnc CTE.
Not really. At that point, you might as well just use yEnc (which is
easy to implement) for the lower overhead.
--
Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Wed, 01 Jan 2003 04:13
Date: Wed, 01 Jan 2003 04:13
21 lines
1979 bytes
1979 bytes
[Jeremy]:
>
> Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>
> > okay, agreed, but I was thinking actually registering a new CTE
> > ("quoted-binary" or somesuch). the work needed to have it supported
> > would be minimal, certainly a lot less than a yEnc CTE.
>
> Not really. At that point, you might as well just use yEnc (which
> is easy to implement) for the lower overhead.
I disagree vehemently. most implementations should need no larger
patch than:
- if (!strcmp (cte, "quoted-printable"))
+ if (!strcmp (cte, "quoted-printable") || !strcmp (cte, "quoted-binary"))
--
Kjetil T. | read and make up your own mind
| http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Jeremy
Date: Wed, 01 Jan 2003 22:04
Date: Wed, 01 Jan 2003 22:04
17 lines
1565 bytes
1565 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: >> Not really. At that point, you might as well just use yEnc (which >> is easy to implement) for the lower overhead. > > I disagree vehemently. most implementations should need no larger > patch than: > > - if (!strcmp (cte, "quoted-printable")) > + if (!strcmp (cte, "quoted-printable") || !strcmp (cte, "quoted-binary")) For decoding only, sure. However, yEnc is easy enough that the extra effort would be well worth it for the significantly lower overhead. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Juergen Helbing
Date: Fri, 03 Jan 2003 10:27
Date: Fri, 03 Jan 2003 10:27
71 lines
3519 bytes
3519 bytes
Russ Allbery <rra@stanford.edu> wrote: >[...] > And that's why I think it's ugly. >[...] >I'm just >ranting about the protocol, and making points about what happens when >smart, enthusiastic people design protocols without absorbing the lessons >from previous work in the same area, and without enough knowledge about >protocol design. But this is also how one learns; I expect that his >future protocol designs will be much better, since within a year or two, >if he keeps using yEnc, I bet he'll start hitting problems that MIME could >have solved and learn a lot from that. Been there, done that, got the >t-shirt. Hi Russ, it is really hard to read such rants from you. I understand a lot of criticism - but yours is yours is bitter. An experienced Usenet Elder as you should know exactly that yEnc had _never_ the purpose to re-invent MIME. And that nearly everthing you dont like with it could be solved with embedding yEnc as a transfer encoding into MIME..... I never made the _mistake_ to create any Message-Headers especially for yEnc - because I always knew that this would not be the job for an encoding. yEnc CAN be used on Usenet. It CAN be also used in other environments BECAUSE it does not have any additional headers with important information. It CAN be even used if all headers are stripped (what a mess for MIME :-) - which often happens during the transitional phase... I tried to embed yEnc into MIME (and I failed). Jeremy tried it (and failed) You are wise enough not to try it at all. But you are writing rants about the fact that it is not embedded..... If you are adding all the time you've meanwhile spent for writing comments, complaints and rants then you could have easily done the job. And believe me: I'm still waiting for someone who is competent enough to do it. It seems that the actual xBin and PAR discussion will AGAIN become a step away from MIME. So either you - or other competent people - declare MIME as important for Binary Usenet and ENFORCE its use by creating the necessary _proper_ multipart embedding for _UUenc_and_yEnc_ in the next time. Or MIME will be declared to be as DEAD as Outlook for Binary Usenet. You (and others) have been waiting very long - perhaps too long. And this is really frustrating - and the main reason why _I_ believe that MIME is ugly... The future of MIME on Binary Usenet is up to you (and the other MIME experts). Please let me know whether there is a future for MIME. I'm currently writing the public "death notice" for OE - and I'd like to know if MIME must be included. :-) CU - here -- Juergen
Re: yEnc decoding implementation
Author: Jeremy
Date: Fri, 03 Jan 2003 20:49
Date: Fri, 03 Jan 2003 20:49
11 lines
1168 bytes
1168 bytes
Juergen Helbing <archiver@i3w.com> wrote: > I tried to embed yEnc into MIME (and I failed). Jeremy tried it (and failed) Actually, I was under the impression that I'd succeeded. It wasn't even that difficult. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Sat, 04 Jan 2003 01:21
Date: Sat, 04 Jan 2003 01:21
228 lines
13068 bytes
13068 bytes
Juergen Helbing <archiver@i3w.com> writes:
> it is really hard to read such rants from you.
> I understand a lot of criticism - but yours is yours is bitter.
Well, if it helps any, I'm not particularly bitter about yEnc, and
certainly not bitter towards you personally. I really don't have anything
personally invested in the binary Usenet.
This is the way that I look at it: when discussing protocols here, people
are looking for peer review. Peer review in the Internet community varies
a lot, and some people are better at doing it diplomatically than others.
I'm not particularly diplomatic; you posted something, and I looked at it
and went "ew." But I'm not horrible, either; I'm not Al Viro. :)
Now, the discussion about yEnc tends to start with some sort of very
confrontational presentation, either someone talking about how ugly it is,
or someone who is using it to post binaries coming here and laying into
people for not liking it. Personal insults tend to get thrown around left
and right, and it's hard to have any sort of considered discussion.
What makes this more difficult is that, at least to me, didn't actually
seem all that interested in the results of the peer review. I believe
that you read most or all of them, and you seem to have taken some of them
fairly personally, but they didn't seem to result in much in the way of
changes to the published specification. That adds the frustration of a
feeling of futility to the mix.
That's why, I think, that there's so much emotion flowing around.
I encourage you to not take protocol criticism personally. It's not about
you; it's about a design and a chunk of code. Someone is likely to have a
negative reaction to it, and in the end there are going to be design
tradeoffs in almost anything that are ugly.
There's a bunch of really ugly code in INN, including code I wrote. I
could level considerably harsher commentary at some of that than I'm
levelling at yEnc. I would expect it to get savaged in peer review,
particularly by people with exceptionally good taste (since people with
exceptionally good taste also often tend to be pretty blunt about things
they don't like). I just try to learn from that for the next time, or try
to figure out how to improve the code to make it less hideous.
In other words, none of this is at all personal for me. The emotional
content of the discussions just makes it harder to make that clear.
> An experienced Usenet Elder as you should know exactly that yEnc had
> _never_ the purpose to re-invent MIME.
I understand that this wasn't your intention. Because I can point at a
list of features that are duplicated in yEnc from MIME, I describe
portions of yEnc as reinventing MIME. I just use that as what I think is
accurate terminology for what I see.
Again, this isn't a statement about intention. One of the more common
things to hear in a protocol review is "hey, you're just reinventing X,
why not use it instead?" Frequently the author of the original draft was
unaware of X, didn't know what X could do, or just never looked at what he
or she was working on from the right angle to see the similarity to X.
Now, there *are* places where I think you chose not to listen to messages
posted here about how you were duplicating other work, but I understand
that too. What you were doing accomplishes the goals that you had, and
you were probably personally comfortable with uuencode. yEnc is basically
a better uuencode, and it fits that niche reasonably well. (And I don't
think poorly of the designers of the uuencode protocol; I just think that
we've learned since about a lot of problems with the way it was designed.)
The fact that it works doesn't mean that it works as well as it could, and
won't in and of itself change the opinions other people have about it. In
particular, yEnc behaves very poorly when taken outside of the pure file
sharing context where people want mixed content, structured messages, and
reliable parsing when all messages can't be assumed to either be simple
text messages or binaries. It also has some obvious deficiencies in the
areas of internationalization and content type tagging, not because you
designed those in intentionally, but because you based your design on
uuencode and MIME is light years ahead of uuencode in those areas.
> I never made the _mistake_ to create any Message-Headers especially for
> yEnc - because I always knew that this would not be the job for an
> encoding.
But, see, you put metadata in the body. That's actually *worse* than
putting it in headers when it comes to trying to adapt something to serve
as a MIME encoding. This was a point that I was trying to make before,
but I'm not sure that I ever made it clearly.
It would have been much *better* to have that data in the headers, because
that's what the headers are for. Putting metadata in the body immediately
makes that metadata much less accessible and harder to deal with, even the
way that MIME does it in multiparts with explicit structure so that you
can find the metadata accurately and without guesswork.
> yEnc CAN be used on Usenet. It CAN be also used in other environments
> BECAUSE it does not have any additional headers with important
> information.
What other environments is yEnc being used in? Both e-mail and HTTP use
MIME (although I have no idea why you would use yEnc for HTTP since HTTP
is binary-clean), so this isn't a feature for either of them. I don't
understand what problem you're trying to solve here.
> It CAN be even used if all headers are stripped (what a mess for MIME
> :-) - which often happens during the transitional phase...
No, it can't. If you strip the =ybegin line off of the yEnc message, it's
precisely as usable as raw base64-encoded data.
Those *are* headers. yEnc just puts them in the body of the message from
the NNTP perspective, but they are yEnc headers in every way that matters,
just like the begin line is a uuencode header.
If you strip the metadata off of an encoding that needs metadata, you have
a mess. Yes. That's trivially true. So don't do that. It's not like
the message headers are hard to retain; clearly, the =ybegin line can be
retained.
> I tried to embed yEnc into MIME (and I failed). Jeremy tried it (and
> failed)
Why do you think Jeremy failed?
What happened from my perspective is that you seemed uninterested in
hearing discussions of how yEnc should have used MIME without a concrete
proposal, Jeremey wrote a concrete proposal, and you didn't respond to
it. I don't know if you read it, or what you thought about it.
I don't understand what criteria you're using for failure or success.
> You are wise enough not to try it at all. But you are writing rants
> about the fact that it is not embedded.....
Because I believe that's the right thing to do.
There are three basic levels of interest that someone can have in a
protocol, simplifying somewhat: they can not care at all and ignore it,
they can be interested in it enough to discuss it and analyze it, and they
can be willing to write new protocol documents. You seem to be implying
that the second level of interest shouldn't exist, that unless someone is
willing to implement, they have no business even talking about it. This
seems to me to be contrary to what news.software.nntp is for, and
certainly isn't a description of how peer review normally works.
Besides, Jeremy *did* write a new protocol document, albeit not a fully
formal one (but the existing yEnc protocol isn't fully formal either).
> If you are adding all the time you've meanwhile spent for writing
> comments, complaints and rants then you could have easily done the
> job.
Well, no, I couldn't have. I've spent perhaps eight hours total writing
about yEnc. Writing a full-fledged protocol description would certainly
take me longer than that, and then it would have to be defended,
discussed, revised, and updated. It would require at least an order of
magnitude of time more than I've put into discussing yEnc on this
newsgroup.
Since I don't use the binary Usenet at all, and since the applications
it's currently being used for are not ones that I find interesting, it's
very hard for me to justify that amount of investment of time and effort
into the project. This is particularly true given that you didn't seem at
all interested in Jeremy's work, and since you also seem (and I'm not sure
about this; this is just my impression) to want me to implement the
protocol as well as just describe it.
With a well-done integration with MIME (embedding is the wrong concept,
but more on that in a moment), yEnc could still be bolted on the side of a
news reader, but could be more easily done as an integral component, so
doing an elegant implementation of a yEnc MIME CTE would be a project more
individual to a particular news client. And the one that I personally use
I'm not well-qualified to do that sort of work on, since I'm not a
particularly good Lisp programmer.
> And believe me: I'm still waiting for someone who is competent enough to
> do it.
So, what was your reaction to Jeremy's proposal?
> So either you - or other competent people - declare MIME as important
> for Binary Usenet and ENFORCE its use by creating the necessary _proper_
> multipart embedding for _UUenc_and_yEnc_ in the next time.
I don't understand. Unfortunately, I seem to frequently hit roadblocks in
trying to understand your messages -- I'm just not sure what you're
getting at. (Maybe a language barrier in part?)
How is anyone here going to enforce use of MIME for binaries on Usenet?
Why do you expect anyone to do any additional work on uuencode? How is
that part of what you want out of Usenet?
> Or MIME will be declared to be as DEAD as Outlook for Binary Usenet.
The world just doesn't seem anywhere near as black and white as this to
me. I don't understand why it would look this way to you.
Jeremy already wrote a description of how to use yEnc as part of MIME.
While walking into work today, I worked out what I think would work as a
transition plan from where you are right now to yEnc as a CTE and as a new
Content-Type for multipart binaries. Past experience indicates to me that
you're not really particularly interested, but if you actually are, and
are willing to discuss it, I can write it up and post it here. Are you?
I'm not going to implement Windows software at all (I don't own a machine
on which I could), I'm not going to campaign for some sort of transit
filtering to force a particular encoding, and I'm pretty unlikely to do
much in the way of software implementation of yEnc or anything related to
it, since that would take more time than I can justify spending on
something that doesn't really interest me personally. I get the
impression that this disqualifies me from having an opinion, and I'm not
really interested in writing up thoughts on the topic if the only reaction
is just going to be "ok, now go implement it"; that's just a waste of
everyone's time. You're considerably better at reaching users of the
binary groups than I am and getting them to adopt new software, perhaps
because you actually use them and I don't. Unless you or someone like you
takes a proposal forward, it's not going to happen, no matter how much of
an improvement it might be for client authors.
However, since I've criticized what you've done, I can certainly spell out
part of how I'd improve on it if you're interested in considering that for
a new version.
--
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: yEnc decoding implementation
Author: Jeremy
Date: Sat, 04 Jan 2003 06:02
Date: Sat, 04 Jan 2003 06:02
16 lines
1439 bytes
1439 bytes
Rene <invalid@email.addr> wrote: > But where does the newsreader get the filename as which the xBin blocks > should be saved to disc? > > Don't say subject now :) It sounds at this point as though you're starting down the road of reinventing stuff that's already been done and works. When thinking about how to convey metadata in a Usenet article, look at MIME. Just thought I'd point that out. :) -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Jeremy
Date: Sat, 04 Jan 2003 10:14
Date: Sat, 04 Jan 2003 10:14
14 lines
1550 bytes
1550 bytes
Russ Allbery <rra@stanford.edu> wrote: > Jeremy already wrote a description of how to use yEnc as part of MIME. > While walking into work today, I worked out what I think would work as a > transition plan from where you are right now to yEnc as a CTE and as a new > Content-Type for multipart binaries. Past experience indicates to me that > you're not really particularly interested, but if you actually are, and > are willing to discuss it, I can write it up and post it here. Are you? Well, I'd like to see it... -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: The Profiteer
Date: Sat, 04 Jan 2003 15:27
Date: Sat, 04 Jan 2003 15:27
26 lines
2052 bytes
2052 bytes
On Sat, 4 Jan 2003 10:14:03 +0000 (UTC), Jeremy <jeremy@exit109.com> tossed the following into news.software.nntp: >Russ Allbery <rra@stanford.edu> wrote: > >> Jeremy already wrote a description of how to use yEnc as part of MIME. >> While walking into work today, I worked out what I think would work as a >> transition plan from where you are right now to yEnc as a CTE and as a new >> Content-Type for multipart binaries. Past experience indicates to me that >> you're not really particularly interested, but if you actually are, and >> are willing to discuss it, I can write it up and post it here. Are you? > >Well, I'd like to see it... Money sez a LOT of people would like to see it. The key is if Juergen does, and if so would he be willing this time to do what's necessary on his part to do a "yEnc-v2" the right way? I sure hope so... and then it could be a valid and supportable CTE for xBin<g>. Be Well my brother... Prof Positronic Replicant Optimized for Fighting --
Re: yEnc decoding implementation
Author: Rene
Date: Sat, 04 Jan 2003 21:00
Date: Sat, 04 Jan 2003 21:00
24 lines
1864 bytes
1864 bytes
Jeremy <jeremy@exit109.com> wrote: > Rene <invalid@email.addr> wrote: > > > But where does the newsreader get the filename as which the xBin blocks > > should be saved to disc? > > > > Don't say subject now :) > > It sounds at this point as though you're starting down the road of > reinventing stuff that's already been done and works. When thinking > about how to convey metadata in a Usenet article, look at MIME. > > Just thought I'd point that out. :) Actually no, I just wanted to provoke some answers :) It seemed to work... I know MIME not enough at this point. Well I know what it is but I don't know the details. Some other people in here do know it very well though. I'm reading the other threads too ... :) -- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GB
Page 1 of 2 • 88 total messages
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