Triple descent and the two kinds of overfitting: where & why do they appear?