Zdeněk Kedaj | 6 Apr 2010 11:58
Picon

historystats file format documentation

Hello everyone, 
is there any documentation on the historystats file? I want to know the meaning of the rows and numbers in this file as I am going to write Java app for extract the data to some format that can be easily read/imported to some statistics software. Although I can guess the format I would like some more feedback from people who really know the meaning of those numbers.

Regards
Zdenek
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
Joe Wells | 8 Apr 2010 15:30
Picon
Favicon

Re: historystats file format documentation

Zdeněk Kedaj <zdenek.kedaj <at> gmail.com> writes:

> Hello everyone, 
> is there any documentation on the historystats file? I want to know the meaning
> of the rows and numbers in this file as I am going to write Java app for
> extract the data to some format that can be easily read/imported to some
> statistics software. Although I can guess the format I would like some more
> feedback from people who really know the meaning of those numbers.

Here is a relevant comment from contrib/plot/workrave-dump in the
Workrave 1.8.5 distribution:

# WorkRaveStats 4
# D 16 5 104 14 51 17 5 104 3 59
# B 0 7 9 8 40 0 0 9 386 
# B 1 7 4 1 0 1 3 4 362 
# B 2 7 0 0 0 0 0 0 0 
# m 6 6049 234742 113560 266 417 16617 
# D 17 5 104 16 49 18 5 104 3 59
# B 0 7 1 0 3 0 0 1 526 
# B 1 7 3 0 0 0 2 2 1768 
# B 2 7 0 0 0 0 0 0 872 
# m 6 15272 39275 11937 36 30 1899 
#
# D(ate):	[ tm_mday tm_mon tm_year tm_hour tm_min ] {2}
#
# B(reak):	<t> <nn> <x0> <x1> <x2> <x3> <x4> <x5> <x6>
#
#	<t> = break type
# 		0 = microbreak
#		1 = rest break
#		2 = daily limit
#
#	<nn> STATS_BREAKVALUE_SIZEOF - number of following numbers
#
#	<x0> STATS_BREAKVALUE_PROMPTED - break prompts<x6> + repeated prompts
#	<x1> STATS_BREAKVALUE_TAKEN - prompted breaks taken
#	<x2> STATS_BREAKVALUE_NATURAL_TAKEN - natural breaks taken
#	<x3> STATS_BREAKVALUE_SKIPPED - breaks skipped
#	<x4> STATS_BREAKVALUE_POSTPONED - breaks postponed
#	<x5> STATS_BREAKVALUE_UNIQUE_BREAKS - break prompts
#	<x6> STATS_BREAKVALUE_TOTAL_OVERDUE - overdue time (seconds)
#
# m(isc):	<nn> <x0> <x1> <x2> <x3> <x4> <x5>
#
# 	<nn> STATS_VALUE_SIZEOF
#	<x0> STATS_VALUE_TOTAL_ACTIVE_TIME (seconds)
#	<x1> STATS_VALUE_TOTAL_MOUSE_MOVEMENT
#	<x2> STATS_VALUE_TOTAL_CLICK_MOVEMENT
#	<x3> STATS_VALUE_TOTAL_MOVEMENT_TIME (seconds)
#	<x4> STATS_VALUE_TOTAL_CLICKS
#	<x5> STATS_VALUE_TOTAL_KEYSTROKES

I hope this helps.

--

-- 
With my best regards,

Joe Wells

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
Odin Omdal Hørthe | 8 Apr 2010 15:45
Picon
Gravatar

Re: historystats file format documentation

2010/4/8 Joe Wells <jbwells <at> blueyonder.co.uk>:
> Zdeněk Kedaj <zdenek.kedaj <at> gmail.com> writes:
>
>> Hello everyone,
>> is there any documentation on the historystats file? I want to know the meaning
>> of the rows and numbers in this file as I am going to write Java app for
>> extract the data to some format that can be easily read/imported to some
>> statistics software. Although I can guess the format I would like some more
>> feedback from people who really know the meaning of those numbers.
>
> Here is a relevant comment from contrib/plot/workrave-dump in the
> Workrave 1.8.5 distribution:

I wrote some rather nice (of course ;-)))) ) bash scripts that made
statistics from the workrave data file. That was a long time ago,
would be nice to find it. Is there anyone else that have made such
programs/scripts and that actually know where to find them?
--

-- 
Beste helsing,
Odin Hørthe Omdal <odin.omdal <at> gmail.com>
http://velmont.no

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
arnaud casse | 14 Apr 2010 09:48
Picon
Favicon

Bug with pictures missing - end !

Just wanted to let you know that I finally find where was the bug : I choose as setup folder a name with accentuation ("Système") and workrave didn't like it. When I choose the default "Program Files", all work like a charm.

Thank you !

Télécharger en toute sécurité sur Internet ? La solution avec Internet Explorer 8
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
Rob Caelers | 14 Apr 2010 17:20
Gravatar

Re: Bug with pictures missing - end !

On 14-04-10 09:48, arnaud casse wrote:
> Just wanted to let you know that I finally find where was the bug : I
> choose as setup folder a name with accentuation ("Syst�me") and workrave
> didn't like it. When I choose the default "Program Files", all work like
> a charm.

Thanks for lettings us know. This explains why I've never been able to 
reproduce this problem.  I'll see if I can make Workrave more robust.

Thanks!

Groetjes,
   Rob

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
Joe Wells | 15 Apr 2010 10:45
Picon
Favicon

Re: historystats file format documentation

Zdeněk Kedaj <zdenek.kedaj <at> gmail.com> writes:

> The date format is a bit confusing, why it starts with "1" and why is not full
> year representation present? I guess 104 in the exaple corresponds to year 2004
> - or is there any other magic interpretation of 104? :)

I think the contents of this line is just a raw dump of the data that
is returned by the “localtime” or “gmtime” library function calls on POSIX
systems.  The documentation of those functions says this:

  tm_year
    The number of years since 1900.

> I also guess the two
> dates on the line mean "start of recording" and "end of recording" within one
> day, unless the work period overlaps to the next day.

I think you are (mostly) correct.  The first date seems to be the time
of the earliest activity noticed on a given day, and the second one
seems to be the time of the last activity on that same day.

> It would be more valuable
> to segment the work records in hours in the next version of workrave
> stats.

It is true that you need to do some processing to get a breakdown by
hours.  Fortunately, the information you want is already there.

-- 
Joe

