0612 TV w/ NERDfirst
0612 TV w/ NERDfirst
  • Видео 911
  • Просмотров 7 991 137
A simple algorithm to speed up repeated summations!
Need to repeatedly sum up values from sublists which are extracted from a bigger list? You could simply loop through the values each time, but you'll find that doing so gets pretty slow. Today, we look at a simple pre-processing step that saves you a ton of trouble in the long run! Plus, we take a brief look at how this also works in bigger dimensions.
Want to see the code used in the video? Check out this repository: bitbucket.org/nerdfirst/quicksumalgorithm/src/master/
-----
Want to contribute to the channel? Consider using the "Super Thanks" feature above, or visit my website at nerdfirst.net/donate to find alternative ways to donate. Thank you!
-----
Disclaimer: Please note that any inform...
Просмотров: 1 038

Видео

All Quicksort does is call this function - Partition!
Просмотров 722Год назад
Quicksort is an algorithm that has a ton of variation to it - Today, we break down this algorithm into its constituent parts, Partitioning and recursion, and try to understand what it is about Quicksort that stays the same between implementations, and what changes. Timestamps For Your Convenience 0:00 Introduction 0:26 Basics of Quicksort 1:39 Introduction to Partioning 2:20 Relationship betwee...
Can you believe I'm still around?
Просмотров 1 тыс.Год назад
Yes, I'm back, at least for now. "Real" video dropping tomorrow.
I made a Nerdle "Solver" with as many Software Engineering concepts as I could!
Просмотров 1,4 тыс.Год назад
Nerdle is a game that really piqued my programmer interest when I first saw it, because it felt like such a great problem to attempt to programmatically solve. I decided to apply a bunch of software engineering techniques along the way (mostly automated testing), and here's the result! Find Nerdle here: nerdlegame.com/ Find the github repository for this project here: github.com/lcc0612/ndlebud...
Pull Up/Down Resistors
Просмотров 7 тыс.Год назад
In hardware projects, you often see resistors used alongside components like pushbuttons and transistors - Why? In this video, we explore this and also consider some possibilities this opens up! 0:00 Introduction 0:28 Floating Pins 1:36 Pull-Down Resistors 3:14 Pull-Up Resistors 4:47 Strong vs Weak Pull 5:41 Conclusion Some more sources you may be interested in: - learn.sparkfun.com/tutorials/p...
Deep Dive: Why 360 cameras are little miracles on selfie sticks
Просмотров 9162 года назад
360 cameras, better known as spherical cameras, involve a ton of processing and math before we can get to the usable and even stylized footage we know and love. In this video, we delve deep into what these considerations are, consider the potential roadblocks, and along the way, get a deeper insight into just what 360 cameras need to contend with! = Contents Page = 00:00 Introduction 01:37 Why?...
Invisible Selfie Sticks, Revisited
Просмотров 1,6 тыс.2 года назад
Last time I talked about the invisible selfie stick effect on a 360 camera, I missed the mark a little, so let's try again - It's two years late, but better late than never! How exactly does a 360 camera "remove" the selfie stick that holds it up? I pick apart two common theories and try to find the perfect middle ground between them that, hopefully explains this effect thoroughly. Do keep your...
Emoji is fun!
Просмотров 1,3 тыс.2 года назад
The world of Emoji is so interesting, thanks to a set of cool mechanics presented by Unicode, in which emoji are defined. You can combine emoji to make new ones, or use certain special codes to change how an emoji looks. Today, let's delve into exactly what this looks like under the hood, and try your own hands at doing the same using a special Emoji Combiner web application written specificall...
CPU Pipelining - The cool way your CPU avoids idle time!
Просмотров 10 тыс.2 года назад
The CPU is complex, so as you can imagine, optimizations exist to ensure that it runs as efficiently as possible without idling. In today's episode, we look at the pipeline - An ingenious optimization technique, but also one that comes with a set of caveats and gotchas! = CONTENTS PAGE = 00:00 Opening 01:07 CPU Basics - Instructions 01:22 Stages of an Instruction 03:32 Idle Time 04:16 Introduct...
Building a Cheat Color Sensor!
Просмотров 9952 года назад
What happens if you don't have a color sensor, but you DO have a light sensor and an RGB LED? Today's project is more of a fun bodge-together than anything, but sometimes, that's what you need to let the creative juices flow! = Free / Public Domain Resources Used = Music: freepd.com/Page2/music/Outro.mp3 freepd.com/Page2/music/Rap Deep Groove.mp3 freepd.com/Page2/music/Urban Funk B.mp3 freepd.c...
Android screen mirroring, free and open source!
Просмотров 4,3 тыс.2 года назад
Want a way to mirror and remotely control your Android display from your Windows desktop, but frustrated by how many of the options out there are either premium or require much setup to work well? Today, I present a completely free and open source option (Licensed Apache 2.0), that allows you to do all these things using software on your PC, and just the developer options on your Android device...
How to subtract without negative signs - The Method of Complements
Просмотров 8272 года назад
How do computers subtract? Since computers store numbers as bits, we have to use a bit of clever math to ensure that operations involving negation work as expected. Along the way, we'll also look at negative number representation, before generalizing this idea beyond computer science! Check out the Method of Complements calculator on my website → resources.nerdfirst.net/complements Like my work...
How to Reason about Recursion
Просмотров 1,9 тыс.2 года назад
How to Reason about Recursion
Vlog: I surveyed Reddit and got 896 responses!
Просмотров 8252 года назад
Vlog: I surveyed Reddit and got 896 responses!
Ulanzi VL15 / VL49 RGB Video Light Review & Comparison
Просмотров 1,7 тыс.2 года назад
Ulanzi VL15 / VL49 RGB Video Light Review & Comparison
Reflection Maps: Quick and efficient real-time reflections!
Просмотров 3,2 тыс.2 года назад
Reflection Maps: Quick and efficient real-time reflections!
H-Bridge: An elegant way to drive motors!
Просмотров 1,3 тыс.3 года назад
H-Bridge: An elegant way to drive motors!
SSH Tunneling - A Deep Dive
Просмотров 10 тыс.3 года назад
SSH Tunneling - A Deep Dive
SSH Tunneling - Friday Minis 318
Просмотров 1,5 тыс.3 года назад
SSH Tunneling - Friday Minis 318
Python's f-strings! - Friday Minis 317
Просмотров 7613 года назад
Python's f-strings! - Friday Minis 317
FTP for Notepad++ - Pinpoint #18
Просмотров 1 тыс.3 года назад
FTP for Notepad - Pinpoint #18
Random Shuffling isn't Easy! - Friday Minis 316
Просмотров 9573 года назад
Random Shuffling isn't Easy! - Friday Minis 316
Mako Templating Engine - Pinpoint #17
Просмотров 3,3 тыс.3 года назад
Mako Templating Engine - Pinpoint #17
Memo Tables and the Magic of Higher Order Functions in Python!
Просмотров 1,3 тыс.3 года назад
Memo Tables and the Magic of Higher Order Functions in Python!
Tail Call Optimization
Просмотров 8 тыс.3 года назад
Tail Call Optimization
CSS Box Sizing - Friday Minis 315
Просмотров 6403 года назад
CSS Box Sizing - Friday Minis 315
Partial Application - Friday Minis 314
Просмотров 4353 года назад
Partial Application - Friday Minis 314
Eel for Python - Quick and Easy GUI!
Просмотров 33 тыс.4 года назад
Eel for Python - Quick and Easy GUI!
Interrupts - Friday Minis 313
Просмотров 7814 года назад
Interrupts - Friday Minis 313
Symbolic Links
Просмотров 3,6 тыс.4 года назад
Symbolic Links

