Regularization in a nutshell