Time-weighted averages

This via HN today: What time-weighted averages are and why you should care. Looks really interesting! Wish I had time to read it closely…