🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56767

Re: [yEnc] Survey time! (Compression or not?)

#56767
From: Russ Allbery
Date: Fri, 22 Feb 2002 00:40
36 lines
2828 bytes
Curt Welch <curt@kcwc.com> writes:
> Liyang Hu <newsgroups@nerv.cx> wrote:

>> (And there's no reason why you couldn't just use the existing gzip
>> format for compression.)

> You can't use gzip source in a commercial application even if you could
> clone the code and use the same format.  Now if there is something
> simple we could do to make zlib produce byte for byte compatable gzip
> files and allow people that have yEnc support but not a version which
> supported compression, to use gzip to uncompress the file, that would be
> wise to do.

I don't think you realize what zlib is.  zlib is the compression portions
of gzip under a wide-open license.  The output of zlib *is* a gzip file.
There is no difference.

I have no idea how to get zlib to generate a file that gzip *can't* read.
I'm not sure it's possible.

gzip is still the best choice, in my opinion, for everyday compression.
bzip2 gets slightly better compression and takes ten times as long.  The
ZIP format combines an archive format with a compression format, and is
therefore a more complicated beast.

(I definitely don't think that compression should be included as part of
the encoding, however.  I think we're very much straying into the
"reinventing MIME poorly" territory now -- well, I thought that was true
from the moment that multipart handling got added.)

-- 
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: <yleljecpr8.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: <a504os$736$6@pegasus.csx.cam.ac.uk> <200220022141483852%planb@newsreaders.com> <20020220230116.405$a3@newsreader.com> <1014270020.729921@ok-corral.gunslinger.net> <20020221152617.647$FV@newsreader.com> <a53ut8$7i4$4@pegasus.csx.cam.ac.uk> <20020221183904.819$lz@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <yleljecpr8.fsf@windlord.stanford.edu>
Subject: Re: [yEnc] Survey time! (Compression or not?)
Date: Thu, 21 Feb 2002 16:40:59 -0800
From: Russ Allbery <rra@stanford.edu>
References: <a504os$736$6@pegasus.csx.cam.ac.uk> <200220022141483852%planb@newsreaders.com> <20020220230116.405$a3@newsreader.com> <1014270020.729921@ok-corral.gunslinger.net> <20020221152617.647$FV@newsreader.com> <a53ut8$7i4$4@pegasus.csx.cam.ac.uk> <20020221183904.819$lz@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!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 35
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1014338459 28114 171.64.13.23 (22 Feb 2002 00:40:59 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:TOCi7JLeDcX/Xz89esbB07x8aCs=