Invia SMS: Equilibrium and non-equilibrium statistical thermodynamics