The principle of truncations in applied probability