Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: DFS
Newsgroups: comp.os.linux.advocacy
Subject: Re: Why Python When There Is Perl?
Date: Sun, 24 Mar 2024 11:33:24 -0400
Organization: A noiseless patient Spider
Lines: 64
Message-ID:
References: <17be420c4f90bfc7$63225$1585792$802601b3@news.usenetexpress.com>
<17be75acfaf8f0f4$2017$3384359$802601b3@news.usenetexpress.com>
<17bebbae334656b9$74345$2906873$802601b3@news.usenetexpress.com>
<17bf321f9c15028e$2$2218499$802601b3@news.usenetexpress.com>
<17bf5ce92e8c43b4$672$1351842$802601b3@news.usenetexpress.com>
<17bf8777050f5c1e$7$2218499$802601b3@news.usenetexpress.com>
<66000101$0$5287$426a74cc@news.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 24 Mar 2024 15:33:23 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5a3861fefbc5430b85b2f138d27cfc35";
logging-data="467012"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HvfOGXjLYmkvBJsstLpUE"
User-Agent: Betterbird (Windows)
Cancel-Lock: sha1:2c3rSF7+7ngPbtCm78+RrSDRgfc=
Content-Language: en-US
In-Reply-To:
Bytes: 3302
On 3/24/2024 9:35 AM, vallor wrote:
> rather than eating humble pie, he (tries to) call
> out 'froup denizens who didn't inform him of his mistake.
He once posted some of his crap .asm code. When I didn't notice how bad
a section of it was:
-----------------------------------------------------------------------
But the original asm code that I posted did contain a GLARING
ERROR and you missed it completely.
That error should be EXTREMELY OBVIOUS to any competent programmer
but you missed it totally.
I won't even give you a hint. Let's see if you can locate it.
But you won't. Ha, ha, ha, ha, ha! You can't.
The only reason that the error was there is because, in my haste,
I blindly cut and pasted some code.
The fact, however, that you MISSED IT COMPLETELY only proves
that you haven't a fucking clue.
-----------------------------------------------------------------------
Mommy!!!
> ObLinux:
> $ man primes
to screen
$ time primes 1 100000000 (100M)
real 0m26.515s
user 0m0.943s
sys 0m5.111s
to file
$ time primes 1 100000000 > primes.txt (also 100M)
real 0m0.319s
user 0m0.309s
sys 0m0.010s
primes.txt is 49.9MB, contains 5,761,455 prime numbers.
3/10ths of a second to generate 5.7M primes and write them to a file? I
must say: C on Linux is my performance hero.
https://www.unix.com/man-page/netbsd/6/primes/
BUGS
primes won't get you a world record.
Per wikipedia, the world record biggest prime is 2^82,589,933 − 1, which
has 24,862,048 digits when written in base 10.
source
https://github.com/vattam/BSDGames/blob/master/primes/primes.c