The Metropolis Algorithm: Theory and Examples | Hacker News Reader