🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56591

Re: [yEnc] some newbie questions

#56591
From: Russ Allbery
Date: Sun, 17 Feb 2002 23:43
25 lines
2049 bytes
=-lordsnow-= <lordsnow@home.nl> writes:

> The two problems above may be soved by using the following compression
> scheme (example taken from the BinHex RFC):

>       2) Compression of repetitive characters.

>    ($90 is the marker, encoding is made for 3->255 characters)

>    00 11 22 33 44 55 66 77   -> 00 11 22 33 44 55 66 77
>    11 22 22 22 22 22 22 33   -> 11 22 90 06 33
>    11 22 90 33 44            -> 11 22 90 00 33 44

Yes, compression can help, but that just means that people should compress
the file before sending it.  You don't want to do compression as part of
the encoding; it adds a ton of complexity to the encoding method without
giving as good of compression as a good gzip or zip beforehand, and most
of the files sent over Usenet are already compressed.

-- 
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.
Technical Details
Message-ID: <ylpu33brp0.fsf@windlord.stanford.edu>
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!nntp.stanford.edu!not-for-mail
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <3c702e8c.7007252@news>

Show Full Headers
Complete Article Headers
Message-ID: <ylpu33brp0.fsf@windlord.stanford.edu>
Subject: Re: [yEnc] some newbie questions
Date: Sun, 17 Feb 2002 15:43:07 -0800
From: Russ Allbery <rra@stanford.edu>
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <3c702e8c.7007252@news>
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!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 24
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1013989387 4424 171.64.13.23 (17 Feb 2002 23:43:07 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:t0GkDHtJ57w+70Z6m8Nq5qhc6o8=