Wikipedia defines a sample as:
a subset of a population.
While exploring the reason why we divide by $(n-1)$ instead of $n$ when calculating standard deviation (discussed in this question), I came across this PDF demonstrating why $(n-1)$ is better.
When listing all possible samples of $n=2$ from a population of three cards numbered 0, 2, and 4, it includes the samples (0,0), (2,2), and (4,4). I am having trouble reconciling this with the definition of a sample that I thought I knew (and that is given by Wikipedia).
A sample of 2 playing cards from a population of 52 would not include the Three of Hearts twice, would it? Likewise, I'd guess a survey of a sample of voters would not include the same voter multiple times.
Other sources back the method described in the PDF. What am I misunderstanding here?