08-28-2025, 07:47 PM
...And Schrodinger's cat is always alive in some other universe.
Pete
Pete
|
Random Numbers
|
|
08-28-2025, 07:47 PM
...And Schrodinger's cat is always alive in some other universe.
Pete
08-30-2025, 12:19 AM
(08-28-2025, 07:06 PM)Herve Wrote: Hi,Interesting site - who knew? You did! Thanks!
10-18-2025, 02:36 PM
Some time ago I thought that I would amuse myself by writing a program to generate quasi-random numbers. And the interest would be to see if the 'randomness' would be anything like RND. The attach code is what I came up with. I knew that code-produced 'random number' generation had something to do with very large number manipulations. Steve McNeill has shown how the QB64 RND function works. The details of my attempt are not worth exploring here, and the only point of interest is how 'random' my numbers were. The image shows a distribution of the output and the superficial analysis suggests the numbers are reasonably random, and the function worked well when replacing RND in an actual program. A minor (
) down-side is that this function is over 1000 times slower than RND - but I was pleased! (And I suppose that we have all attempted something similar at some idle moment).Code: (Select All)
10-19-2025, 05:31 AM
i'm learning common lisp.
where i discovered something. the great experts at programming. don't know how to make "platform independent." so be glad basic has randomize timer. that's all folks.
Cloudflare uses lava 100 lamps to generate random numbers for use in cryptogrophy:
https://blog.cloudflare.com/randomness-1...roduction/ Pretty neat stuff.
10-19-2025, 10:26 PM
It only works because nobody would ever want to steal anything from anybody who who owned a lava lamp, least of all 100 of them!
Pete - The 70's called and they say they're doing fine without me! |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Strings - Numbers | Kernelpanic | 0 | 110 |
01-20-2026, 10:29 PM Last Post: Kernelpanic |
|
| using pseudo-random numbers for repeatable content - kind of a neat trick | madscijr | 5 | 1,003 |
02-13-2025, 11:12 PM Last Post: Pete |
|
| random numbers | badger | 8 | 1,383 |
11-08-2024, 02:22 AM Last Post: DANILIN |
|
| Identifying colour attributes with negative numbers | CharlieJV | 1 | 575 |
01-28-2023, 05:16 AM Last Post: CharlieJV |
|
| Anybody use decimals for line numbers? | Pete | 6 | 1,108 |
08-05-2022, 03:28 AM Last Post: bplus |
|