Article View: news.software.nntp
Article #55095Re: Announce: yEncoding - site with info has been created.
From: 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]
Technical Details
Message-ID:
<0329c.9b1205@archiver.winews.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!howland.erols.net!news.alt.net!archiver.winews.net!not-for-mailReferences:
<3be943fa.12864292@news.alt.net> <e1lG7.35031$88.4088993@zwoll1.home.nl> <5430a.8b1203@archiver.winews.net> <20011108123928.832$0a@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <0329c.9b1205@archiver.winews.net> Subject: Re: Announce: yEncoding - site with info has been created. Date: Fri, 09 Nov 2001 11:29:03 +0000 From: archiver@i3w.com (The Archiver) References: <3be943fa.12864292@news.alt.net> <e1lG7.35031$88.4088993@zwoll1.home.nl> <5430a.8b1203@archiver.winews.net> <20011108123928.832$0a@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!howland.erols.net!news.alt.net!archiver.winews.net!not-for-mail Newsgroups: news.software.nntp Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Lines: 304 X-Newsreader: MyNews