🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56539

Re: [yEnc] some newbie questions

#56539
From: Liyang Hu
Date: Sat, 16 Feb 2002 04:47
45 lines
2951 bytes
J.B. Moreno <planb@newsreaders.com> wrote:
> In article <a4kc41$ou1$2@pegasus.csx.cam.ac.uk>, 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?

> 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 ...)

> 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. ^_-

> 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?)

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 ...

mata ne,
/Liyang
-- 
.--| Liyang HU |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--.
| Real computer scientists don't write in assembler.                     |
| They don't write in anything less portable than a number two pencil.   |
Technical Details
Message-ID: <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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!server1.netnews.ja.net!pegasus.csx.cam.ac.uk!not-for-mail
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <150220022259228516%planb@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <a4ko92$3ol$2@pegasus.csx.cam.ac.uk>
Subject: Re: [yEnc] some newbie questions
Date: Sat, 16 Feb 2002 04:47:30 +0000
From: Liyang Hu <newsgroups@nerv.cx>
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <150220022259228516%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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!server1.netnews.ja.net!pegasus.csx.cam.ac.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: University of Cambridge, England
Lines: 44
Sender: Liyang Hu <lh259@portal.acad.cai.cam.ac.uk>
NNTP-Posting-Host: portal.acad.cai.cam.ac.uk
User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.17-xfs+lvm10+intl (i686))