🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62475

Re: xBin (Power-Post 2003 - requesting input from authorities..)

#62475
From: Kjetil Torgrim Homme
Date: Sat, 28 Dec 2002 12:31
47 lines
3492 bytes
[Curt Welch]:
>
>   I think it might also leave enough bytes to allow the header to be
>   folded at a resonable line legnth like 75 which as well and still
>   keep the header under the 997 number.

each hash is 27 characters, so when you put two of them on a folded
line it will be SPC + 27 + SPC + 27 + CRLF == 58 characters.  the
"real" length of the ASCII representation of a hash is thus 29
characters.

>   But, unlike References: this is a header that we can not risk
>   allowing it to be corrupted. If it's corrupted on 50 posts out of
>   a 2000 part set which hits the worse case, and gets rejected all
>   over the place as being invalid, we would have a nasty little
>   problem.

good point.

>   > I think 4500 is too small, 64 KiB would be a good choice, or
>   > perhaps 32 KiB.
>   [...]
>   A 64K hash block size means the article size difference can be as
>   much as 180K different.  On average, you will expect a difference
>   of 1.5 blocks which would be 130KB for uuencoded posts (or 96K for
>   yEnc).  That strikes me as too large a difference.

that was why I went back and added "or perhaps 32 KiB" after seeing my
own numbers :-)

>   For 22500 byte blocks (500 uu lines), the max part size difference
>   would be 61K.  Or, for a 2000 line per post uuencoded file (126K
>   article), the last part could be as small as 1001 lines.

I think we need to specify a better algorithm.  that last part should
be 1501 lines, really.  the degenerate case is 3001 lines, which leads
1500+1501, which is odd, but not problematic.  anyway, I'd argue that
this should not have been sent as a multipart in the first place.  if
the number of blocks in the minimally sized multipart file is 8, you
only need ways of dividing 9 or more blocks evenly across parts.

(8 blocks of 22500 == 240 kB after adding uuencode overhead.)

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Technical Details
Message-ID: <1rbs36gwag.fsf@tva.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.teledanmark.no!news.equant.no!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <cfka0vsbjdlbdmtv2gg8qnehok033qh5f1@4ax.com> <20021223041127.986$6M_-_@newsreader.com> <1rfzsoaacf.fsf@vingodur.ifi.uio.no> <20021223150103.132$Bb@newsreader.com> <1rd6ns9y06.fsf@tolf.ifi.uio.no> <20021223181329.108$LI@newsreader.com> <1rfzsjz87r.fsf@sjau.ifi.uio.no> <20021227144125.156$Nm@newsreader.com> <1rsmwjxgk5.fsf@sjau.ifi.uio.no> <20021228023313.941$tN@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <1rbs36gwag.fsf@tva.ifi.uio.no>
Subject: Re: xBin (Power-Post 2003 - requesting input from authorities..)
Date: Sat, 28 Dec 2002 12:31:03 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <cfka0vsbjdlbdmtv2gg8qnehok033qh5f1@4ax.com> <20021223041127.986$6M_-_@newsreader.com> <1rfzsoaacf.fsf@vingodur.ifi.uio.no> <20021223150103.132$Bb@newsreader.com> <1rd6ns9y06.fsf@tolf.ifi.uio.no> <20021223181329.108$LI@newsreader.com> <1rfzsjz87r.fsf@sjau.ifi.uio.no> <20021227144125.156$Nm@newsreader.com> <1rsmwjxgk5.fsf@sjau.ifi.uio.no> <20021228023313.941$tN@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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.teledanmark.no!news.equant.no!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: Dept. of Informatics, Univ. of Oslo, Norway
Lines: 46
NNTP-Posting-Host: tva.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 1041078663 13339 129.240.65.202 (28 Dec 2002 12:31:03 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 28 Dec 2002 12:31:03 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7