Re: Time classes lifecycle index

2011-05-08 Thread Daniel V. Klein
On May 7, 2011, at 11:20 PM, Jerome Baum wrote: > Also, you can already do "real math" -- call a shell command to do the > computation and use an appropriate return code, then define the class based > on that. If the command is pure (as in "pure function") then it fits in with > promise theory

Re: Time classes lifecycle index

2011-05-08 Thread Mark Burgess
It is an arbitrary choice, based on common practice. On 08/05/11 04:54, Jerome Baum wrote: > On Sun, May 8, 2011 at 04:49, Daniel V. Klein > wrote: > > Some business models use a 3-year lifecycle. Amortization and > probably other stuff. Since you can't do mat

Re: Time classes lifecycle index

2011-05-07 Thread Jerome Baum
On Sun, May 8, 2011 at 05:01, Daniel V. Klein wrote: > But yes, it would have been difficult to define YrMod3Eq2, because then you > have to work very hard to make everyone happy, and eventually someone starts > insisting on getting real math, and then the whole promise theory > implementation br

Re: Time classes lifecycle index

2011-05-07 Thread Nick Anderson
On 05/07/2011 09:54 PM, Jerome Baum wrote: > On Sun, May 8, 2011 at 04:49, Daniel V. Klein > wrote: > > Some business models use a 3-year lifecycle. Amortization and > probably other stuff. Since you can't do math directly in Cfengine, > a "lifecycle index"

Re: Time classes lifecycle index

2011-05-07 Thread Daniel V. Klein
I merely clarify the documentation, I don't write the code :-) I leave it to Mark to reply on this one. But yes, it would have been difficult to define YrMod3Eq2, because then you have to work very hard to make everyone happy, and eventually someone starts insisting on getting real math, and t

Re: Time classes lifecycle index

2011-05-07 Thread Jerome Baum
On Sun, May 8, 2011 at 04:49, Daniel V. Klein wrote: > Some business models use a 3-year lifecycle. Amortization and probably > other stuff. Since you can't do math directly in Cfengine, a "lifecycle > index" is a quick way of getting a value based o the year, for evaluating > lifecycles. > Ho

Re: Time classes lifecycle index

2011-05-07 Thread Daniel V. Klein
Some business models use a 3-year lifecycle. Amortization and probably other stuff. Since you can't do math directly in Cfengine, a "lifecycle index" is a quick way of getting a value based o the year, for evaluating lifecycles. Personally, I have no use for it - but other folks do! -Dan On

Time classes lifecycle index

2011-05-07 Thread Nick Anderson
Will someone explain to me what this is used for? Perhaps I am dense, but I dont understand what the year number is, or why it would be useful. A `lifecycle index', which is the year number modulo 3 (used in long term resource memory). -- Nick Anderson