How many lines?!?! #vscode #python #ai

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Disallowing illegal moves would have all the possible chess positions amount to about 10^40.

reynoldskynaston
Автор

How many AI's you want me to mention in video? As many as possible.
The video....

simpleman
Автор

The only people using Bing are vscode devs

NaN-seye
Автор

You could just have a numpy 2D array with integer encoding. Every move will move the position of the board and you could call a render method to get the visualization of the board.

EricDonghp
Автор

You're wrong, the number you've said in the video is known as Shannon's number which is the number of possible GAMES*. What you're looking for is the number of possible POSITIONS* in chess which is way smaller number (approximately ~10^52).

TheSalaho
Автор

I'm so exited for this feature!
R8 now, i'm actually using external means to incorporate the gpt-3 model through OpenAI api on vs code, but would love to have an assistant that can answer some questions given the context of the project!

kushro
Автор

It would technically be a lot more since this code doesn't calculate every position but rather every move order.

turevedin
Автор

Legal moves would be around 10^40, and print statements would be 8*10^40

itk
Автор

You could always print each row with f'{a1field}{a2field}....'
And fill it dynamically on the state of the board

dragonmytie
Автор

Food for the brain:
We have a full hd image of 1920*1080 pixels, the image is RGB, which means 3 channels of 256 values ​​each, to show all possible images that have ever existed and will ever exist, all possible lives, dreams, ideas and fantasies that can be displayed, including a bunch of nonsense that doesn't make any sense, the calculation is (256^3)^1920*1080, which is approximately a little less than 1.5 * 10^15M, which is a completely unfathomably large number

Sinke_
Автор

Now calculate how many zetabytes does this source code take.

null-x
Автор

I think you shouldve played vsauce music after but how many

GravityGouseS
Автор

10^120

computer: 💀
quantum computers: allow to introduce ourselves

anishkarthik
Автор

Can this copilot version be released already, we have been waiting like forever now

zimcoder
Автор

Nobody would ever do this you would generate the characters dynamically to print

NetScalerTrainer
Автор

Nah man, this was my assignment for a presentations. 10^120 is called shaun number which is a really rough estimation. More acurate one is godfrey's estimation 10^(10^(50)).
To undetand this more.
Atoms in the universe: 10⁸⁰
Shaun number: 10¹²⁰
Godfrey's estimation: 10¹⁰⁰⁰⁰⁰⁰⁰⁰⁰⁰⁰... until we have 50 zero.

ramimohamed
Автор

Actually, this code has a same principle with a early chatbot!

kgh
Автор

Can't you just multiply all the moves possible by print line in a calculator?
No need for AI

Guy_Sandler
Автор

If all the atoms, from all of time, did a billion per second, you would still be 14 orders of magnitude off.

pwdotui
Автор

when will the gh copilot chat be available

gtALIEN
visit shbcf.ru