Re: testing the book zeroing code (maybe for backport?) Offline

2008-03-16 Thread Andreas Köhler
Hi Tim, Am Donnerstag, den 13.03.2008, 14:26 -0400 schrieb Tim Wunder: On Saturday 08 March 2008 07:13:31 pm Andreas Köhler wrote: Hi Tim, On Do, 2008-02-07 at 16:37 -0500, Derek Atkins wrote: ---8--- Well, it's possible that GetBalanceAsOfDate goes forward in time instead of

Re: testing the book zeroing code (maybe for backport?) Offline

2008-03-13 Thread Tim Wunder
On Saturday 08 March 2008 07:13:31 pm Andreas Köhler wrote: Hi Tim, On Do, 2008-02-07 at 16:37 -0500, Derek Atkins wrote: ---8--- Well, it's possible that GetBalanceAsOfDate goes forward in time instead of backwards in time, which means that the more transactions you have the longer it

Re: testing the book zeroing code (maybe for backport?) Offline

2008-03-10 Thread Derek Atkins
Andreas, Andreas Köhler [EMAIL PROTECTED] writes: Derek, in the currently active code we walk through the splits from the head of the list, searching for the first split (A) with a posted date = the given one, and then return the balance of the split preceding A. In the book closing code you

Re: testing the book zeroing code (maybe for backport?) Offline

2008-03-08 Thread Andreas Köhler
Hi Tim, On Do, 2008-02-07 at 16:37 -0500, Derek Atkins wrote: ---8--- Well, it's possible that GetBalanceAsOfDate goes forward in time instead of backwards in time, which means that the more transactions you have the longer it takes. ---8--- may you please tell me a few more numbers? * with

Re: testing the book zeroing code (maybe for backport?) Offline

2008-03-04 Thread Derek Atkins
Andreas Köhler [EMAIL PROTECTED] writes: Hi, Am Freitag, den 29.02.2008, 11:14 -0500 schrieb Derek Atkins: Quoting Andreas Köhler [EMAIL PROTECTED]: So.. We could probably solve this by keeping a tail pointer and then we could search from the end instead of the front. FWIW, I think

Re: testing the book zeroing code (maybe for backport?) Offline

2008-02-29 Thread Andrew Sackville-West
On Thu, Feb 07, 2008 at 04:37:35PM -0500, Derek Atkins wrote: ... Well, it's possible that GetBalanceAsOfDate goes forward in time instead of backwards in time, which means that the more transactions you have the longer it takes. might be a source of problems in income statement as well as

Re: testing the book zeroing code (maybe for backport?)

2008-02-29 Thread Derek Atkins
Andreas Köhler [EMAIL PROTECTED] writes: I see r16713, r16714, r16715 and r16848. Anyone left? That looks like all of them. -- andi5 -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL:

Re: testing the book zeroing code (maybe for backport?) Offline

2008-02-29 Thread Derek Atkins
Andrew Sackville-West [EMAIL PROTECTED] writes: On Thu, Feb 07, 2008 at 04:37:35PM -0500, Derek Atkins wrote: ... Well, it's possible that GetBalanceAsOfDate goes forward in time instead of backwards in time, which means that the more transactions you have the longer it takes. might be

Re: testing the book zeroing code (maybe for backport?) Offline

2008-02-29 Thread Andreas Köhler
Hi Derek, Andrew Sackville-West [EMAIL PROTECTED] writes: On Thu, Feb 07, 2008 at 04:37:35PM -0500, Derek Atkins wrote: ... Well, it's possible that GetBalanceAsOfDate goes forward in time instead of backwards in time, which means that the more transactions you have the longer

Re: testing the book zeroing code (maybe for backport?) Offline

2008-02-29 Thread Derek Atkins
Quoting Andreas Köhler [EMAIL PROTECTED]: So.. We could probably solve this by keeping a tail pointer and then we could search from the end instead of the front. FWIW, I think that is what GQueues are made for. Hmm. Indeed. I wonder when these were introduced? -- andi5 -derek --

