Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #11886
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Tavis Ormandy <taviso@gmail.com> |
| Newsgroups | comp.programming |
| Subject | Re: Getting random numbers. |
| Date | 21 Jan 2021 18:39:17 GMT |
| Lines | 32 |
| Message-ID | <i6u02kF34toU1@mid.individual.net> (permalink) |
| References | <33e7892e-fe91-4440-9843-515c88da309an@googlegroups.com> <i6tknsFvfeU1@mid.individual.net> <ruc76j$f3l$1@dont-email.me> <6009add6$0$35081$a92e2ab9@news.vipernews.com> <rucc07$mhv$1@dont-email.me> <3f62690f-ff35-4b99-84ab-e2bb06fc154bn@googlegroups.com> <6009c3dd$0$34724$a92e2ab9@news.vipernews.com> <8dc9d017-0dea-43ac-92f6-cc6f03ab7673n@googlegroups.com> |
| X-Trace | individual.net mNQ5iPwanOHvCclE0MvipgOAaTlzATaqVTmxR94p+JRt8LgdR9 |
| Cancel-Lock | sha1:eoAxvljBxTn0ZMIUHDedEf8AVws= |
| User-Agent | slrn/pre1.0.4-5 (Linux) |
| Xref | csiph.com comp.programming:11886 |
Show key headers only | View raw
On 2021-01-21, H E <rob99999999999999999@gmail.com> wrote: > To Tavis. > > You might be right. > But when I look the results, they look just incredible. > How can you tell if a number is random or not? Is just looking random good enough? It's a really interesting question! You will find this really fascinating, read about Buffon's needle problem! I found you a fun video so you don't have to read anything: https://www.youtube.com/watch?v=hHSWNsnJGeE Now, instead of throwing needles in the air, what if we use your random function? If it has the same statistical properties as throwing needeles in the air, it should work right? This is just a quick example of how to really evaluate a RNG (Random Number Generator), and why I was suggesting reading about diehard. Diehard is big collection of problems like this can check if the output has the right statistical properties. Tavis. -- _o) $ lynx lock.cmpxchg8b.com /\\ _o) _o) $ finger taviso@sdf.org _\_V _( ) _( ) @taviso
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 07:11 -0800
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 15:25 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 16:38 +0100
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 16:37 +0000
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 08:37 -0800
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 18:00 +0100
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 09:29 -0800
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 18:02 +0000
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 10:11 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 10:21 -0800
Re: Getting random numbers. Tavis Ormandy <taviso@gmail.com> - 2021-01-21 18:39 +0000
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-22 06:32 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-22 08:51 +0100
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-22 09:15 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-22 11:13 +0100
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-23 09:27 +0000
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-23 12:28 +0100
Re: Getting random numbers. Richard Heathfield <rjh@cpax.org.uk> - 2021-01-23 12:10 +0000
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 10:11 -0800
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 20:55 +0100
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 13:08 -0800
Re: Getting random numbers. chovy <chovy@pm.me> - 2021-01-21 13:53 -0800
Re: Getting random numbers. David Brown <david.brown@hesbynett.no> - 2021-01-21 22:53 +0100
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 13:57 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 15:13 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 15:20 -0800
Re: Getting random numbers. H E <rob99999999999999999@gmail.com> - 2021-01-21 20:39 -0800
csiph-web