Why Random Numbers Aren't Random

preview_player
Показать описание
Welcome to another video! In this video, I'm going to show why random numbers are not random. In most computer programming languages, random numbers are generated deterministically. Meaning you can guess what the random number will be and control it as well.

📄 Resources 📄

⭐️ Timestamps ⭐️
00:00 | Why Random Numbers Aren't Random
01:58 | Random Module Documentation
02:23 | Generating Random Numbers in Python
03:30 | Random Seeding
05:45 | Using System Time As A Seed
07:11 | How To Generate Truly Random Numbers

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰

🔗 Social Medias 🔗

🎬 My YouTube Gear 🎬

💸 Donations 💸
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

⭐️ Tags ⭐️
- Tech With Tim
- Random Numbers
- Random Module
- System Time
- Truly Random Numbers
- Python

⭐️ Hashtags ⭐️
#TechWithTim #RandomNumbers
Рекомендации по теме
Комментарии
Автор

Another example for real random numbers: Cloudflare (a company which handles a very large part of internet traffic) has a room full of lava lamps with cameras pointed at them, and they use the current state of the lava lamps for their random numbers

laurinneff
Автор

I died when he said
"I need to talk to you about something that's not sponsor algoexpert'

shourya
Автор

Tim is genually the embodiment of a nice guy. Also his videos are so amazingly well done and easy to follow. Learnt flask from him and today I'm almost finishing my raspberry pi home server

MrTaken-tlbw
Автор

In one of cloudflare's offices, they use a camera pointed at a wall of lava lamps for randomness

timhowitz
Автор

Random module in Python was a total mystery for me
Thanks tim

addisumengistu
Автор

Tim your a great youtuber man, you literally just calmly explain everyone how something works. Your videos ALWAYS teach something new. Man lots of respect to you. ♥

jhonsuper
Автор

Next video suggestion:
1. Why python variables aren't containers but pointers?
Or
2. How does for in loop works behind the scenes in python?

Edit: what does range function produce (iterator or iterable) might also be a nice video idea.

lakshyachopra_
Автор

"Why Random Numbers Aren't Random"
RNGs based on quantium physics: ok

neijrr
Автор

They're called pseudo random generators. In Data science as long as you get the correct distribution it doesn't matter. Plus, setting seeds is helpful as it allows others to reproduce results.

dollarbill
Автор

This video is 100% what i was looking for!

apren
Автор

Question are uuid's generated by the "UUID" module in python also not really random or unique or they are?

nanajnananajna
Автор

Wow, that's actually really cool. Great video as always! 👍

rishilkadakia
Автор

that date he is talking about at around 6:20 is called the unix timestamp

MinerKingX
Автор

When you get a algoexpert ad before a algoexpert sponsored video

OpenSaned
Автор

Randomness in FPGA and other embedded devices which use cryptography is generated from various source, e.g noise, heat and other parameters as I remember in hardware security course I had.

AhmadKhalidNasrat
Автор

I feel like unless you can predict random numbers you haven’t seen yet from the program, it’s doing it’s job perfectly.

SatisfyingWhirlpools
Автор

Traditionally, in most programming languages, it is measured from midnight 1 Jan 1970 GMT.

PvblivsAelivs
Автор

Great video, Tim. Any chance you could discuss the sys module next time?

JK-cssq
Автор

I am glad my mentor has already told me while learning python. Hat's off to you tim also 😄 and that time was chosen(if I remember properly) cauz unix system was introduced for the first time then. But some platforms use different timeline for doing this.

jatingera
Автор

thank you bro! I allways wonder why we use time to get random numbers and this video help me a lot!

LordKing