Комментарии

  • @Sharmamona322
    @Sharmamona322 3 часа назад

    BEST EXPLANATION I HAVE A SCHOOL PROJECT RELATED TO UNO THANK YOU FOR THE HELP!!!

    • @NERDfirst
      @NERDfirst Час назад

      You're welcome! Glad to be of help :)

  • @dugabomber5993
    @dugabomber5993 2 дня назад

    Thank u so much! The textbook was not much help.

    • @NERDfirst
      @NERDfirst 2 дня назад

      You're welcome! Very happy to be of help =)

  • @AudioBoi1
    @AudioBoi1 3 дня назад

    Very good video. Even though I didn't fully understand the process, it's still much easier to wrap my head around this concept overall. Thank you 🙏🙏

    • @NERDfirst
      @NERDfirst 3 дня назад

      Hello and thank you very much for your comment! Glad to be of help =) If you have anything you'd like me to clarify, feel free to let me know in a comment and I'll do what I can to help you!

  • @theshadypersonify
    @theshadypersonify 6 дней назад

    This guy is going places WOW if he keeps up his videos like this I'mma HAVE to donate

    • @NERDfirst
      @NERDfirst 6 дней назад

      Hello and thank you very much for your comment! Glad you like my videos! I've been too busy with work to make videos recently, but in the meantime, feel free to check out the channel to see if there's anything else you like!

  • @pizzainc.1465
    @pizzainc.1465 6 дней назад

    The simplest logic gate is actually the buffer. It is a monadic logic gate just like the NOT gate, but it does not invert the output. The output is simply the input.

    • @pizzainc.1465
      @pizzainc.1465 6 дней назад

      The symbol for the not gate is actually just the symbol for the buffer (a triangle) with an inverted output. Technically the not gate could be a triangle with a circle on the input because it does the same thing. What makes it a not gate is that it inverts the signal in the buffer, which can be done in both ways

    • @NERDfirst
      @NERDfirst 3 дня назад

      Hello and thank you for your comment! Yes, when I made this video (13 years ago, goodness!) I wasn't aware of the buffer gate or that the little circle symbol just meant an inversion. I think in later videos I started using that convention myself as well.

  • @itunuoluderu4911
    @itunuoluderu4911 9 дней назад

    How do I access the £ key on my hp laptop

    • @NERDfirst
      @NERDfirst 9 дней назад

      Hello and thank you for your comment! This depends on both the physical layout of your keyboard and they keyboard language you have set on your computer. There are many possible answers, here are some of them: www.quora.com/How-do-I-get-a-pound-sign-on-a-keyboard

  • @memeingthroughenglish7221
    @memeingthroughenglish7221 9 дней назад

    Damn, your videos are so nice!!!

    • @NERDfirst
      @NERDfirst 9 дней назад

      Thank you very much! I remember your comment on another one of my videos as well, glad to know you like my work =)

  • @java_Marcelo-xx5nw
    @java_Marcelo-xx5nw 10 дней назад

    Thank you for share!

    • @NERDfirst
      @NERDfirst 10 дней назад

      You're welcome! Glad you liked the video :)

  • @imeldaputri910
    @imeldaputri910 14 дней назад

    very well explained. thank you!

    • @NERDfirst
      @NERDfirst 14 дней назад

      You're welcome! Very happy to be of help =)

  • @User.25432
    @User.25432 14 дней назад

    8 years later i still find this helpfull , am about to start my cs

    • @NERDfirst
      @NERDfirst 14 дней назад

      That's great to hear! All the best for your CS journey =)

  • @memeingthroughenglish7221
    @memeingthroughenglish7221 15 дней назад

    This is great! I love how the information is displayed with the colors. I started color coding my notes and it really helps break apart the information and categorize it, much more than with explanations for me!

    • @NERDfirst
      @NERDfirst 14 дней назад

      Hello and thank you very much for your comment! Yes, colors are a really powerful way to create visual separation and groupings between things, and I find myself using it a lot to subtly convey certain ideas. Glad it worked well for you!

  • @Brekstahkid
    @Brekstahkid 18 дней назад

    Good stuff

    • @NERDfirst
      @NERDfirst 18 дней назад

      Thank you! Glad you liked the video :)

  • @AB-cd5gd
    @AB-cd5gd 18 дней назад

    Does it supports multipage app ?

    • @NERDfirst
      @NERDfirst 18 дней назад

      Hello and thank you for your comment! Yes it does. You can create multiple HTML pages and navigate between them as per normal. Just ensure that each page includes the eel.js script. There was a bug back then that may cause the backend to shut down if you navigate between pages too quickly, but in my recent use this didn't crop up anymore so I'm inclined to say it's probably been fixed.

  • @AnantaAkash.Podder
    @AnantaAkash.Podder 20 дней назад

    One of the finest explanation of SSH...❤️

    • @NERDfirst
      @NERDfirst 20 дней назад

      Hello and thank you so much for your comment! I'm glad you think so, I poured my heart into this one so this was good to hear!

  • @sr2291
    @sr2291 21 день назад

    99 dollars where?

    • @NERDfirst
      @NERDfirst 20 дней назад

      In Singapore at Toys R Us, in 2018!

    • @sr2291
      @sr2291 20 дней назад

      @@NERDfirst In US dollars? That's crazy.

    • @NERDfirst
      @NERDfirst 20 дней назад

      Singapore dollars. Converts to about US$73 in today's rates. (I should have included the rates back then in the video)

    • @sr2291
      @sr2291 20 дней назад

      @@NERDfirst OK. Thanks. Why can't they make the writing brighter on these LED gadgets?

    • @NERDfirst
      @NERDfirst 19 дней назад

      From a technical perspective, all LCD does is to selectively block a rear layer of material, which can be a luminous color like green, to reflect as much light from the environment back to your eyes. Traditional displays even used mirrors to achieve this. But ultimately, without an active backlight, your writing can only look as bright as the light reflected from the environment. It's a limitation of the technology, especially since the low-power nature of such boards is a major selling point.

  • @zondidlaw2195
    @zondidlaw2195 21 день назад

    Noice man I could understand at least the most of it ....Please keep it up for us beginners 🙏

    • @NERDfirst
      @NERDfirst 21 день назад

      Hello and thank you very much for your comment! Glad you like my work! If there's anything you haven't completely understood, feel free to let me know and I'll try to explain it further for you.

  • @chadchampion7985
    @chadchampion7985 26 дней назад

    HELPFUL

    • @NERDfirst
      @NERDfirst 21 день назад

      Hello and thank you very much for your comment! Glad you liked the video :)

  • @johneygd
    @johneygd 26 дней назад

    I can only wish for more, Like how about talking about upsampling audio,how about talking about dekwantize audio along with those great graphical illustration as well?😁

    • @NERDfirst
      @NERDfirst 21 день назад

      Hello and thank you very much for your comment! Honestly this stuff isn't my strong suit since my background is in Computer Science, but I'll see what I can do! Many of these topics are really interesting!

  • @oussamaelkhalifi9113
    @oussamaelkhalifi9113 27 дней назад

    Insightful video ❤ tganks for your efforts !

    • @NERDfirst
      @NERDfirst 27 дней назад

      You're welcome! Very happy to be of help :)

  • @md.uzairahmed7774
    @md.uzairahmed7774 29 дней назад

    Sir, please make more hardware slash robotics videos

    • @NERDfirst
      @NERDfirst 28 дней назад

      Hello and thank you for your comment! Yeah, I'd love to, this is a topic I enjoy. Got any specific topics you'd like to see?

  • @cloney7137
    @cloney7137 Месяц назад

    Why dont computers store the signal as a composition of curves like it is in vector graphics? Isnt that a way that we could store the exact analog signal?

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you for your comment! I think for storage and synthesis, this is certainly possible. However, I think this might be difficult when it comes to capture - Ultimately, all you could do is to take measurements of a signal at a fixed interval, and at that point you already run into aliasing concerns.

  • @nick7_77
    @nick7_77 Месяц назад

    Excellent video, thank you!

    • @NERDfirst
      @NERDfirst Месяц назад

      You're welcome! Very happy to be of help =)

  • @insomnis1440
    @insomnis1440 Месяц назад

    i found this 5 years too late 😂

    • @NERDfirst
      @NERDfirst Месяц назад

      Heh, at least you found it, so the next time you need it, you know what to do!

  • @Videoforcentercentercom
    @Videoforcentercentercom Месяц назад

    thank you sir

    • @NERDfirst
      @NERDfirst Месяц назад

      You're welcome! Happy to be of help :)

  • @ElDespertar
    @ElDespertar Месяц назад

    Thank you so much!!! ❤

    • @NERDfirst
      @NERDfirst Месяц назад

      You're welcome! Glad to be of help :)

  • @monkeydance1846
    @monkeydance1846 Месяц назад

    You forgot to add fps here

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you for your comment! In my initial draft for this video, I did have framerate operations, but I scrapped it after it turned out to be less trivial than what it seems on the surface - Changing the framerate inherently affects speed, so if you just reduced the framerate for example, FFMPEG compensates by dropping frames, which isn't all that intuitive to me. I ended up covering speed and framerate changes with the SetPTS filter a long time later, in this video: ruclips.net/video/ckCuy7dmyPI/видео.html

  • @reddlief
    @reddlief Месяц назад

    Nerd, I hope you know, means genius to many of us that appreciate your channel. I'm using a Video converter software (DVDvideoSoft) that has used Handbrake to give us editing and ffmpeg to convert files to my preferred format, .mp4. I have a new windows 11 computer running an Intel 7i. the ffmpeg when converting a list of files, usually 4-5 at a time, consumes 100% of my installed cpu and 26% of my memory. These are lower quality mp4 files that are being converted to 1280x720. I've never run into this before on my old Windows 10 computer. Do I just do 1 at a time or does a command line exist to put off the conversion by ffmpeg until a later time? Thanks, again, I'll be watching your other videos. I see this one is from 2015, I hope you're still active.

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you very much for your comment! Glad you like my work =) If I'm understanding you correctly, what you'd like is to perform video conversion in the background in a way that won't tie up your CPU completely, so that you can continue to use your computer while the conversion is in progress? First thing to bear in mind is that FFMPEG will try to use up as much resources as it needs to, which means that switching to FFMPEG and processing one file at a time might still not be enough for your computer to be freed up enough to do other tasks while the conversion is running. This really depends on where the bottleneck in the process is (eg. If you're using a slower hard disk, the CPU may be largely idle while waiting for file reads and writes). To run a number of FFMPEG conversions sequentially in a batch, you can use the forfiles command. I've made a video on this before and is what I use if I want to convert multiple videos using FFMPEG: ruclips.net/video/1mTFYyfYBS4/видео.html I am not familiar with any tool that can defer processing until a later time. Technically the command line has commands like sleep that you can use, or you can use the Windows task scheduler, but both of these don't really feel like great solutions in this context. I think a good starting solution to test out will be to use forfiles and process your videos sequentially, and see if it helps. If you really need to, you can also consider limiting FFMPEG to less threads, so other cores on your CPU remain free for other tasks. There's discussion on how to do this here: superuser.com/questions/792525/how-to-change-ffmpeg-threads-settings

    • @reddlief
      @reddlief Месяц назад

      @@NERDfirst I'm so impressed with your lengthy and thoughtful response to my question. I appreciate your time. I'll look into your ideas as I have a backlog of about 20 videos I need to convert. I'll test a few. I use task scheduler and as I use a program interface and not the direct cmd line to convert my files, I'll try that! My hard drive is a 2tb SSD so drive speed should not be a problem. Again, I 'll watch your suggested youtubes and thanks again for the help.

    • @NERDfirst
      @NERDfirst Месяц назад

      No problem at all! Your use case is interesting and it gave me a chance to learn something new as well. All the best, hope you can find a solution that works well!

  • @Jacine-rv6vg
    @Jacine-rv6vg Месяц назад

    thank you so much I've looking in how to do it for so much time!!!

    • @NERDfirst
      @NERDfirst Месяц назад

      You're welcome! Very happy to be of help :)

  • @farlandu_wmv
    @farlandu_wmv Месяц назад

    is there a way to use space characters in the new name with this command? i tried surrounding the name in more quotes, as well as putting a backslash (escape character) before the space, but it always gave me an "incorrect syntax" error, so i just substituted them for underscores

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you for your comment! Typically on Windows, quotation marks worked for me, eg. ffmpeg -i input.mp4 "output video.mp4"

    • @farlandu_wmv
      @farlandu_wmv Месяц назад

      @@NERDfirst i meant with the forfiles command, eg. forfiles /c "cmd /c ren @file "new name.@ext"" (this returns an error)

    • @NERDfirst
      @NERDfirst Месяц назад

      I apologize, when I first saw your comment I thought this was on my other video about the FFMPEG command line application. I did a bit of digging and I was surprised to find that you might have run into a limitation of forfiles, and so what you want to do might actually be impossible. The reason is that forfiles always introduces quotation marks around the parameters (you can try a simple `forfiles /c "cmd /c echo @fname"` and you'll see that in action). If you introduce your own quotation marks, they clash since they're interpreted as a doubling up of quotation marks.

    • @farlandu_wmv
      @farlandu_wmv Месяц назад

      @@NERDfirst right, i figured. oh well, thanks for the help! :3

  • @BoxingDayAC
    @BoxingDayAC Месяц назад

    Nice work and explanation. Would be cool to see a CMOS or JFET version if you do a revisit since they make better switches. Just not as beginner friendly.

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you for your comment! Yes, I wasn't confident enough for that which is why I didn't broach those topics. Maybe one day!

  • @LT72884
    @LT72884 Месяц назад

    So which ones are best for astrophotography

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you for your comment! There's no such thing as "best" really. It all depends on what tradeoffs you're willing to put up with. For astrophotography, if you're stacking exposures and want a brighter overall image at the expense of more noise, "addition" might be a good choice. If you want to average out the effects of noise across multiple shots, you can also consider the Normal blending mode, playing with the opacity to get the effect you want.

    • @LT72884
      @LT72884 Месяц назад

      @@NERDfirst Yes I am stacking between three and six images with each one being red, green, blue, if I have more than three then I have red, green, blue yellow. So all my images are a single color and then I just blend them together. So you feel that addition would be a good fit for that method?

    • @NERDfirst
      @NERDfirst Месяц назад

      Yes that sounds good. If each of your images are already RGB (in that, for example, the red image has the red channel populated while the other two are completely black), then using addition will even restore full color information. For combining your RGBY images, you'll have to play around with the opacities of the channels to make it look right since R+G=Y so there might be some overlap of color information.

    • @LT72884
      @LT72884 Месяц назад

      @@NERDfirst perfect thank you. This is all new to me so i am trying to figure it all out haha

    • @NERDfirst
      @NERDfirst Месяц назад

      You're welcome! I'm glad to be of help. The good news is, there really aren't any right or wrong answers. Once you've figured out the basics, the rest is about experimentation and making your art look the way you want it to! All the best with your astrophotography work :)

  • @Cibu_Jay
    @Cibu_Jay Месяц назад

    Amazing ❤️

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you very much for your comment! Glad you liked the video =)

  • @theonionpirate1076
    @theonionpirate1076 Месяц назад

    two related questions: 1. can you asterisk an address literal to get the value stored there? 2. does the code treat addresses differently than a string that looks like an address?

    • @NERDfirst
      @NERDfirst Месяц назад

      1. Do you mean to look at the address of the pointer variable (not its target, but its own address)? If yes, then you can. I briefly discuss this at 6:55. 2. Yes, they're not the same, but only because you said "string". In C, a string is a sequence of characters, where an address looks more like an int or a long. What this means is, you could technically take an int that represents a valid memory address, cast it to a pointer type, and then use it to access a memory location. This is not common practice and comes with many caveats and risks, but it _is_ something that is technically possible.

  • @theonionpirate1076
    @theonionpirate1076 Месяц назад

    question: doesn't the variable name also need to be stored in a way that links it with that address? I'm guessing that's done by the compiler somehow, but how does that work?

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you for your comment! Variable names are really just an abstraction for memory addresses, making it easier for us to understand the code. By the time the program is compiled into machine code, the variable names are substituted with memory addresses, and they disappear. The low-level instructions generated for the CPU only manipulate memory addresses, registers, and other low-level constructs.

  • @swainscheps
    @swainscheps Месяц назад

    If the wire acts like an antenna…why do random signals flowing between ground and the pin behave differently from the random signals from before (when there was no pull down resistor)? Your animation shows there’s noise on the wire either way. So how does that solve the problem? And why does the closed switch ‘overwhelm’ the path to ground? I believe you. I’m sure you’re right. I just would love if one of the 40 RUclips videos on this topic would take a little more time and explain the why.

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you for your comment! These are fair points, I'll do what I can to clarify! I'm not sure that my animation shows that there's noise on the wire - It shows an electrical connection between the pin and ground. The kind of random noise we experience when the pin is floating comes from sources like electromagnetic induction. These are typically very low energy signals and therefore, the current generated is miniscule. When a voltage source is connected, the current generated is significantly higher. It "overwhelms" the noise by being the higher-energy source, exerting a greater "force" on the electrons in the conductor. When we pull down to ground, all the stray currents have a low resistance path to ground, so they "drain" that way instead of registering on the microcontroller's pin. We can use the same line of reasoning to understand why the closed switch overrides the pull-down resistor. There are two paths for the current to flow - Through the resistor to ground, or through the microcontroller pin, which has next to no resistance. Hence, most of the current flows to the pin, allowing it to register the voltage. That's what I mean by "overwhelming" the path to ground. Let me know if this makes things clearer or if you need further clarification!

  • @stefanabreu
    @stefanabreu Месяц назад

    amazing explanation, thank you!

    • @NERDfirst
      @NERDfirst Месяц назад

      You're welcome! Very happy to be of help =)

  • @mr.olsen.
    @mr.olsen. Месяц назад

    Thank you for the video. I`m building a arduino grbl cnc. I got alot of problems with limit switches, how "big" resistor should i use? Have tryed 10k with no luck. Thank you.

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you for your comment! I'm afraid I don't know enough about your use case to properly advise. The best I can do is to refer you to the Limit Switch page of the GRBL documentation here, I see that resistor values are given: github.com/gnea/grbl/wiki/Wiring-Limit-Switches

    • @mr.olsen.
      @mr.olsen. Месяц назад

      Thank you, that helped alot 👍And Thank you for the great video.

  • @WahranRai
    @WahranRai Месяц назад

    Some in RUclips are specialists in copy and paste of creation of others

    • @NERDfirst
      @NERDfirst Месяц назад

      Hello and thank you for your comment! I hope this is not in reference to me, as this was an original work, though I would admit, not particularly groundbreaking.

  • @pugdawg4787
    @pugdawg4787 Месяц назад

    Anti ghosting? Yeah yeah, idgaf. Hmmm, let's check wtf does it mean regardless. Ohhh turns out I just might give two or three fucks 😅 Thanks buddy! 👍

    • @NERDfirst
      @NERDfirst Месяц назад

      You're welcome! Yeah, it's not a feature everyone needs, but if you do, it's definitely great to pay attention to.

  • @ashwinsreejith5860
    @ashwinsreejith5860 Месяц назад

    Thank you so much !!!🙌

    • @NERDfirst
      @NERDfirst Месяц назад

      You're welcome! Glad to be of help :)

  • @anasmemon985
    @anasmemon985 2 месяца назад

    Really Amazing

    • @NERDfirst
      @NERDfirst 2 месяца назад

      Hello and thank you very much for your comment! Glad you liked the video =)

  • @japanesespirit1
    @japanesespirit1 2 месяца назад

    I want to end green screen video at the end of the video, how can i do that?

    • @NERDfirst
      @NERDfirst 2 месяца назад

      Hello and thank you for your comment! Do you mean that you want to stop the greenscreen effect before the video ends? If so, you probably can use timeline editing features (discussion starting at 9:06) - The "enable" option discussed might be useful.

  • @curtiuseucomentario6203
    @curtiuseucomentario6203 2 месяца назад

    thank you so much 🙏

    • @NERDfirst
      @NERDfirst 2 месяца назад

      You're welcome! Very happy to be of help :)

  • @staticshockboxing
    @staticshockboxing 2 месяца назад

    You’ve got star qualities. Great presentation. Not done watching just a note!

    • @NERDfirst
      @NERDfirst 2 месяца назад

      Hello and thank you very much for your comment! Glad you're liking my work so far :)

  • @L9syy
    @L9syy 2 месяца назад

    GOP1:12 is it IPPPPPPPPPPPI OR IPBPBPBPBPBPI

    • @NERDfirst
      @NERDfirst 2 месяца назад

      Hello and thank you for your comment! We typically only include one i-frame in each group of pictures (so don't end on an "I"). Other than that, both are valid ways to do GOP.

  • @howellkilian5602
    @howellkilian5602 2 месяца назад

    Brilliant! Thanks for your hard work.

    • @NERDfirst
      @NERDfirst 2 месяца назад

      You're welcome! Very happy to be of help =)

  • @x6zc
    @x6zc 2 месяца назад

    i've been browsing the web for 2 nights and your explanation is the best so far, and btw solve my problem, tnx a lot😁👍

    • @NERDfirst
      @NERDfirst 2 месяца назад

      You're welcome! Very happy to be of help =)

  • @codex7299
    @codex7299 2 месяца назад

    WE WANT MORE!!!

    • @codex7299
      @codex7299 2 месяца назад

      Christ 10 years ago... wow

    • @NERDfirst
      @NERDfirst 2 месяца назад

      Hello and thank you very much for your comment! Yeah this is from a loooong time ago, but at least I'm still here, lurking in the comments. Any specific topics you're interested in? I'll see what I can do.

  • @fayoztoshmirzaev7895
    @fayoztoshmirzaev7895 2 месяца назад

    Broo thank you very much, I was struggling lately to understand what an f JSON is and even proffesors in university did not explain it this well. Thank you very much! I wish you all the best

    • @NERDfirst
      @NERDfirst 2 месяца назад

      You're welcome! Very happy to be of help =)

  • @dasibaho
    @dasibaho 2 месяца назад

    Your videos on ffmpeg are awesome. Simple, clear, effective, visual examples. Awesome.

    • @NERDfirst
      @NERDfirst 2 месяца назад

      Hello and thank you very much for your comment! Thanks for hanging around and checking out my videos, glad they were useful for you =)