Most cited
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 809 posts.
The Church of Interruption
A conversation with a Wizard
Status as a Service
Editor's Note 1 : I have no editor. Editor’s Note 2 : I would like to assure new subscribers to this blog that most my posts are not as long as this one. Or as long as my previous one . My long break from posting here means that this piece is a collection of what would’ve normally been a series
An Update on Plugin Security
Learn about Figma's response to the security vulnerabilities that were reported in a 3rd-party library that we use for plugin security
Making SetInterval Declarative with React Hooks
How I learned to stop worrying and love refs.
A guide to useEffect in React
Effects are a part of your data flow.
Web Request and Declarative Net Request: Explaining the impact on Extensions
The Story So Far As part of an effort to increase user security and privacy, Chrome is planning a number of changes to the extensions pla...
Why isn't my time zone highlighted on the world map?
In the original release of Windows 95, you could change your time zone by clicking on the map, and the time zone you selected would highlight. Similarly,
What Percentage of Americans Own Guns?
Read Gallup's short answer to this common question about gun ownership, including what percentages of major demographic subgroups own guns.
Clean Coder Blog
Over the last several years we’ve seen a whole range of ideas regarding the architecture of systems. These include:
Four kinds of documentation
Find the software documentation system for Divio. Includes comprehensive tutorials, how-to guides, technical reference and explanation. Learn more here.
Svelte 3: Rethinking Reactivity
It’s finally here
Popcount CPU instruction
Most CPU architectures in use today have an instruction called popcount , short for “population count”. Here’s what it does: it counts the number of set bits in a machine word. For example (assuming 8-bit words for simplicity), popcount(00100110) is 3 and popcount(01100000) is 2 .
Transformers from Scratch
Repository for personal website
Against Against Pseudoaddiction
I. “Pseudoaddiction” is one of the standard beats every article on the opioid crisis has to hit. Pharma companies (the story goes) invented a concept called “pseudoaddiction”…
Homebrew Cray-1A
As part two ( see previous attempt ) of my ongoing series in ‘computational necromancy,’ I’ve spent the last year and a half or so constructing my own 1/10-scale, binary-compatible, cycle-accurate Cray-1. This project falls purely into the “because I can!” category – I was poking around the internet one day looking…
Strangler pattern, a powerful simple concept to do refactoring
Inspired by the strangler figs in Australia, a strangler fig application gradually draws behavior out of its host legacy application
A fast alternative to the modulo reduction (2016)
Suppose you want to pick an integer at random in a set of N elements. Your computer has functions to generate random 32-bit integers, how do you transform such numbers into indexes no larger than N? Suppose you have a hash table with a capacity N. Again, you need to transform your hash values (typically 32-bit ……
Parsing C++ is literally undecidable (2013)
Many programmers are aware that C++ templates are Turing-complete, andthis was proved in the 2003 paper C++ Templates areTuring Complete.
Happiness and Life Satisfaction (2017)
Self-reported life satisfaction differs widely between people and between countries. What explains these differences?
Here’s Why Juicero’s Press is So Expensive
Hidden away in Juicero’s bad week of press is one of the most powerful lessons we preach to hardware startups: unconstrained development is lethal. Last week Bloomberg published an article exposing how easy it is to “hack” Juicero’s produce packs by squeezing them with your hands, deeming the $69
Viktor T. Toth
This page contains a JavaScript calculator of Hawking radiation and other parameters of a Schwarzschild black hole.
What was the death toll from Chernobyl and Fukushima?
When we think of nuclear safety, two accidents often come to mind: Chernobyl and Fukushima. What was the death toll and impact of these disasters?
PEP 554 – Multiple Interpreters in the Stdlib
CPython has supported multiple interpreters in the same process (AKA “subinterpreters”) since version 1.5 (1997). The feature has been available via the C-API. [c-api] Multiple interpreters operate in relative isolation from one another, which facilit...
Radioactive Waste – Myths and Realities
There are a number of pervasive myths regarding both radiation and radioactive wastes. Some lead to regulation and actions which are counterproductive to human health and safety.