How to effectively conduct programming interviews

How to reliably understand if a candidate is a good programmer, inspired by Casey Muratori