block
by
dribnet
163656a1c57150def7909cbebf4f07d9
k-hot encoding (like 1-hot, but with k active bits)
khot.py