Article View: news.software.nntp
Article #56601Re: [yEnc] some newbie questions
From: Liyang Hu
Date: Mon, 18 Feb 2002 02:50
Date: Mon, 18 Feb 2002 02:50
31 lines
2264 bytes
2264 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Liyang Hu] >> Personally, I think it should be up to the user to compress their >> own data. Remember, this is an encoding format, not another >> compressed file format. Keep it simple. > Agreed, but the current = escape is wasteful. Only seven of 256 > possible codes are used/needed. Seven? Where did you get that number from? (NUL, TAB, CR, LF and `='. That's five at most.) And there are only 256-5 = 251 possible codes. > The remainder could be used for some common predefined byte > sequences. Right ... we've just agreed that it would be best if the input stream is random (due to compression). Care to list some `common' byte sequences? To avoid the `complexity' of borrowing zlib code, the other solution is to just mix (XOR or add) the input data with a pseudo-random sequence. A simple random number generator (with a fixed seed) is sufficient to ensure that statistically, we've little or no skew in the character distribution. /Liyang -- .--| Liyang HU |--| http://nerv.cx/ |--| Caius@Cam |--| ICQ: 39391385 |--. | > Ever heard of .cshrc? | | That's a city in Bosnia. Right? |
Technical Details
Message-ID:
<a4pq59$a4e$1@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!logbridge.uoregon.edu!fu-berlin.de!server1.netnews.ja.net!pegasus.csx.cam.ac.uk!not-for-mailReferences:
<3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <3c702e8c.7007252@news> <a4pknt$4pg$2@pegasus.csx.cam.ac.uk> <1rn0y77ebu.fsf@sex.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <a4pq59$a4e$1@pegasus.csx.cam.ac.uk>
Subject: Re: [yEnc] some newbie questions
Date: Mon, 18 Feb 2002 02:50:17 +0000
From: Liyang Hu <newsgroups@nerv.cx>
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <3c702e8c.7007252@news> <a4pknt$4pg$2@pegasus.csx.cam.ac.uk> <1rn0y77ebu.fsf@sex.ifi.uio.no>
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!logbridge.uoregon.edu!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: 30
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))