The obvious way to implement a FIFO using SRAM is by using a dual-port SRAM — one port for reading, one for writing. Dual-port SRAMs are expensive (in...
Several days earlier, @dram showed me this piece of C++ code from the WG21 paper P3292R0 that is “miscompiled” by both G++ and Clang++, and convinced...
It’s well known that you can add external programs on Steam to friendly remind your friends that you are doing hard work™ and maybe they should too....
Recently I need to generate a few X.509 certificates for connection authentication in QUIC. A custom root trust anchors is used to sign certificates for...
2025年7月8日
pause() is not enough for scroll-driven animations
When doing navigation in SPA, the scroll position would often experience a sudden change, either done intentionally to return to the top of the newly accessed...
Edited 06-29: updated how to compute the length of the direction vector. See the end of this post.
Intuitively, the Chinese stroke “㇐”U+31D0 has a horizontal...