🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25150

Re: Bet nobody else has *this* problem...

#25150
From: Terry Kennedy
Date: Tue, 13 Jan 1998 00:00
27 lines
2049 bytes
Trevor Fiatal <trevor@home.net> writes:
> Perl won't handle integers greater than 2^21, and several of my lusers have
> downloaded over 2GB of news in that 48-hour period.  And these are
> *residential* customers.  One of them, from the looks of it, has passed *4GB*
> by a few dozen megabytes.

  Add a "use Math::BigInt" and make all of your byte stuff BigInts. The only
problem I've had when using BigInt and BigFloat is that fcmp appears to do
lexical compares of numbers expressed in scientific notation, which is about
the most useless thing I've ever seen (as my comments in diablo-stats.pl show).

> I *really* don't want this to turn into a dicksize war, but has anybody else
> ever had reader stats this huge before?  I have the sinking feeling that I'm
> in unexplored territory.  And the jungle drums have just started up...

  Not for readers, but I've bounced off the speed bumps at 2GB (signed int),
4GB (unsigned int) and 10Gb (a %#d format spec, because it would *never* get
_that_ big). I think the code is now safe up to 99.9GB. I hope to either re-
tire or hire a news flunky and delegate this work by the time that happens...
8-)

	Terry Kennedy		  Operations Manager, Academic Computing
	terry@spcvxa.spc.edu	  St. Peter's College, Jersey City, NJ USA
        +1 201 915 9381 (voice)   +1 201 435-3662 (FAX)

Technical Details
Message-ID: <EMq2su.7vt@spcuna.spc.edu>
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!not-for-mail
References: <34bc54cf.289908102@news.corp.home.net>

Show Full Headers
Complete Article Headers
Message-ID: <EMq2su.7vt@spcuna.spc.edu>
Subject: Re: Bet nobody else has *this* problem...
Date: Tue, 13 Jan 1998 00:00:00 +0000
From: Terry Kennedy <terry@spcuna.spc.edu>
References: <34bc54cf.289908102@news.corp.home.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!not-for-mail
X-Deja-AN: 315527421
X-Complaints-To: Email abuse@spc.edu if this posting is inappropriate
X-Trace: spcuna.spc.edu 884694701 9995 terry [192.107.46.131]
Organization: St. Peter's College, US
Newsgroups: news.software.nntp