Thread View: news.software.nntp
26 messages
26 total messages
Started by The Archiver
Thu, 21 Feb 2002 08:16
Re: Servers and yEnc (was: agent and yenc)
Author: The Archiver
Date: Thu, 21 Feb 2002 08:16
Date: Thu, 21 Feb 2002 08:16
26 lines
1918 bytes
1918 bytes
Jeremy <jeremy@exit109.com> wrote: >The problem with yEnc is that it preserves everything that's wrong with >uuencode. Yes. >It should have been implemented as a MIME transfer-encoding >from the beginnning, which was my intent back when I started playing with >the ancestor of the encoding. Please write the "How to embed yEnc into MIME". Please convince the MIME-folks that you are doing right. Please apply for an official "Content-Transfer-Encoding: yenc" Please make the necessary beta-test. Your work will be added to the yEnc-draft within 24 hours. It would be really nice to see more people actively working _for_ the yEnc draft - and not against it. TIA -- Juergen
Re: Servers and yEnc (was: agent and yenc)
Author: Yume no Hikari
Date: Sat, 23 Feb 2002 10:38
Date: Sat, 23 Feb 2002 10:38
25 lines
2783 bytes
2783 bytes
On Thu, 21 Feb 2002 01:16:36 -0700, The Archiver wrote: > It would be really nice to see more people actively working _for_ the > yEnc draft - and not against it. In which case it would also be really nice to have a more coherently-created standard for this encoding. The gaps are tremendous based on modern demands: how do you handle spaces in filenames? And if you want yEnc to work as an alternative to multiple splitting of files, why is there no option for PAR-style recovery data that would allow a well-written newsreader to compensate for missing parts? Why no provisions for intelligent part detection without cluttering the subject line (two header fields would do it, say "X-yEnc-Filename: foo.bar" and "X-yEnc-Part: 3 of 32")? I think the issue is deeper than just another encoding - it's a rethinking of *how* binaries are posted. Sorry, Juergen, but in spite of the benefits yEnc presents, I believe it's been done too hastily and with too little regard for how things really work. Yes, MIME changes take a long time; there's a reason. Now, all of this said, I'm willing to assist in creating a standard that will address some of the issues. And while I'll use yEnc and acknowledge it as an improvement, I'm firm in the belief that there are still improvements to be made, and I'd like to talk about making them -Joel/hikari
Re: Servers and yEnc (was: agent and yenc)
Author: Jeremy
Date: Sat, 23 Feb 2002 21:41
Date: Sat, 23 Feb 2002 21:41
61 lines
3763 bytes
3763 bytes
The Archiver <archiver@i3w.com> wrote: > Please write the "How to embed yEnc into MIME". > Please convince the MIME-folks that you are doing right. > Please apply for an official "Content-Transfer-Encoding: yenc" > Please make the necessary beta-test. > > Your work will be added to the yEnc-draft within 24 hours. > > It would be really nice to see more people actively working _for_ > the yEnc draft - and not against it. You miss the point. I don't want to "embed yEnc into MIME." I don't want a "yenc" transfer-encoding. yEnc was rushed into use too quickly, despite being completely wrong in nearly every way. It's just simply the wrong way to do it. Unfortunately, now people are *using* the thing, which is bad for Usenet in the long term because it creates confusion, extra traffic, and if someone comes along and actually does it *right*, there will already be all these people doing it wrong, making the problem even greater. Your impatience at getting the thing "out there" quickly is a problem. I don't *want* my work added to the yEnc-draft "within 24 hours". You can't add something to MIME in 24 hours, and there are *VERY* good reasons for that. You seem to have missed the point that a "more efficient encoding method" is not, in itself, an answer to much of anything. It is not going to reduce Usenet traffic, it is not going to increase retention, it is not going to do anything *on its own* to improve the situation of binary Usenet. That's why I didn't rush out like you did and create a new transfer-encoding out of it -- it's only one piece of the puzzle, only one part of something which actually *could* be of benefit. The rest of the things in yEnc are poor reinventions of things that have already been done better. Sure, those things may have taken a bit longer to "mold" into use, but that's no excuse to just do them again, poorly, just to get the thing out as quickly as possible. You want a way to do checksums? We've got it -- Content-MD5. No, don't just read the spec and decide that it can't work because it lacks a provision to checksum multipart segments. Instead, figure out how to change it to do so. Don't look at MIME's message/partial and decide that it can't be used because it forbids 8bit encodings. Figure out how to support them! Add byte offsets while you're at it, which would make reposting of individual segments easier. After that, there are other things which could be added for real benefit. Not added with quick, ugly hacks, but done properly. yEnc is doing real, long-term harm to Usenet, by only adding to the problem it claims to want to solve. I don't *want* to work _for_ the yEnc draft. I want yEnc to go the hell *away* before it ensures that no one will ever be able to do this thing *right*. -- Jeremy | jeremy@exit109.com
Re: Servers and yEnc (was: agent and yenc)
Author: John De Hoog
Date: Sat, 23 Feb 2002 22:12
Date: Sat, 23 Feb 2002 22:12
23 lines
2621 bytes
2621 bytes
Jeremy <jeremy@exit109.com> wrote: > yEnc is doing real, long-term harm to Usenet, by only adding to the > problem it claims to want to solve. I don't *want* to work _for_ the > yEnc draft. I want yEnc to go the hell *away* before it ensures that > no one will ever be able to do this thing *right*. The problem is, no one shows any signs of doing things "right" the way you see them, so if yEnc is not used, Uuencode will continue to be used with its no-longer-needed overhead, well into the future. There are many good standards that don't get used much in real life. Unicode, for example, still hasn't managed to displace the iso-2022-xx hacks in the real world. But yEnc is actually starting to catch on. While it may not solve all the world's problems, it is in fact making it significantly more efficient for people to upload and download files. While you wait for the perfect standard, people are moving ahead with something that is less than perfect but is here now, and works. -- John De Hoog http://dehoog.org
Re: Servers and yEnc
Author: Liyang Hu
Date: Sun, 24 Feb 2002 01:54
Date: Sun, 24 Feb 2002 01:54
20 lines
1940 bytes
1940 bytes
Jeremy <jeremy@exit109.com> wrote: > yEnc was rushed into use too quickly, despite being completely > wrong in nearly every way. It's just simply the wrong way to do > it. Unfortunately, now people are *using* the thing, which is bad > for Usenet in the long term because it creates confusion, extra > traffic, and if someone comes along and actually does it *right*, > there will already be all these people doing it wrong, making the > problem even greater. > [snip rant] Amen. /Liyang -- .--| Liyang HU |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--. | ``Computer games don't affect kids, I mean if Pac Man affected us as | | kids, we'd all be running around in darkened rooms, munching pills and | | listening to repetitive music.'' |
Re: Servers and yEnc (was: agent and yenc)
Author: The Archiver
Date: Sun, 24 Feb 2002 11:26
Date: Sun, 24 Feb 2002 11:26
91 lines
4945 bytes
4945 bytes
Yume no Hikari <hikari@nevermind.where> wrote: >> It would be really nice to see more people actively working _for_ the >> yEnc draft - and not against it. >In which case it would also be really nice to have a more >coherently-created standard for this encoding. The gaps are tremendous >based on modern demands: Please specify modern demands. My "modern demands" are bandwidth and correctness of binaries. > how do you handle spaces in filenames? Filenames are delimited by quotes in the subject: "file name space.jpg" The "name=" parameter has to be the last in the =ybegin line. Spaces can be included. The final spec will include that leading and trailing spaces are ignored. We both know that there is no perfect solution for filenames in subject lines. The only one would be that it must be at the end of a subject line. But this would still not permit to use TAB or CRLF in the filename. And it cannot be used by compatibility reasons as most newsreaders require the part- indicator (5/30) behind the filename. >And if >you want yEnc to work as an alternative to multiple splitting of files, >why is there no option for PAR-style recovery data that would allow a >well-written newsreader to compensate for missing parts? Including PARs into yEnc has been proposed by its creator a long time ago. It belongs to same cathegory as compression: It was delayed to yEnc-V2. If yEnc would have included compression & PAR support in its first version then it would have been attacked even more tha it is today - it would have been more compliated and hard to implement. >Why no >provisions for intelligent part detection without cluttering the subject >line (two header fields would do it, say "X-yEnc-Filename: foo.bar" and >"X-yEnc-Part: 3 of 32")? On Usenet you can detect the parts only from the subject line. You also have to stay compatible with existing tools. In a few years the "content-headers" will be available on XOVER/XHDR. Then such improvements could be made. But this will again take years. And it will require that _all_ news-tools are completely rewritten. (A thing which I personally believe will _never_ happen). >I think the issue is deeper than just another >encoding - it's a rethinking of *how* binaries are posted. You believe that we should stop thinking about waste and actual problems just because we need a complete new definition of binaries on Usenet ? This discussion started (Curt ?) in 1985 or earlier when the first binaries were sent over Usenet - and today we are not closer to a solution than ever. >Sorry, >Juergen, but in spite of the benefits yEnc presents, I believe it's been >done too hastily and with too little regard for how things really work. yEnc respects how things really work - and it works. Other approaches specify how things _should_ work - but they dont. >Yes, MIME changes take a long time; there's a reason. And after this long time its creator will realise that it cannot be used on Usenet (for binaries) at all. Then they will either need more time to change MIME to respect how Usenet works - or they will change Usenet. >Now, all of this said, I'm willing to assist in creating a standard that >will address some of the issues. And while I'll use yEnc and acknowledge >it as an improvement, I'm firm in the belief that there are still >improvements to be made, and I'd like to talk about making them Welcome to the yEnc mailing list. Your topics "filenames" and "additional headers" are included in the summary. -- Juergen, [The Archiver]
Re: Servers and yEnc (was: agent and yenc)
Author: The Archiver
Date: Sun, 24 Feb 2002 12:26
Date: Sun, 24 Feb 2002 12:26
40 lines
2552 bytes
2552 bytes
Jeremy <jeremy@exit109.com> wrote: >You miss the point. I don't want to "embed yEnc into MIME." I don't >want a "yenc" transfer-encoding. Beg your pardon. I believed this because you wrote: >>> It should have been implemented as a MIME transfer-encoding >>> from the beginnning, which was my intent back when I started >>> playing with the ancestor of the encoding. >I don't *want* my work added to the yEnc-draft "within 24 hours". You >can't add something to MIME in 24 hours, and there are *VERY* good >reasons for that. Using copy and paste to include the work of someone who wrote the chapter "MIME-embedding" would not take longer than 24 hours. Sorry, I was not talking about the time it takes to write that chapter. [...] all my answers have been deleted [...] >yEnc is doing real, long-term harm to Usenet, by only adding to the >problem it claims to want to solve. I don't *want* to work _for_ the >yEnc draft. I want yEnc to go the hell *away* before it ensures that >no one will ever be able to do this thing *right*. Ironically it was your work which inspired me. [... own rant deleted... ] Thanks to let me know your fundamental position. I've deleted all my additonal comments to avoid direct confrontation because I respect you personally. Our time should be used better. -- Juergen
Re: Servers and yEnc
Author: Dirk Nimmich
Date: Sun, 24 Feb 2002 17:45
Date: Sun, 24 Feb 2002 17:45
14 lines
1803 bytes
1803 bytes
Yume no Hikari wrote: > Why no provisions for intelligent part detection without > cluttering the subject line (two header fields would do it, say > "X-yEnc-Filename: foo.bar" and "X-yEnc-Part: 3 of 32")? If you really want to have special headers for yenc, please use only one header with MIME style parameters instead of a bunch of headers. For example X-Yenc: 0x00000000; filename="foo.bar"; part=3; total=32 with the first parameter being the CRC of this part (the rest should be obvious).
Re: Servers and yEnc
Author: Dirk Nimmich
Date: Sun, 24 Feb 2002 18:05
Date: Sun, 24 Feb 2002 18:05
36 lines
2948 bytes
2948 bytes
The Archiver wrote: > Please specify modern demands. and: > Yume no Hikari <hikari@nevermind.where> wrote: >> how do you handle spaces in filenames? > > Filenames are delimited by quotes in the subject: "file name space.jpg" A modern demand is filenames with non US-ASCII characters. How are they handled in a Subject? How they are supposed to work in the body as the name parameter of a =ybegin line? What is the relation between both (filename in the Subject/=ybegin line)? What should be done if they differ which is -- based on a byte by byte comparison -- likely with non US-ASCII characters in them? What about folding in headers that will be destroyed when it is put into the overview database (as well as TAB that you already disregarded)? How can you use double quotes in a filename if this is a delimiting character? Are there any other characters that cannot or should not be used (think of directory delimiters such as slashes and back slashes, or the beginning of the part indicator in the subject, or the equal sign that is used in the =ybegin line)? > On Usenet you can detect the parts only from the subject line. You may not be able to do it with OVER, but there is XHDR or HEAD if we are talking about NNTP. Just because most people use NNTP today it does not mean that USENET can't be used via other protocols or even just reading articles directly from a spool. > In a few years the "content-headers" will be available on XOVER/XHDR. Any news server admin can make this and any other header available via OVER today if he wants to.
Re: Servers and yEnc
Author: Curt Welch
Date: Sun, 24 Feb 2002 18:35
Date: Sun, 24 Feb 2002 18:35
53 lines
3791 bytes
3791 bytes
Dirk Nimmich <nimmich@muenster.de> wrote: > Yume no Hikari wrote: > > Why no provisions for intelligent part detection without > > cluttering the subject line (two header fields would do it, say > > "X-yEnc-Filename: foo.bar" and "X-yEnc-Part: 3 of 32")? > > If you really want to have special headers for yenc, please use > only one header with MIME style parameters instead of a bunch of > headers. For example > > X-Yenc: 0x00000000; filename="foo.bar"; part=3; total=32 > > with the first parameter being the CRC of this part (the rest > should be obvious). Having one header is an advantage because you can get them with a single XHDR command as well (on the servers where XHDR works correctly at least). It would be really really nice if that header was required to also include the byte range (0 based) of the current part relative to the entire file (which also means the size of the part is known), and the size of the entire file. Also, it would be very usful to require a unique hash ID of some type for the entire file - like an MD5. Though it doesn't need to be as strong as an MD5 of the entire file. Maybe even a partial MD5 of only a handful of blocks from the file so it can be calculated very quickly even for every large files assuming you have seek and read the file? For example, you simply define a way of picking 10 1K blocks from the file (spread evenly over the entire file and including the first and last blocks). Then calculate an MD5 for only those blocks and use that (or even half of the MD5) as the hash ID of the file. The point of couse is to get a unique hash ID for the file so no mater who posted it and what file name they assigned to it, it would end up with the same hash ID every time. A CRC would probably be strong enough but a 64 bit hash seems like it would be better and not much hader. If you add that in the headers and not in the body then it would be possible to make a download tool very smart about finding and using partial reposts of the same file even when the repost was posted by a different user, and with a different part size and with a different file name. And likewise, severs could be smarter about filtering posts based on the total size of the file after all the parts are re-combined. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Servers and yEnc
Author: Curt Welch
Date: Sun, 24 Feb 2002 18:48
Date: Sun, 24 Feb 2002 18:48
35 lines
2930 bytes
2930 bytes
Dirk Nimmich <nimmich@muenster.de> wrote: > > On Usenet you can detect the parts only from the subject line. > > You may not be able to do it with OVER, but there is XHDR or HEAD > if we are talking about NNTP. Just because most people use NNTP > today it does not mean that USENET can't be used via other > protocols or even just reading articles directly from a spool. It's fairly easy to spot the yenc articles by subject, and sort them into sets. Then, if every yenc part had a header which included the global file information I talked about in my other post, the news client could simply do a "head" command on the first article from the set to find out important information like the file size and file hash ID for the file that those parts belonged to. This would give the client all the basic informatio it needed to see if any of the posts in the group contained data it was looking for to fill in holes from previous posts or partial downloads. The amount of extra work to do the head commands on one file from each set should not be much at all. > > In a few years the "content-headers" will be available on XOVER/XHDR. Why do you say that? > Any news server admin can make this and any other header available > via OVER today if he wants to. Never say Any. :) I can't add extra headers to my overview database today without code changes. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Servers and yEnc
Author: Dirk Nimmich
Date: Sun, 24 Feb 2002 18:59
Date: Sun, 24 Feb 2002 18:59
16 lines
2001 bytes
2001 bytes
Curt Welch wrote: > Dirk Nimmich <nimmich@muenster.de> wrote: >> Any news server admin can make this and any other header available >> via OVER today if he wants to. > > Never say Any. :) I can't add extra headers to my overview database today > without code changes. Okay, then read "many" when I write "any". Just forgot a letter. ;-) (Actually, this was meant as a general statement. The overview protocol allows to add extensions so it is generally possible to add information to it if there is a demand. But I don't know how many clients would make use of it if it were provided.)
Re: Servers and yEnc
Author: J.B. Moreno
Date: Sun, 24 Feb 2002 23:22
Date: Sun, 24 Feb 2002 23:22
14 lines
1905 bytes
1905 bytes
In article <a5bd69$8fb$02$2@news.t-online.com>, Dirk Nimmich <nimmich@muenster.de> wrote: > (Actually, this was meant as a general statement. The overview > protocol allows to add extensions so it is generally possible to > add information to it if there is a demand. But I don't know how > many clients would make use of it if it were provided.) Accoring to Kai, it seems to be limited pretty much to just Gnus. -- J.B. Moreno
Re: Servers and yEnc
Author: The Archiver
Date: Mon, 25 Feb 2002 09:42
Date: Mon, 25 Feb 2002 09:42
63 lines
3863 bytes
3863 bytes
Dirk Nimmich <nimmich@muenster.de> wrote: >A modern demand is filenames with non US-ASCII characters. A nice question. >How are >they handled in a Subject? How they are supposed to work in the >body as the name parameter of a =ybegin line? What is the relation >between both (filename in the Subject/=ybegin line)? What should be >done if they differ which is -- based on a byte by byte comparison >-- likely with non US-ASCII characters in them? What about folding >in headers that will be destroyed when it is put into the overview >database (as well as TAB that you already disregarded)? How can you >use double quotes in a filename if this is a delimiting character? >Are there any other characters that cannot or should not be used >(think of directory delimiters such as slashes and back slashes, or >the beginning of the part indicator in the subject, or the equal >sign that is used in the =ybegin line)? As we see your demand cannot be solved. Please raise it again after you've changed all operating systems until they accept this filename: Document 3/7 from c:\mydrive on \\backup\myself\letters about 3"screws.html by <hig@my.com> It is unrealistic to ask an encoding/message format to solve things which are unsolved on the computers they are using. >> On Usenet you can detect the parts only from the subject line. > >You may not be able to do it with OVER, but there is XHDR or HEAD >if we are talking about NNTP. Just because most people use NNTP >today it does not mean that USENET can't be used via other >protocols or even just reading articles directly from a spool. It is not possible to detect parts by OVER/XHDR because it is not a commonly offered feature. You cannot use HEAD because this requires endless downloads just to find out incomplete parts. People who have a complete spool on disk dont need to detect parts at all before they download them - because they have them already. >> In a few years the "content-headers" will be available on XOVER/XHDR. > >Any news server admin can make this and any other header available >via OVER today if he wants to. As long as "well designed" ideas are based on idealistic assumptions about the underlying infrastructure they are nothing more than nice papers. yEnc is accepting the reality - and could even be easily included into projects which are realised in five years. This is better than an encoding which can be used earliest in five years. -- Juergen, [The Archiver]
Re: Servers and yEnc
Author: Dirk Nimmich
Date: Mon, 25 Feb 2002 20:43
Date: Mon, 25 Feb 2002 20:43
81 lines
5111 bytes
5111 bytes
The Archiver schrieb: > Dirk Nimmich <nimmich@muenster.de> wrote: >> A modern demand is filenames with non US-ASCII characters. > > A nice question. [...] > As we see your demand cannot be solved. Obviously, you did not understand what I wanted to say. I did not demand anything but a specification about how a given filename in the subject line or ybegin line is to be interpreted. Especially in the case of exceptions to standard US-ASCII names. > Please raise it again after you've changed all operating systems > until they accept this filename: > > Document 3/7 from c:\mydrive on \\backup\myself\letters about 3"screws.html by <hig@my.com> > > It is unrealistic to ask an encoding/message format to solve > things which are unsolved on the computers they are using. *sigh* Just because it is not possible to write such a file (at least on Windows -- the only problem with Unix filesystems and this filename I'm aware of is the slash between 3 and 7, and I'm not sure if this is really a problem) does not mean that you should not be prepared for such a name. Expect such "unimpossible" names -- they will be used. And be sure, umlauts _are_ an issue; you do know de.*, don't you? As long as you don't specify what is to be done, what are valid parts and what is invalid and what to do when an invalid character occurs, the whole interpretation of the subject or ybegin line is just random. So, for example, it could be useful to define that \ and / are to be treated as directory separators and to specify that everything but the last component is to be ignored (in order to prevent unwanted overriding of important files, such as in a WINDOWS\SYSTEM directory -- a decoder should always put the file in the current directory unless told otherwise by the _local_ user). It may also be wise to specify that certain characters are to be ignored. TAB, for instance, as well as any other character below US-ASCII 32, DEL and single and double quotes are candidates for this one. (This also solves the folding problem. But you must work on the Subject header in the article, not the one you get from overview!) You also did not answer my question what has to be done if the filename in the subject and the one in the ybegin line differ. Still, there is the problem with non US-ASCII characters. I don't have the time to go into details now; it also would be too much for one posting. One central question is: what charset and what encoding scheme do you want to use for non US-ASCII characters? > You cannot use HEAD because this requires endless downloads > just to find out incomplete parts. Why not? I see it may be useful to have some hints in the subject, but everything else can be fetched from other headers that would have been retrieved using HEAD. That's a shit compared to the complete download of binary files split over several postings. >>> In a few years the "content-headers" will be available on XOVER/XHDR. >> >> Any news server admin can make this and any other header available >> via OVER today if he wants to. > > As long as "well designed" ideas are based on idealistic assumptions > about the underlying infrastructure they are nothing more than nice papers. _You_ proposed to put Content-Type into the overview database. I only told you that you already can (from the view of the protocol and with the right software, that is). You made a lot of developers of news software (mostly clients) move on your new format -- why do you think you cannot do that again, especially if your only question is to support something that already _is_ defined and can be used even without yenc?
Re: Servers and yEnc
Author: The Archiver
Date: Tue, 26 Feb 2002 09:07
Date: Tue, 26 Feb 2002 09:07
133 lines
6224 bytes
6224 bytes
Dirk Nimmich <nimmich@muenster.de> wrote: >Obviously, you did not understand what I wanted to say. I did not >demand anything but a specification about how a given filename in >the subject line or ybegin line is to be interpreted. Especially in >the case of exceptions to standard US-ASCII names. Sorry, I see no chance to specify how a japanese filename has to be interpreted on a text based UNIX System. And I have not even an idea how Windows-95 would even display the name - as it has no unicode module. I dont want to specify what a "filename" is at all. This is not my job. All I could do in the yEnc spec was to place the keyword "name=" at the end of the line. And to enclose it in quotes in the subject line. This solves the _actual_ problems. But if you are having a specification ready what a filename is - and how it should be treated, then please send it to me _now_. The next (final?) draft for yEnc-V1 will include that trailing and leading spaces in the <filename> behind "name=" are ignored. Nothing else. >> Document 3/7 from c:\mydrive on \\backup\myself\letters about 3"screws.html by <hig@my.com> >Expect such "unimpossible" names >-- they will be used. And be sure, umlauts _are_ an issue; you do >know de.*, don't you? All newsreaders in the world which are storing decoded attachments to the harddisk are converting filenames and are removing illegal characters based on the _operating_ system they are written for. Every programmer is having his own strategy. If you want to create a "standard" for this topic then you have to respect _everything_ from 8+3 DOS up to UniCode. I dont haven even an idea how such a standard could be. If you can help here - feel free to do it. If you know of any RFC or IETF which is working on the topic then feel free to tell me. I can _easily_ copy & paste recommendations for filenames into the yEnc - draft. But please dont ask me how programmers will realise it. >You also did not answer my question what has to be done if the >filename in the subject and the one in the ybegin line differ. Good point. This is not answered in the draft. Of course the <filename> behind the "name=" parameter is always used for storing attachments. >One central question is: what charset and what >encoding scheme do you want to use for non US-ASCII characters? One simple answer: Non US-ASCII characters are not permitted in filenames. Nothing else works on all computers today. yEnc does not claim to solve the problems of localisation - and when it comes to me then localisation is strictly _forbidden_ for binaries on Usenet. My very personal opinion is that users around the world (Planet Earth) have to use english for filenames on Binary Usenet - and for conversation. As long as a filenames is: "xywrfdtsas.exe" _everybody_ knows what to do with it. As soon as: "|^|^|~.|~|" is permitted things will go down the toilet. This is _my_very_personal_ opinion. >> You cannot use HEAD because this requires endless downloads >> just to find out incomplete parts. > >Why not? Please visit alt.binaries.startrek and download all HEADs from all messages stored on NEWSHOSTING.COM to detect multiparts. Then you will know. If you are not familiar with this: Even a smaller binary group contains more than 2000 new messages per day. (Larger ones are 20000-50000 per day). Even on a very fast connection with low latency time and a good server you cannot expect to download more than 5 HEADs per second. Doing this today on EasyNews from Europe would give you perhaps 1 HEAD per second. Downloading 2.000 HEADs takes then half an hour. Downloading 20.000 HEADs will never end - because the HEADs are generated faster than you can get them. >_You_ proposed to put Content-Type into the overview database. No - this is done by News-Admins and News-Server-Programmers for MIME support. I am just "hopping on their bus". >You made a lot of developers >of news software (mostly clients) move on your new format -- why do >you think you cannot do that again, especially if your only >question is to support something that already _is_ defined and can >be used even without yenc? yEnc was implemented quickly by a lot of developers because it it easy, reasonable and offers true benefits. But mostly important because it fits seaminglessly into the existing tools. As soon as it requires "redesign" of anything in other parts of the software then developers will _not_ implement it quickly. Then an RFC is necessary - and if it is too difficult then Usenet programmers will simply _ignore_ it (see: MIME). We need simple - and good - ideas. -- Juergen
Re: Servers and yEnc
Author: Dirk Nimmich
Date: Wed, 27 Feb 2002 22:32
Date: Wed, 27 Feb 2002 22:32
153 lines
7288 bytes
7288 bytes
The Archiver wrote: > Dirk Nimmich <nimmich@muenster.de> wrote: >>Obviously, you did not understand what I wanted to say. I did not >>demand anything but a specification about how a given filename in >>the subject line or ybegin line is to be interpreted. Especially in >>the case of exceptions to standard US-ASCII names. > > Sorry, I see no chance to specify how a japanese filename has > to be interpreted on a text based UNIX System. You don't have to. You only have to specify what charset and encoding is to be used. What a client is doing with it in the end is the business of the programmer, not yours. > I dont want to specify what a "filename" is at all. Pity. > This is not my job. It is. There must be at least a statement like this: > Non US-ASCII characters are not permitted in filenames. This is ok. (But it won't work. People are using characters they can type in. That's more than US-ASCII, even on an US mapped keyboard. And people will tell you that it "works" as they do when using undeclared 8 bit characters in text postings.) You are talking about what people do in reality -- but in a very important area you close your eyes. > All I could do in the yEnc spec was to place the keyword "name=" > at the end of the line. And to enclose it in quotes in the subject line. You could do more. You could specify that * the filename has to be enclosed in quotes after the "name=" keyword as well as in the subject line, making it possible to have the name parameter occuring anywhere in the =ybegin line; * no filename can contain TAB or double quotes (add more characters if needed); * a decoder that knows of other critical characters in filenames may choose to ignore them, too; * any part of a filename before the last occurance of either forward or backward slashes has to be ignored (security!); * the coding charset for filenames is Unicode and the encoding is UTF-8; * if filenames in the subject line and the name parameter differ, the one mentioned in the name parameter is the authoritive name; * no MIME CTE of Subject and body is allowed. Just to mention some. > All newsreaders in the world which are storing decoded attachments > to the harddisk are converting filenames and are removing illegal > characters based on the _operating_ system they are written for. Do they? You are definitely an optimist. But if they really do, that may be ok. See above. But it must be documented. > If you want to create a "standard" for this topic then you have to respect > _everything_ from 8+3 DOS up to UniCode. You still don't understand. You are defining a format to transfer files. For your format spec it is completely irrelevant how a decoder would save the file in the end. The only important thing is how a decoder has to interpret the format. If the programmer decides that he does not want to support non US-ASCII characters in his implementation he has to think about what to do if and when they occur. They certainly will! With your current specification (i. e. nothing about this topic -- "don't care about it") it most certainly does not even come to his mind that there may be characters other than US-ASCII. Unfortunately knowledge about different charsets and security issues concerning file systems does not seem to be very wide spread, so it's up to you make some notes about it. > I dont haven even an idea how such a standard could be. > If you can help here - feel free to do it. I already gave you a lot of hints but I have the feeling that most of them don't reach you. > I can _easily_ copy & paste recommendations for filenames > into the yEnc - draft. But please dont ask me how programmers > will realise it. I don't ask you because that is not necessary. But I will continue to ask you about how to interprete your format. > yEnc does not claim to solve the problems of localisation That is not its goal. Right. So you can define the format and leave the localization (if needed) to implementors. That are what implementors are for. > - and when it comes to me then localisation is strictly > _forbidden_ for binaries on Usenet. We are just talking about filenames that are part of your format. Not about binaries in general. (You won't be able to localize them even if you wanted to.) > As long as a filenames is: "xywrfdtsas.exe" > _everybody_ knows what to do with it. Ask a Macintosh user. > As soon as: "|^|^|~.|~|" is permitted things will go down the > toilet. It's a filename consisting of US-ASCII characters only. Your spec allows that. If you don't want it, document it as forbidden. >>> You cannot use HEAD because this requires endless downloads >>> just to find out incomplete parts. >> >> Why not? > > Please visit alt.binaries.startrek and download all HEADs from all > messages stored on NEWSHOSTING.COM to detect multiparts. I did not suggest to download headers of all messages using HEAD. Only those that were (manually or automatically by using heuristics) marked as "interesting". > yEnc was implemented quickly by a lot of developers because > it it easy, reasonable and offers true benefits. Yenc as a format is not easy, only the encoding is. Its specification is incomplete and undefined in parts. > As soon as it requires "redesign" of anything in other parts of > the software then developers will _not_ implement it quickly. Yes, and this is the most important argument against yenc. Because it is foreseeable that a fundamental redesign _is_ necessary. Cf. "hack". > Then an RFC is necessary - and if it is too difficult then Usenet > programmers will simply _ignore_ it (see: MIME). MIME is not ignored at all. But it is often misinterpreted and misimplemented.
Re: Servers and yEnc
Author: Klaas
Date: Thu, 28 Feb 2002 03:55
Date: Thu, 28 Feb 2002 03:55
29 lines
2507 bytes
2507 bytes
Dirk Nimmich <nimmich@muenster.de> wrote in message news:a5jmov$iiv$03$1@news.t-online.com... > The Archiver wrote: > > Dirk Nimmich <nimmich@muenster.de> wrote: > >>> You cannot use HEAD because this requires endless downloads > >>> just to find out incomplete parts. > >> > >> Why not? > > > > Please visit alt.binaries.startrek and download all HEADs from all > > messages stored on NEWSHOSTING.COM to detect multiparts. > > I did not suggest to download headers of all messages using HEAD. > Only those that were (manually or automatically by using > heuristics) marked as "interesting". How about all important data (CRC's, file size, msgIDs of parts, etc) is stored in a custom header in the first message, and all subsequent parts have the msgID of the first part in their References header. In this way, a maximum of 1 HEAD command per multipart posting is required. This has the advantage of threading the posting too, which should be done every time, imo, a multipart is posted (imagine how much easier large binary groups would be to peruse. -Mike
Re: Servers and yEnc
Author: The Archiver
Date: Thu, 28 Feb 2002 09:34
Date: Thu, 28 Feb 2002 09:34
112 lines
5267 bytes
5267 bytes
Dirk Nimmich <nimmich@muenster.de> wrote: >> All I could do in the yEnc spec was to place the keyword "name=" >> at the end of the line. And to enclose it in quotes in the subject line. >You could do more. You could specify that >[...] >Just to mention some. We agree to disagree here. If yEnc would have tried to specify filenames (with a spec which would be even longer than the whole yEnc draft) then implementors would have ignored it entirely. The method of "name=" is directly compatible to all existing UUdecoders. More specification would be up to an RFC. >> All newsreaders in the world which are storing decoded attachments >> to the harddisk are converting filenames and are removing illegal >> characters based on the _operating_ system they are written for. > >Do they? You are definitely an optimist. Yes - Usenet is really transferring binaries today. >> If you want to create a "standard" for this topic then you have to respect >> _everything_ from 8+3 DOS up to UniCode. > >You still don't understand. You are defining a format to transfer >files. For your format spec it is completely irrelevant how a >decoder would save the file in the end. The only important thing is >how a decoder has to interpret the format. The decoders _are_ interpreting filenames today. And I cannot imagine that anybody can change that - unless "filenames" are finally specified by an RFC. >> I dont haven even an idea how such a standard could be. >> If you can help here - feel free to do it. > >I already gave you a lot of hints but I have the feeling that most >of them don't reach you. Sorry, your "hints" are not help, but an incomplete bunch of unsolved problems of platform independent filename defintion. Either you - or someone else - find (know?) a good spec for filenames which could be used as is - or I will drop the topic from the list. I agree that the filename-spec is an important thing - but this does not justify to create an own RFC as a part of yEnc. >>>> You cannot use HEAD because this requires endless downloads >>>> just to find out incomplete parts. >>> >>> Why not? >> >> Please visit alt.binaries.startrek and download all HEADs from all >> messages stored on NEWSHOSTING.COM to detect multiparts. > >I did not suggest to download headers of all messages using HEAD. >Only those that were (manually or automatically by using >heuristics) marked as "interesting". The only purpose of downloading headers is to see "what is there". And the only purpose of downloading headers for multiparts is to see if they are complete. 95-99% of the messages in a larger binary group are multiparts. The problem "how to find matching multiparts" is as old as multiparts are existing. And not even the MIME-CTE can solve this - as it ignores repost of single parts. It is up to a "Binary Usenet Spec" to solve that issue. >> As soon as it requires "redesign" of anything in other parts of >> the software then developers will _not_ implement it quickly. > >Yes, and this is the most important argument against yenc. Because >it is foreseeable that a fundamental redesign _is_ necessary. Cf. >"hack". Yes. But as "Leo.org" told me right now: "A bird in the hand is worth two in the bush". yEnc will _not_ need a fundamental redesign. Not even UUencode needs a fundamental redesign. Binary Usenet needs a redesign. >> Then an RFC is necessary - and if it is too difficult then Usenet >> programmers will simply _ignore_ it (see: MIME). > >MIME is not ignored at all. In the Binary Usenet there is no MIME. >But it is often misinterpreted and misimplemented. Perhaps it needs a redesign ? :->> For Binary Usenet we should at least go "back to the roots". -- Juergen
Re: Servers and yEnc
Author: The Archiver
Date: Thu, 28 Feb 2002 09:45
Date: Thu, 28 Feb 2002 09:45
35 lines
2809 bytes
2809 bytes
"Klaas" <spamhole@klaas.ca> wrote: >How about all important data (CRC's, file size, msgIDs of parts, etc) >is stored in a custom header in the first message, and all subsequent >parts have the msgID of the first part in their References header. This requires that all multipart posting programs create their own message-ids - and that all hosts accept them without modification. Creation of own message-ids is an ongoing problem on Usenet. btw.: This is exactly what the MIME/multipart does: The multipart- id _is_ the identifier for messages which belong together. And as soon as all news-servers offer it in XHDR it could be used. However it still ignores reposts of single messages from multipart. This would _always_ require a full repost. >In >this way, a maximum of 1 HEAD command per multipart posting is >required. This has the advantage of threading the posting too, which >should be done every time, imo, a multipart is posted (imagine how >much easier large binary groups would be to peruse. Yes - it would be a wonderful solution. There would still be a significant delay in groups which offer 500 multiparts per day - but there will be anything into this direction. We need _one_ header for detecting multiparts reliably. But we still did not find which one. :-) -- Juergen
Re: Servers and yEnc
Author: Curt Welch
Date: Thu, 28 Feb 2002 16:14
Date: Thu, 28 Feb 2002 16:14
81 lines
5576 bytes
5576 bytes
archiver@i3w.com (The Archiver) wrote: > "Klaas" <spamhole@klaas.ca> wrote: > > >How about all important data (CRC's, file size, msgIDs of parts, etc) > >is stored in a custom header in the first message, and all subsequent > >parts have the msgID of the first part in their References header. Stuff like that needs to be put in _every_ post of the series to help newsreaders piece things together when parts are missing. You don't want to publish the Message-IDs of the other parts like that because that opens the door for abuse. You also don't want to use any form of "predictiable" IDs for the messages because that too opens the door for abuse. Someone looking to cause trouble could create a deamon which looked for the first post which listed all the IDs and then send out a ton of bogus message in a test group with those same IDs. The small test messages would flood though usenet much faster than the large multipart posts and block many of the multipart posts from every showing up servers. It's not a big issue, but it's one to avoid. We need to keep closing doors for abuse on Usenet, not opening new ones. > This requires that all multipart posting programs create their own > message-ids - and that all hosts accept them without modification. That too. > Creation of own message-ids is an ongoing problem on Usenet. > > btw.: This is exactly what the MIME/multipart does: The multipart- > id _is_ the identifier for messages which belong together. And as > soon as all news-servers offer it in XHDR it could be used. > However it still ignores reposts of single messages from multipart. > This would _always_ require a full repost. Hey, maybe the Moreno References: hack should could be used for this. i.e., for multiplart posts, the newsreader makes up a unique ID, and puts it in the references: header for EVERY post in the that series of multipart posts. The ID is never actually used for any Message, it's just a unique ID which will help newsreaders correctly match up parts. With the help of a little special formating in the ID, newsreaders could also know it was a multipart post ID and not a real ID as well - which might help to prevent threading routines from wasting time on them. And I guess you could thrown in the total number of parts in the series as well. > >In > >this way, a maximum of 1 HEAD command per multipart posting is > >required. This has the advantage of threading the posting too, which > >should be done every time, imo, a multipart is posted (imagine how > >much easier large binary groups would be to peruse. > > Yes - it would be a wonderful solution. > There would still be a significant delay in groups which offer > 500 multiparts per day - but there will be anything into this > direction. > > We need _one_ header for detecting multiparts reliably. > But we still did not find which one. :-) References: might be good for detecting multiparts reliably and for matching up articles correctly. But you can't put all the info the newsreader needs in there without getting into some serious Message-ID hacking. So the newsreader may still need to do a Head of at least one article in multipart post to get the rest of the information. And before starting a download of the post, it may want to do a head on every part, but neither of those should be a big problem in my mind. If a group as 500 multipart posts in a day, then 500 HEADS will take a long time, but still not all that much worse when compared to the XOVER it's going to be doing anyway for a group. If it was 500 small mutipart posts (like 2 parts each) then that's going to be bad. And, if any standard like this takes hold on usenet, we could fix the need to do all those HEADS by adding something new to NNTP. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Servers and yEnc
Author: Nuutti Kotivuori
Date: Thu, 28 Feb 2002 22:07
Date: Thu, 28 Feb 2002 22:07
35 lines
2802 bytes
2802 bytes
The Archiver wrote: > Dirk Nimmich <nimmich@muenster.de> wrote: >> You could do more. You could specify that >> [...] >> Just to mention some. > > We agree to disagree here. > > If yEnc would have tried to specify filenames (with a spec which > would be even longer than the whole yEnc draft) then implementors > would have ignored it entirely. > > The method of "name=" is directly compatible to all existing > UUdecoders. More specification would be up to an RFC. I agree with Dirk here, partly, and with you, partly. We do not want to specify the character set for the filename, since translating character sets is quite outside the scope what binary grabbers can do. But we do definitely want to specify the exact syntax of the filename - eg. the allowed characters and possible quotemark quoting, if wanted. Do note that the allowed characters in the field in the encoding are not at all the same thing as allowed characters on the filesystem. The latter is the decoders problem, the former is something that a good specification must specify. But this is all part of the process where the proposal or draft is gone through and every case is specified in detail. This is something that has to be done, atleast, even if the spec is not changed at all. -- Naked
Re: Servers and yEnc
Author: J.B. Moreno
Date: Fri, 01 Mar 2002 04:13
Date: Fri, 01 Mar 2002 04:13
38 lines
3180 bytes
3180 bytes
In article <20020228111401.052$BH@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > archiver@i3w.com (The Archiver) wrote: > > Creation of own message-ids is an ongoing problem on Usenet. > > > > btw.: This is exactly what the MIME/multipart does: The multipart- > > id _is_ the identifier for messages which belong together. And as > > soon as all news-servers offer it in XHDR it could be used. > > However it still ignores reposts of single messages from multipart. > > This would _always_ require a full repost. > > Hey, maybe the Moreno References: hack should could be used for this. I prefer to think of it as overriding the References header under certain circumstances, not as a "hack". :) > i.e., for multiplart posts, the newsreader makes up a unique ID, > and puts it in the references: header for EVERY post in the that > series of multipart posts. The ID is never actually used for any > Message, it's just a unique ID which will help newsreaders correctly > match up parts. With the help of a little special formating in > the ID, newsreaders could also know it was a multipart post ID and > not a real ID as well - which might help to prevent threading routines > from wasting time on them. And I guess you could thrown in the > total number of parts in the series as well. Add in the encoding used as well as a MD5 of the file, which would have a variety of uses...for example, if the server supports XPAT, you don't need to use XOVER to find missing parts, simply: xpat references fake-id and, bang, you've got it. -- J.B. Moreno
Re: Servers and yEnc
Author: JanC
Date: Fri, 01 Mar 2002 15:53
Date: Fri, 01 Mar 2002 15:53
15 lines
1902 bytes
1902 bytes
=-lordsnow-= <lordsnow@home.nl> wrote: > the first " after the name= indicates the start of the filename, > and the last " on the line indicates the end. Any " in between is > part of the filename. And what if other parameters-with-spaces are added to the =ybegin line (in a future version)? -- JanC "Be strict when sending and tolerant when receiving." RFC 1958 - Architectural Principles of the Internet - section 3.9
Re: Servers and yEnc
Author: Neeber
Date: Sat, 02 Mar 2002 00:59
Date: Sat, 02 Mar 2002 00:59
65 lines
4010 bytes
4010 bytes
On Fri, 01 Mar 2002 00:07:59 +0200, Nuutti Kotivuori <naked@iki.fi> wrote: >The Archiver wrote: >> Dirk Nimmich <nimmich@muenster.de> wrote: >>> You could do more. You could specify that >>> [...] >>> Just to mention some. >> >> We agree to disagree here. >> >> If yEnc would have tried to specify filenames (with a spec which >> would be even longer than the whole yEnc draft) then implementors >> would have ignored it entirely. >> >> The method of "name=" is directly compatible to all existing >> UUdecoders. More specification would be up to an RFC. > >I agree with Dirk here, partly, and with you, partly. > >We do not want to specify the character set for the filename, since >translating character sets is quite outside the scope what binary >grabbers can do. > >But we do definitely want to specify the exact syntax of the filename >- eg. the allowed characters and possible quotemark quoting, if >wanted. Do note that the allowed characters in the field in the >encoding are not at all the same thing as allowed characters on the >filesystem. The latter is the decoders problem, the former is >something that a good specification must specify. > >But this is all part of the process where the proposal or draft is >gone through and every case is specified in detail. This is something >that has to be done, atleast, even if the spec is not changed at all. > >-- Naked I agree there needs to be a stronger separation of expectations between the specification and the implementation of the spec. The yEnc spec cannot absolutely define a set of characters that are 'legal' for a decoded file. There's just no way of knowing without introducing some platform dependence (or bloat) into the spec. It's called implementation-specific for a reason, yeah? The spec might, at most, advise implementors to watch for weird or scary character patterns (e.g. "../../../") in the target filename during encoding or decoding, but even then that's a lot of handholding for a programmer who's gone to the trouble of reading a draft spec for the purpose of implementing it. Everything else is indicating what is used as a delimiter for the sake of header entity atomicity (in the case that a filename is required to be encased in some set of delimiters (like quotation marks, etc). Personally, I'm not a fan of the 'encase the filename in delimiters' approach, as it tends to arbitrarily exclude characters from otherwise legal filenames (and often requires some clunky escape sequences to get around that limitation). If it turns out to be that offensively unprofessional to have the spec say "Everything past the 'name=' header entity specifier is to be interpreted as the output filename," then a delimiter is acceptable. Cheers.
Re: Servers and yEnc
Author: Klaas
Date: Sat, 02 Mar 2002 02:51
Date: Sat, 02 Mar 2002 02:51
133 lines
6921 bytes
6921 bytes
Curt Welch <curt@kcwc.com> wrote in message news:20020228111401.052$BH@newsreader.com... > archiver@i3w.com (The Archiver) wrote: > > "Klaas" <spamhole@klaas.ca> wrote: > > > > >How about all important data (CRC's, file size, msgIDs of parts, etc) > > >is stored in a custom header in the first message, and all subsequent > > >parts have the msgID of the first part in their References header. > > Stuff like that needs to be put in _every_ post of the series to help > newsreaders piece things together when parts are missing. Very true. I was thinking specifically of the list of MsgID's only being in one post - but I can see why that would not be desirable. > You don't want to publish the Message-IDs of the other parts like that > because that opens the door for abuse. You also don't want to use > any form of "predictiable" IDs for the messages because that too opens > the door for abuse. Someone looking to cause trouble could create a deamon > which looked for the first post which listed all the IDs and then send > out a ton of bogus message in a test group with those same IDs. The small > test messages would flood though usenet much faster than the large > multipart posts and block many of the multipart posts from every showing up > servers. I hadn't considered that angle. > It's not a big issue, but it's one to avoid. We need to keep closing doors > for abuse on Usenet, not opening new ones. > > > This requires that all multipart posting programs create their own > > message-ids - and that all hosts accept them without modification. > > That too. Yes, obviously this wouldn't be applicable to everyone. > > Creation of own message-ids is an ongoing problem on Usenet. > > > > btw.: This is exactly what the MIME/multipart does: The multipart- > > id _is_ the identifier for messages which belong together. And as > > soon as all news-servers offer it in XHDR it could be used. > > However it still ignores reposts of single messages from multipart. > > This would _always_ require a full repost. > > Hey, maybe the Moreno References: hack should could be used for this. > > i.e., for multiplart posts, the newsreader makes up a unique ID, > and puts it in the references: header for EVERY post in the that > series of multipart posts. The ID is never actually used for any > Message, it's just a unique ID which will help newsreaders correctly > match up parts. With the help of a little special formating in > the ID, newsreaders could also know it was a multipart post ID and > not a real ID as well - which might help to prevent threading routines > from wasting time on them. And I guess you could thrown in the > total number of parts in the series as well. How about starting with threading the post, putting the first post's Message-ID in the References: header for subsequent parts? On non-custom-Msg-ID servers it would require waiting for the first part to show up, of course, but simply grouping the articles has immediate advantages that wouldn't require any changes to NNTP or newsreaders (other than binary posters, obviously) to see an immediate benefit. > > Yes - it would be a wonderful solution. > > There would still be a significant delay in groups which offer > > 500 multiparts per day - but there will be anything into this > > direction. > > > > We need _one_ header for detecting multiparts reliably. > > But we still did not find which one. :-) > > References: might be good for detecting multiparts reliably and for > matching up articles correctly. But you can't put all the info the > newsreader needs in there without getting into some serious Message-ID > hacking. True. You could easily pack all the necessary info into references, especially if you use more than one Message-ID (with *.invalid after the @, ofc). The problem with that is the more abtruse you make it, the less likely it will be implemented 1) correctly 2) at all. > So the newsreader may still need to do a Head of at least one > article in multipart post to get the rest of the information. And before > starting a download of the post, it may want to do a head on every part, > but neither of those should be a big problem in my mind. If a group as > 500 multipart posts in a day, then 500 HEADS will take a long time, but > still not all that much worse when compared to the XOVER it's going to be > doing anyway for a group. If it was 500 small mutipart posts (like 2 > parts each) then that's going to be bad. If the unique posting ID and part number were included in the References: hack, the newsreader would not need to do a HEAD to group the messages correctly, so no HEADs might be necessary until the user either wants more info or decides to download the files (in which case the HEAD can be retreived in one command with the first part using ARTICLE). > And, if any standard like this takes hold on usenet, we could fix the need > to do all those HEADS by adding something new to NNTP. Wouldn't it be easier to add something new to NNTP from the get go? I don't see much value in developping a standard, spending the requisite years waiting for it to reach critical mass, only to change in later. -Mike
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