On 2021-01-17, H e <he1...@hotmail.com> wrote:
Anybody knows why Javascript Math.random() is so slow?
Am the only one, who thinks, that it can be as fast as a computer screen?
Which implementation? As far as I know, all major implementations use xorshift128+, which is very fast with a very impressive period,
2^128-1. It is just a dozen or so machine instructions on a 64bit
machine.
You can read about it here: http://vigna.di.unimi.it/ftp/papers/xorshiftplus.pdf
It will be the next a10. Function will remember a2,...,a10. Next
polynom takes as last polynom multiplier new time produced digit.
I would suggest implementing your scheme and see if it passes the
Diehard test suite. If it does, then see if you can benchmark better
than something from the xorshift family with a similar period.
(I really think that is a tall order though)
https://en.wikipedia.org/wiki/Diehard_tests
Tavis.
--
_o) $ lynx lock.cmpxchg8b.com
/\\ _o) _o) $ finger tav...@sdf.org
_\_V _( ) _( ) @taviso
On 18/01/2021 12:08, H e wrote:
This code does not work in my browser.
That is one of the reasons why no one considers JavaScript to be a
serious programming language - there are far too many variations of it
and far too many inconsistent implementations.
You are trying to learn the basics of programming and software
development. Take the code I posted, and try to find out /why/ it
doesn't work on your browser - and how to change it to make it work.
Oh, and if you intend to use Usenet, please get yourself a newsreader
program (Thunderbird is fine for most people) and a newsserver (news.eternal-september.org is popular and free), and drop the crappy
"google groups" interface. The limitations of google groups show up
quickly when trying to post code.
On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote:
The limitations of google groups show up
quickly when trying to post code.
You are the measure of how fucking insane and inane humanity has become. ESAD.
*Spammer Alert*
On 05/01/2022 10:56, Julio Di Egidio wrote:
On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote:
<snip>
The limitations of google groups show up
quickly when trying to post code.
You are the measure of how fucking insane and inane humanity has
become. ESAD.
*Spammer Alert*
You plonked David *twice* less than a month ago. And here you are
replying to him. The limitations of google groups show up quickly when
trying to plonk someone, especially when he's right and you're wrong.
Here's a tip for you. If you want people to take you seriously, drop the swearing, which marks you out as an adolescent fool.
Well, I guess we've all met stranger characters on Usenet!
On 05/01/2022 23:23, Julio Di Egidio wrote:
On Wednesday, 5 January 2022 at 12:28:02 UTC+1, Richard Heathfield wrote:
On 05/01/2022 10:56, Julio Di Egidio wrote:
On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote:<snip>
The limitations of google groups show up
quickly when trying to post code.
You are the measure of how fucking insane and inane humanity has become. ESAD.
*Spammer Alert*
You plonked David *twice* less than a month ago.
And I'll keep doing it, you other piece of resident spamming shit: not for his sake of course, I have given up on you headless cunts.
ESAD, both of you.
Do you actually know what the term "plonk" means here?
On 05/01/2022 10:56, Julio Di Egidio wrote:
On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote:<snip>
The limitations of google groups show up
quickly when trying to post code.
You are the measure of how fucking insane and inane humanity has become. ESAD.
*Spammer Alert*
You plonked David *twice* less than a month ago.
On Wednesday, 5 January 2022 at 12:28:02 UTC+1, Richard Heathfield wrote:
On 05/01/2022 10:56, Julio Di Egidio wrote:
On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote:<snip>
The limitations of google groups show up
quickly when trying to post code.
You are the measure of how fucking insane and inane humanity has become. ESAD.
*Spammer Alert*
You plonked David *twice* less than a month ago.
And I'll keep doing it, you other piece of resident spamming shit: not for his sake of course, I have given up on you headless cunts.
ESAD, both of you.
*Plonk*
On Wednesday, 5 January 2022 at 23:36:41 UTC+1, David Brown wrote:
On 05/01/2022 23:23, Julio Di Egidio wrote:
On Wednesday, 5 January 2022 at 12:28:02 UTC+1, Richard Heathfield wrote: >>>> On 05/01/2022 10:56, Julio Di Egidio wrote:Do you actually know what the term "plonk" means here?
On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote:<snip>
The limitations of google groups show up
quickly when trying to post code.
You are the measure of how fucking insane and inane humanity has become. ESAD.
*Spammer Alert*
You plonked David *twice* less than a month ago.
And I'll keep doing it, you other piece of resident spamming shit: not for his sake of course, I have given up on you headless cunts.
ESAD, both of you.
It means "fuck you retarded assholes".
On Wednesday, 5 January 2022 at 12:28:02 UTC+1, Richard Heathfield wrote:
On 05/01/2022 10:56, Julio Di Egidio wrote:
On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote:<snip>
The limitations of google groups show up
quickly when trying to post code.
You are the measure of how fucking insane and inane humanity has become. ESAD.
*Spammer Alert*
You plonked David *twice* less than a month ago.
And I'll keep doing it,
On 05/01/2022 22:41, Julio Di Egidio wrote:
On Wednesday, 5 January 2022 at 23:36:41 UTC+1, David Brown wrote:
On 05/01/2022 23:23, Julio Di Egidio wrote:
On Wednesday, 5 January 2022 at 12:28:02 UTC+1, Richard Heathfield wrote: >>>> On 05/01/2022 10:56, Julio Di Egidio wrote:Do you actually know what the term "plonk" means here?
On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote:<snip>
The limitations of google groups show up
quickly when trying to post code.
You are the measure of how fucking insane and inane humanity has become. ESAD.
*Spammer Alert*
You plonked David *twice* less than a month ago.
And I'll keep doing it, you other piece of resident spamming shit: not for his sake of course, I have given up on you headless cunts.
ESAD, both of you.
It means "fuck you retarded assholes".
Wrong.
Freebase puts it well...
"Plonk is a Usenet jargon term for adding a particular poster to one's
kill file such that the poster's future postings are completely ignored.
It was first used in 1989, and by 1994 was a commonly used term on
Usenet regarding kill file additions. The word is an example of
onomatopoeia, intended to humorously represent the supposed sound of the
user hitting the bottom of the kill file."
By the way, Google doesn't support killfiles. Get yourself a real news client. Until you do, claiming plonks your software doesn't support just makes you look foolish.
And swearing still ages you at about 14. Grow up.
On Thursday, 6 January 2022 at 01:32:39 UTC+1, Richard Heathfield wrote:
On 05/01/2022 22:41, Julio Di Egidio wrote:
On Wednesday, 5 January 2022 at 23:36:41 UTC+1, David Brown wrote:
On 05/01/2022 23:23, Julio Di Egidio wrote:
On Wednesday, 5 January 2022 at 12:28:02 UTC+1, Richard Heathfield wrote: >>>>>> On 05/01/2022 10:56, Julio Di Egidio wrote:Do you actually know what the term "plonk" means here?
On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote:<snip>
The limitations of google groups show up
quickly when trying to post code.
You are the measure of how fucking insane and inane humanity has become. ESAD.
*Spammer Alert*
You plonked David *twice* less than a month ago.
And I'll keep doing it, you other piece of resident spamming shit: not for his sake of course, I have given up on you headless cunts.
ESAD, both of you.
It means "fuck you retarded assholes".
Wrong.
Freebase puts it well...
Freebase is certainly not my source of truth
And swearing still ages you at about 14. Grow up.
Shut the fuck up, you hypocritical piece of shit, and go fuck yourself.
Polluters of ponds should be impaled...
*Plonk*
On 06/01/2022 09:21, Julio Di Egidio wrote:
On Thursday, 6 January 2022 at 01:32:39 UTC+1, Richard Heathfield wrote:
On 05/01/2022 22:41, Julio Di Egidio wrote:
On Wednesday, 5 January 2022 at 23:36:41 UTC+1, David Brown wrote:
On 05/01/2022 23:23, Julio Di Egidio wrote:
On Wednesday, 5 January 2022 at 12:28:02 UTC+1, Richard Heathfield wrote:Do you actually know what the term "plonk" means here?
On 05/01/2022 10:56, Julio Di Egidio wrote:
On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote: >>>>>> <snip>
The limitations of google groups show up
quickly when trying to post code.
You are the measure of how fucking insane and inane humanity has become. ESAD.
*Spammer Alert*
You plonked David *twice* less than a month ago.
And I'll keep doing it, you other piece of resident spamming shit: not for his sake of course, I have given up on you headless cunts.
ESAD, both of you.
It means "fuck you retarded assholes".
Wrong.
Freebase puts it well...
Freebase is certainly not my source of truth
Clearly, neither is reality.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 32:58:33 |
Calls: | 6,648 |
Calls today: | 3 |
Files: | 12,193 |
Messages: | 5,328,703 |