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


Groups > comp.programming > #11857 > unrolled thread

Making random numbers. An idea.

Started byH e <he12457@hotmail.com>
First post2021-01-19 07:46 -0800
Last post2021-01-19 18:51 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.programming


Contents

  Making random numbers. An idea. H e <he12457@hotmail.com> - 2021-01-19 07:46 -0800
    Re: Making random numbers. An idea. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-19 18:51 +0000

#11857 — Making random numbers. An idea.

FromH e <he12457@hotmail.com>
Date2021-01-19 07:46 -0800
SubjectMaking random numbers. An idea.
Message-ID<e554b373-e07c-4510-978d-2f6e673097f2n@googlegroups.com>
How to make them for example?

First need: Functions for calculating with as big numbers as possible.
Now it is needed to calculate values of sequence: 
√1, √2, √3,√4,√5 and so on.
It will take numbers from the digits in n=5(for example) number groups.
In the meanwhile it is needed to get mouse positions, to make the sequence more random. The looking for mouse locations starts, when the page is loaded. Mouse location x,y will produce 5 digit number. When getting new random number, the idea is make the sequence as random as possible. So it would be good to put as neighbours 2 different sequences numbers - the √y and mouse location number. When this is not possible, then the sequence will take as next number to √y produced number the √(y+1) produced number.



He
372 6861327
rob999999999 yahoo co m

[toc] | [next] | [standalone]


#11860

FromRichard Heathfield <rjh@cpax.org.uk>
Date2021-01-19 18:51 +0000
Message-ID<ru79nn$3u6$1@dont-email.me>
In reply to#11857
On 19/01/2021 15:46, H e wrote:
> How to make them for example?
> 
> First need: Functions for calculating with as big numbers as possible.
> Now it is needed to calculate values of sequence:
> √1, √2, √3,√4,√5 and so on.

These are not random numbers.

> It will take numbers from the digits in n=5(for example) number groups.
> In the meanwhile it is needed to get mouse positions, to make the sequence more random.

Neither are these.

> The looking for mouse locations starts, when the page is loaded. Mouse location x,y will produce 5 digit number.

These values will cluster around interactive features (links, buttons, 
drop-down menus, etc), because that's where the mouse pointer spends 
most of its time.

  > When getting new random number, the idea is make the sequence as 
random as possible.

If it's a sequence, it isn't random.

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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web