> Well but thanks for feedback anyway, I will have the java stuff done untill the
> end of april :)
>
> Regards
> Zdenek Kedaj
>
> 2010/4/8 Joe Wells <jbwells <at> blueyonder.co.uk>
>
>     Zdeněk Kedaj <zdenek.kedaj <at> gmail.com> writes:
>
>     > Hello everyone, 
>     > is there any documentation on the historystats file? I want to know the
>     meaning
>     > of the rows and numbers in this file as I am going to write Java app for
>     > extract the data to some format that can be easily read/imported to some
>     > statistics software. Although I can guess the format I would like some
>     more
>     > feedback from people who really know the meaning of those numbers.
>
>     Here is a relevant comment from contrib/plot/workrave-dump in the
>     Workrave 1.8.5 distribution:
>
>     # WorkRaveStats 4
>     # D 16 5 104 14 51 17 5 104 3 59
>     # B 0 7 9 8 40 0 0 9 386
>     # B 1 7 4 1 0 1 3 4 362
>     # B 2 7 0 0 0 0 0 0 0
>     # m 6 6049 234742 113560 266 417 16617
>     # D 17 5 104 16 49 18 5 104 3 59
>     # B 0 7 1 0 3 0 0 1 526
>     # B 1 7 3 0 0 0 2 2 1768
>     # B 2 7 0 0 0 0 0 0 872
>     # m 6 15272 39275 11937 36 30 1899
>     #
>     # D(ate):       [ tm_mday tm_mon tm_year tm_hour tm_min ] {2}
>     #
>     # B(reak):      <t> <nn> <x0> <x1> <x2> <x3> <x4> <x5> <x6>
>     #
>     #       <t> = break type
>     #               0 = microbreak
>     #               1 = rest break
>     #               2 = daily limit
>     #
>     #       <nn> STATS_BREAKVALUE_SIZEOF - number of following numbers
>     #
>     #       <x0> STATS_BREAKVALUE_PROMPTED - break prompts<x6> + repeated
>     prompts
>     #       <x1> STATS_BREAKVALUE_TAKEN - prompted breaks taken
>     #       <x2> STATS_BREAKVALUE_NATURAL_TAKEN - natural breaks taken
>     #       <x3> STATS_BREAKVALUE_SKIPPED - breaks skipped
>     #       <x4> STATS_BREAKVALUE_POSTPONED - breaks postponed
>     #       <x5> STATS_BREAKVALUE_UNIQUE_BREAKS - break prompts
>     #       <x6> STATS_BREAKVALUE_TOTAL_OVERDUE - overdue time (seconds)
>     #
>     # m(isc):       <nn> <x0> <x1> <x2> <x3> <x4> <x5>
>     #
>     #       <nn> STATS_VALUE_SIZEOF
>     #       <x0> STATS_VALUE_TOTAL_ACTIVE_TIME (seconds)
>     #       <x1> STATS_VALUE_TOTAL_MOUSE_MOVEMENT
>     #       <x2> STATS_VALUE_TOTAL_CLICK_MOVEMENT
>     #       <x3> STATS_VALUE_TOTAL_MOVEMENT_TIME (seconds)
>     #       <x4> STATS_VALUE_TOTAL_CLICKS
>     #       <x5> STATS_VALUE_TOTAL_KEYSTROKES
>
>     I hope this helps.
>
>     --
>     With my best regards,
>
>     Joe Wells

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
Zdeněk Kedaj | 15 Apr 2010 09:56
Picon

Re: historystats file format documentation

The date format is a bit confusing, why it starts with "1" and why is not full year representation present? I guess 104 in the exaple corresponds to year 2004 - or is there any other magic interpretation of 104? :) I also guess the two dates on the line mean "start of recording" and "end of recording" within one day, unless the work period overlaps to the next day. It would be more valuable to segment the work records in hours in the next version of workrave stats. Well but thanks for feedback anyway, I will have the java stuff done untill the end of april :)

Regards
Zdenek Kedaj

2010/4/8 Joe Wells <jbwells <at> blueyonder.co.uk>
Zdeněk Kedaj <zdenek.kedaj <at> gmail.com> writes:

> Hello everyone, 
> is there any documentation on the historystats file? I want to know the meaning
> of the rows and numbers in this file as I am going to write Java app for
> extract the data to some format that can be easily read/imported to some
> statistics software. Although I can guess the format I would like some more
> feedback from people who really know the meaning of those numbers.

Here is a relevant comment from contrib/plot/workrave-dump in the
Workrave 1.8.5 distribution:

