🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56768

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

#56768
From: Liyang Hu
Date: Fri, 22 Feb 2002 00:58
79 lines
4270 bytes
Curt Welch <curt@kcwc.com> wrote:
>> 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.
> The point of including compression is to make it easy to get
> resonable good compression for stuff that needs it

Is mediocrity really a good thing?

> without having to go elsewhere and without having any doubt that
> the people trying to decode the file will have easy access to the
> tools required.

Point taken. If only the posters of yEnc'd files had realised that
not all people who are trying to decode the file will have easy
access to the tools required. (You know, this being the reason why I
wrote yydecode in the first place?)

>> I think you're trying to combine two separate, well-defined
>> `standards'.
> Of course I am.  But I believe it's a combination that is
> valuable.

PGP (and GPG?) uses it to increase entropy in the plaintext before
enciphering it. That's a valuable combination. yEnc might want to
compress files to even out the character distribution (and
compression being one of several methods to this end), that /might/
be another valuable combination.

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

Are you sure? Check your facts again -- I know this is not true[0].

> Now if there is something simple we could do to make zlib produce
> byte for byte compatable gzip files

You mean, like use the same format?

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

If all it did was the equivalent of:

$ gzip --quick file
$ yenc file.gz
$ [insert your favorite news client]:: post file ::

and say, I had a decoder that didn't implement compression, and I
could do:

$ ydec message-body.txt
$ gunzip file.gz

then I would consider that acceptable. (But still not a great idea.)

>> > 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. ^_-
> True.  I'm not convenced it's the right way to go.

> I'm mostly just trying to stop people from throwing the idea out
> the window without giving it some thought.

And I'm concerned about how people are talking about removing the
need for WinRAR/bzip2/WinZIP/parchive et c.! They'll always be much
better at the job than what we'll come up with, mainly because
compression is not our main focus.

/Liyang
[0] You want to tell me WinZIP is not a commercial application now? ^_-
-- 
.--| Liyang HU |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--.
|  A [programming] language that doesn't affect the way you think        |
|  about programming is not worth knowing.                               |
Technical Details
Message-ID: <a54545$7i4$10@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!news-han1.dfn.de!news-fra1.dfn.de!fu-berlin.de!server1.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> <a53ut8$7i4$4@pegasus.csx.cam.ac.uk> <20020221183904.819$lz@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <a54545$7i4$10@pegasus.csx.cam.ac.uk>
Subject: Re: [yEnc] Survey time! (Compression or not?)
Date: Fri, 22 Feb 2002 00:58:45 +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> <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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-han1.dfn.de!news-fra1.dfn.de!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: 78
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))