Hacker News new | ask | show | jobs
by jl2718 1520 days ago
A specific string of bits has zero entropy. It may be a sample from a distribution which has some entropy.

Unless you are selecting a random single bit from that string, in which the entropy of that selection process is -p1log p1 - p0log p0.