# WorkRaveStats 4
# D 16 5 104 14 51 17 5 104 3 59
# B 0 7 9 8 40 0 0 9 386
# B 1 7 4 1 0 1 3 4 362
# B 2 7 0 0 0 0 0 0 0
# m 6 6049 234742 113560 266 417 16617
# D 17 5 104 16 49 18 5 104 3 59
# B 0 7 1 0 3 0 0 1 526
# B 1 7 3 0 0 0 2 2 1768
# B 2 7 0 0 0 0 0 0 872
# m 6 15272 39275 11937 36 30 1899
#
# D(ate):       [ tm_mday tm_mon tm_year tm_hour tm_min ] {2}
#
# B(reak):      <t> <nn> <x0> <x1> <x2> <x3> <x4> <x5> <x6>
#
#       <t> = break type
#               0 = microbreak
#               1 = rest break
#               2 = daily limit
#
#       <nn> STATS_BREAKVALUE_SIZEOF - number of following numbers
#
#       <x0> STATS_BREAKVALUE_PROMPTED - break prompts<x6> + repeated prompts
#       <x1> STATS_BREAKVALUE_TAKEN - prompted breaks taken
#       <x2> STATS_BREAKVALUE_NATURAL_TAKEN - natural breaks taken
#       <x3> STATS_BREAKVALUE_SKIPPED - breaks skipped
#       <x4> STATS_BREAKVALUE_POSTPONED - breaks postponed
#       <x5> STATS_BREAKVALUE_UNIQUE_BREAKS - break prompts
#       <x6> STATS_BREAKVALUE_TOTAL_OVERDUE - overdue time (seconds)
#
# m(isc):       <nn> <x0> <x1> <x2> <x3> <x4> <x5>
#
#       <nn> STATS_VALUE_SIZEOF
#       <x0> STATS_VALUE_TOTAL_ACTIVE_TIME (seconds)
#       <x1> STATS_VALUE_TOTAL_MOUSE_MOVEMENT
#       <x2> STATS_VALUE_TOTAL_CLICK_MOVEMENT
#       <x3> STATS_VALUE_TOTAL_MOVEMENT_TIME (seconds)
#       <x4> STATS_VALUE_TOTAL_CLICKS
#       <x5> STATS_VALUE_TOTAL_KEYSTROKES

I hope this helps.

--
With my best regards,

Joe Wells


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
Zdeněk Kedaj | 15 Apr 2010 10:54
Picon

Re: historystats file format documentation



2010/4/15 Joe Wells <jbwells <at> blueyonder.co.uk>
Zdeněk Kedaj <zdenek.kedaj <at> gmail.com> writes:

> The date format is a bit confusing, why it starts with "1" and why is not full
> year representation present? I guess 104 in the exaple corresponds to year 2004
> - or is there any other magic interpretation of 104? :)

I think the contents of this line is just a raw dump of the data that
is returned by the “localtime” or “gmtime” library function calls on POSIX
systems.  The documentation of those functions says this:

 tm_year
   The number of years since 1900.

> I also guess the two
> dates on the line mean "start of recording" and "end of recording" within one
> day, unless the work period overlaps to the next day.

I think you are (mostly) correct.  The first date seems to be the time
of the earliest activity noticed on a given day, and the second one
seems to be the time of the last activity on that same day.

> It would be more valuable
> to segment the work records in hours in the next version of workrave
> stats.

It is true that you need to do some processing to get a breakdown by
hours.  Fortunately, the information you want is already there.

The basic information is there, but you loose the knowledge of how is the work distributed during the day. If you work 5 hours in the morning and then just click shut down in the evening you get misleading work period. From this historystat format you cannot make any conclusions about workloads during the day (which could be interesting), that is what I tried to point out.
 

--
Joe