Re: testing the book zeroing code (maybe for backport?) Offline

2008-02-29 Thread Andreas Köhler
Hi, Am Freitag, den 29.02.2008, 11:14 -0500 schrieb Derek Atkins: Quoting Andreas Köhler [EMAIL PROTECTED]: So.. We could probably solve this by keeping a tail pointer and then we could search from the end instead of the front. FWIW, I think that is what GQueues are made for. Hmm.

Re: testing the book zeroing code (maybe for backport?)

2008-02-28 Thread Andreas Köhler
Hi Derek, Am Montag, den 04.02.2008, 10:42 -0500 schrieb Derek Atkins: Christian Stimming [EMAIL PROTECTED] writes: Am Mittwoch, 30. Januar 2008 22:18 schrieb Andreas Köhler: Over this weekend I implemented a simple book closing feature that lets you zeroize the Income and Expense

Re: testing the book zeroing code (maybe for backport?)

2008-02-08 Thread Mike or Penny Novack
On Feb 6, 2008, at 9:16 PM, David Reiser wrote: Using Tim's approach, I have: 642 accounts 6423 transactions and it took 4 minutes, 6 seconds to close the books. 1minute 46 seconds for a trial balance. Dave -- David Reiser [EMAIL PROTECTED] OK --- we seem to be seeing that test

Re: testing the book zeroing code (maybe for backport?)

2008-02-07 Thread Derek Atkins
Wow! I didn't think my algorithms were THAT bad! Okay, I'll see about adding a progress dialog.. Unless someone else can get to it first. I probably wont have time for a bit. -derek David Reiser [EMAIL PROTECTED] writes: Using Tim's approach, I have: 642 accounts 6423 transactions and

Re: testing the book zeroing code (maybe for backport?) Offline

2008-02-07 Thread Tim Wunder
On Thursday 07 February 2008 04:37:35 pm Derek Atkins wrote: Mike or Penny Novack [EMAIL PROTECTED] writes: snip of each account as of some specified date). You could ask your testers to give you the time one of these things took. No point looking for what might be wrong with your closing

Re: testing the book zeroing code (maybe for backport?) Offline

2008-02-07 Thread Derek Atkins
Mike or Penny Novack [EMAIL PROTECTED] writes: Wow! I didn't think my algorithms were THAT bad! Okay, I'll see about adding a progress dialog.. Unless someone else can get to it first. I probably wont have time for a bit. -derek Derek, Would you want me to take a look? Lot's of

Re: testing the book zeroing code (maybe for backport?)

2008-02-07 Thread David Reiser
On Feb 6, 2008, at 9:16 PM, David Reiser wrote: Using Tim's approach, I have: 642 accounts 6423 transactions and it took 4 minutes, 6 seconds to close the books. 1minute 46 seconds for a trial balance. Dave -- David Reiser [EMAIL PROTECTED]

Re: testing the book zeroing code (maybe for backport?)

2008-02-06 Thread Andrew Sackville-West
On Tue, Feb 05, 2008 at 08:39:52AM -0500, Derek Atkins wrote: Andrew Sackville-West [EMAIL PROTECTED] writes: Now that I've muddied the discussion, I withhold my vote pending some more firm idea of the proposed release date for 2.4. I suspect 2.4 wont be out until the end of '08 at the

Re: testing the book zeroing code (maybe for backport?)

2008-02-06 Thread Tim Wunder
On Wednesday 06 February 2008 10:16:53 am Andrew Sackville-West wrote: On Tue, Feb 05, 2008 at 08:39:52AM -0500, Derek Atkins wrote: I *still* haven't tested it (school's got me so busy) but I would agree with Tim, that maybe there should be some indicator of progress, or at least a now

Re: testing the book zeroing code (maybe for backport?)

2008-02-06 Thread David Reiser
On Feb 6, 2008, at 10:35 AM, Tim Wunder wrote: On Wednesday 06 February 2008 10:16:53 am Andrew Sackville-West wrote: On Tue, Feb 05, 2008 at 08:39:52AM -0500, Derek Atkins wrote: I *still* haven't tested it (school's got me so busy) but I would agree with Tim, that maybe there should be

