News for hackers. Stuff that matters.
Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video] by rowanG077 on Monday September 18, 2023 @10:26AM (#37556548)
I really, really hate HW solution for something so easily solved in Software.
Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video] by numpad0 on Monday September 18, 2023 @03:45PM (#37561026)
In reality you implement both. Basic noise filtering in hardware, plus rate limiting or something in software.

onClick event handlers in most GUI triggers on mouse button releases, for example.

Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video] by rowanG077 on Monday September 18, 2023 @04:04PM (#37561256)
I have almost never seen hardware debouncing. It's just way better done in software. Unless you have extremely specialized switched which require HW debouncing(???), please just do it in software.
Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video] by numpad0 on Monday September 18, 2023 @06:20PM (#37562908)
Really? A button just coming from GPIO into a 10k to ground? Is CPU not going to randomly lock up?
Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video] by rowanG077 on Monday September 18, 2023 @08:13PM (#37564058)
There is no reason the CPU is going to lock up. Bounce is not random spurious triggers.