This One Abstraction Made My Frontend 10× More Maintainable, by (not on Mastodon or Bluesky):

https://archive.fo/scyQ5

#events #dom #debouncing

I Copy These 10 Code Snippets Into Every Project, by (not on Mastodon or Bluesky):

https://archive.fo/NWE6H

#javascript #debouncing #json #objects #arrays

I made this basic #debouncing example with an SPDT switch which is a flip switch with 3 terminals: the common middle one is either connected to the left or right one. The left and right pin are pulled up with two resistors, and ground on the common pin pulls one of them down when the switch is engaged. The raw readout (blue) shows at least 10x 100 us = 1 ms of bounces which is not too bad actually. The edge of the debounced output (yellow) is vertical on this scale. More: https://www.eeweb.com/spdt-switch-debouncing-with-an-sr-latch/

RT from fpga_kian (@splinedrive)

RISC-V #pong another proof of concept running. Sound and button, #debouncing is only done in c code via generic gpio controller from #kianv #soc, no logic design needed. RiscVPong

#icefun #ice40 #verilog #c #led #matrix #gpio #riscv kianv #rv32im unittested #cpu you can trust..

[Video embedded in original tweet]

Original tweet : https://twitter.com/splinedrive/status/1522275886032171013

fpga_kian on Twitter

“RISC-V #pong another proof of concept running. Sound and button, #debouncing is only done in c code via generic gpio controller from #kianv #soc, no logic design needed. RiscVPong #icefun #ice40 #verilog #c #led #matrix #gpio #riscv kianv #rv32im unittested #cpu you can trust.. https://t.co/fLwc9XA5YQ”

Twitter
GrabBag 3: Fixing PoolParty, Improving Fingerprinting Protections, More Debouncing, and Less Chromium | Brave Browser

Brave continues to ship the most aggressive and broad privacy protections available in any popular browser. Starting in Brave 1.35, Brave includes protections against all known practical forms of “pool-party” attacks.

Brave Browser