How to measure active users?

I can’t take credit – @simon wrote them.