Common derivation for Metropolis–Hastings and other MCMC algorithms | Hacker News Reader