2021-08-01 GnuCash IRC logs

00:26:58 *** chris has quit IRC
00:38:11 *** bertbob has quit IRC
00:41:54 *** FH_thecat has joined #gnucash
00:43:22 *** bertbob has joined #gnucash
00:43:22 *** ChanServ sets mode: +v bertbob
00:57:53 *** Mechtilde has joined #gnucash
01:32:11 *** frakturfreak has quit IRC
01:35:53 *** sbluhm has joined #gnucash
01:40:05 *** fell has quit IRC
01:41:24 *** fell has joined #gnucash
01:41:25 *** ChanServ sets mode: +o fell
01:46:28 *** frakturfreak has joined #gnucash
02:03:22 *** FH_thecat has quit IRC
02:32:30 *** Bambuzel has joined #gnucash
02:32:30 *** ChanServ sets mode: +v Bambuzel
02:40:02 *** Bambuzel has quit IRC
02:45:15 *** Bambuzel has joined #gnucash
02:45:16 *** ChanServ sets mode: +v Bambuzel
02:45:32 *** FH_thecat has joined #gnucash
02:46:34 *** FH_thecat has joined #gnucash
02:52:23 *** jervin has joined #gnucash
03:02:00 *** jervin has quit IRC
03:05:32 *** Bambuzel has quit IRC
03:48:37 *** sbluhm has quit IRC
04:13:31 *** sbluhm has joined #gnucash
04:17:57 *** User has joined #gnucash
04:43:29 *** Yotson has quit IRC
04:43:34 *** Yotson has joined #gnucash
05:32:31 *** finster has quit IRC
06:53:04 *** Aussie_matt has joined #gnucash
06:57:37 *** bertbob has quit IRC
07:04:30 *** bertbob has joined #gnucash
07:04:30 *** ChanServ sets mode: +v bertbob
08:16:34 *** Aussie_matt has quit IRC
08:23:52 *** warlord has quit IRC
08:24:00 *** warlord has joined #gnucash
08:27:06 <fell> Ha, I just watched, Attaching an Opening balance on account edit does not respect placeholder flag.
08:36:59 *** Pegasus_RPG has joined #gnucash
08:56:17 *** warlord has quit IRC
09:37:19 *** chris has joined #gnucash
09:37:19 *** ChanServ sets mode: +v chris
09:37:23 *** gncbot sets mode: +o chris
09:55:35 *** jervin has joined #gnucash
09:57:44 *** jervin has quit IRC
09:57:55 *** jervin has joined #gnucash
10:11:59 <chris> jralls: an account.cpp refactor to avoid O(N^2) has slipped in.
10:14:11 *** Pegasus_RPG has quit IRC
10:18:01 *** sbluhm has quit IRC
10:47:10 *** User has quit IRC
10:49:45 *** User has joined #gnucash
11:10:37 <fell> The changed-check on File->Open seems broken: I edited a file, pressed Crtl-S, then try to open another file and are asked, if I want to save, continue without or cancel.
11:50:11 *** kcin has joined #gnucash
11:58:11 *** Mechtilde has quit IRC
12:00:06 *** Mechtilde has joined #gnucash
12:02:06 *** FH_thecat has quit IRC
12:08:55 *** Mechtilde has quit IRC
12:41:54 *** Mechtilde has joined #gnucash
12:57:54 *** sbluhm has joined #gnucash
13:03:37 <jralls> chris Slipped in? What do you mean?
13:04:55 <jralls> fell sounds more like the save didn't clear the books dirty flag.
13:22:11 *** sbluhm has quit IRC
13:23:30 *** sbluhm has joined #gnucash
13:31:08 *** Mechtilde has quit IRC
13:31:56 *** Mechtilde has joined #gnucash
14:35:47 <fell> jralls the window title had no star.
14:37:25 *** mikee has quit IRC
14:37:37 *** mikee has joined #gnucash
14:44:11 *** jervin has quit IRC
14:48:59 *** jervin has joined #gnucash
15:08:12 *** Mechtilde has quit IRC
15:27:14 *** Pegasus_RPG has joined #gnucash
15:40:58 *** Pegasus_RPG has quit IRC
15:45:20 *** jervin has quit IRC
16:17:31 *** sbluhm has quit IRC
16:24:45 *** warlord has joined #gnucash
16:25:08 *** User has quit IRC
16:25:29 *** David has joined #gnucash
16:25:35 *** sbluhm has joined #gnucash
16:42:48 *** warlord has quit IRC
16:42:59 *** warlord has joined #gnucash
16:43:08 *** ChanServ sets mode: +qo warlord warlord
17:08:33 <warlord> .
17:26:11 *** kcin has quit IRC
17:26:20 *** sbluhm has quit IRC
17:46:22 *** jervin has joined #gnucash
17:54:50 *** jervin has quit IRC
17:57:27 <warlord> jralls, I've seen thechitowncubs back here, but s/he hasn't said anything .. Curious.
17:58:06 <jralls> Maybe hoping you've forgotten? ;-)
18:02:57 *** DHR has joined #gnucash
18:04:36 <jralls> warlord, for curious, consider https://github.com/jralls/gnucash/blob/238ed0ea485146924878f7913d840c68802aebd2/libgnucash/app-utils/gnc-option-impl.hpp#L418 ff.
18:06:28 <jralls> I've tested it on a half-dozen VMs and it works everywhere, including my Ubuntu 18.04 VM. But https://github.com/jralls/gnucash/runs/3215199532 which is it failing on github's Ubunut 18.04 VM.
18:06:40 *** ChanServ sets mode: +v DHR
18:36:08 *** User has joined #gnucash
19:03:25 *** User has quit IRC
19:31:48 <chris> jralls: I meant a small account.cpp refactor slipped into #1101
19:32:04 <chris> O(N^2) optimization
19:35:23 <chris> still not the most optimized implementation... it can faster using fold: https://pastebin.com/raw/PZcJHuDW
19:40:02 <jralls> chris, Oh, OK. I doubt that fold would be any faster, it appears to me to be equivalent: Iterate over list A appending each member to list B.
19:49:50 <chris> correct, but this fold one does reverse only once. anyway the 1101 is a bit better than before :)
19:52:28 <jralls> So does your code. And yes, it's an improvement.
19:55:05 <chris> 1101 does reverse for each recursion into next level
20:02:19 <warlord> jralls, I have not forgotten -- wondering if they have..
20:03:21 <jralls> Ah, I see, because you're calling the descendants functions recursively. I think that messes up the order too. You just need to do a little more function extracting so that you reverse only once.
20:03:30 <warlord> jralls, what is that you want me to look at? iss.ignore??
20:04:36 <warlord> chris, yeah, don't reverse on each recursion.. recurse, and then reverse at the end.
20:05:42 <jralls> std::getline in libstdc++ < 11 eats the terminal character *except* on github's uUbuntu 18.04 VM. Not eating it is what makes the extra iss.ignore() necessary.
20:08:08 <chris> warlord: agree but the lack of fold in C is why I wrote it thus. would take a bit more effort to convert https://pastebin.com/raw/PZcJHuDW to C without fold.
20:08:11 <jralls> But I'm thinking of ripping all of that out anyway. Parsing the scheme code saved report configs in C++ isn't a great plan, might as well keep using guile for that and write something more reasonable for future persistance.
20:08:39 <warlord> jralls, how weird!
20:08:41 <chris> ^ I agree so wholeheartedly
20:09:44 <warlord> jralls, yeah, reading scheme from C++ seems ... wrong. If you're going to keep it in scheme, then use scheme. If you're going to convert it, then use scheme to read it and then use C++ to write it out in the new format.
20:09:48 <jralls> chris, only a little more work. You just need to extract the guts of the functions into a utility function and recurse that, then g_list_reverse its return.
20:10:29 <warlord> chris, ... what jralls said. It's not hard at all, but it might need a second function (a wrapper around all the recursion)
20:10:52 <jralls> GTG.
20:12:45 <warlord> See ya jralls.
21:27:30 *** TommyT has joined #gnucash
21:27:30 *** ChanServ sets mode: +v TommyT
21:28:47 *** TommyT has quit IRC