I actually used this by accident one time and got a very silly bug where tabs where getting deleted when run on the interactive window, I will try to give it a try any way because I feel notebooks tend to create lots of repetitive code
@MoseAlbu-s6g5 күн бұрын
Hessel Mews
@DrunkenUFOPilot9 күн бұрын
More realistic than many tutorials, where learning a language in real life involves many brief misconceptions, quick experiments, and small insights that accumulate to become skill.
@JasonaFreeman-t3q11 күн бұрын
Grimes Fords
@SarahLee-c9d12 күн бұрын
2367 Caterina Knoll
@SB-wn3gl12 күн бұрын
i hate python dude because i use c++ 😂😂😂😂😂😂
@AndyHorton-p6j13 күн бұрын
Paul Unions
@JosephBowen-f4s17 күн бұрын
Wehner Skyway
@TomDonation-y5n17 күн бұрын
Gutkowski Oval
@IsabelHubery-f6l20 күн бұрын
Howe Lakes
@farty555Ай бұрын
This is an excellent way to introduce someone like me to a language like julia. Thank you for making this ♥️
@Bruh-sp2bjАй бұрын
Python can technically makenmultiple threads but functionally only one of those run at a time because of the gil so im not sure what youre trying to get at here
@JackofSomeАй бұрын
That's... exactly what the video is about. A shockingly large number of python devs do not know this and think all python threads are green. People also tend not to know that a bunch of FFI based libraries will release the GIL during function calls. This fact can become an advantage.
@scottforbes0Ай бұрын
Thank you for the awesome video! I am creating my own reinforcement learning snake game, but I am able to run it on my phone. I will train my snake, while my phone is on charge, while I sleep. The grid size is quite large, so I will see what happens, over time, and eventually show my results on KZbin.
@Popart-xh2fd2 ай бұрын
On Linux it's a piece of cake, on Windows it's impossible!
@shikanokonokokoshitantan2 ай бұрын
Why pronounce dir as "dire" and not "dear" 😭
@JackofSome2 ай бұрын
Oh dear, what a dire situation.
@skr12082 ай бұрын
Was I the co-worker 😂
@rr49192 ай бұрын
It looks the same as nvim. What advantages of emacs?
@tejeshwar.p2 ай бұрын
Is my understanding correct? Python threads perform tasks concurrently by using single processor core without parallelism. With Python multiprocessing we can spawn multiple processes with different interpreters on different cores and achieve parallelism.
@JackofSome2 ай бұрын
No. Python threads are also running in parallel but are artificially locked to running one at a time. In some cases you can get rid of this lock. With python 3.12 this is about to become a lot simpler
@blue_name_warrior2 ай бұрын
# %% but nothing happened?
@riccardozappitelli4503 ай бұрын
Watching this now is just painful
@gregmarquez82223 ай бұрын
Great video! I'm trying to teach myself Neural Networks and AI, and one of my future projects will be a "snake" playing AI based on a NN. I now have experience with basic multi-layer NNs for classifying images, etc.. What would you recommend as a "next step" to go from classifiers to NN that can play snake, etc., and some learning resources for this? I realize that this video is 4 years old, but just in case you are monitoring the comments, I thought I'd ask. Thanks!
@seawardspy-jl4hz3 ай бұрын
Anyone else have trouble with PB11 not generating the Python module? Win11 Visual Studio 2022
@talkingbirb28084 ай бұрын
update: interactive mode does not generate svg images now and it is advised to use %matplotlib widget or something similar instead
can you help me install python on termux without an error, when i install it i get this error message E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (2)
@lion123-nh6jb5 ай бұрын
how can I use pybind11 as python-package? If I install it via conda/pip, what is then the path in find_package command in CMake?
@ChrisCox-wv7oo5 ай бұрын
I didn't know about Ctrl t with fzf, I usually do **<tab> for the same functionality. Ctrl t is the way to go though. Thanks!
@helgemunkjacobsen84525 ай бұрын
The reason why you haven't met anyone else that uses Redis Simple Cache might be because they just use the Python standard library `functools.lru_cache()`?
@TheGoatsy5 ай бұрын
I actually never used this to my benefit as well, but why should someone use this instead of a .ipynb file?
@JackofSome5 ай бұрын
Text files are arguably more portable and are definitely easier to version control. Ultimately it's all preference though
@NikoKun5 ай бұрын
I took my own weird route to playing around with this idea.. First, I wrote a more classic rules based bot to play snake, with it's own recursive function to check future choices for dead ends. It's not perfect, but it can often play the game well enough, to fill half the available space with snake before dying to more difficult to avoid dead-ends. I then used that bot to record 10,000 of it's highest scoring games frame by frame, a couple million frames in total, also recording each action it took per frame. Then I fed all that data into a basic neural network, and ran a few hundred training epochs. So far I've gotten the neural network to play the game alright, but only about as good as my bot. heh
@epic10l2gaming65 ай бұрын
1:00 when did you ever do smth computationaly intensive in python? i guess never.... meanwhile me trying to figure out how to run through 2^32 combinations of numbers using python :/
@JackofSome5 ай бұрын
Don't. Pure Python is the wrong language for it. Use numba or cython for a familiar feel. Or learn to use mypyc. Or use a completely different language.
@unflexian6 ай бұрын
mate you're a jupyter magician
@jawadmansoor60646 ай бұрын
that is beautiful background colour on websites. how did you get it?
@1q1q1q1q1q1q1qw6 ай бұрын
thus it also work for object oriented code class functions . or only for simple calculations.
@JackofSome6 ай бұрын
Newer versions of numba have ways to compile classes
@1q1q1q1q1q1q1qw6 ай бұрын
@@JackofSome thx :)
@1q1q1q1q1q1q1qw6 ай бұрын
I often have the problem that my functions take objects as input and act on them. I need to build an additional wrapper to encapsulate simple calculations that can be optimized that's somehow annoying.
@deeplazydev7 ай бұрын
Amazing video!
@anotherdeadguy7 ай бұрын
can you make a video on how to customize the terminal like yours?
@diogoledermann73937 ай бұрын
Great vid 👍
@idirhouari38787 ай бұрын
I usually watch videos in x2 speed, however here I had to put it in 0.5x speed 🤣 I'm discovering both C++ and pybind11 so although it is hard to follow everything yet your explanation is pretty cool as it sums up most of the functionalities available in a short time, I now understand better where I need to start ! thank you
@sreenath19878 ай бұрын
Awesome video. Small nit though… in the second time test… imread comes after start time. Wouldn’t that increase the time taken!?
@Bbdu75yg9 ай бұрын
Amazing ❤
@_0xUr_9 ай бұрын
I'm 20 but I know it since python 2 days
@JackofSome9 ай бұрын
Good for you
@CasparZialor9 ай бұрын
Been trying to install bardapi on termux for two days... Gonna try this
@noctesomnium9 ай бұрын
is there any way to make intellisense to analyse the python module imported?
@girlswithgames9 ай бұрын
just run python twice 8)
@phonglai8610 ай бұрын
I don't know how to write a Makefile for this :((
@WhoWho-e3z10 ай бұрын
This is a lifesaver! I'm used to Matlab and recently picked up Python. It's great to check what I'm doing. Thank you!
@hopehype646710 ай бұрын
I would love a more in depth tutorial for the 3d display you're showing please
@vanischesmall10 ай бұрын
how to make terminal like his? its awesome
@hawk__9 ай бұрын
KDE does take care of most of the stuff transparency + blur + there's a world of community themes