Quake III's legendary fast inverse square root for dummies
https://www.youtube.com/watch?v=p8u_k2LIZyo
https://www.youtube.com/watch?v=p8u_k2LIZyo
YouTube
Fast Inverse Square Root — A Quake III Algorithm
In this video we will take an in depth look at the fast inverse square root and see where the mysterious number 0x5f3759df comes from. This algorithm became famous after id Software open sourced the engine for Quake III. On the way we will also learn about…
Turning vaguely reassuring finite-state machines into regular expressions
https://qntm.org/plants
The equivalence of regexes and state machines is fairly well known, but not often demonstrated in this direction!
https://qntm.org/plants
The equivalence of regexes and state machines is fairly well known, but not often demonstrated in this direction!
qntm.org
Turning vaguely reassuring finite-state machines into regular expressions
There's a Twitter account I like called @happyautomata, which periodically posts randomly-generated finite-state machines. Followers of this account make a hobby of turning the FSMs into regular expressions. This is always possible, because (strictly regular)…
The distant legacy of terminal emulators
https://portal.mozz.us/gemini/drewdevault.com/2021/10/05/Terminal-emulation-legacy.gmi
https://portal.mozz.us/gemini/drewdevault.com/2021/10/05/Terminal-emulation-legacy.gmi
An inside look into the illicit ad industry
https://ariadne.space/2021/11/04/an-inside-look-into-the-illicit-ad-industry/
https://ariadne.space/2021/11/04/an-inside-look-into-the-illicit-ad-industry/
ariadne.space
an inside look into the illicit ad industry
So, you want to work in ad tech, do you? Perhaps this will be a cautionary tale…
I have worked my entire life as a contractor. This has had advantages and disadvantages. For example, I am free to set my own schedule, and undertake engagements at my own leisure…
I have worked my entire life as a contractor. This has had advantages and disadvantages. For example, I am free to set my own schedule, and undertake engagements at my own leisure…
Preventing Log4j with Capabilities
https://justinpombrio.net/2021/12/26/preventing-log4j-with-capabilities.html
https://justinpombrio.net/2021/12/26/preventing-log4j-with-capabilities.html
Can You Trust a Compiler to Optimize Your Code?
https://matklad.github.io/2023/04/09/can-you-trust-a-compiler-to-optimize-your-code.html
https://matklad.github.io/2023/04/09/can-you-trust-a-compiler-to-optimize-your-code.html
matklad.github.io
Can You Trust a Compiler to Optimize Your Code?
More or less the title this time, but first, a story about SIMD. There are three
levels of understanding how SIMD works (well, at least I am level 3 at the moment):
levels of understanding how SIMD works (well, at least I am level 3 at the moment):