🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56743

Re: [yEnc] some newbie questions

#56743
From: Curt Welch
Date: Thu, 21 Feb 2002 21:40
28 lines
2334 bytes
usenet@janc.cjb.net wrote:
> Liyang Hu <newsgroups@nerv.cx> wrote:
>
> > [0] ie. representing 256 different symbols using only 224, say. No
> >     escape codes necessary. (Note that Base64 and UUEncode are just
> >     special cases of this, where we only use 64 different symbols.)
>
> A sort of BASE-224 encoding for Usenet already exists:
> <http://b-news.sf.net/>

Base 251 encoding would be a lot of math overhead and produce almost
exactly the same expansion as the escape expansion already defined for
yEnc.

For each 256 random characters now, yenc would need to expand about 5
characters in that set to twice their size, giving you a 256 to 261
expansion.

Base 251 encodng would turn 256 characters into 256 * 256 / 251 or 261.09
characters giving you a 256 to 261.09 expansion.

And with a fixed encodidng like that, you have no simple options on the
encoding side to escape extra characters.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20020221164013.542$dP@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!jfk3-feed1.news.digex.net!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <yleljh722r.fsf@windlord.stanford.edu> <04477.k22202@archiver.winews.net> <a500oj$736$1@pegasus.csx.cam.ac.uk> <Xns91BC3666AD674JanC@213.119.4.20>

Show Full Headers
Complete Article Headers
Message-ID: <20020221164013.542$dP@newsreader.com>
Subject: Re: [yEnc] some newbie questions
Date: Thu, 21 Feb 2002 21:40:13 +0000
From: curt@kcwc.com (Curt Welch)
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <yleljh722r.fsf@windlord.stanford.edu> <04477.k22202@archiver.winews.net> <a500oj$736$1@pegasus.csx.cam.ac.uk> <Xns91BC3666AD674JanC@213.119.4.20>
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!jfk3-feed1.news.digex.net!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com 9akn,yT/vBWCiBKBNX0nw3CxPCdFznAWE@syeGCRsOwCPJ2
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 27