Re: testing the book zeroing code (maybe for backport?)

2008-02-06 Thread Derek Atkins
Quoting David Reiser [EMAIL PROTECTED]: Is there a convenient way to count total transactions? I have about [z]cat datafile | grep gnc:transaction | wc -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB)

Re: testing the book zeroing code (maybe for backport?)

2008-02-06 Thread Tim Wunder
On Wednesday 06 February 2008 11:33:42 am Derek Atkins wrote: Quoting David Reiser [EMAIL PROTECTED]: Is there a convenient way to count total transactions? I have about [z]cat datafile | grep gnc:transaction | wc -derek Won't that double the actual transaction count since there's a

Re: testing the book zeroing code (maybe for backport?)

2008-02-06 Thread David Reiser
Using Tim's approach, I have: 642 accounts 6423 transactions and it took 4 minutes, 6 seconds to close the books. Dave -- David Reiser [EMAIL PROTECTED] On Feb 6, 2008, at 11:22 AM, Tim Wunder wrote: On Wednesday 06 February 2008 11:08:05 am David Reiser wrote: Is there a convenient way to

Re: testing the book zeroing code (maybe for backport?)

2008-02-05 Thread Tim Wunder
On Saturday 02 February 2008 11:22:59 am Manfred Usselmann wrote: Tim Wunder [EMAIL PROTECTED] schrieb am Sat, 2 Feb 2008 08:37:42 -0500: On Saturday 02 February 2008 03:34:59 am Christian Stimming wrote: Am Mittwoch, 30. Januar 2008 22:18 schrieb Andreas Köhler: Over this weekend I

Re: testing the book zeroing code (maybe for backport?)

2008-02-05 Thread Derek Atkins
Andrew Sackville-West [EMAIL PROTECTED] writes: Now that I've muddied the discussion, I withhold my vote pending some more firm idea of the proposed release date for 2.4. I suspect 2.4 wont be out until the end of '08 at the earliest. A -derek -- Derek Atkins, SB '93 MIT EE, SM

Re: testing the book zeroing code (maybe for backport?)

2008-02-05 Thread Derek Atkins
Tim Wunder [EMAIL PROTECTED] writes: My main complaint with it is that, for my data file, it takes what seems like a long time to complete, and it offers no feedback to the user that something is happening during that time. While that's not a game breaker, it adds a level of unfinishedness

Re: testing the book zeroing code (maybe for backport?)

2008-02-05 Thread Tim Wunder
On Tuesday 05 February 2008 09:42:06 am Derek Atkins wrote: Tim Wunder [EMAIL PROTECTED] writes: My main complaint with it is that, for my data file, it takes what seems like a long time to complete, and it offers no feedback to the user that something is happening during that time. While

Re: testing the book zeroing code (maybe for backport?)

2008-02-04 Thread Derek Atkins
Christian Stimming [EMAIL PROTECTED] writes: Am Mittwoch, 30. Januar 2008 22:18 schrieb Andreas Köhler: Over this weekend I implemented a simple book closing feature that lets you zeroize the Income and Expense accounts into Equity. It's comprised of changesets r16713, 16714, and 16715.

Re: testing the book zeroing code (maybe for backport?)

2008-02-04 Thread Andrew Sackville-West
On Sat, Feb 02, 2008 at 05:22:59PM +0100, Manfred Usselmann wrote: Tim Wunder [EMAIL PROTECTED] schrieb am Sat, 2 Feb 2008 08:37:42 ... Unless it's changed from the last time I tried it at the end of December, I'd recommend against backport. Adding features that are probably complete

Re: testing the book zeroing code (maybe for backport?)

2008-02-02 Thread Christian Stimming
Am Mittwoch, 30. Januar 2008 22:18 schrieb Andreas Köhler: Over this weekend I implemented a simple book closing feature that lets you zeroize the Income and Expense accounts into Equity. It's comprised of changesets r16713, 16714, and 16715. It's only impemented in the trunk branch at

