Probability
A note on log-sum-exp
Subtracting the maximum turns an overflow into an exact identity. The same shift makes softmax safe.
Why the sample variance divides by n − 1
A short proof that dividing by n − 1 removes the bias, and a reminder that the unbiased estimator is not the most accurate one.