Article View: news.software.nntp
Article #56570Re: [yEnc] some newbie questions
From: J.B. Moreno
Date: Sat, 16 Feb 2002 23:01
Date: Sat, 16 Feb 2002 23:01
59 lines
3775 bytes
3775 bytes
In article <a4ko92$3ol$2@pegasus.csx.cam.ac.uk>, Liyang Hu <newsgroups@nerv.cx> wrote: > J.B. Moreno <planb@newsreaders.com> wrote: > > Liyang Hu <newsgroups@nerv.cx> wrote: > >> On a further point, limiting the length of the lines just to > >> accommodate Pascal seems like another rather silly thing to do. > > The lines are limited by NNTP which says no more than a 1000 bytes > > per line (including CRLF). > > Then you might want to mention this in the yEnc specs, surely? I'd expect people implementing newsreaders to be aware of things like that -- but given the problem with the leading period, I guess so. > > The lines are NOT limited to accommodate Pascal -- I made a > > suggestion (which has been effectively ignored) to accommodate > > Pascal by having a *default* line length of 254/255, instead the > > default has turned out to be 128/129. > > Kay ... well, that was the only reason I saw mentioned. Sorry if I'm > being a bit slow at figuring out the decisions behind the encoding! > (After all, I've only looked into this a couple of days ago ...) No problem. > > BTW -- note that after 254/255, you quickly get into diminishing > > returns for increasing the line length; at 128 the overhead for > > CRLF is 1.5625%, at 254 the overhead is 0.7874%, at 512 it's > > 0.3906%. At the maximum allowed by NNTP 997/998 it's 0.2006%. > > I.e. going from 254 to 997 gains you a half of a percent. > > Yes, thanks. I do maths. ^_- Didn't mean to be insulting, just throwing out the numbers to make it clear what is happening. > > So, to me, accommodating Pascal makes sense -- it's easy and it's > > drops the overhead to less than 1%, at which point I say, enoughs > > enough. > > Still wouldn't say it was an overwhelming reason though. (Isn't this > contradicting what you just said two paragraphs above?) No. I said I think it *should* be limited in a way that accommodate Pascal, but that it's not. Yes, I know that you get better results if you don't, and that even in Pascal it's not that difficult to work with the longer lines, and of course you always have to be prepared to handle the longer lines -- still it *is* a bit easier, and the results aren't all that much better. > I would have said that keeping the line width below 80 characters is > more important, if only to stay in line with existing encodings. But > still, when it comes down to it, it doesn't really matter ... I see absolutely no benefit in keeping the line width below 80 chars. The 80 char limit is for text that is going to be displayed for reading, yEnc isn't a format that is intended to be read.
Technical Details
Message-ID:
<160220021801571662%planb@newsreaders.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!canoe.uoregon.edu!logbridge.uoregon.edu!feeder.qis.net!nntp.abs.net!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!Cidera!portc01.blue.aol.com!feed1.newsreader.com!news2.newsreader.com!flame.newsreader.com!planbReferences:
<3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <150220022259228516%planb@newsreaders.com> <a4ko92$3ol$2@pegasus.csx.cam.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <160220021801571662%planb@newsreaders.com> Subject: Re: [yEnc] some newbie questions Date: Sat, 16 Feb 2002 18:01:57 -0500 From: "J.B. Moreno" <planb@newsreaders.com> References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <150220022259228516%planb@newsreaders.com> <a4ko92$3ol$2@pegasus.csx.cam.ac.uk> 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!canoe.uoregon.edu!logbridge.uoregon.edu!feeder.qis.net!nntp.abs.net!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!Cidera!portc01.blue.aol.com!feed1.newsreader.com!news2.newsreader.com!flame.newsreader.com!planb Newsgroups: news.software.nntp MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8bit User-Agent: Thoth/1.5.0 (Carbon/OS X) X-Trace: flame.newsreader.com /jKT//zxyc..okof1QCU75Ku9BFnSYpGI0zskZREEwOXKkvVH Lines: 58