Dave's Space
Dave's Space
  • 60
  • 774 339

Відео

2^11 subscriber special - binary clocks
Переглядів 425Рік тому
An 11-bit binary clock system to celebrate 2^11 (2048) subscribers
Diffusion on a microscopic level
Переглядів 936Рік тому
Have you ever wondered what happens on an atomic level when gasses diffuse? Well this video looks into the phenomenon of diffusion from a microsocopic point-of-view. This video is aimed at anyone interested in physics and would like to know more about gasses, or undergraduates who are just starting to learn thermodynamics and/or the kinetic theory of gasses. If you're interested on how these si...
Quadrature Amplitude Modlation (QAM): Explained
Переглядів 24 тис.Рік тому
Quadrature Amplitude Modulation (QAM) is used to send large amounts of data by modulating the amplitude of two independent quadrature carrier waves onto a higher frequency carrier wave. Since these carrier waves are in quadrature they can be coherently demodulated to obtain the independent amplitudes. QAM allows for extremely large data rates across relatively small bandwiths.
2^10 subscriber special - binary clocks
Переглядів 194Рік тому
A 10-bit binary clock system to celebrate 2^10 (1024) subscribers
Amplitude Modulation (AM)
Переглядів 1 тис.2 роки тому
Amplitude modulation (AM) is used to send data by modulating the amplitude of a higher frequency carrier wave. This modulated carrier wave can be demodulated and filtered to return a signal that is close to the original input signal. AM allows for multiple streams of data to share the same medium of transport, whether this is wired or wireless.
Making an animated gif for Wikipedia using Python (tutorial) - Aliasing
Переглядів 8742 роки тому
This video shows how the Python programming language can be used to simulate and create animations for Wikipedia (or elsewhere). In particular this video will look at generating an animation showing how aliasing occurs when the frequency of a sinosoidal function exceeds the Nyquist frequency of the sampled waveform. This video is aimed at undergraduates, anyone interested in STEM subjects, or a...
Making an animated gif for Wikipedia using Python - Wave Polarization
Переглядів 9422 роки тому
This video shows how the Python programming language can be used to simulate and create animations for Wikipedia (or elsewhere). In particular this video will look at displaying 4 distinct polarization states of light (x polarized, y polarized, right hand circular polarized, and left hand circular polarized) This video is aimed at undergraduates, anyone interested in STEM subjects, or anyone wh...
High FPS animations in matplotlib
Переглядів 36 тис.2 роки тому
See how blitting can be used to increase a matplotlib animation's fps by over 7x. matplotlib is a plotting library for python, that produces publication quality plots. Unfortunately because they are publication quality, the time taken to set-up and draw the plot can be quite slow. Typical animation framerates for redrawing plots are in the low/sub 10s. By using the FuncAnimation class along wit...
The Finite Difference Method (2D)
Переглядів 7 тис.2 роки тому
The Finite Difference Method for 2D linear differential equations This video builds upon my previous video ua-cam.com/video/to82dv2SX28/v-deo.html in which I introduced the finite difference method for solving 1D linear ODEs. I show how a 2D problem which naturally leads to a 3D matrix can be reduced to a 1D problem leading to a 2D matrix. Once the problem is expressed as a 2D matrix, it is alm...
The Finite Difference Method for non-linear differential equations (1D)
Переглядів 5 тис.2 роки тому
This video builds upon my previous video ua-cam.com/video/to82dv2SX28/v-deo.html in which I introduced the finite difference method for solving linear ODEs. When the equations to solve are non-liear direct methods cannot be used as non-linear terms cannot be expressed as a linear combination of neighbouring grid points. Instead iterative methods must be used. I introduce a single iterative meth...
The Finite Difference Method (1D)
Переглядів 18 тис.2 роки тому
This video explains what the finite difference method is and how it can be used to solve ordinary differntial equations & partial differential equations. Contents: - What is the finite difference method - Calculating finite difference coefficients and setting up the equations - Splitting up a domain into finite differences - Applying forward, central, and backwards differences - How to calculat...
2^9 subscriber special - binary clocks
Переглядів 1472 роки тому
A 9-bit binary clock system to celebrate 2^9 (512) subscribers
I plugged a USB in 500 times to test if it's three sided
Переглядів 4262 роки тому
Have you ever wondered why it feels like USBs are three sided? By repeatedly inserting a USB drive into a USB port, I'm 99.99% certain that at least 1 in 500 attemps requires 3 tries. By analysing the data from plugging a USB in over 500 times, it's possible to derive how likely it is that a USB requires 3 tries to get it in. These results can then be used to derive lower bounds on the probabil...
DFT 8x8 blocks (digital photograph)
Переглядів 2842 роки тому
A video showing how adding together 64 different basis functions for each 8x8 block of an image with a different complex aplitiude can reconstruct the original image. The amplitude of each basis function for each block is given by an 8x8 discrete fourier transform for that block. Relatively few of the 64 basis functions for each 8x8 block are needed to reconstruct the original image to near-ori...
DFT 8x8 blocks (text based image)
Переглядів 2762 роки тому
DFT 8x8 blocks (text based image)
DFT filtering (text based image)
Переглядів 2142 роки тому
DFT filtering (text based image)
DFT filtering (digital photograph)
Переглядів 3902 роки тому
DFT filtering (digital photograph)
Visualizing the discrete fourier transform (DFT) in python (tutorial): Part 4
Переглядів 5212 роки тому
Visualizing the discrete fourier transform (DFT) in python (tutorial): Part 4
Visualizing the discrete fourier transform (DFT) in python (tutorial): Part 3
Переглядів 7112 роки тому
Visualizing the discrete fourier transform (DFT) in python (tutorial): Part 3
Visualizing the discrete fourier transform (DFT) in python (tutorial): Part 2
Переглядів 5622 роки тому
Visualizing the discrete fourier transform (DFT) in python (tutorial): Part 2
2^8 subscriber special - binary clocks
Переглядів 1112 роки тому
2^8 subscriber special - binary clocks
Visualizing the discrete fourier transform (DFT) in python (tutorial): Part 1
Переглядів 4,3 тис.2 роки тому
Visualizing the discrete fourier transform (DFT) in python (tutorial): Part 1
Phased Arrays in Python (tutorial): Part 3
Переглядів 1,6 тис.2 роки тому
Phased Arrays in Python (tutorial): Part 3
Phased Arrays in Python (tutorial): Part 2
Переглядів 2,2 тис.2 роки тому
Phased Arrays in Python (tutorial): Part 2
Phased Arrays in Python (tutorial): Part 1
Переглядів 7 тис.2 роки тому
Phased Arrays in Python (tutorial): Part 1
2^7 subscriber special - binary clocks
Переглядів 1142 роки тому
2^7 subscriber special - binary clocks
threading vs multiprocessing in python
Переглядів 571 тис.2 роки тому
threading vs multiprocessing in python
python multiprocessing (a practical example)
Переглядів 4 тис.3 роки тому
python multiprocessing (a practical example)
python multiprocessing (a simple example)
Переглядів 2,1 тис.3 роки тому
python multiprocessing (a simple example)

