Some Theory of Sampling