How Random Sampling Is Done