🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57034

Re: [yEnc] some newbie questions

#57034
From: The Archiver
Date: Tue, 05 Mar 2002 07:05
27 lines
1979 bytes
those who know me have no need of my name <not-a-real-address@usa.net> wrote:

>>Of course the yEncoder has to detect if compression makes sense.
>>A compressor which is not able to detect that the result is larger
>>than the source is not worth thinking about.
>
>so the encoder will keep a couple of hundred megs around to see if, when
>all is said and done the compressed+yenc'd version was reduced enough to
>post?

I am not a writer of compression software.
But from what I've seen in third party source code every good
compressor is working on blocks of information.
And if the compressed result wuld be larger than the original source
then they save a "special token" which indicates "raw, uncompressed".

So if someone would like to use compression on a splitted yEncoded
binary then the posting program would select the data-block (100-900 kBytes) 
from the source, run the compressor on it - and then run the encoder 
on the result of the compressor. Then it is not important what the
compressor did make out of the source bytes. But they should no be
longer than the source (except of a token which indicates 'uncompressable').

-- 
Juergen

Technical Details
Message-ID: <52058.532202@archiver.winews.net>
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!headwall.stanford.edu!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!news.alt.net!usenet
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <a61c2301mmo@enews3.newsguy.com>

Show Full Headers
Complete Article Headers
Message-ID: <52058.532202@archiver.winews.net>
Subject: Re: [yEnc] some newbie questions
Date: Tue, 05 Mar 2002 07:05:52 +0000
From: archiver@i3w.com (The Archiver)
References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <a61c2301mmo@enews3.newsguy.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!headwall.stanford.edu!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 26
X-Newsreader: MyNews