• Re: Fast randomizer

    From =?UTF-8?B?SMOkcnJhIFJhbW9i?=@21:1/5 to All on Wed Jan 5 00:39:01 2022
    Hi....................

    Want to make business together?



    Mister Kristjan Robam
    hrramob@@@@@@mail.ee

    Tavis Ormandy kirjutas Pühapäev, 17. jaanuar 2021 kl 23:11:49 UTC+2:
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julio Di Egidio@21:1/5 to David Brown on Wed Jan 5 02:56:59 2022
    On Monday, 18 January 2021 at 12:19:15 UTC+1, David Brown wrote:
    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.

    It is you who are an incompetent fucking clown just repeating some bullshit you read in the blogs.

    JS, "the world's most misunderstood programming language", indeed is a *wonderful* language (modulo the pseudo-OO bullshit they have been adding to it thanks, again, to the ultimate morons who have been asking for it, but one can ignore that just stuff...
    )

    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.

    You are the measure of how fucking insane and inane humanity has become. ESAD.

    *Spammer Alert*

    Julio

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Heathfield@21:1/5 to Julio Di Egidio on Wed Jan 5 11:27:58 2022
    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.

    --
    Richard Heathfield
    Email: rjh at cpax dot org dot uk
    "Usenet is a strange place" - dmr 29 July 1999
    Sig line 4 vacant - apply within

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Brown@21:1/5 to Richard Heathfield on Wed Jan 5 16:00:46 2022
    On 05/01/2022 12:27, 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 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.


    He is also responding to a year-old post, which does not make him look
    any better!

    I can't figure out Julio - I wonder if it is two people using the same
    account. Sometimes he makes appropriate posts - polite enough and
    on-topic for the threads, and generally contributing to this (and other) newsgroups. And sometimes he makes posts that are just random swearing
    and accusations of spamming.

    I've had a few people plonk me over the years, as the result of
    long-standing disagreements or character clashes - that's fair enough.
    Anyone is free to read my posts and free to ignore them. But I have
    never spam-posted, and his "plonk" posts came out of the blue.

    And I can't imagine any justification someone could have for plonking
    /you/, or Ben - as Julio has claimed to do.

    Well, I guess we've all met stranger characters on Usenet!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Heathfield@21:1/5 to David Brown on Wed Jan 5 16:35:46 2022
    On 05/01/2022 15:00, David Brown wrote:
    Well, I guess we've all met stranger characters on Usenet!

    Truly it has been said: Usenet is a strange place.

    --
    Richard Heathfield
    Email: rjh at cpax dot org dot uk
    "Usenet is a strange place" - dmr 29 July 1999
    Sig line 4 vacant - apply within

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julio Di Egidio@21:1/5 to David Brown on Wed Jan 5 14:41:18 2022
    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:
    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?

    It means "fuck you retarded assholes".

    ESAD.

    *Plonk*

    Julio

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julio Di Egidio@21:1/5 to Richard Heathfield on Wed Jan 5 14:23:38 2022
    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*

    Julio

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Brown@21:1/5 to Julio Di Egidio on Wed Jan 5 23:36:37 2022
    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.

    *Plonk*


    Do you actually know what the term "plonk" means here? It seems more
    likely that you are just an ignorant plonker.


    (Apologies to any non-British people here, who may not know the slang
    term "plonker".)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Heathfield@21:1/5 to Julio Di Egidio on Thu Jan 6 00:32:35 2022
    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:
    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?

    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.

    --
    Richard Heathfield
    Email: rjh at cpax dot org dot uk
    "Usenet is a strange place" - dmr 29 July 1999
    Sig line 4 vacant - apply within

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Heathfield@21:1/5 to Julio Di Egidio on Thu Jan 6 00:24:18 2022
    On 05/01/2022 22: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,

    So what you're saying is that you don't know what "plonk" means. Got it.

    --
    Richard Heathfield
    Email: rjh at cpax dot org dot uk
    "Usenet is a strange place" - dmr 29 July 1999
    Sig line 4 vacant - apply within

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julio Di Egidio@21:1/5 to Richard Heathfield on Thu Jan 6 01:21:26 2022
    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:
    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?

    It means "fuck you retarded assholes".

    Wrong.

    Freebase puts it well...

    Freebase is certainly not my source of truth, you piece retarded shit.

    "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.

    Shut the fuck up, you hypocritical piece of shit, and go fuck yourself.

    Polluters of ponds should be impaled...

    *Plonk*

    Julio

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Heathfield@21:1/5 to Julio Di Egidio on Thu Jan 6 09:38:03 2022
    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: >>>>>> 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?

    It means "fuck you retarded assholes".

    Wrong.

    Freebase puts it well...

    Freebase is certainly not my source of truth

    Clearly, neither is reality.

    And swearing still ages you at about 14. Grow up.

    Shut the fuck up, you hypocritical piece of shit, and go fuck yourself.

    Does your mother know you're using the Internet?

    Polluters of ponds should be impaled...

    *Plonk*

    How predictable. I could simulate you with a bot.

    To save you further embarrassment, I'll plonk you and show you how it's
    done.

    *Plonk*

    --
    Richard Heathfield
    Email: rjh at cpax dot org dot uk
    "Usenet is a strange place" - dmr 29 July 1999
    Sig line 4 vacant - apply within

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Julio Di Egidio@21:1/5 to Richard Heathfield on Thu Jan 6 01:48:35 2022
    On Thursday, 6 January 2022 at 10:38:07 UTC+1, Richard Heathfield wrote:
    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:
    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?

    It means "fuck you retarded assholes".

    Wrong.

    Freebase puts it well...

    Freebase is certainly not my source of truth

    Clearly, neither is reality.

    Shut the fuck up, you hypocritical piece spamming of shit, and go fuck yourself.

    Polluters of ponds should be impaled...

    *Plonk*

    Julio

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)