Re: testing the book zeroing code (maybe for backport?)

2008-02-02 Thread Tim Wunder
On Saturday 02 February 2008 03:34:59 am Christian Stimming wrote: Am Mittwoch, 30. Januar 2008 22:18 schrieb Andreas Köhler: Over this weekend I implemented a simple book closing feature that lets you zeroize the Income and Expense accounts into Equity. It's comprised of changesets

Re: testing the book zeroing code (maybe for backport?)

2008-02-02 Thread Manfred Usselmann
Tim Wunder [EMAIL PROTECTED] schrieb am Sat, 2 Feb 2008 08:37:42 -0500: On Saturday 02 February 2008 03:34:59 am Christian Stimming wrote: Am Mittwoch, 30. Januar 2008 22:18 schrieb Andreas Köhler: Over this weekend I implemented a simple book closing feature that lets you zeroize the

Re: testing the book zeroing code (maybe for backport?)

2008-01-30 Thread Andreas Köhler
Hi, On Mi, 2007-12-26 at 17:21 -0500, Derek Atkins wrote: Hi, Over this weekend I implemented a simple book closing feature that lets you zeroize the Income and Expense accounts into Equity. It's comprised of changesets r16713, 16714, and 16715. It's only impemented in the trunk branch at

Re: testing the book zeroing code (maybe for backport?)

2007-12-28 Thread Derek Atkins
Quoting Thomas Bushnell BSG [EMAIL PROTECTED]: On Thu, 2007-12-27 at 22:23 -0500, Tim Wunder wrote: On Wednesday 26 December 2007 05:21:06 pm Derek Atkins wrote: Hi, Over this weekend I implemented a simple book closing feature that lets you zeroize the Income and Expense accounts into

Re: testing the book zeroing code (maybe for backport?)

2007-12-28 Thread Derek Atkins
Hi, Quoting Tim Wunder [EMAIL PROTECTED]: Couple things: * it'd be nice to have some sort of feedback to the user that something is happening. How hard would it be to add a progress bar or something? Is it really slow enough that a progress bar is needed? In my cursory tests the process

Re: testing the book zeroing code (maybe for backport?)

2007-12-28 Thread Tim Wunder
On Friday 28 December 2007 07:55:59 am Derek Atkins wrote: Hi, Quoting Tim Wunder [EMAIL PROTECTED]: Couple things: * it'd be nice to have some sort of feedback to the user that something is happening. How hard would it be to add a progress bar or something? Is it really slow enough

Re: testing the book zeroing code (maybe for backport?)

2007-12-28 Thread Tommy Trussell
On Dec 28, 2007 9:08 AM, Tim Wunder [EMAIL PROTECTED] wrote: * It might also be a good idea for the user to be presented with a review dialog with suitable warning about book closing. Something like This will create a zeroing transaction for all your income and expense accounts as of

Re: testing the book zeroing code (maybe for backport?)

2007-12-27 Thread Tim Wunder
On Wednesday 26 December 2007 05:21:06 pm Derek Atkins wrote: Hi, Over this weekend I implemented a simple book closing feature that lets you zeroize the Income and Expense accounts into Equity. It's comprised of changesets r16713, 16714, and 16715. It's only impemented in the trunk branch

Re: testing the book zeroing code (maybe for backport?)

2007-12-27 Thread Thomas Bushnell BSG
On Thu, 2007-12-27 at 22:23 -0500, Tim Wunder wrote: On Wednesday 26 December 2007 05:21:06 pm Derek Atkins wrote: Hi, Over this weekend I implemented a simple book closing feature that lets you zeroize the Income and Expense accounts into Equity. It's comprised of changesets r16713,

testing the book zeroing code (maybe for backport?)

2007-12-26 Thread Derek Atkins
Hi, Over this weekend I implemented a simple book closing feature that lets you zeroize the Income and Expense accounts into Equity. It's comprised of changesets r16713, 16714, and 16715. It's only impemented in the trunk branch at the moment. Please test and comment and let me know if you find