[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] karm logging restructure
From:       "Tomas Pospisek's Mailing Lists" <tpo2 () sourcepole ! ch>
Date:       2003-04-18 13:09:08
[Download RAW message or body]

On Fri, 18 Apr 2003, Mark Bucciarelli wrote:

> On Friday 18 April 2003 8:04 am, Tomas Pospisek's Mailing Lists wrote:
>
> > Usecase: you notice that the wrong task is running. What do you do?
> > One option is to reset the task. Lets say you do that and you
> > notice that before that you weren't working on that task either but
> > were playing frogger. What do you do? Substract an hour from the
> > total? Now you go back and you have to make sense of the logs.
> > You've got something like this:
> >
> > <start "work" "1.1.4-12:10" total >
> > <stop  "work" "1.1.4-13:10" total€>
> > <start "work" "2.1.4-12:10" total€>
> > <stop  "work" "2.1.4-13:10" total0>
> > <start "work" "2.1.4-14:20" total00>
> > <stop  "work" "2.1.4-14:21" total1>
> > <reset "work" diff="-1"        total0>
> > <reset "work" diff="-20"       total0>
> >
> > Now when you have to make sense of the logs afterward, where do you
> > substract these 20 minutes?
>
> >From the total "work" time for April 2.
>
>
> > > The only risk is that people create a negative task time.  This
> > > should be easy to trap since we know the total session time and
> > > the total time.
> >
> > No the problem is that you can end up with logs that contain
> > insufficient info to reconstruct the past from them.
>
> Ok, I understand your point (finally!).  If someone subtracts two
> hours from a task, karm has no way of knowing which of today's
> entries (or yesterdays, or the day before's) to take it from.
>
> Hmmm, I'm not sure this matters.  I don't know if there is a good
> solution to this problem from a program that is a "logger".  I'd be
> curious what other people's experience is with time trackers/time
> clocks.  I wonder how places with time clocks deal with this issue,
> namely adjusting the time of some previously logged task.
>
> Taglog did give you the ability to go back in time and edit the end
> time of a log entry.  But it was problematic.  if I reduced a task
> end time, then I had a "gap" in that day.  If I increased it, it
> overlapped with the next task.  It was a pain, so I never did it.
>
> It could just be like a "miscellaneous adjustments" line item on a
> income statement.  Accountants are allowed to have this account on
> the income statement that basically means "I was off by some amount,
> but it's not worth my time to figure it out exactly, so I'll put the
> amount here."
>
> I'm curious what other people's experience is with time clocks.  (Has
> any developer here actually ever punched a time card? :) How does
> titrax deal with this?  Any other good tools out there?  I can take a
> look at the Kronos site (time clock vendor).

The point is that your primitives (in this case the basic data
structures) have to be expressive enough that you _can_ represent all
kinds of things. Once you've got that you can even do braindammaged things
with it and it will still fit.

That base is the libkcal class. It offers you events and tasks. Events
represent timestamps. Now you can take those timestamps and build
intervalls from them. Karm uses intervalls. There are even widgets to
change those timestamps in a nice way. What lacks is integrating the
libkcal class into karm, so that karm is based on libkcal.

Start korganizer and start entering and moving around some events and
you'll find out what I'm talking about.

If we want coherence then we'll give the user to use karm like he was
doing before but we will need to be operating on from-to intervalls.
*t


--
-----------------------------------------------------------
         Tomas Pospisek
         SourcePole   -  Linux & Open Source Solutions
         http://sourcepole.ch
         Elestastrasse 18, 7310 Bad Ragaz, Switzerland
         Tel: +41 (81) 330 77 11
-----------------------------------------------------------

_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic