🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #85784

Yum, Crow (was:Re: xnews filesize)

#85784
From: fD
Date: Fri, 19 Oct 2001 21:32
48 lines
3097 bytes
Robert Amesz <reqhye72zux@mailexpire.com> offered, in
news:Xns913E207A2FE7Frcamesz@amesz.demon.nl: 

> fD wrote:
> 
>> [filesizes of binaries]

>> One thing to keep in mind is that the encoding process of 
>> turning a binary into text is that it increases the file size 
>> roughly 50% to 100%, or even more in cases.  This means if a 
>> file is 1MB once downloaded and decoded, you will probably 
>> have to dl 1.5MB or more of data.

> That can't be right. Both UUENCODE and BASE64 encode 6 bits
> per byte, and there's some overhead because it's chopped up
> into relatively short lines. A typical line would have a
> payload of 60 characters, yielding 45 bytes of real data. For 
> UUENCODE, there's an overhead of 3 bytes per line (length code 
> + CR + LF), so the total cost for each line rises to 63. That 
> means a file will get 63/45, or 1.42 times as long. Using
> BASE64 (aka MIME encoding; it has only two bytes overhead per 
> line) and using 72 characters (yielding a 54 byte payload) per 
> line this would be 1.37.

> The fixed overhead per message is harder to estimate, but
> will be roughly 1 to 2 Kb. For files of a 100 Kb this would
> add 0.01 to 0.02 to the ratios above, but 1.44 is still well
> below the 1.5 to 2.0, as stated above.

Last night I was messing around with Binny, and I noticed that 
it shows the size of multipart binaries taken as a whole.  Soo I 
decided to compare a few to the downloaded, decoded size.  This 
is a completely unscientific sampling, but it does indicate how 
right you are (and how wrong I were):

type  on server       decoded   gain in size when encoded

asf	1.44 MB		1.02 MB	41%
jpg	35.9 KB		24.6 KB	46%
jpg	162.74 KB	    	115 KB	42%
jpg	143.22 KB	    	101 KB	42%
mpg	1.77 MB		1.25 MB	42%
wmv	796.82 KB	    	568 KB	40%
mpg	1.55 MB		1.1 MB	41%

-- 
fLameDogg, eatin' the feathers too.
Technical Details
Message-ID: <Xns913FA5AB7F563imamidnighttoken@The.Hot.Dogg.House>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!host-216-76-253-112.pns.bellsouth.NET!not-for-mail
References: <Xns913D53184D01Dtomaolde@194.231.40.11> <Xns913D149112604imamidnighttoken@The.Hot.Dogg.House> <Xns913E207A2FE7Frcamesz@amesz.demon.nl>

Show Full Headers
Complete Article Headers
Message-ID: <Xns913FA5AB7F563imamidnighttoken@The.Hot.Dogg.House>
Subject: Yum, Crow (was:Re: xnews filesize)
Date: Fri, 19 Oct 2001 21:32:11 +0000
From: fD <flamedogg@hotmail.com>
References: <Xns913D53184D01Dtomaolde@194.231.40.11> <Xns913D149112604imamidnighttoken@The.Hot.Dogg.House> <Xns913E207A2FE7Frcamesz@amesz.demon.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!host-216-76-253-112.pns.bellsouth.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 47
NNTP-Posting-Host: host-216-76-253-112.pns.bellsouth.net (216.76.253.112)
X-Trace: fu-berlin.de 1003527131 26490854 216.76.253.112 (16 [51796])
User-Agent: Xnews/4.06.22
X-Face: %8=mmAAFvK^.+sI[NQr`@AKy8U:=hw:eip].hZR"cLMO9+o1<t$E!"8aUv_78|DPA[GA!U=%n89`?O6M)ffcQvtZXYjsW+ZR@~d<r{F4_>iRd!kp!.J}>N&|byZ!5;`44f|*a=lZc[CC,EgWj;sndR|W_zT#SFm72sC^nhN~!GTA(8dmhs#YZ.TIC`}wz!W~)X8{yUo.-AkvK,~lB(9)jWpUg<d??2