🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63671

Re: xBin Message-ID convention

#63671
From: Kjetil Torgrim Homme
Date: Mon, 27 Jan 2003 17:30
28 lines
1726 bytes
[Andy C]:
>
>   X-No-Archive: yes
>
>   [Andy's adaption of the part size algorithm into C++ gives the
>   wrong result]

ouch, that's no good.  I had Perl code which I turned into BASIC like
pseudo code.  the Perl code works, and gives this result:

$ ./partsplit.pl 1234567
315000
315000
292500
312067

>   >    print "part", number_of_parts, "contains", last_block, "bytes"

aha, this line (the last one) should read

 print "part", number_of_parts, "contains", part_size - last_block, "bytes"

thanks for pointing out my mistake!

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Technical Details
Message-ID: <1rlm16fqka.fsf@vingodur.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!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
References: <1rvg0ehvar.fsf@vingodur.ifi.uio.no> <fVVY9.1752922$%W4.250795@news.easynews.com>

Show Full Headers
Complete Article Headers
Message-ID: <1rlm16fqka.fsf@vingodur.ifi.uio.no>
Subject: Re: xBin Message-ID convention
Date: Mon, 27 Jan 2003 17:30:45 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <1rvg0ehvar.fsf@vingodur.ifi.uio.no> <fVVY9.1752922$%W4.250795@news.easynews.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!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
Newsgroups: news.software.nntp
Organization: Dept. of Informatics, Univ. of Oslo, Norway
Lines: 27
NNTP-Posting-Host: vingodur.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 1043688646 4232 129.240.68.200 (27 Jan 2003 17:30:46 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 27 Jan 2003 17:30:46 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7