Article View: news.software.nntp
Article #56535Re: [yEnc] some newbie questions
From: Kjetil Torgrim Homme
Date: Sat, 16 Feb 2002 01:48
Date: Sat, 16 Feb 2002 01:48
33 lines
2136 bytes
2136 bytes
[Liyang Hu] > >> A lot of binaries are using a lot of NULL characters > > Is this true? Much more so than other byte values? > > This is a total misconception. Really? There are two cases: If the data is compressed, the distribution is pretty uniform, and ROT42 doesn't make any difference. If the data isn't compressed, there will typically be a lot of NUL bytes (think BMP and WAV). Since yEnc has to escape NUL, CR and LF (and only these octets), it is very important to make sure that these byte values appear seldom. > There are much better ways of removing skew from the symbol > distribution -- eg. XORing the data bytes with a pseudo-random > sequence, or better, compress it. Then it wouldn't be a quick hack to implement it, would it? > Adding 42 just shifts the skew elsewhere. Exactly. > Must have been a fan of ``The Hitchiker's Guide to the > Galaxy''. Not the best of reasons ... It's a bit arbitrary, but not entirely. Why don't you look up the discussion? -- Kjetil T.
Technical Details
Message-ID:
<1rr8nmjix6.fsf@fjorir.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!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mailReferences:
<3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <1rr8nmjix6.fsf@fjorir.ifi.uio.no> Subject: Re: [yEnc] some newbie questions Date: Sat, 16 Feb 2002 01:48:37 +0000 From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> References: <3c6e6798.9093644@news> <a4kc41$ou1$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!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail Newsgroups: news.software.nntp Organization: Dept. of Informatics, Univ. of Oslo, Norway Lines: 32 NNTP-Posting-Host: fjorir.ifi.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: maud.ifi.uio.no 1013824118 15864 129.240.66.164 (16 Feb 2002 01:48:38 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 16 Feb 2002 01:48:38 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7