КОМЕНТАРІ

  • @oguzhanoguz621
    @oguzhanoguz621 9 годин тому

    amazing explanation

  • @oguzhanoguz621
    @oguzhanoguz621 12 годин тому

    it is a amazing video really, thank you

  • @theopaltarot
    @theopaltarot День тому

  • @stevenm7057
    @stevenm7057 7 днів тому

    As the number of threads grows it seems the first one gets preferential treatment.

  • @ka4dqe606
    @ka4dqe606 12 днів тому

    Very useful bits. Thank you. Subscribed.

  • @algorithminc.8850
    @algorithminc.8850 12 днів тому

    Great stuff. I look forward to scoping your channel. Thanks. Subscribed. Cheers

  • @androane
    @androane 22 дні тому

    Why would I ever want to use multi-threading since it's just concurrent but not parallel? what advantages it brings over not using multiple threads?

  • @arpankoley5245
    @arpankoley5245 26 днів тому

    Fantastic video. Can you please upload the nonlinear 2d pde solutions?

  • @EvelynSun-u3l
    @EvelynSun-u3l 28 днів тому

    Hi! Great video, I just wanted to ask for clarification around 19:40, my project is running large amounts of data onto one function iteratively, and I'm trying to use multiprocessing with Pool and ThreadPoolExecutor to speed up the process. What do you recommend in this case would be the best approach? Because I know you said in the video that multiprocessing doesn't work well with large amounts of data.

  • @bn2davetube
    @bn2davetube Місяць тому

    Brilliant 👍

  • @dsalz_
    @dsalz_ Місяць тому

    Great video. Thanks

  • @TheDjinh
    @TheDjinh Місяць тому

    Best. Explanation. Ever. You must have put so much time into this video. Thank you for that!

  • @anlpereira
    @anlpereira Місяць тому

    Hi, I liked very much this video. In real world, how this could be implemented? I guess it is using op-amps. Is there some real world example you could show us? Thank you very much

  • @shahanazpatel-gd2cq
    @shahanazpatel-gd2cq 2 місяці тому

    Dear Dave, Looks like you have the perfect graphical view of the threads and cpu usage.. is it possible to get this python code so as I can run on my PC ?

  • @o2blom
    @o2blom 2 місяці тому

    Very good!

  • @Gametime00789
    @Gametime00789 2 місяці тому

    im deploying a python API file on amazon ec2 where one function in it utilizes multiprocessing to parallelize some data processing - assigned 2 CPU cores1 Now if this api is deployed and if the api receives 100 concurrent calls will api fail because it exceeded the processor capacity or any other cause to fail???

  • @athipthirupathiraj2035
    @athipthirupathiraj2035 2 місяці тому

    Thank you so much for this video! I was trying to do a physice simulation where I am animating particle movements... This tutorial made my animation generation more than 10 times faster!

  • @nohaelgammal4782
    @nohaelgammal4782 2 місяці тому

    I can't thank you enough!

  • @electron46
    @electron46 2 місяці тому

    Thank you for your excellent video. On line 103 of your code, is shows lineL.set_data(t[frame], y[frame]) where frame is a single number from range(N). This produces an error. Please tell us why your code functions. Thank you!

  • @Anasfrag89
    @Anasfrag89 2 місяці тому

    Awesome channel thanks for your effort, i hope you post more videos on comm. systems

  • @tripathi26
    @tripathi26 2 місяці тому

    Thanks 🙏

  • @user-mi1dn5gt9x
    @user-mi1dn5gt9x 2 місяці тому

    David, your video helped me a lot to understand more QAM. What software do you use to make these dynamic graphs? Thank you very much!

  • @non5309
    @non5309 2 місяці тому

    кто еще здесь с курса Шибаева по многопоточке )) ?

  • @TragicGFuel
    @TragicGFuel 3 місяці тому

    12:15 .copy() returns a shallow copy, right? You were talking about deepcopies

  • @shriramsethi8296
    @shriramsethi8296 3 місяці тому

    If we pandas for data analysis task, what should we use multithreading or multiprocessing?

  • @PhuLeVan-no5qy
    @PhuLeVan-no5qy 3 місяці тому

    in 2.15: Why A(1- cos) ~ A

  • @benr3346
    @benr3346 3 місяці тому

    dude keep it up

  • @dominiquelarchey-wendling5829
    @dominiquelarchey-wendling5829 3 місяці тому

    Could you explain how to get the filtering signal phase sync'd with the carrier signal ? Is frequency sync also an issue, because maybe there could be slight differences in the freq of the emitter and the receiver.

  • @dominiquelarchey-wendling5829
    @dominiquelarchey-wendling5829 3 місяці тому

    Very good explanations of QAM !!

  • @Manus-hh1hd
    @Manus-hh1hd 3 місяці тому

    Modulation ka spelling galat hai

  • @harrybellingham98
    @harrybellingham98 3 місяці тому

    one of those hidden gem channels

  • @aeronesto
    @aeronesto 3 місяці тому

    This is the very best explanation of threading vs multiprocessing that I have ever seen. Well done!

  • @Tuk_tuk_22
    @Tuk_tuk_22 3 місяці тому

    ❤this is amazing

  • @jaiisrani2550
    @jaiisrani2550 3 місяці тому

    really good visualization of the process!

  • @mdesm2005
    @mdesm2005 3 місяці тому

    what's a negative amplitude? (10:00)

  • @user-ju7xw1wq9f
    @user-ju7xw1wq9f 3 місяці тому

    Such an underrated video, thanks a lot for such an informative series

  • @JamesVestal-dz5qm
    @JamesVestal-dz5qm 3 місяці тому

    Were doing 1D finite difference method along the length of the reactor. Can I phone a smart friend? Your future president is getting creamed by the school right now!

  • @niboonboonprakob2209
    @niboonboonprakob2209 3 місяці тому

    All the videos are incredibly good! 💯

  • @gedtoon6451
    @gedtoon6451 3 місяці тому

    Nice video, but they are not clocks; they are counters.

  • @gokul1429
    @gokul1429 4 місяці тому

    in 8:29 you said that , 2 million function calls across all threads are done , how you computed it , can you explain little more

  • @user-lu7fk3qd5i
    @user-lu7fk3qd5i 4 місяці тому

    wow

  • @trinetram707
    @trinetram707 4 місяці тому

    Which software is used to monitor the activity?

  • @daniiltroshkov6081
    @daniiltroshkov6081 4 місяці тому

    Excellent video! Thank you!

  • @gustavojoaquin_arch
    @gustavojoaquin_arch 4 місяці тому

    Rust>>>>>>>python Rust is just better, the Austrian painter was right

  • @amitvyas7905
    @amitvyas7905 4 місяці тому

    In summary, Python supports multiprocessing but not multi-threading.

  • @not_amanullah
    @not_amanullah 4 місяці тому

    This is helpful ❤

  • @not_amanullah
    @not_amanullah 4 місяці тому

    Thanks ❤

  • @azogdevil
    @azogdevil 4 місяці тому

    Python Removed GIL

  • @gastonarevalo1237
    @gastonarevalo1237 4 місяці тому

    Really informative video¡¡ I struggled a bit with the accent and speed but it's really good¡

  • @isodoubIet
    @isodoubIet 4 місяці тому

    Where are you getting the information that python threads are managed by the CPython interpreter? That's not impossible, but it would be unusual -- they could implement them much more easily in terms of actual OS-managed threads. All they need to do is to manage the locking and unlocking of the GIL before and after running the user code.