This project is read-only.

Keeping stats after restart, and stats history?

May 12, 2011 at 5:35 PM

The program is very cool but it's a pitty it doesn't keep daily stats after reset, perhaps it could load the stats from current day on load?

Also it would be cool to have overall stats that would be counted from the beginning in one database? Just for fun :)

May 27, 2011 at 10:20 AM

yes, I absolutely agree on that - I will add "keeping stats after restart" to the issue tracker.

I don't have time to implement it right now, but this is an open source project and I am welcoming contributions.

  • I think the current stats can be serialized to an xml file at fixed time intervals and when the application exits.
  • When starting the application the xml file can be read, and the user can be prompted to continue the current stats if it is the same day. 

The most important statistics are logged in a text file and you can use other application to analyze/plot/accumulate these.

I find the day to day statistics more interesting than totals, are you sure that is needed? I try to keep the application as simple as possible.