🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56755

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

#56755
From: Liyang Hu
Date: Thu, 21 Feb 2002 23:12
64 lines
3989 bytes
Curt Welch <curt@kcwc.com> wrote:
> zlib seems to be bascially the same code a gzip (thought I'm
> unclear as to the differences).

gzip is the program users use. zlib is the library developers use.
The developers of gzip uses zlib.

>> Those few things that aren't already compressed can and should
>> easily be compressed outside of the encoding step.
> If it's a standard part of the system, then users will never have
> to bother with the extra steps "outside" of their newsreader.

Point is, you're forcing a shite standard on them.

Face it, the algorithm used by zlib is well out of date now. One of
its design decisions was to avoid infringing on patents, and as a
result, it had to make several compromises. It's fine as an every
day compressor, because let's face it, that extra 1% isn't exactly a
difference between life and death. But for certain applications, you
do need the best compression you could possibly get -- anyone who
has had to download the latest Linux kernel sources over a 56k modem
will know what I'm about to point out next: compared to eg. a 28.4MB
gzip'd tarball, the corresponding bzip2'd tarball is nearly 6MB
smaller. You tell me which one I would pick to download.

FYI: The research paper describing the Burrows-Wheeler transform was
only published in 1994. libbz2 was written maybe three, or four
years after that.

Leading on from the last point, here's a Real Life example: Look at
the tar format -- it's, in a way, an encoding for a group of files;
that's all it needs to do, and that's all it does. You then compress
the tarball with gzip, or bzip2, or any other compressor you feel
like on that day.

> If we were to take something like the zlib work and make that a
> standard, then everyone that has a yEnc compatibale newsreader
> will have the correct tool for decompressing and not have to go to
> the trouble of finding a copy of the right tool,

There /is/ no right tool. Only better or worse tools.

> So it might be wise to make the compression a well defined part of
> the standard, but optional.

I think you're trying to combine two separate, well-defined
`standards'. Define a file format that utilises both standards if
you must, but let's try and keep the two `standards' separate.

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

> More thought and testing has to be put into this, but I think it
> would be a mistake to write it off so quickly.

It would be a mistake to take it as the solution that solved all
your problems too quickly^W^W as well. ^_-

/Liyang
-- 
.--| Liyang HU |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--.
| There are two major products that came from Berkeley: LSD & UNIX.      |
| We don't believe this to be a coincidence.       -- Jeremy S. Anderson |
Technical Details
Message-ID: <a53ut8$7i4$4@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!btnet-peer1!btnet-peer0!btnet-peer!btnet!peer.news.eu-x.com!server2.netnews.ja.net!pegasus.csx.cam.ac.uk!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>

Show Full Headers
Complete Article Headers
Message-ID: <a53ut8$7i4$4@pegasus.csx.cam.ac.uk>
Subject: Re: [yEnc] Survey time! (Compression or not?)
Date: Thu, 21 Feb 2002 23:12:40 +0000
From: Liyang Hu <newsgroups@nerv.cx>
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>
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!btnet-peer1!btnet-peer0!btnet-peer!btnet!peer.news.eu-x.com!server2.netnews.ja.net!pegasus.csx.cam.ac.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: University of Cambridge, England
Lines: 63
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))