Hacker News new | ask | show | jobs
by jlhawn 3033 days ago
I wrote a quick little program to sort of prove this to myself: https://play.golang.org/p/fITZrZgzTT7

While the average difference in time between one record and the next is 10, the weighted average over the entire duration is 20.

1 comments

I updated it with some comments explaining what's going on: https://play.golang.org/p/xEnlcwBX4CN