Determinism and Chance from a Humean Perspective