2nd May 2020
TIL
Constant-time comparison of strings in Node
— When comparing secrets, passwords etc it's important to use a constant-time compare function to avoid timing attacks.
Recent articles
- Thoughts on OpenAI acquiring Astral and uv/ruff/ty - 19th March 2026
- GPT-5.4 mini and GPT-5.4 nano, which can describe 76,000 photos for $52 - 17th March 2026
- My fireside chat about agentic engineering at the Pragmatic Summit - 14th March 2026