Thread View: news.software.nntp
88 messages
88 total messages
Page 2 of 2
Started by Jøhnny Fävòrítê (it means "Explo...
Sun, 29 Dec 2002 10:17
Page 2 of 2 • 88 total messages
Re: yEnc decoding implementation
Author: Curt Welch
Date: Sun, 05 Jan 2003 01:15
Date: Sun, 05 Jan 2003 01:15
168 lines
8897 bytes
8897 bytes
Rene <invalid@email.addr> wrote: > curt@kcwc.com (Curt Welch) wrote: > > The xBin id _is_ the file name. If someone wants to include another > > name, it's done outside of the xBin standard (and they will of course > > do that). > > ...here I disagree. The xBin id is the file hash. Yes, for the xBin > system, this is "its" name. Its only identification point. But the system > is here to help the user, and I am extremely certain any user doesn't > want to find a file "I8REUBPHGJ+qcCiUb3TXz4Z80" after his newsreader > software is done downloading but something like "my_holliday_movie.avi" Of course. A lot of ideas have been talked to death about how to change Usenet to make it better, but many of the reasons for lack of progress was because it was easy to start with one small issue (like uuencode overhead being a waste), and before you found an answer to that problem, you found you had sucked all of Usenet's problems into the doman of what you were going to "fix" - and the solution required you changed everything all at once. To make anything happen, it's important to find ways to fix one problem without having to fix everything. That is part of why yEnc has been able to make a difference. It was a small enought step away from uuencode that usenet was ablle to take that step. The filename problem and aritcle encoding problem is something we very much do not want to suck into the xBin issue today. It's a very long and very sliperly sloope. xBin is only trying to address one problem now, and that's the relieable transport of data. The end-user metadata problem is for tomorrow. The _only_ metadata problem xBin should touch in this verison is the metadata needed to correctly transport the files (metadata which is currently missing for Usenet posts). The filename problem is not a problem. There are many current valid ways to encode the data. You can use uuencode multipart files - which only puts the filename in the first file and in the Subject - which is messy. You can use yEnc, which will give you the file name in every part - which is much better. And yEnc currectly allows you to correclty encode the data except the stupid part= which _NEVER_ should have been part of yEnc but is too late to fix now. Or you can use various options from MIME, none of which work correctly for file segements but could be used anyhow. I suspect yEnc will become the xBin standard for multipart posts with maybe uuencode a option for single part xBin posts. > But where does the newsreader get the filename as which the xBin blocks > should be saved to disc? The same places it gets it from now. The begin lines, the =ybegin lines, and the various MIME headers. In all cases, the download tool will have one or many file names to choose from. The download tool just needs to present a file-name option to the user and let them ultimatly name the file anything they want. Even if we were to specify a re-work of the article format from the ground up for all xBin posts, there will not be any answer for the problem of multiple file names for the same data. Everybody can post the same data using whatever filename they decided to call it. The best the download tool will ever be able to do is either pick one for the user, or give the user a list of files names to pick from - and always give them the option to name it anything they want. The way the tool will work is to collect all the parts and information to build the file piece by piece in some place like a directory set up to hold all the pieces. When it has the complet file, then the user needs to tell the tool where to save it, and what to call it. The tool should never automatically write a filled called "my_movie.avi" just because that was one of the names used in one of the posts. > Don't say subject now :) If it's a uuencode multiplart with the first article missing, the subject is the only source of the filename. > What I meant was, how does the body of an xBin posting look like if for > example the blocks are sent using yEnc. Exactly like they look now without xBin. If xBin catches on, then we might migrate to a different (and standard) body convention down the road, but the nice thing about how we are doing this now is that it allows us not to deal with that issue right now. It's all backward compatible with what is currently being done. > A way to do it would be: > [taken from http://www.yenc.org/yenc-draft.1.3.txt ] > =ypart begin=1 end=100000 > .... data > =yend size=100000 part=1 pcrc32=abcdef12 > > or: > > =ybegin part=5 line=128 size=500000 name=mybinary.dat > =ypart begin=400001 end=500000 It's best of you don't put =ybegin lines in usenet posts starting in the first column because newsreaders that decode data in-line think it is data. Just show examples with extra spaces in front of each line like this: =ybegin part=5 line=128 size=500000 name=mybinary.dat =ypart begin=400001 end=500000 .... data =yend size=100000 part=10 pcrc32=12a45c78 crc32=abcdef12 > In the first example, the [p]crc32 is superflous, Yes, but it should be included for tools which are not using the xBin data. > the xBin hash already > ensures the integrity. In the second example, the part numbering is too, > because the xBin header clearly states which blocks are in the body. > > The name though is something new.. it tells as what the data should be > saved. It tells us the default name the tool should offer to the user when the user decides to save the data. > > Half the point of xBin is to create a data-id standard that could take > > is to a time where data was transported separate from RFC-1036 articles > > by Usenet. > > > > If we went there, then the standards for how Usenet would do that would > > probably be a new NNTP extension and have nothing to do with MIME or > > uuencode, or yEnc, and the file name would probably not be transported > > with the data, though maybe it could. There would be a separate text > > post that said "the following xBin file has been posted to usenet, and > > oh, BTW, the file name I used for it was "bigfile.vcd". > > Yes, but there WILL be a transition phase. And probably a damn long one. > For the time being, I'd look at xBin as a new binary transport encoding > (althoug I perfectly know it is none) like yEnc was. Some will change, > others will not, some will observe cautiously if it is worth the effort > for a transition. > > But if the filename is only transmitted using a non-xBin message, that > removes a bit of comfort xBin could provide. We could easily provide the > filename using the meta-data of the transfer encodings, or probably far > better, using MIME and then using yEnc, uuenc or base64 as a > content-type-encoding within MIME as has been suggested. (I still need to > read up on MIME myself though...) xBin _must_ work with all existing formats. We can not tell people "the body must be encoded like this...". It will prevent xBin from cathing on when there is no need to handicap it's development like that. > Well we could define that each block or all blocks within one article are > considered one single file, for example. Or are each blocks independently > encoded ? That was basically my question. It's all one chunk of data in the article. There's no need or point to break it up on hash-block boundries. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: yEnc decoding implementation
Author: Bart Crane
Date: Sun, 05 Jan 2003 01:54
Date: Sun, 05 Jan 2003 01:54
72 lines
3554 bytes
3554 bytes
"Juergen Helbing" <archiver@i3w.com> wrote in message news:15170.uc2207@archiver.winews.net... > =?ISO-8859-1?Q?J=F8hnny_F=E4v=F2r=EDt=EA_=28it_means_=22Explosive_Crap_Laser =22=29?= <this.is@fake.com> wrote: > > >As much as I hate it, I suppose the time has come to add yEnc decoding > >to my newsreader. Who here has an idea or a web page about the least > >offensive way to do this? > > Use your existing code and at the location where you check for UUenc's > 'begin 644 xxxxx' add a check for =ybegin ..... and all the following stuff. > Branch to an own module. > > The website is located at: www.yenc.org > You can contact me by eMail for further questions. > > >I should add that I am DEAD SET against this horrible, horrible > >cribbed-together anti-protocol and I will surely DIE before I EVER write > >code to allow people to post yEnc binaries. I just want to decode them > >in whatever way you fellow anti-yEnc people think is the least stinky > >and most likely to lead users to better alternatives in the future. > > If you dont to write a binary poster, then this is far better than writing > a bad one. There is enough good autoposting software out there so > posting of yEnc binaries should not be a job for your software. > > Tips: > Please dont forget to tell your users in case of corruption which part > of a multipart is corrupt and permit to fetch it from a repost or another > source. > Ignore all CRC32 values which are 0x00000001. > Be prepared for incomplete multiparts where the last part is empty. > Dont rely on the 'yEnc' tag in the subject line. People tend to post without > it because yEnc is widely standard. Hello, Please don't encourage people to not identify YENC-encoded articles as being such. It is very important to me that these articles be identified before their contents are download, because YENC-encoded data can cause my NNTP-processing to terminate early and without error, because when they encounter 0x1A, it is interpreted to mean End Of File. This can result in the loss of all data after the YENC-encoded data is encountered. Thanks. Bart. > People dont use the subject recommendations of yEnc. Use your standard > UUenc functions for finding multiparts. But verify them with the yEnc > header data. > > > The implementation should not take longer than 4 hours. > > HTH > -- > Juergen > ------------------- > www.yenc.org > >
Re: yEnc decoding implementation
Author: Kjetil Torgrim Homme
Date: Sun, 05 Jan 2003 13:45
Date: Sun, 05 Jan 2003 13:45
24 lines
2217 bytes
2217 bytes
[Curt Welch]: > > xBin _must_ work with all existing formats. We can not tell > people "the body must be encoded like this...". It will prevent > xBin from cathing on when there is no need to handicap it's > development like that. to pick a nit, we _will_ be telling "the body must be encoded like this", but decoding will work the same way as before. > > Well we could define that each block or all blocks within one > > article are considered one single file, for example. Or are each > > blocks independently encoded ? That was basically my question. > > It's all one chunk of data in the article. There's no need or > point to break it up on hash-block boundries. but the chunk in each part must be hash block aligned, right? we can lift that restriction, but I think it is ugly and unneeded. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Re: yEnc decoding implementation
Author: Curt Welch
Date: Sun, 05 Jan 2003 20:44
Date: Sun, 05 Jan 2003 20:44
16 lines
2124 bytes
2124 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > but the chunk in each part must be hash block aligned, right? we can > lift that restriction, but I think it is ugly and unneeded. Right, xBin does "force" that on posts so yes we are forcing some things on the conetent of post but it's minimal and shouldn't break any decoders. If you have a partial hash block of data, then you can't verify it as being valid unless you include the rest of the data from the block elsewhere in the post (like the header), or you just grab it from the prev/next post and then verify it, but that breaks the ability to verify articles without extra data. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: yEnc decoding implementation
Author: Thomas
Date: Sun, 05 Jan 2003 22:20
Date: Sun, 05 Jan 2003 22:20
16 lines
1984 bytes
1984 bytes
Curt Welch wrote: >>but the chunk in each part must be hash block aligned, right? we can >>lift that restriction, but I think it is ugly and unneeded. > > ... or you just grab it from the prev/next post and > then verify it, but that breaks the ability to verify articles without > extra data. Which would prevent servers from filtering out corrupted articles. Which I think was an important reason to use the hash tree thing. Thomas
Re: yEnc decoding implementation
Author: Juergen Helbing
Date: Mon, 06 Jan 2003 17:04
Date: Mon, 06 Jan 2003 17:04
26 lines
2228 bytes
2228 bytes
The Profiteer <TheProfiteerBITESPAM@iplweb.org> wrote: >Yes... in Rene's post Forte Agent identified the next 128 lines as a yEnc >binary attachment. Had to switch to 'raw' mode to see that it was more text >and not a binary. Forte - as many other developers - does not take error detection and reaction too seriously. They are simply detecting =ybegin and =yend and they are also simply issueing one general warning "message corrupt" without further information about any reasons..... And they also did not implement my proposal to modify the filename when storing corrupt binaries to disk. <Sigh> There are so many good ideas for improving Usenet generally and for improving Binary Usenet in particular. But no matter how much one writes and recommends: Programmers do their own interpretation - even when they create CRC32 or detect attachments. The funny thing with that message is that it distributed normally and is visible - with a binary attachment in it - even in a non-binary hierarchy. It seems that most admins do not filter yEnc binaries in nen-binary groups. -- Juergen
Re: yEnc decoding implementation
Author: Jeremy
Date: Mon, 06 Jan 2003 18:44
Date: Mon, 06 Jan 2003 18:44
15 lines
1544 bytes
1544 bytes
Juergen Helbing <archiver@i3w.com> wrote: > The funny thing with that message is that it distributed normally and > is visible - with a binary attachment in it - even in a non-binary hierarchy. > It seems that most admins do not filter yEnc binaries in nen-binary groups. Or maybe our software is smarter than that. Of course, this is exactly the kind of problem half-specs like yEnc cause. On the other hand, I can't find the article you're following up to on any of several servers I checked. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Jonathan Grobe
Date: Mon, 06 Jan 2003 19:37
Date: Mon, 06 Jan 2003 19:37
15 lines
1378 bytes
1378 bytes
In article <1041878674.274580@ok-corral.gunslinger.net>, Jeremy wrote: > >On the other hand, I can't find the article you're following up to on >any of several servers I checked. > It's not on my server either. Perhaps someone might check to see if Andrew Gierth's Annihilator or someone else issued a cancel for it. -- Jonathan Grobe Books Browse our inventory of thousands of used books at: http://www.grobebooks.com
Re: yEnc decoding implementation
Author: Jeremy
Date: Mon, 06 Jan 2003 20:12
Date: Mon, 06 Jan 2003 20:12
14 lines
1391 bytes
1391 bytes
Jonathan Grobe <> wrote: >> On the other hand, I can't find the article you're following up to on >> any of several servers I checked. > > It's not on my server either. Perhaps someone might check to see if > Andrew Gierth's Annihilator or someone else issued a cancel for > it. My servers don't process cancels, nor do a couple of the others I checked. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Juergen Helbing
Date: Mon, 06 Jan 2003 22:27
Date: Mon, 06 Jan 2003 22:27
34 lines
2110 bytes
2110 bytes
Jeremy <jeremy@exit109.com> wrote: >> The funny thing with that message is that it distributed normally and >> is visible - with a binary attachment in it - even in a non-binary hierarchy. >> It seems that most admins do not filter yEnc binaries in nen-binary groups. >Or maybe our software is smarter than that. I obviously underestimated you. >Of course, this is exactly the >kind of problem half-specs like yEnc cause. And in a few years I will also understand why news-servers cannot find corrupt yEnc messages or why expiry of the last pending multipart for UUenc is so difficult if already the filtering is so smart ;-) >On the other hand, I can't find the article you're following up to on >any of several servers I checked. Strange enough - It was only on Altopia where I grabbed it first some hours ago - but not on EuroFeeds, M-Net or Newsreader where I usually get my text-feeds. Perhaps it never propagated or was cancelled shortly after submisison. Usenet is a PITA actually. RoadRunner and Newsguy are no longer connected reliably to the ROW. But Altopia usually performs perfectly when it comes to propagation. -- Juergen
Re: yEnc decoding implementation
Author: The Profiteer
Date: Wed, 08 Jan 2003 04:00
Date: Wed, 08 Jan 2003 04:00
19 lines
1524 bytes
1524 bytes
On Mon, 6 Jan 2003 18:44:34 +0000 (UTC), Jeremy <jeremy@exit109.com> tossed the following into news.software.nntp: >On the other hand, I can't find the article you're following up to on >any of several servers I checked. MY post? Message-ID: <i94j1v093t3ebpujsghu14gf3ck7bbfed1@news.iplweb.org> Or Rene's post that I was referencing? Message-ID: <20030103184045.717$ro@newsreader.com> Be Well my brother... Prof Positronic Replicant Optimized for Fighting --
Re: yEnc decoding implementation
Author: Andrew - Supernews
Date: Wed, 08 Jan 2003 04:05
Date: Wed, 08 Jan 2003 04:05
19 lines
1787 bytes
1787 bytes
In article <6h8n1vk14a6e5ft0ca4vf995iqj7j0sfb4@news.iplweb.org>, The Profiteer wrote: > On Mon, 6 Jan 2003 18:44:34 +0000 (UTC), Jeremy <jeremy@exit109.com> tossed > the following into news.software.nntp: > >>On the other hand, I can't find the article you're following up to on >>any of several servers I checked. > > MY post? > Message-ID: <i94j1v093t3ebpujsghu14gf3ck7bbfed1@news.iplweb.org> that one, yeah. Never showed up here from any of our peers, and no-one else seems to have a copy either (haven't checked on Altopia itself of course) -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: yEnc decoding implementation
Author: Curt Welch
Date: Wed, 08 Jan 2003 04:23
Date: Wed, 08 Jan 2003 04:23
23 lines
2220 bytes
2220 bytes
andrew@supernews.com wrote: > In article <6h8n1vk14a6e5ft0ca4vf995iqj7j0sfb4@news.iplweb.org>, > The Profiteer wrote: > > On Mon, 6 Jan 2003 18:44:34 +0000 (UTC), Jeremy <jeremy@exit109.com> > > tossed the following into news.software.nntp: > > > >>On the other hand, I can't find the article you're following up to on > >>any of several servers I checked. > > > > MY post? > > Message-ID: <i94j1v093t3ebpujsghu14gf3ck7bbfed1@news.iplweb.org> > > that one, yeah. Never showed up here from any of our peers, and no-one > else seems to have a copy either (haven't checked on Altopia itself of > course) Yeah, same thing here. It was never offered to me by any of my peers. If you posted it on altopia, I think they decided not to send it to anyone. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: yEnc decoding implementation
Author: The Profiteer
Date: Thu, 09 Jan 2003 03:31
Date: Thu, 09 Jan 2003 03:31
33 lines
2333 bytes
2333 bytes
On 08 Jan 2003 04:23:17 GMT, curt@kcwc.com (Curt Welch) tossed the following into news.software.nntp: >andrew@supernews.com wrote: >> In article <6h8n1vk14a6e5ft0ca4vf995iqj7j0sfb4@news.iplweb.org>, >> The Profiteer wrote: >> > On Mon, 6 Jan 2003 18:44:34 +0000 (UTC), Jeremy <jeremy@exit109.com> >> > tossed the following into news.software.nntp: >> > >> >>On the other hand, I can't find the article you're following up to on >> >>any of several servers I checked. >> > >> > MY post? >> > Message-ID: <i94j1v093t3ebpujsghu14gf3ck7bbfed1@news.iplweb.org> >> >> that one, yeah. Never showed up here from any of our peers, and no-one >> else seems to have a copy either (haven't checked on Altopia itself of >> course) > >Yeah, same thing here. It was never offered to me by any of my peers. If >you posted it on altopia, I think they decided not to send it to anyone. Hmmm... Altopia offered it to me in return next time I pulled headers. And Juergen got it from there too I guess. I've asked Chris why he didn't offer it. Be Well my brothers... Prof Positronic Replicant Optimized for Fighting --
Re: yEnc decoding implementation
Author: The Profiteer
Date: Thu, 09 Jan 2003 12:14
Date: Thu, 09 Jan 2003 12:14
73 lines
3705 bytes
3705 bytes
On Thu, 09 Jan 2003 03:31:22 +0000, The Profiteer <TheProfiteerBITESPAM@iplweb.org> tossed the following into news.software.nntp: >On 08 Jan 2003 04:23:17 GMT, curt@kcwc.com (Curt Welch) tossed the following >into news.software.nntp: > >>andrew@supernews.com wrote: >>> In article <6h8n1vk14a6e5ft0ca4vf995iqj7j0sfb4@news.iplweb.org>, >>> The Profiteer wrote: >>> > On Mon, 6 Jan 2003 18:44:34 +0000 (UTC), Jeremy <jeremy@exit109.com> >>> > tossed the following into news.software.nntp: >>> > >>> >>On the other hand, I can't find the article you're following up to on >>> >>any of several servers I checked. >>> > >>> > MY post? >>> > Message-ID: <i94j1v093t3ebpujsghu14gf3ck7bbfed1@news.iplweb.org> >>> >>> that one, yeah. Never showed up here from any of our peers, and no-one >>> else seems to have a copy either (haven't checked on Altopia itself of >>> course) >> >>Yeah, same thing here. It was never offered to me by any of my peers. If >>you posted it on altopia, I think they decided not to send it to anyone. > >Hmmm... Altopia offered it to me in return next time I pulled headers. And >Juergen got it from there too I guess. > >I've asked Chris why he didn't offer it. > >Be Well my brothers... >Prof >Positronic Replicant Optimized for Fighting There was a 'window' of time where Chris had a problem and apparently no posts were offered out. ------------------------- Path: news.alt.net!usenet From: ccaputo@alt.net (Chris Caputo) Newsgroups: altnet.general Subject: Re: Propagation Date: 6 Jan 2003 15:24:58 GMT Lines: 12 Message-ID: <avc74a$v5d$0@207.14.113.2> References: <icti1v8uqspihquoetp8k5nh92hg8j1afj@4ax.com> NNTP-Posting-Host: 207.14.113.2 X-Newsreader: NN version 6.5.0 #10 (NOV) Xref: news altnet.general:22669 X-Agent-Group: altnet.general Arve Kirkevik <arki@jgaa.com> writes: >Are there others having problems with propagation of text posts outside >Altopia right now? I can't find mine anywhere exept of alt.net. Hi. We had a problem this morning for about 4-6 hours. This problem prevented your posts from being propagated. Please re-repost. (You won't get in trouble for duplicate posting if it is done because of this server problem, since the original posts didn't go out.) Sorry, Chris Caputo President, Altopia Corporation ------------------------- Be Well my brothers... Prof Positronic Replicant Optimized for Fighting --
Re: yEnc decoding implementation
Author: The Profiteer
Date: Thu, 09 Jan 2003 12:25
Date: Thu, 09 Jan 2003 12:25
39 lines
2295 bytes
2295 bytes
On 05 Jan 2003 01:15:40 GMT, curt@kcwc.com (Curt Welch) tossed the following into news.software.nntp: >Rene <invalid@email.addr> wrote: >> curt@kcwc.com (Curt Welch) wrote: > > >> A way to do it would be: >> [taken from http://www.yenc.org/yenc-draft.1.3.txt ] >> =ypart begin=1 end=100000 >> .... data >> =yend size=100000 part=1 pcrc32=abcdef12 >> >> or: >> >> =ybegin part=5 line=128 size=500000 name=mybinary.dat >> =ypart begin=400001 end=500000 > >It's best of you don't put =ybegin lines in usenet posts starting in the >first column because newsreaders that decode data in-line think it is data. > >Just show examples with extra spaces in front of each line like this: > > =ybegin part=5 line=128 size=500000 name=mybinary.dat > =ypart begin=400001 end=500000 > .... data > =yend size=100000 part=10 pcrc32=12a45c78 crc32=abcdef12 > Yes... in Rene's post Forte Agent identified the next 128 lines as a yEnc binary attachment. Had to switch to 'raw' mode to see that it was more text and not a binary. Be Well my brother... Prof Positronic Replicant Optimized for Fighting --
Re: yEnc decoding implementation
Author: Juergen Helbing
Date: Fri, 10 Jan 2003 06:48
Date: Fri, 10 Jan 2003 06:48
24 lines
1565 bytes
1565 bytes
Russ Allbery <rra@stanford.edu> wrote: >Unless you or someone like you >takes a proposal forward, it's not going to happen, no matter how much of >an improvement it might be for client authors. My posted question "Is MIME dead in Binary Usenet" has got not a single answer within 3 days. So I assume that the amount of people which is ready to take such a proposal forward is limited to Jeremy and myself (and that MIME is really already dead for Binary Usenet). Under these circumstances the chances to move forwards is very small - and I dont know how to continue. Normally I would not ask anybody to spent time on a dead horse. But if you believe that it makes sense, then please create and post your proposals. TIA -- Juergen
Re: yEnc decoding implementation
Author: Jonathan Grobe
Date: Fri, 10 Jan 2003 08:27
Date: Fri, 10 Jan 2003 08:27
18 lines
1486 bytes
1486 bytes
In article <38487.a1320n@archiver.winews.net>, Juergen Helbing wrote: > >My posted question "Is MIME dead in Binary Usenet" has got not >a single answer within 3 days. >So I assume that the amount of people which is ready >to take such a proposal forward is limited to Jeremy and myself >(and that MIME is really already dead for Binary Usenet). That was the exact title? Posted in this group 3 days ago? There is no article at my ISP's news server with that title. Did everyone else get it? -- Jonathan Grobe Books Browse our inventory of thousands of used books at: http://www.grobebooks.com
Re: yEnc decoding implementation
Author: Andrew - Supernews
Date: Fri, 10 Jan 2003 10:14
Date: Fri, 10 Jan 2003 10:14
12 lines
1457 bytes
1457 bytes
In article <38487.a1320n@archiver.winews.net>, Juergen Helbing wrote: > My posted question "Is MIME dead in Binary Usenet" has got not > a single answer within 3 days. if you posted it from Altopia about 3 days ago, then probably no-one other than Altopia users has seen it; see comments elsewhere in this thread. You probably want to repost it. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: yEnc decoding implementation
Author: Juergen Helbing
Date: Fri, 10 Jan 2003 12:24
Date: Fri, 10 Jan 2003 12:24
18 lines
1425 bytes
1425 bytes
Andrew - Supernews <andrew+nonews@supernews.com> wrote: >if you posted it from Altopia about 3 days ago, then probably no-one other >than Altopia users has seen it; see comments elsewhere in this thread. >You probably want to repost it. You are right. I reposted it right now. My completeness checker shows me that it is only available on Altopia and my own hosts. It seems to be high time to activate the "multipost delayed to many servers" feature in my software toys.. Hope this time it works. -- Juergen
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Mon, 20 Jan 2003 02:32
Date: Mon, 20 Jan 2003 02:32
168 lines
10665 bytes
10665 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Jeremy already wrote a description of how to use yEnc as part of MIME.
> While walking into work today, I worked out what I think would work as
> a transition plan from where you are right now to yEnc as a CTE and as
> a new Content-Type for multipart binaries.
And here is that.
First, I'll present my original idea, and then note a variation that
Kjetil raised on multipart handling and that is an excellent point. The
multipart handling is the main part that I think could benefit from some
review by the e-mail MIME experts, as there are a variety of places in
which one could stash the information for multiparts and it's inobvious to
me which place is best.
1. Specify a new Content-Transfer-Encoding named x-yenc-combined. The
specified decoding for that CTE is exactly the same as a yEnc post is
currently, including not changing any of the content not enclosed
between =ybegin/=yend.
This isn't a clean MIME CTE, and isn't suitable for standardization,
since there is still structure contained in the message that's being
hidden by the CTE. It approaches a real CTE, though, if you define
only those things between =ybegin/=yend as being the real content of
the message and specify that a decoder should ignore all other content
in the message. It's close enough for the initial step.
The reason for this step is to be able to label yEnc posts (either
single-part or multipart; this CTE is suitable for either) right away
without having to change a single other thing about how they're
generated or decoded, thereby immediately taking advantage of the MIME
policy for handling unknown CTEs (namely treating anything with an
unknown CTE as an application/octet-stream opaque object regardless of
its Content-Type, which is exactly what you want readers that don't
understand yEnc at all to do since you can then send the body of the
post to an external decoder).
2. Begin tagging all yEnc posts with CTE: x-yenc-combined, both
single-part and multipart. Obviously this will take some time as
software is updated, but it also doesn't hold up the additional steps.
As this is done, there's now a fool-proof way of identifying yEnc
posts, and once the yEnc posts so-tagged reaches a critical
percentage, news reader behavior can change so that *by default* no
attempt is made to find =ybegin lines in posts that aren't tagged with
this CTE. This takes care of the false-detection problem.
3. Specify a new CTE named x-yenc. This is the pure CTE; in other words,
there would be no need for =ybegin or =yend lines in parts encoded
with this CTE. This is just a pure CTE using the yEnc encoding rules.
However, it would have written into its specification that any lines
starting with =ybegin, =yend, or =ypart would be ignored when decoding
(perhaps all lines beginning with "=" -- I forget the yEnc spec here),
and to start with, all encoders should include the =ybegin/=yend
lines.
4. Start posting *single-part* binaries using a CTE of x-yenc. Note that
*no text* is allowed in a part with that CTE. This means that if the
entire message is just the binary, the CTE: x-yenc can be put in the
main headers of the article. If there is a text description, the
message should be posted as multipart/mixed like any other MIME
message with a text portion and a binary portion (carrying its own CTE
of x-yenc).
line=, size=, and name= information should be included in a =ybegin
line, but it should *also* be included in the appropriate MIME headers
so that MIME clients can take advantage of that information. In
particular, the name= should be specified as the filename argument of
a Content-Disposition header, and Content-MD5 should be used for an
integrity check of the message. line= seems relatively unimportant to
lift into the main headers.
size= poses a minor challenge, as Content-Length means something else.
One approach would be to let the decoder notice the =ybegin line and
use the size value there if it wants to check for truncation; that's
actually not that bad of an approach, since a length check could
reasonably be thought of as part of the encoding and decoding process
(after all, consider the length bytes at the beginning of every line
of a uuencode message). Note that length is a bad substitute for an
integrity check; if the Content-MD5 header is present and verified,
that will catch far more problems, at the cost of not allowing one to
detect a truncated message until one finishes downloading it (but how
often is a message truncated, really?).
5. At this point, transition to MIME for single-part yEnc binaries is
*done*. That's all there is to it. yEnc can immediately make use of
internationalization of file names per the MIME standards and a
stronger checksum, and the Content-Type of the yEnc part can be
accurate and used by the decoder to know the type of the resulting
file without having to play guessing games with the extension.
6. Specify a new MIME type for fragments of files. This is exactly the
same as was proposed by Jeremy Nixon; in fact, I'd just use his
specification at:
<http://www.exit109.com/~jeremy/news/binaries/multipart.html>
except that I think the file name should stay in Content-Disposition
since I don't think having the file name in the same header actually
is to much advantage. This carries all of the information that the
=ypart infrastructure would carry, in a friendlier way (and with a
unique ID separate from the file name, which solves some problems in
figuring out how to glue things back together).
7. Start using this Content-Type for parts of a multipart file, with a
CTE of x-yenc as above. Note that this doesn't break anything for
existing yEnc decoders, since the format of the body of the message
still matches what they expect, and there are substantial advantages
for MIME-aware readers. The Content-Type line can be easily handled
by duplicating the information from the =ybegin/=ypart lines into the
header and also generating a unique ID for each complete binary (xBin
could be used here to generate the ID).
8. Somewhere far, *far* down the road, encoders can drop the
=ybegin/=yend lines from encoded parts because nothing is using them
any more (unless the size= part of =ybegin proves useful and doesn't
have a good MIME translation). This can be delayed basically forever
if needed.
That's all there is to it. Note that no step of this evolution breaks any
existing yEnc implementations unless an unknown CTE confuses them (and if
it does, that's easy enough and even trivial to fix, and there's a lot of
advantage to this approach for the news reader author in avoiding false
positives down the road, so there's advantage to them to fix this). It
certainly shouldn't break the transparent proxy method, or any external
decoder, and it will actually make it easier to use external decoders
since an unknown CTE will flag to MIME-aware programs that the body should
be handled by an external program.
Note that you don't have to go through all eight steps. There are
immediate and significant advantages just from doing steps 1 and 2, since
then at least everything that's yEnc is tagged as such right up front. In
fact, I think that steps 1 and 2 are worth doing even if you think the
rest of this proposal is a waste of time.
Note also that you can implement the entirety of this proposal without
going through any sort of standards process (except the multipart type
would have to be called application/x-file-fragment). You're using
private-space names for everything, so there's no need to register or
write any sort of standard. It would, of course, at some point be good to
standardize all of this and register a real yenc encoding, probably
without the =ybegin/=yend stuff, but that can safely be left for future
work.
Now, Kjetil's suggestion was to add new parameters to Content-Disposition
to handle multipart binaries rather than introducing a new content-type.
I can see some real appeal to this, primarily because adding a new
content-type results in information loss. Jeremy's content-type has a way
of noting the original content-type so that the implementation can have
that available after decoding, but there isn't anywhere to put any
parameters that were associated with the original content-type. (It's
also annoying to have an image/jpeg posted with any content-type other
than image/jpeg, even if it's a fragment of an image/jpeg.)
However, the drawback to using Content-Disposition parameters is that a
client that doesn't know about them will just ignore them, which could
result in it trying to feed partial image/jpeg files to a JPEG viewer
rather than realizing that it doesn't have all of them. Using a separate
content-type avoids that problem.
It would be good to get the advice of some MIME experts on this point.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: yEnc decoding implementation
Author: Jeremy
Date: Mon, 20 Jan 2003 04:16
Date: Mon, 20 Jan 2003 04:16
72 lines
4589 bytes
4589 bytes
Russ Allbery <rra@stanford.edu> wrote: > 1. Specify a new Content-Transfer-Encoding named x-yenc-combined. The > specified decoding for that CTE is exactly the same as a yEnc post is > currently, including not changing any of the content not enclosed > between =ybegin/=yend. > > This isn't a clean MIME CTE, and isn't suitable for standardization, > since there is still structure contained in the message that's being > hidden by the CTE. It approaches a real CTE, though, if you define > only those things between =ybegin/=yend as being the real content of > the message and specify that a decoder should ignore all other content > in the message. It's close enough for the initial step. I skipped this step basically for two reasons. The first was that it seems unnecessary; extraneous text content is already strongly discouraged in yEnc posts, so you can just define =y lines as extra, ignored data. The second reason is more significant. A yEnc transfer-encoding needs (or really ought to have) an end-of-data marker, and =yend serves this purpose fine, as well as preserves backwards compatibility, so leaving it in makes sense, and at that point the other =y lines can stay as well, which is what you're doing in step 2 anyway. So, simply defining CTE: yEnc (and CTE: x-yEnc) right off the bat preserves backwards compatibility unless extra text is being included, which it generally isn't, and decoding implementations can ignore it if it is (and since those won't be speaking CTE: yEnc, they would anyway). Stuff that does speak CTE: yEnc wouldn't generate it, but they would need to include decoding of non-MIME yEnc messages anyway, so "legacy" posts with extra text would be no big deal. > except that I think the file name should stay in Content-Disposition > since I don't think having the file name in the same header actually > is to much advantage. The reason I put the filename there is just so a client can grab one header to get required metadata, thus not even needing to grab the overview. But, even if this is done, it should probably be in Content-Disposition too anyway. (My grab-one-header idea does require server implementation changes, of course, to allow (and probably optimize) XHDR Content-Type. I'm not a server implementor, but this was easy to add at Supernews.) > Now, Kjetil's suggestion was to add new parameters to Content-Disposition > to handle multipart binaries rather than introducing a new content-type. > I can see some real appeal to this, primarily because adding a new > content-type results in information loss. Jeremy's content-type has a way > of noting the original content-type so that the implementation can have > that available after decoding, but there isn't anywhere to put any > parameters that were associated with the original content-type. It's a "cleaner" solution, certainly. It defeats my "grab-one-header" idea, of course, and it does introduce a level of incompatibility with existing software which will think the post is a complete file of the indicated type, whereas adding a new type means they would see it as just an opaque block of data. I suspect it might be easier in existing software to handle an opaque chunk of data externally, rather than convincing it not to handle the (incomplete) file as a complete file. The approach does have real advantages, though, so I don't think it's entirely clear at this point which one would be better. > It would be good to get the advice of some MIME experts on this point. Yeah. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Juergen Helbing
Date: Mon, 20 Jan 2003 09:00
Date: Mon, 20 Jan 2003 09:00
16 lines
1135 bytes
1135 bytes
Russ Allbery <rra@stanford.edu> wrote: >And here is that. Thanks - from the bottom of my heart. It will take some time to read and understand all this stuff. But I'll come back to it in new threads. Just one question: How long did it take to think about + write this ? -- Juergen
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Mon, 20 Jan 2003 11:58
Date: Mon, 20 Jan 2003 11:58
57 lines
3720 bytes
3720 bytes
Jeremy <jeremy@exit109.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> 1. Specify a new Content-Transfer-Encoding named x-yenc-combined. The
>> specified decoding for that CTE is exactly the same as a yEnc post is
>> currently, including not changing any of the content not enclosed
>> between =ybegin/=yend.
>> This isn't a clean MIME CTE, and isn't suitable for
>> standardization, since there is still structure contained in the
>> message that's being hidden by the CTE. It approaches a real CTE,
>> though, if you define only those things between =ybegin/=yend as
>> being the real content of the message and specify that a decoder
>> should ignore all other content in the message. It's close enough
>> for the initial step.
> I skipped this step basically for two reasons. The first was that it
> seems unnecessary; extraneous text content is already strongly
> discouraged in yEnc posts, so you can just define =y lines as extra,
> ignored data.
Except extraneous textual comment is possible, so if you want to eliminate
it, you have to already ask people to change what they're doing slightly.
It just seems like a good idea to have the first step be an absolutely
minimal one, so that the CTE change can be tested in isolation of any
other issues.
I see what your'e saying, though.
> The second reason is more significant. A yEnc transfer-encoding needs
> (or really ought to have) an end-of-data marker,
Hm. Why? None of the other ones do.
You want to support that for legacy reasons, but I don't see any reason to
keep the end of data marker when you go to "pure" MIME way, way down the
road.
> The reason I put the filename there is just so a client can grab one
> header to get required metadata, thus not even needing to grab the
> overview. But, even if this is done, it should probably be in
> Content-Disposition too anyway.
I'm not sure this is actually useful. I guess it depends on the chances
of getting Content-Type into XHDR on binary servers and getting binary
download clients to use it, something I have no control over since I don't
run a binary server or write the clients. :)
xBin solves this same problem in a different and probably easier way, if
one can get over the abuse of message IDs.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Mon, 20 Jan 2003 11:59
Date: Mon, 20 Jan 2003 11:59
20 lines
1938 bytes
1938 bytes
Juergen Helbing <archiver@i3w.com> writes:
> How long did it take to think about + write this ?
It took me a couple of hours to write it, but that's after a long period
of having it perculate in my mind. I wrote the majority of that post in
my head while walking into work (about a half-hour), but then I thought
about it for several days, off and on, and went and read more of the yEnc
specs, the MIME specs, and Jeremy's proposal to try to make sure that I
was on the right track.
It wasn't very much foreground work, but it's hard to estimate how much
background thinking went into it.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: yEnc decoding implementation
Author: Jeremy
Date: Mon, 20 Jan 2003 20:28
Date: Mon, 20 Jan 2003 20:28
35 lines
2714 bytes
2714 bytes
Russ Allbery <rra@stanford.edu> wrote: >> The second reason is more significant. A yEnc transfer-encoding needs >> (or really ought to have) an end-of-data marker, > > Hm. Why? None of the other ones do. A yEnc post consisting of a single MIME entity (ie, not a multipart post) will have the encoded data simply sitting in the message body with no delimiters. A server could add a blank line to the message, or worse, a signature block. Plus, the MIME rule that the trailing CRLF in a top-level entity is considered part of the data, while the trailing CRLF in a leaf entity of a multipart is not considered part of the data, is something client authors seem to guess at and often get wrong. This can result in corruption of decoded files (I observed this when testing my original qp-lite stuff). Having an end-of-data marker frees us from worrying about these issues. >> The reason I put the filename there is just so a client can grab one >> header to get required metadata, thus not even needing to grab the >> overview. But, even if this is done, it should probably be in >> Content-Disposition too anyway. > > I'm not sure this is actually useful. I guess it depends on the chances > of getting Content-Type into XHDR on binary servers and getting binary > download clients to use it, something I have no control over since I don't > run a binary server or write the clients. :) Sure, but you do write one of the servers, or at least lead the development of it. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Mon, 20 Jan 2003 20:32
Date: Mon, 20 Jan 2003 20:32
47 lines
3115 bytes
3115 bytes
Jeremy <jeremy@exit109.com> writes:
> A yEnc post consisting of a single MIME entity (ie, not a multipart
> post) will have the encoded data simply sitting in the message body with
> no delimiters.
Right.
> A server could add a blank line to the message,
This should be irrelevant, right? The yEnc protocol ignores line breaks.
> or worse, a signature block.
Those servers lose, and *should* lose. *sigh* Do we really have to work
around that degree of completely brain-dead brokenness? Servers have
absolutely *no* business adding signature blocks to any message that has
an unrecognized CTE.
> Plus, the MIME rule that the trailing CRLF in a top-level entity is
> considered part of the data, while the trailing CRLF in a leaf entity of
> a multipart is not considered part of the data, is something client
> authors seem to guess at and often get wrong. This can result in
> corruption of decoded files (I observed this when testing my original
> qp-lite stuff).
Again, doesn't yEnc ignore all the newlines?
>> I'm not sure this is actually useful. I guess it depends on the
>> chances of getting Content-Type into XHDR on binary servers and getting
>> binary download clients to use it, something I have no control over
>> since I don't run a binary server or write the clients. :)
> Sure, but you do write one of the servers, or at least lead the
> development of it.
There is, at present, no way to add new headers to the overview database
without returning them via XOVER in INN. Changing that is going to be
pretty difficult to do without destroying some significant optimization
potential, but I guess no one's using that potential right now.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: yEnc decoding implementation
Author: Jeremy
Date: Mon, 20 Jan 2003 20:59
Date: Mon, 20 Jan 2003 20:59
23 lines
1814 bytes
1814 bytes
Russ Allbery <rra@stanford.edu> wrote: >> A server could add a blank line to the message, > > This should be irrelevant, right? The yEnc protocol ignores line breaks. So one would hope. My thought was to be defensive rather than make such assumptions. :) > There is, at present, no way to add new headers to the overview database > without returning them via XOVER in INN. Changing that is going to be > pretty difficult to do without destroying some significant optimization > potential, but I guess no one's using that potential right now. Well, that sucks. How do you feel about the general idea of MIME headers being retrieved via HDR/XHDR? Worth the effort? I see how it could be valuable in many situations, not restricted to multipart binaries... -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Mon, 20 Jan 2003 21:40
Date: Mon, 20 Jan 2003 21:40
34 lines
3006 bytes
3006 bytes
Jeremy <jeremy@exit109.com> writes:
> How do you feel about the general idea of MIME headers being retrieved
> via HDR/XHDR? Worth the effort? I see how it could be valuable in many
> situations, not restricted to multipart binaries...
It's a good thought, but it has a problem. The problem is that it's
useful if you go a little way down the MIME path and then quickly becomes
not useful again if you walk just a bit farther down that same path.
Right now, people aren't using MIME anywhere near at its full potential on
Usenet, and there's a lot of cool things that they could do if they were,
content filtering being just one of the most obvious. Knowing whether a
message is an image or a text post or an HTML post is really interesting
and useful for a lot of applications. However, you find that as soon as
you start *really* using MIME, the top-level type, which is the only thing
you can really get into XHDR, is quite frequently multipart/something.
For example, any post with a text part and an attachment, probably the
single most useful basic MIME message other than text/plain, is going to
be multipart/mixed, no matter what the type of the attachment is.
At this point, you start thinking "you know, what would *really* rock is
if the client could ask the server what the structure of the message is
and what all the parts of it are and then just download the parts that it
wants, like grabbing the text/plain description and then waiting for the
user to decide to click on the attachment before downloading it." And
then you realize that you've just reinvented IMAP.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: yEnc decoding implementation
Author: Jeremy
Date: Tue, 21 Jan 2003 02:39
Date: Tue, 21 Jan 2003 02:39
39 lines
2956 bytes
2956 bytes
Russ Allbery <rra@stanford.edu> wrote: > At this point, you start thinking "you know, what would *really* rock is > if the client could ask the server what the structure of the message is > and what all the parts of it are and then just download the parts that it > wants, like grabbing the text/plain description and then waiting for the > user to decide to click on the attachment before downloading it." And > then you realize that you've just reinvented IMAP. Right, IMAP for news is an interesting idea. But, I was going for minimal server changes, and switching to a new protocol is anything but that. :) More to the point, though, I was addressing the current situation, which isn't multipart/anything; it's basically application/file-fragment (or whatever it would be). That's where the "grab-one-header" idea gives its benefit. When someone posts a file in 100 parts, clients are downloading 100 overview records for no good reason, when one would do just as well. "Rich text discussion" is another matter entirely, and in that case, clients would almost certainly want the whole overview anyway; in a discussion group, the data isn't redundant like it is in the binary groups. Having access to the Content-Type could still be useful in that situation, but not in the same way that I'm talking about. For the current case, where binaries are posted on their own, often in multiple fragments, and no additional text or other content is included, finding a way to free the clients from downloading huge amounts of almost entirely redundant overview data just seems like an obvious step. So let me rephrase the question -- what do you think about the idea in the context of the large binary groups? And do you think it might be worthwhile to just include Content-Type in the actual overview, rather than just optimizing its retrieval? This for the general case. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Tue, 21 Jan 2003 02:43
Date: Tue, 21 Jan 2003 02:43
20 lines
1867 bytes
1867 bytes
Jeremy <jeremy@exit109.com> writes:
> So let me rephrase the question -- what do you think about the idea in
> the context of the large binary groups?
Basically, I have no idea how they work, so I can't really comment with
any usefulness on it.
> And do you think it might be worthwhile to just include Content-Type in
> the actual overview, rather than just optimizing its retrieval? This
> for the general case.
I'm not sure, but my instinct says probably not.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: yEnc decoding implementation
Author: Jeremy
Date: Tue, 21 Jan 2003 04:43
Date: Tue, 21 Jan 2003 04:43
47 lines
3082 bytes
3082 bytes
Russ Allbery <rra@stanford.edu> wrote: > Jeremy <jeremy@exit109.com> writes: > >> So let me rephrase the question -- what do you think about the idea in >> the context of the large binary groups? > > Basically, I have no idea how they work, so I can't really comment with > any usefulness on it. Well, it goes something like this. You want to post a file. Your posting agent takes the file and splits it into a whole bunch of encoded posts. Your file goes up as 200 Usenet articles, all with the same From and the same Subject except for the (x/x) indicator which is used to put the posts back into sequence. If you provide a text description, it goes up as its own post, tagged in the subject as (0/x) or part 0. Now, when I come along, my newsreader downloads the overview for the group, including 200 redundant or useless copies of your From, Date, everything in the Subject other than the filename and sequence number. My newsreader uses guesswork algorithms based on the Subject line to figure out that your 200 posts go together, and shows them to me as one article in the article list. If I ask it to download that pseudo-article, the newsreader queues up all 200 real posts for download. There may or may not be PAR files or other extraneous stuff involved in the process too, of course. So, essentially, a client entering a large binary group is downloading literally tens of thousands of overview entries, in order to build a list of a couple dozen files available in the group. That's the part I was trying to address with the "grab-one-header" idea -- freeing clients from the need to do that, since it doesn't make sense in a binary group where almost all of the data is either redundant or unimportant. >> And do you think it might be worthwhile to just include Content-Type >> in the actual overview, rather than just optimizing its retrieval? >> This for the general case. > > I'm not sure, but my instinct says probably not. So does mine, I just wanted to bring up the option. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: Russ Allbery
Date: Tue, 21 Jan 2003 05:40
Date: Tue, 21 Jan 2003 05:40
22 lines
2242 bytes
2242 bytes
Jeremy <jeremy@exit109.com> writes:
> So, essentially, a client entering a large binary group is downloading
> literally tens of thousands of overview entries, in order to build a
> list of a couple dozen files available in the group. That's the part I
> was trying to address with the "grab-one-header" idea -- freeing clients
> from the need to do that, since it doesn't make sense in a binary group
> where almost all of the data is either redundant or unimportant.
That makes a lot of sense. So the problem right now is first that the
information isn't in the content-type header and second that there's no
way to tell whether the server supports fast XHDR on content-type or if
that will actually just be way slower? (Not to mention the client
support, but I assume that if it was noticably faster, the client support
would come.)
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: yEnc decoding implementation
Author: Jeremy
Date: Tue, 21 Jan 2003 06:51
Date: Tue, 21 Jan 2003 06:51
16 lines
1654 bytes
1654 bytes
Russ Allbery <rra@stanford.edu> wrote: > That makes a lot of sense. So the problem right now is first that the > information isn't in the content-type header and second that there's no > way to tell whether the server supports fast XHDR on content-type or if > that will actually just be way slower? Right. The question of whether to use it can, especially at first, be reduced to a user-selectable preference. If you try it once on a server that supports it but doesn't optimize it, you'll know not to do it again, in all likelihood. If it fails, the client can automatically fall back onto XOVER anyhow. -- Jeremy | jeremy@exit109.com
Re: yEnc decoding implementation
Author: greg andruk
Date: Tue, 21 Jan 2003 06:59
Date: Tue, 21 Jan 2003 06:59
13 lines
2126 bytes
2126 bytes
Russ Allbery wrote: > That makes a lot of sense. So the problem right now is first that the > information isn't in the content-type header and second that there's no > way to tell whether the server supports fast XHDR on content-type or if > that will actually just be way slower? (Not to mention the client > support, but I assume that if it was noticably faster, the client support > would come.) Clients have a bigger problem in that a bunch of servers aren't returning XHDR at all for MIME headers. Supernews hacked around it, but servers runing Highwind stuff don't really have that option.
Re: yEnc decoding implementation
Author: greg andruk
Date: Tue, 21 Jan 2003 10:26
Date: Tue, 21 Jan 2003 10:26
17 lines
2448 bytes
2448 bytes
Russ Allbery wrote: > At this point, you start thinking "you know, what would *really* rock is > if the client could ask the server what the structure of the message is > and what all the parts of it are and then just download the parts that it > wants, like grabbing the text/plain description and then waiting for the > user to decide to click on the attachment before downloading it." And > then you realize that you've just reinvented IMAP. IMAP has some serious problems on the client end. It's not really a problem with the protocol, but with the software people commonly use. Outlook, OE, Eudora and Pine all slow down to the point of uselessness once you throw a reasonably large folder at them, and newsgroups are presented as folders big enough to expose that problem. The Mozilla implementation is a notable exception, but in general IMAP clients aren't being written in a way that's very useful for news.
Re: yEnc decoding implementation
Author: J.B. Moreno
Date: Fri, 24 Jan 2003 06:37
Date: Fri, 24 Jan 2003 06:37
43 lines
3365 bytes
3365 bytes
In article <ylznpvgiwk.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > Jeremy <jeremy@exit109.com> writes: > > > So, essentially, a client entering a large binary group is downloading > > literally tens of thousands of overview entries, in order to build a > > list of a couple dozen files available in the group. That's the part I > > was trying to address with the "grab-one-header" idea -- freeing clients > > from the need to do that, since it doesn't make sense in a binary group > > where almost all of the data is either redundant or unimportant. > > That makes a lot of sense. So the problem right now is first that the > information isn't in the content-type header and second that there's no > way to tell whether the server supports fast XHDR on content-type or if > that will actually just be way slower? (Not to mention the client > support, but I assume that if it was noticably faster, the client support > would come.) Noticeably faster isn't likely to be a problem -- for dialup some groups are simply not accessible without limiting the number of posts because of the time required to return the overview. Even with fast connections, the time difference should be noticeable (essentially "threading" and filtering would be done by the server), particularly for large groups. The problem is that two changes are requires -- the client must change to unmistakably identify binaries (content-type isn't strictly required, xbin would probably do as well, and both would probably be better), and servers must change to support a new NNTP command. Unless clients change it's going to be a bitch for servers to support the new command (identifying multipart binaries can be a bit fuzzy), but there hasn't been any over all direction given to binary newsreaders (there was some informal standard years ago for the Subject, but IMS at that time it was still common to do a binary via UU and cut and paste and that eventually lead to them being dropped and everyone going their own way, nowdays you can't even count on there being a "/" in the Subject). -- J.B. Moreno
Page 2 of 2 • 88 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads