🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56749

Re: [yEnc] some newbie questions

#56749
From: Curt Welch
Date: Thu, 21 Feb 2002 22:45
118 lines
6785 bytes
Liyang Hu <newsgroups@nerv.cx> wrote:
> The Archiver <archiver@i3w.com> wrote:
> > JanC <usenet_spam@janc.cjb.net.invalid> wrote:
> >>Please... No integrated compression!
> > People are talkign about a better encoding (RLE-encoding,
> > compression) again and again. If we do something into this
> > direction then I want to propose to use a _real_ compression -
> > once !
>
> I don't think any of the people who will be doing the actual
> implementation want to do this though. As JanC said, this is a
> application-level issue, and we should not bloat the encoding format
> because of it.

The zlib stuff is already there and is free and is ported to just about
everything and seems simple as hell to hook in.  I don't think we will get
a lot of flak about it.  And if it is "required" only on the decoding side
and is optional on the encoding side, it's even easier to deal with at the
application level.  It basically means only adding one extra call to the
decompress() function for each block of data you decode if the yEnc file
was marked as "compressed".  On the encoding side, supporting it might be a
bit harder.

> >>What you gonna do when there comes a new (free) compression method
> >>that has better compression (maybe on certain popular filetypes)?
> > The performance of compression did not change very much in the
> > last 5 years. So we dont have to expect a drastical improvement in
> > a short time.
>
> And in the long term? I fail to see any widespread usage of the
> Burrow-Wheeler Transform being used outside of the UN*X world.
> Should that eventually catch on under Windows? Will you adopt it?
>
> Research in compression methods is still ongoing, it's most
> definitely not a `done' subject. You never know, we might get a
> drastic improvement in the next couple of years.

The only way to get losless compression much better is to use more CPU
power and more memory.  That IS likely to happen over any extended period
of time, like 50 years.  But I don't see that as a good argument for not
including compression in a yEnc standard.

It is an argument however for makeing it optional on the encoding side, and
potentailly leaving a system open for including different algorithms in
future versions of the standard.

> > However yEnc would be subject to improvement and changes as well
> > as any other format/standard/...
>
> I don't think uuencode has been modified since it was proposed.

Proposed? It was just created.  Much like yEnc :). And yes, it's changed
many times.  There were probaly 20 different versions of it in use at one
time (though it was all minor issues of what characters to use for the
base-64 alphabit).  The big change was replacing space with ` to prevent
systems which trimmed trailing spaces from corrupting uuencoded files.

The decoding was defined as simply (ch-' ') & 0x3f so that meant there
were two possible ASCII characters to use for every character in the base64
character set.  So, to "fix" various character set problems, people
made a lot of minor changes to the "standard" which ended up breaking
a lot of decoders.

> I
> don't think the gzip format has changed since it was originally
> designed either.

gzip was a replacement for compress which was a replacement for compact
which was a replacement for pack.

I don't know if gzip changed, but it was basicly version 4 in a series that
changed every few years.

> Well-designed formats *do not change*. If there's a
> need for change, then it simply shows it wasn't thought out well
> enough to begin with.

Well, that's the point.  yEnc was not well designed was it. :)

If it had been, we wouldn't be talking about version II already. :)

> Think about it: if you keep modifying it, then it won't be the same
> standard anymore. If that's what you propose, then I seriously
> question your use of the word `standard'. Surely you mean `format'?

Yeah, one argument is to try and fix whatever needs to be fixed now
that it's getting a good beta test, and then freeze it.  But maybe
you are right, it might already be too late to create a version
II and get it accepted... :)

> > Compression is something people need and want. And if we give them
> > an efficient, free compressed encoding then life would be far
> > easier than before.
>
> And we'll see this new /encoding/ `standard' being obsoleted every
> couple of years.

Not because of compression.  It's just not going to happen.

Big gains in compression can happen in application specific areas using
lossy compression algorithms, but general purpose loss-less compression is
just not something that is likely to get much better very quickly.  It's
mostly reached it limit already.  To go further, you simply need to be
willing to dedicate a lot more CPU power and memory to the problem.  You
need orders of magnatude improvements in CPU power and memory to get even
minor improvements in compression.

Thinking that lossless compression standards are going to improve every few
years is as silly as assuming that sort algorithms are going to get faster
and faster every few years.

Now, the issue of not getting yEnc II right and needing to fix it again in
a year is another issue...

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20020221174502.029$Tr@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.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!jfk3-feed1.news.digex.net!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!Cidera!portc03.blue.aol.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <3c702e8c.7007252@news> <a4pknt$4pg$2@pegasus.csx.cam.ac.uk> <53488.j22209@archiver.winews.net> <Xns91BAC54949FA0JanC@213.118.38.68> <16567.k22203@archiver.winews.net> <a50334$736$2@pegasus.csx.cam.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <20020221174502.029$Tr@newsreader.com>
Subject: Re: [yEnc] some newbie questions
Date: Thu, 21 Feb 2002 22:45:02 +0000
From: curt@kcwc.com (Curt Welch)
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <3c702e8c.7007252@news> <a4pknt$4pg$2@pegasus.csx.cam.ac.uk> <53488.j22209@archiver.winews.net> <Xns91BAC54949FA0JanC@213.118.38.68> <16567.k22203@archiver.winews.net> <a50334$736$2@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.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!jfk3-feed1.news.digex.net!dca6-feed2.news.digex.net!intermedia!newsfeed1.cidera.com!Cidera!portc03.blue.aol.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com pXC,A,SU3Fw=YBwpP2InlBo4=d4t9.gWYgD.TXx@DoVf_o
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: 117