> Well but thanks for feedback anyway, I will have the java stuff done untill the
> end of april :)
>
> Regards
> Zdenek Kedaj
>
> 2010/4/8 Joe Wells <jbwells <at> blueyonder.co.uk>
>
>     Zdeněk Kedaj <zdenek.kedaj <at> gmail.com> writes:
>
>     > Hello everyone, 
>     > is there any documentation on the historystats file? I want to know the
>     meaning
>     > of the rows and numbers in this file as I am going to write Java app for
>     > extract the data to some format that can be easily read/imported to some
>     > statistics software. Although I can guess the format I would like some
>     more
>     > feedback from people who really know the meaning of those numbers.
>
>     Here is a relevant comment from contrib/plot/workrave-dump in the
>     Workrave 1.8.5 distribution:
>
>     # WorkRaveStats 4
>     # D 16 5 104 14 51 17 5 104 3 59
>     # B 0 7 9 8 40 0 0 9 386
>     # B 1 7 4 1 0 1 3 4 362
>     # B 2 7 0 0 0 0 0 0 0
>     # m 6 6049 234742 113560 266 417 16617
>     # D 17 5 104 16 49 18 5 104 3 59
>     # B 0 7 1 0 3 0 0 1 526
>     # B 1 7 3 0 0 0 2 2 1768
>     # B 2 7 0 0 0 0 0 0 872
>     # m 6 15272 39275 11937 36 30 1899
>     #
>     # D(ate):       [ tm_mday tm_mon tm_year tm_hour tm_min ] {2}
>     #
>     # B(reak):      <t> <nn> <x0> <x1> <x2> <x3> <x4> <x5> <x6>
>     #
>     #       <t> = break type
>     #               0 = microbreak
>     #               1 = rest break
>     #               2 = daily limit
>     #
>     #       <nn> STATS_BREAKVALUE_SIZEOF - number of following numbers
>     #
>     #       <x0> STATS_BREAKVALUE_PROMPTED - break prompts<x6> + repeated
>     prompts
>     #       <x1> STATS_BREAKVALUE_TAKEN - prompted breaks taken
>     #       <x2> STATS_BREAKVALUE_NATURAL_TAKEN - natural breaks taken
>     #       <x3> STATS_BREAKVALUE_SKIPPED - breaks skipped
>     #       <x4> STATS_BREAKVALUE_POSTPONED - breaks postponed
>     #       <x5> STATS_BREAKVALUE_UNIQUE_BREAKS - break prompts
>     #       <x6> STATS_BREAKVALUE_TOTAL_OVERDUE - overdue time (seconds)
>     #
>     # m(isc):       <nn> <x0> <x1> <x2> <x3> <x4> <x5>
>     #
>     #       <nn> STATS_VALUE_SIZEOF
>     #       <x0> STATS_VALUE_TOTAL_ACTIVE_TIME (seconds)
>     #       <x1> STATS_VALUE_TOTAL_MOUSE_MOVEMENT
>     #       <x2> STATS_VALUE_TOTAL_CLICK_MOVEMENT
>     #       <x3> STATS_VALUE_TOTAL_MOVEMENT_TIME (seconds)
>     #       <x4> STATS_VALUE_TOTAL_CLICKS
>     #       <x5> STATS_VALUE_TOTAL_KEYSTROKES
>
>     I hope this helps.
>
>     --
>     With my best regards,
>
>     Joe Wells


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Workrave-user mailing list
Workrave-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/workrave-user
Aryn Kennedy | 21 Apr 2010 01:49
Picon
Favicon

Rest breaks and micro breaks not counting

For about two weeks, both my micro breaks and my rest breaks have ceased counting down. The times between
breaks is properly counted, but the micro break freezes at :28 (of 30) and the rest break freezes at 3:27 (of
5:00). If I don't skip them, they will stay at these counts indefinitely.

I've tried uninstalling and reinstalling Workrave a few times, but the issue hasn't been resolved.

Any suggestions?

Aryn

------------------------------------------------------------------------------
Joe Wells | 21 Apr 2010 12:04
Picon
Favicon

Re: Rest breaks and micro breaks not counting

Aryn Kennedy <arynm <at> earthlink.net> writes:

> For about two weeks, both my micro breaks and my rest breaks have
> ceased counting down. The times between breaks is properly counted,
> but the micro break freezes at :28 (of 30) and the rest break
> freezes at 3:27 (of 5:00). If I don't skip them, they will stay at
> these counts indefinitely.
>
> I've tried uninstalling and reinstalling Workrave a few times, but
> the issue hasn't been resolved.
>
> Any suggestions?

Does it always freeze at exactly the same counts (28 and 3:27)?

If so, weird!

What's your version of Workrave?  What operating system are you using?
Etc.

There has been discussion on the mailing list and in the bug tracker
of a problem where the micro_break timer freezes, usually at a
negative value.  This is _not_ while the break is active though, so
with this earlier problem you don't have to skip any break.  I don't
remember hearing of the rest break timer freezing.

I hope this helps.

--

-- 
Joe

------------------------------------------------------------------------------

Gmane