Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #33463

Re: x === x

From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.lang.javascript
Subject Re: x === x
Date 2017-06-01 01:58 +0100
Organization A noiseless patient Spider
Message-ID <87bmq8y14q.fsf@bsb.me.uk> (permalink)
References <JavaScript-20170530123255@ram.dialup.fu-berlin.de> <2563985.e9J7NaK4W3@PointedEars.de> <42992d96-86e3-4224-b011-5cb32f610a83@googlegroups.com> <randomness-20170531165035@ram.dialup.fu-berlin.de> <1566693.VLH7GnMWUR@PointedEars.de>

Show all headers | View raw


Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:

> Stefan Ram wrote:
>
>> Dr J R Stockton <J.R.Stockton@physics.org> writes:
>>>An ordinary computer design provides no source of true randomness,
>> 
>>   What is "true randomness"?
>
> Uniform distribution of results independent of a start value (seed).

A very simple function can generate numbers with a uniform distribution
that is independent of any seed.  For example, a function producing
1, 1, 1... meets that definition.  If you want some variation, so does,
1, 2, 3, 1, 2, 3, 1, 2, 3...

I don't know of an uncontroversial and universally agreed-upon definition,
so I won't try to offer one.

<snip>
-- 
Ben.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: x === x Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-30 16:21 +0200
  Re: x === x John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-30 19:16 +0100
  Re: x === x Dr J R Stockton <J.R.Stockton@physics.org> - 2017-05-31 08:39 -0700
    Re: x === x Stefan Weiss <krewecherl@gmail.com> - 2017-05-31 18:08 +0200
      Re: x === x Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-06-02 22:27 +0100
    Re: x === x Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-31 21:03 +0200
      Re: x === x Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-06-02 22:12 +0100
    Re: x === x Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-31 21:09 +0200
      Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-01 01:58 +0100
        Re: x === x Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-06-01 05:01 +0200
          Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-01 14:44 +0100
          Re: x === x Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-06-02 21:15 +0100
        Re: x === x Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-01 14:17 +0100
    Re: x === x Julio Di Egidio <julio@diegidio.name> - 2017-06-01 00:10 -0700
      Re: x === x Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-06-02 22:16 +0100

csiph-web