Thread View: news.software.nntp
12 messages
12 total messages
Started by Marius Ellen
Thu, 08 Nov 2001 01:24
Re: Announce: yEncoding - site with info has been created.
Author: Marius Ellen
Date: Thu, 08 Nov 2001 01:24
Date: Thu, 08 Nov 2001 01:24
35 lines
2226 bytes
2226 bytes
Nice proposal I'm interested enough to build an upload/download in my newsreader *if* it is accepted widely though. I recommend 0 offsets into file instead of 1-based. Could even leave them out as Part-offsets can be calculated easely if (fixed) partsize and filesize are known, ifso I would suggest to drop the ypart line so instead you would get: Message 1/10: ybegin part=1/10, size=50000/500000, name="file.ext" yend crc=xxxxxxxxx Message 2/10: ybegin part=2/10, size=50000/500000, name="file.ext" yend crc=xxxxxxxxx etc.. PS: If you really wanna get rid of corrupt or incomplete sections you could add extra (about 11%?) data into so-called .Par-sections (see www.wehlus.de/mirror) which looks very promising (but prob. difficult to implement i guess). If so that would be a *really* great addon in usenet!! (most files are reposted because of an average of 1 or 2 missing section(s), and you can "repair" them with "par") Greetings, Newsloader > After more internal discussion and the first two implementations I've > now finally activated an information website for yEnc:
Re: Announce: yEncoding - site with info has been created.
Author: The Archiver
Date: Thu, 08 Nov 2001 09:30
Date: Thu, 08 Nov 2001 09:30
100 lines
4427 bytes
4427 bytes
"Marius Ellen" <Red Sonja@Russia.Com> wrote: >Nice proposal Thanks. >I'm interested enough to build an upload/download in my >newsreader *if* it is accepted widely though. Hen and Egg problem :-) The users will accept it as soon as enough tools offer it. We all agree that more efficient encodings are necessary. Here is one - and if nobody has good reasons to propose another one then it will stay the only one. And as this is not a "one man show" but the result of intensive discussion the implenetation work might not be in vain. >I recommend 0 offsets into file instead of 1-based. 1-based offset can be easier understood for 'normal' people. Software and programmers dont care - they can easily handle both. But there is always confusion with the endusers who are used to count 1.2.3...10. >Could even >leave them out as Part-offsets can be calculated easely if (fixed) >partsize and filesize are known, ifso I would suggest to drop the >ypart line so instead you would get: >Message 1/10: >ybegin part=1/10, size=50000/500000, name="file.ext" Having own 'part-begin' and 'part-end' values was introduced to allow combination of different posts and repost into one result. And having the numbers visible in the ypart line would be more transparent. I wanted to make it as easy as possible (for the users). >yend crc=xxxxxxxxx The =yEnd needs more information. Else missing lines or parts make it impossible to detect properly missing parts and giving good error-messages. If you believe that the original proposal for the =ybegin =ypart and =yend lines should be reworked and discussed from the begining then feel free to ask for a discussion - and make an own proposal. But I did hope that we had these very basic things behind us. :-( >PS: If you really wanna get rid of corrupt or incomplete sections >you could add extra (about 11%?) data into so-called .Par-sections The main target of yEnc is to _reduce_ the size, traffic and storage needs for Usenet messages. PAR files are the wrong way from my point of view. Adding size and CRC information would be a big step towards error-free transmission of Usenet articles. >If so that would be a *really* great >addon in usenet!! (most files are reposted because of an average >of 1 or 2 missing section(s), and you can "repair" them with "par") The "missing sections" problem is solved for me. P2P for newsgroups (MyNews, Hamster, Leafnode - combined in private NNTP-networks) offer all missing parts. And if anybody wants to post PAR files, then yEnc would be a _great_ idea to make sure that the PAR files are transmitted correctly. We had also the proposal to include good compression into a new binary encoding format. But this could be treated as a seperate task as well as adding PAR information. Please understand me right: I _support_ all plans to add even more compactness and/or redundancy and/or error correction information. But _first_ we need the first step: A generally accepted and widely implemented binary encoding. Then the next steps might be to add even more keywords or options. But please be careful: Who ever proposes such nice things should be prepared to offer "public domain methods" and "public domain source code". I will be the first one who implements such new features - and add them to the YENC.ORG site. But I dont want to start investigation about compression or other features just because someone believes it would be a nice feature. Whoever wants such a feature must be prepared to do that work. CU -- Juergen, [The Archiver]
Re: Announce: yEncoding - site with info has been created.
Author: Curt Welch
Date: Thu, 08 Nov 2001 17:39
Date: Thu, 08 Nov 2001 17:39
232 lines
13300 bytes
13300 bytes
archiver@i3w.com (The Archiver) wrote: > "Marius Ellen" <Red Sonja@Russia.Com> wrote: > >Message 1/10: > >ybegin part=1/10, size=50000/500000, name="file.ext" > > Having own 'part-begin' and 'part-end' values was introduced to > allow combination of different posts and repost into one result. > And having the numbers visible in the ypart line would be > more transparent. I wanted to make it as easy as possible > (for the users). The problem here is that a simple filename and size check is a very poor guarantee that two different posts, from different users are actaully the same file. If you include the file crc, then it's a better check. But, all that stuff must be in the headers where the user/newsreader can see the infomation without having to download the entire article. If it's in the body (especially if the crc is at the end), then the user is forced to download the entire article just to figure out if the file might be a segment of a file which he is missing. What's the point of saving 30% in the download time if you are still forcing users to download things that end up being useless to them? The best way to deal with the repost problem is to give users tools to make it easy for anyone (not just the orginal poster) to repost (or e-mail) missing segments. To make that work, you want to give the newsreader the power to patch together missing segments of the files from different posts. So if the same file is posted twice by different users, in different groups, with different part sizes, the news reader will know for sure that both posts are actually the same file, and even though a few articles might be missing from both posts, the newsreader can figure out how to patch together the whole file from the parts it does have access to. To do that, you need something to make it easy for the newsreader to know that the two posts are actaully the same (a file crc combined with the file length might be good enough for that - a secure hash would be better), and you need to know the byte range of the file which is included in each article (all stuff that you are adding with the yEnc system). BTW, 1-based byte ranges are very odd for a protocol like this, all the current protocols use 0 based range values. And in any case, the fact that it's one based instead of 0 based needs to be documented in the spec. It isn't even mentioned currently - it only shows up as being implied from the examples. There are a lot of little points like that which are underspecified in your document and which it would be wise to clean up if people start trying to support the standard. But, you need to put all that information into the headers so the newsreader can figure out if all the segments are available before it downloads anything. How much needs to be in the standard headers (Subject) so it shows up in the XOVER data vs non-standard headers so the newsreader has to do a HEAD to get it is an issue to think about. One problem with putting it in the headers is that it limits the ability to post multiple files or multiple file segments in a single article. Or would require fairly complex TOC type headers to document everything in the article if you allowed multiple segments to be posted in a single article. There's really very little advantage to posting multiple files or file parts in a single article however so I would think it would be fine to simply not support that. > >yend crc=xxxxxxxxx > > The =yEnd needs more information. Else missing lines or parts > make it impossible to detect properly missing parts and giving > good error-messages. > > If you believe that the original proposal for the =ybegin =ypart and > =yend lines should be reworked and discussed from the begining then feel > free to ask for a discussion - and make an own proposal. Damn, I hate it when people force me to do that. Can't I just bitch and run? :) > But I did hope that we had these very basic things behind us. :-( > > >PS: If you really wanna get rid of corrupt or incomplete sections > >you could add extra (about 11%?) data into so-called .Par-sections > > The main target of yEnc is to _reduce_ the size, traffic and storage > needs for Usenet messages. > PAR files are the wrong way from my point of view. > > Adding size and CRC information would be a big step towards > error-free transmission of Usenet articles. The whole uuencode/yEnc type of format makes it hard to figure out if articles contain files or just text. It's good when you want to write a text article and embed some pictures (you can't even do that very well with MIME), but if all you are doing is trying to transport large files then you don't need to support the concept of text mixed with encode files. I think we need a standard for breaking up files into parts on Usenet that will solve all the current issues, not just some of them. If you had a well defined standard for how files are transmitted in Usenet articles, then the news server could get more involved in helpling to make this work. For example, if the article had headers that make it clear that this was not a "standard" Usenet article, but instead was a special encoded file (or file part), then the news server could check the file for encoding problems (like crc errors) when the file was posted, and reject some problems before they even got to Usenet. And on transport, each article could be checked for corruption by using the information in the headers (crc, bytes range, etc). It could then either drop, or somehow mark the article as being corrupt to prevent being from downloading broken articles. On top of that, if the standard was well defined and simple, it would open up the idea of new types of NNTP commands (like XOVER) for simply listing the articles which were actually file-parts, and the important information about each article (file id, file name, byte range, CRC, etc). And maybe other NNTP commands for downloading just the data, in raw form. So even if the article is say uuencoded, the newsreader could do a HEAD command to see that the information about this "data article", and then do use a DATA command to download the data, in raw 8 bit form - the news server would decode the data for you. And while we are at it, the DATA command should support a byte range to allow only a segment of the data to be downloaded. MIME has a lot of stuff for doing this already. But the broblem with MIME is that it is far too complex because it's trying to do too much. People have said MIME is good becase you can look at the headers and know if the article contains a file. That's bogus because most the time, files are posted in multipart-mixed format, so to see what is actually posted, you have to scan and MIME-parse the entire article. The problem is that there are far too many ways to post a file with MIME. We need a standard that would support only one (or only a very small set of standads) to post a file. What we need is a well defined standard for how a file part is posted in an article. And the standard should not allow anything else but that file part to be posted in the article. This will allow the creation of a simple DATA command for example in NNTP which will work even better than yEnc in terms of reducing the number of bytes the end-user had to download. This could be done in ways to make it backward compatible with current software. If the basic format of the article for example was just the same old uuencode standard we use now, and the Subject would be similar to what people use now for multipart articles, then all the current download tools would still work for these articles. But we could put a special token in the Subject to indicate that this was actually an ariticle which followed the new data standard (like the yEnc marker you used), then all the other information would be simply added as special headers. The new special headers would be the real "definition" of what defined the article to be a special data article instead of normal Usenet text or MIME article (just like the MIME-Version: header does for MIME). The subject should probably be well defined (like you are working towards with yEnc). It would be in a format that was compatible with existing software (and existing newsgroup conventiontions), but all the real "meat" of the intormation would be in the new headers. You could include a transer encoding header to allow posts to be done in standard uuencoded format now, but later, after the standard was wider supported, convert to a denser 8-bit (yEnc type of) trandfer encoding. If the news server suported this idea of the new DATA command, then the need for 8 bit encoding would be greatly reduced anyhow. Posting and transport of the article would still be a problem, but downloading (which is done a lot more than posting) would no longer be a problem in terms of the encoding overhead. The current uuencode and your yEnc standard are both ways of "hiding" files inside of text articles. This is good because the news servers don't need to do anything special to transport these articles. But it's bad because it makes it unreasonable for news server to try and help deal with these articles, and it makes it very hard for the downloading tools to correctly find all the parts -- it's a big guessing game now. We need a standard that will actually define a usenet "data" article instead of yet another standard for "hiding" data inside of text articles. And if it's done in ways to make it backward compatible, then it won't cause huge waves of re-posts of files in multiple formats. At the same time, a well defined standard for requesting re-posts would be very good as well. Something the download tool itself could actually generate - it would list the file-id and all the byte ranges that were missing. And then the download tools could be written to spot those re-post requests and make it easy (a push of a button), for anyone that has the missing parts, to re-post it (so the orginal poster wouldn't be forced to do all the re-posting). And maybe, if the reposts were done correctly, it would also be easy to figure out which requests had been responded to and which hadn't so you wouldn't get too many duplication of re-posts. > >If so that would be a *really* great > >addon in usenet!! (most files are reposted because of an average > >of 1 or 2 missing section(s), and you can "repair" them with "par") Not if the par file is missing. Right? There are well know ways to do error detection and correction where you can repair the file no matter which segment is missing. i.e., you post 11 sections intead of 10 and no matter which one is lost, you can still reconstruct the file. or 12 instead of 10 and no matter which 2 are lost, you can still reconstruct the file. But that's not backward compatibale so maybe the par file idea is a better way to go. It seems to me that including something like the par file idea into the data standard would be good. It might even allow the news server to reconstruct missing segments so the users didn't have to do it. It just seems to me that if you are going to introduce a new standard for fixing some of the problems of transporting data files on usenet, that we can do a lot better than yEnc if people would be willing to work at this a bit. Some of the ideas included in yEnc are a step in the right direction, but it's only one small step that is as much a sideways step as it is a step forward. I think there are better options to look at that will give us 3 steps forward instead of just 1 forward and 1 sideways. But, said to say, I don't really have the time to make this happen either. I don't really even have the time to write this article, but I did that anyway. The good thing about yEnc is at least someone is working on it. :) -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Announce: yEncoding - site with info has been created.
Author: Andrew Gierth
Date: Thu, 08 Nov 2001 17:55
Date: Thu, 08 Nov 2001 17:55
37 lines
2161 bytes
2161 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes: Curt> The whole uuencode/yEnc type of format makes it hard to figure Curt> out if articles contain files or just text. It's good when you Curt> want to write a text article and embed some pictures (you can't Curt> even do that very well with MIME), how so? for example: Content-Type: multipart/mixed; boundary="8=--" --8=-- This would be an example of a text article with an embedded inlime image. While it is largely up to the client how to render it, the intent is pretty clearly expressed from the structure; the image should go between here -> --8=-- Content-Type: image/jpeg Content-Disposition: inline Content-Transfer-Encoding: base64 [image data here] --8=-- <- and here. Note that there is no line break between -> and <-. this is the last line of the article. --8=---- Of course, I haven't actually looked at what a typical client would do with this.... -- Andrew.
Re: Announce: yEncoding - site with info has been created.
Author: Curt Welch
Date: Thu, 08 Nov 2001 18:45
Date: Thu, 08 Nov 2001 18:45
32 lines
2851 bytes
2851 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: > Of course, I haven't actually looked at what a typical client would > do with this.... That seems to me to be the real problem with MIME for stuff like that. It's easy to figure out how to encode something with MIME (and easy to parse), but trying to figure out how a client should display/present everything is not at all obvious. So when you do encode something, sometimes it works like you may have expected (picure shown in-line in a text message), and sometimes it ends up like shit. (article with no text but three attachements: two text files and one image file). MIME isn't bad, but it's complexity and attempt to encode "everytyhing" while at the same time totally ignoring the UI and user "needs" makes it a mess when it comes to what the end-user has to deal with. It also makes it very dificult for the software to know what to do with all the information once a MIME article has been parsed. Most of that gets left up to "convention". And, for something like the NNTP DATA command idea I talked about, trying to creat that for a mime article would be a mess (comming up with a language to describe what data from the mime article to send.) One approach to my "usenet data article standard" idea would be to try and use mime, but just create a standard for a fixed and well defined subset of mime that would be used on usenet for this purpose. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Announce: yEncoding - site with info has been created.
Author: Newsloader
Date: Thu, 08 Nov 2001 20:23
Date: Thu, 08 Nov 2001 20:23
50 lines
3000 bytes
3000 bytes
Hello, It doesn't make any difference (for me) on how those headers, footers or other details are arranged. The core idea is to reduce usenet traffic. (Its nice to signal (in)correct sections, but it would still end up in a higher traffic because of the repost, since not everybody has multiple backup servers) What we need are practical ideas on how to signal and *repair* them. My point of view is that since Par is free to use and its code is already available it would enhance the chances of a widely accepted encoding algorithm. (Just my opinion) Rumours are that the Par concept will be introduced in WinRar (in time), but there are lots of other binairy formats which will benefit from the Par concept build in Newsreaders. But for the moment this is just a "future" discussion. You're right, lets take everything one step at a time.. As a professional delphi programmer myself i can't wait and would embrace every good idea. Greetings, Newsloader > We had also the proposal to include good compression into a new > binary encoding format. But this could be treated as a seperate > task as well as adding PAR information. > > > Please understand me right: > I _support_ all plans to add even more compactness and/or redundancy > and/or error correction information. But _first_ we need the first step: > A generally accepted and widely implemented binary encoding. > Then the next steps might be to add even more keywords or options. > > But please be careful: Who ever proposes such nice things should be > prepared to offer "public domain methods" and "public domain source code". > > I will be the first one who implements such new features - and add them > to the YENC.ORG site. > But I dont want to start investigation about compression or other features > just because someone believes it would be a nice feature. > Whoever wants such a feature must be prepared to do that work. > > CU > -- > Juergen, [The Archiver] >
Re: Announce: yEncoding - site with info has been created.
Author: The Archiver
Date: Fri, 09 Nov 2001 09:25
Date: Fri, 09 Nov 2001 09:25
41 lines
2416 bytes
2416 bytes
"Newsloader" <Newsloader@hotmail.com> wrote: >The core idea is to reduce usenet traffic. >(Its nice to signal (in)correct sections, but it would still end up in a >higher traffic because of the repost, since not everybody has multiple >backup servers) What we need are practical ideas on how to signal >and *repair* them. I'm hoping that CRC & SIZE protected attachments would make it very easy to find out the few news-servers which are actually damaging articles. >since not everybody has multiple backup servers Not yet ;-) >My point of view is that since Par is free to use and its code is already >available it would enhance the chances of a widely accepted encoding >algorithm. PAR is already used. Nothing will stop it. >But for the moment this is just a "future" discussion. You're right, lets >take everything one step at a time.. Thank you - making a small step might be really better than making two steps in one and risiking a failure. >As a professional delphi >programmer myself i can't wait and would embrace every good idea. I'm very pleased to read this. Beside all the necessary efforts on standardization and discussion there will be always a need for people who _do_ and try something :-) Progress is not made by those who are managing, but by those who are doing the work (and talking about it with their collegues). -- Juergen, [The Archiver]
Re: Announce: yEncoding - site with info has been created.
Author: Jeremy
Date: Fri, 09 Nov 2001 09:38
Date: Fri, 09 Nov 2001 09:38
42 lines
2830 bytes
2830 bytes
Curt Welch <curt@kcwc.com> wrote: > That seems to me to be the real problem with MIME for stuff like that. > It's easy to figure out how to encode something with MIME (and easy to > parse), but trying to figure out how a client should display/present > everything is not at all obvious. That's because MIME doesn't attempt to define that. You do that with other methods. You can create a multipart/related message containing the "main" text message, and a bunch of images, for example. If the "text" part is actually using some sort of markup language, like HTML (not that I necessarily think HTML is the right thing for it, but it exists and it works for this purpose right now), you can then refer to the image parts of the message from within the HTML part, in the same way you would refer to them in HTML on a web server. Thus, you have specifically defined how you want the message, with all its parts, presented to the reader. This works right now in clients like Outlook Express. > So when you do encode something, sometimes it works like you may have > expected (picure shown in-line in a text message), and sometimes it > ends up like shit. (article with no text but three attachements: two > text files and one image file). That's strictly a client issue; it's a different problem entirely from the encoding of the message. Trying to solve both problems with the same solution is probably the wrong way to approach either of them. I'm not even sure how much we *want* to solve the problem, though. Do we really want Usenet messages to be like that? Usenet works just fine as a text-based medium, and for files, is it really ever necessary to get any more complex than posting a single file in a single (possibly multipart) message? If the problem we're trying to solve is limited to that, then it becomes a much simpler problem -- MIME in all its glory is ungodly complex, in particular when it goes all recursive on you. -- Jeremy | jeremy@exit109.com
Re: Announce: yEncoding - site with info has been created.
Author: The Archiver
Date: Fri, 09 Nov 2001 11:29
Date: Fri, 09 Nov 2001 11:29
305 lines
14291 bytes
14291 bytes
curt@kcwc.com (Curt Welch) wrote: >The problem here is that a simple filename and size check is a very poor >guarantee that two different posts, from different users are actaully the >same file. If you include the file crc, then it's a better check. yEnc supports the CRC for the full file in the =yend line. But you are right. It might be a good idea to add it to every =ybegin line. >But, all that stuff must be in the headers where the user/newsreader can >see the infomation without having to download the entire article. From the 'implementation notes': >> It might be a nice idea to add the CRC of posted files to the Subject-Line. >If it's >in the body (especially if the crc is at the end), then the user is forced >to download the entire article just to figure out if the file might be a >segment of a file which he is missing. Usually people are reposting only original files. And because they are CRC protected after download they _have_ the correct files. I dont care if ten people do repost "1.avi". My own (personal) library does store binaries already with a modified filename: 1__$F1234567$Rabcdef.avi But I dont want to introduce such things on Usenet - where filenames are a "holy" thing. >What's the point of saving 30% in >the download time if you are still forcing users to download things that >end up being useless to them? I dont see the point as yEnc would make posting and downloading easier than today: If someone receives a corrupt part, then the newsreader detects the part and marks it as invalid. Someone else can repost the identical part (with the identical subject line and a new sender). If someone is missing a part then some else can also repost the part. There is no more need to repost huge files at all ! >The best way to deal with the repost problem is to give users tools to make >it easy for anyone (not just the orginal poster) to repost (or e-mail) >missing segments. I give them such a tool: MyNews. You activate a message and press Alt+P m (Repost - Same message again). The identical message is posted with a new sender and MsgId. >To make that work, you want to give the newsreader the >power to patch together missing segments of the files from different posts. Oh no, I wont try this quickly...... yEnc permits to create a huge file even if 10 parts are missing and the 'rest' could be filled in from other sources. (Yes - this requires to have the full CRC+SIZE for every part) But this is advanced technology - and I'm sure that the 'usual average user' wont try it. >BTW, 1-based byte ranges are very odd for a protocol like this, all the >current protocols use 0 based range values. And in any case, the fact that >it's one based instead of 0 based needs to be documented in the spec. It >isn't even mentioned currently - it only shows up as being implied from the >examples. Specifying by example is very instructive :-) (Of course a formal RFC should include a full spec). And concering 'zero' as the first byte in a file: I am programming in C - where fseek(0,0,0) moves to the first byte of a file - but 'non scientifists' always believe that the first byte in a file has the number 1 :-) I personally dont like the number '0' as a value. And as part-begin and part-end are very unusual keywords and information they could also have an unusual counting. >There are a lot of little points like that which are >underspecified in your document and which it would be wise to clean up if >people start trying to support the standard. I'm fully aware of the fact that my 'draft' is not an RFC. Fortunately the programmers who did implement it told me: "It was easy and straight forward to implement". That was all I wanted. >But, you need to put all that information into the headers so the >newsreader can figure out if all the segments are available before it >downloads anything. yEnc specifies the subject line. The filename is in quotes (very unusual today) - the keyword YENC is used - and the part-id is in round brackets (compatibility). The use of other (#/#) combination is strongly discouraged and should be rejected by the autoposter/newsreader. I see no problems. I was already thinking about the full and true size in bytes and the crc32 value in the subject line - but I'm afraid that spam-killers would trigger on them. >How much needs to be in the standard headers (Subject) so it shows up in >the XOVER data vs non-standard headers so the newsreader has to do a HEAD >to get it is an issue to think about. Nobody likes to use HEAD commands - and nobody wants to extend then XOVER/XHDR by additional headers. We could easily wait until someone writes new server+client software. But as this will _never_ happen all development and improvement is doomed. So all we can do is a first, tiny step. >There's really very little advantage to posting multiple files or file >parts in a single article however so I would think it would be fine to >simply not support that. I dont agree. yEnc would be a _wonderful_ method to post an HTML page which includes 10 small pictures in one message. (Or even store an HTML-page this way to a disk). I am using yEncoded messages already for a bunch of other things. Database-information is also already included here. There is far more power in that little thing :-) >> If you believe that the original proposal for the =ybegin =ypart and >> =yend lines should be reworked and discussed from the begining then feel >> free to ask for a discussion - and make an own proposal. > >Damn, I hate it when people force me to do that. Can't I just bitch >and run? :) Yes - you can. And I've reacted to such proposals and 'bitching' for a long time. As you see from the entire discussion there are a _lot_ of new ideas and proposals every minute. I would be really happy to implement all of them. I would be really happy to have the new message format which makes everybody happy. But what I want is a new, efficient and crc-protected encoding NOW ! Every journey starts with a first step. I'm trying to do this first step - and it does not help to know that it would be better to have new shoes first. >I think we need a standard for breaking up files into parts on Usenet >that will solve all the current issues, not just some of them. AFAIK this is already handled by MIME. >If you had a well defined standard for how files are transmitted in >Usenet articles, then the news server could get more involved in helpling >to make this work. For example, if the article had headers that make >it clear that this was not a "standard" Usenet article, but instead >was a special encoded file (or file part), then the news server could check >the file for encoding problems (like crc errors) when the file was posted, >and reject some problems before they even got to Usenet. You can implement this tomorrow to your news-server: Scan the subject line for the keyword yenc and a filename in quotes. If an article has this keyword then scan the body for yencoded messages. If you find a =ybegin and =yend with the same size but a wrong CRC and the quoted filename then reject it. Whoever would create a message with this properties tries to fool the community (and should be rejected), uses a broken encoder (should be rejected) - or the message is really broken (and should be rejected). yEnc is ready for implementation. >And on transport, each article could be checked for corruption by using >the information in the headers (crc, bytes range, etc). It could then >either drop, or somehow mark the article as being corrupt to prevent >being from downloading broken articles. I am not sure if the high volume forwarders are able to perform such a check. (Your own statement: Not enough CPU power ?!) But if a special header-line as: X-Encoding: yEnc would help then I will add it tomorrow to the draft. >On top of that, if the standard was well defined and simple, it would >open up the idea of new types of NNTP commands (like XOVER) for simply >listing the articles which were actually file-parts, and the important >information about each article (file id, file name, byte range, CRC, etc). The USEFOR taskforce would be happy to discuss this :-) Why dont you specify an X-Header with the necessary information ? I have no problems to add new headers (as long as the yEnc block stays intact). >And maybe other NNTP commands for downloading just the data, in raw form. >So even if the article is say uuencoded, the newsreader could do a HEAD >command to see that the information about this "data article", and then >do use a DATA command to download the data, in raw 8 bit form - the news >server would decode the data for you. And while we are at it, the DATA >command should support a byte range to allow only a segment of the data to >be downloaded. WOW - you are creative as usual. Introducing true binary transport through the backdoor ? Again: Feel free to specify. I will implement it immediately into MyNews. Together with newsreader.com we would have an unbeatable combination. (Do you have spare time for new project ;-) >The problem is that >there are far too many ways to post a file with MIME. We need a standard >that would support only one (or only a very small set of standads) to post >a file. <Sigh> .... I agree........ But I have given up on MIME. Others will do it. >The current uuencode and your yEnc standard are both ways of "hiding" >files inside of text articles. This is good because the news servers >don't need to do anything special to transport these articles. But it's >bad because it makes it unreasonable for news server to try and help >deal with these articles, and it makes it very hard for the downloading >tools to correctly find all the parts -- it's a big guessing game now. Your conclusion ? How long do you believe it would take to introduce your ideas to Usenet? Usenet servers would always have to handle base64, binhex and UUencode. Handling yEncode would be only 33% more work. >We need a standard that will actually define a usenet "data" article >instead of yet another standard for "hiding" data inside of text articles. >And if it's done in ways to make it backward compatible, then it won't >cause huge waves of re-posts of files in multiple formats. I dont agree. The purpose of yEnc is to reduce the Usenet traffic - and the server-storage - by 25-35%. Your proposal does not offer this. Your proposal is worth discussion - and testing - and introduction. But I dont see it used in 2002. >At the same time, a well defined standard for requesting re-posts would >be very good as well. I'm still hoping that newsgroups which are supported by yEnc and MyNews would not require any reposts at all. >Something the download tool itself could actually >generate - it would list the file-id and all the byte ranges that were >missing. And then the download tools could be written to spot those >re-post requests and make it easy (a push of a button), for anyone >that has the missing parts, to re-post it (so the orginal poster wouldn't >be forced to do all the re-posting). And maybe, if the reposts were done >correctly, it would also be easy to figure out which requests had been >responded to and which hadn't so you wouldn't get too many duplication of >re-posts. You can have this today: Its name is 'Morpheus' (MusicCity, Kazaa, FastTrack). But I see no chance to change Usenet that way. >Some of the ideas included in yEnc are a step in the right direction, >but it's only one small step that is as much a sideways step as it is a >step forward. I think there are better options to look at that will give >us 3 steps forward instead of just 1 forward and 1 sideways. You will not be able to make three steps if you dont do the first one. And discussing steps 2,3 makes no sense if step 1 cannot be realised before 2004. I'm aware of the fact the yEnc cannot be the solution for everything. But it would be at least a solution to the problems which came up in the last five years. If you continue to discuss the problems from the last five years together with the actual wishes and nice-to-haves- for the next five years then you wont have any progress at all. No matter what you will implement in the next five years: You will need an 8-bit-encoding, a SIZE+CRC protection and a method to find multiparts and filenames. The format of the lines: =ybegin =yend =ypart might be different then, but you will need them. Whoever has implemented yEnc will _easily_ switch over to any new standard. But those who dd not even make a first step will wait.... and wait.... and wait...... >But, said to say, I don't really have the time to make this happen either. >I don't really even have the time to write this article, but I did that >anyway. You should give up on doing daily work and goto MIT. For me it seems your knowhow should be used. >The good thing about yEnc is at least someone is working on it. :) As it is a step "sideways" for you I'm asking myself if I should go back to productive work and make a few bucks. ;-) CU -- Juergen, [The Archiver]
Re: Announce: yEncoding - site with info has been created.
Author: The Archiver
Date: Fri, 09 Nov 2001 11:33
Date: Fri, 09 Nov 2001 11:33
22 lines
1787 bytes
1787 bytes
curt@kcwc.com (Curt Welch) wrote: >And, for something like the NNTP DATA command idea I talked about, trying >to creat that for a mime article would be a mess (comming up with >a language to describe what data from the mime article to send.) > >One approach to my "usenet data article standard" idea would be to try and >use mime, but just create a standard for a fixed and well defined subset >of mime that would be used on usenet for this purpose. The last time when I wanted to mix the article format with NNTP-commands (for true binary transmission). I was sent from the USEFOR taskforce to the NNTP taskforce and back. Nobody was reponsible - nobody wanted to make the first step. It seems to be impossible to create something which involves both parties. -- Juergen, [The Archiver]
Re: Announce: yEncoding - site with info has been created.
Author: Andrew Gierth
Date: Fri, 09 Nov 2001 14:22
Date: Fri, 09 Nov 2001 14:22
18 lines
2128 bytes
2128 bytes
>>>>> "The" == The Archiver <archiver@i3w.com> writes: The> The last time when I wanted to mix the article format with The> NNTP-commands (for true binary transmission). I was sent from The> the USEFOR taskforce to the NNTP taskforce and back. Nobody was The> reponsible - nobody wanted to make the first step. Binary transmission of articles (in the sense of treating the article body as an arbitrary octet-stream) is an issue for the NNTP group (only), because the only thing preventing its use currently is the fact that NNTP and existing NNTP implementations make assumptions about the text-oriented nature of the data. A news system that did not use NNTP at all (e.g. uucp for relaying and readers using the local spool) could handle the MIME 'binary' encoding. -- Andrew.
Re: Announce: yEncoding - site with info has been created.
Author: Andrew Gierth
Date: Fri, 09 Nov 2001 14:39
Date: Fri, 09 Nov 2001 14:39
14 lines
1814 bytes
1814 bytes
>>>>> "AG" == Andrew Gierth <andrew@erlenstar.demon.co.uk> writes: AG> A news system that did not use NNTP at all (e.g. uucp for AG> relaying and readers using the local spool) could handle the MIME AG> 'binary' encoding. I should perhaps point out that you can't do this with, say, INN, because of the use of NNTP 'under the hood' (between rnews and innd). Anyone wanting to try it out should probably look at something like C news. -- Andrew.
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