2020-01-31 GnuCash IRC logs

00:05:37 *** Gerd has joined #gnucash
00:21:45 *** fell has joined #gnucash
00:21:45 *** ChanServ sets mode: +o fell
00:24:49 *** jervin has quit IRC
00:25:39 <fell> .
00:28:07 *** Gerd has quit IRC
00:32:23 *** fell_laptop has joined #gnucash
00:32:24 *** ChanServ sets mode: +o fell_laptop
00:32:24 *** fell has quit IRC
00:35:31 *** fell_laptop has quit IRC
01:12:11 *** nick_ has joined #gnucash
01:17:39 *** nick_ has quit IRC
01:21:00 *** FH_thecat has quit IRC
01:33:39 *** sbluhm has joined #gnucash
01:33:39 *** ChanServ sets mode: +v sbluhm
01:44:01 *** bertbob has quit IRC
01:48:50 *** bertbob has joined #gnucash
01:48:50 *** ChanServ sets mode: +v bertbob
01:50:15 *** Gerd has joined #gnucash
01:51:53 *** bertbob has quit IRC
01:53:55 *** bertbob has joined #gnucash
01:53:55 *** ChanServ sets mode: +v bertbob
01:58:50 *** bertbob has quit IRC
02:04:12 *** bertbob has joined #gnucash
02:04:13 *** ChanServ sets mode: +v bertbob
02:12:00 *** daudi has joined #gnucash
02:12:48 *** Gerd has quit IRC
02:17:19 *** fell has joined #gnucash
02:17:19 *** ChanServ sets mode: +o fell
02:28:50 *** Gerd has joined #gnucash
02:29:54 *** sbluhm has quit IRC
02:30:47 *** daudi has quit IRC
02:32:20 *** fell has quit IRC
02:47:01 *** sbluhm has joined #gnucash
02:47:01 *** ChanServ sets mode: +v sbluhm
02:51:23 *** FH_thecat has joined #gnucash
02:56:31 *** tlhonmey has quit IRC
02:56:38 *** gjanssens has joined #gnucash
02:56:38 *** ChanServ sets mode: +o gjanssens
02:57:28 *** gjanssens has quit IRC
03:02:35 *** storyjesse has joined #gnucash
03:43:22 *** daudi has joined #gnucash
04:12:27 *** gggg has joined #gnucash
04:22:17 *** daudi has quit IRC
04:22:52 *** storyjesse has quit IRC
04:39:57 *** omnireq_ has quit IRC
04:40:08 *** omnireq_ has joined #gnucash
05:07:07 *** Mechtilde has joined #gnucash
05:07:30 *** User_ has joined #gnucash
05:09:21 *** FH_thecat has quit IRC
05:34:02 *** Aussie_matt has joined #gnucash
05:37:02 *** Aussie_matt has quit IRC
05:40:09 *** Mechtilde has quit IRC
05:41:13 *** Aussie_matt has joined #gnucash
05:42:27 *** omnireq_ has quit IRC
05:43:53 *** omnireq_ has joined #gnucash
05:44:39 *** Aussie_matt has quit IRC
05:44:58 *** Mechtilde has joined #gnucash
05:46:23 *** Aussie_matt has joined #gnucash
05:55:07 *** User_ has quit IRC
06:04:57 *** omnireq_ has quit IRC
06:05:26 *** omnireq_ has joined #gnucash
06:06:52 *** Aussie_matt has quit IRC
06:08:11 *** Jimraehl1 has joined #gnucash
06:08:50 *** Aussie_matt has joined #gnucash
06:09:28 *** Jimraehl1 has quit IRC
06:14:40 *** warlord has quit IRC
06:17:39 *** Gerd has quit IRC
06:24:20 *** Mechtilde has quit IRC
06:26:24 *** warlord has joined #gnucash
07:07:36 *** omnireq_ has quit IRC
07:08:53 *** omnireq_ has joined #gnucash
07:19:00 *** Aussie_matt has quit IRC
07:26:28 *** fell has joined #gnucash
07:26:28 *** ChanServ sets mode: +o fell
07:29:57 *** omnireq_ has quit IRC
07:30:08 *** omnireq_ has joined #gnucash
07:51:27 *** omnireq_ has quit IRC
07:51:42 *** omnireq_ has joined #gnucash
07:58:31 <chris> how does this line work exactly? https://github.com/Gnucash/gnucash/blob/maint/libgnucash/engine/gnc-lot.c#L368
08:03:15 *** warlord has quit IRC
08:03:23 *** warlord has joined #gnucash
08:07:41 *** warlord has quit IRC
08:07:42 *** warlord2 has joined #gnucash
08:09:21 *** warlord2 has quit IRC
08:09:50 *** warlord has joined #gnucash
08:11:01 *** sbluhm has quit IRC
08:11:45 *** warlord has quit IRC
08:12:42 *** KevinDB- has quit IRC
08:14:28 *** KevinDB has joined #gnucash
08:14:28 *** ChanServ sets mode: +v KevinDB
08:16:18 *** warlord has joined #gnucash
08:28:00 <warlord> .
08:28:35 *** sbluhm has joined #gnucash
08:28:35 *** ChanServ sets mode: +v sbluhm
08:53:08 *** Gerd has joined #gnucash
08:59:10 *** warlord has quit IRC
09:06:42 *** warlord has joined #gnucash
09:10:31 *** warlord2 has joined #gnucash
09:10:44 *** warlord has quit IRC
09:23:25 *** Gerd has quit IRC
09:29:11 *** FH_thecat has joined #gnucash
09:31:55 *** omnireq_ has quit IRC
09:34:09 *** warlord2 has quit IRC
09:58:32 *** warlord has joined #gnucash
09:58:44 <warlord> My laptop likes to fall off the net when it's hot. :(
10:30:58 *** Gerd has joined #gnucash
10:32:26 *** tlhonmey has joined #gnucash
10:32:34 *** FH_thecat has quit IRC
10:33:28 *** tlhonmey has quit IRC
10:50:49 *** warlord has quit IRC
10:53:47 *** kael has joined #gnucash
10:53:47 *** ChanServ sets mode: +v kael
10:54:19 *** warlord has joined #gnucash
11:35:06 *** jervin has joined #gnucash
11:41:23 *** guak has joined #gnucash
11:55:58 *** jervin has quit IRC
12:13:24 *** Gerd has quit IRC
12:27:14 *** Mechtilde has joined #gnucash
12:50:43 *** jervin has joined #gnucash
12:52:06 *** Mechtilde has quit IRC
12:53:24 *** jervin has quit IRC
12:56:37 *** phoenix has joined #gnucash
13:03:07 *** Gerd has joined #gnucash
13:11:21 *** sbluhm has quit IRC
13:12:05 *** gggg has quit IRC
13:14:44 *** phoenix has quit IRC
13:15:08 <jralls> fell: What is gnucash.appdata.xml for? The original commit says it's for something called the Gnome App Store, but there doesn't seem to be such a thing. Google points to https://wiki.gnome.org/Apps but it doesn't include GnuCash and besides doesn't require any appdata.xml file.
13:21:49 <jralls> fell: Plus gnucash.desktop is only for users of FreeDesktop desktop environments, i.e. Linux only. IIRC the general gettext requirement is 0.18.1 because before that we needed intltool and some custom scripts to extract strings from Scheme.
13:23:13 *** daudi has joined #gnucash
13:24:45 *** Mechtilde has joined #gnucash
13:29:02 <jralls> chris: The newline separating an if condition from its action is a formatting convention not a language requirement, so that line calls gnc_log_get_balance(lot) if priv->is_closed < 0.
13:31:31 <jralls> chris: priv->is_closed is designed with tri-state logic, -1 meaning uninitialized, 0 meaning not closed and 1 meaning closed; a lot with a zero balance is considered closed.
13:33:28 *** sbluhm has joined #gnucash
13:33:28 *** ChanServ sets mode: +v sbluhm
13:34:05 <jralls> chris: gnc_lot_get_balance is what sets priv->is_closed, so if it's not initialized then gnc_lot_is_closed needs to call it to find out what to return.
13:38:32 <jralls> chris: I'd categorize that as a premature optimization. It would work as well for gnc_lot_is_closed to simply return gnc_lot_get_balance == 0.
13:39:03 <jralls> Oops, gnc_lot_get_balance(lot) == 0.
13:46:30 <warlord> I suspect that "premature optimization" is my own doing -- assuming that once it is closed it's best to cache that information rather than having to recompute it all again. IIRC, at the time, computing the lot balance was more work because you had to find the various splits..
13:55:47 *** calvinct has joined #gnucash
14:16:05 *** frakturfreak has joined #gnucash
14:41:17 *** Gerd has quit IRC
14:46:55 *** bertbob has quit IRC
15:01:45 *** bertbob has joined #gnucash
15:01:46 *** ChanServ sets mode: +v bertbob
15:03:06 *** jonp has joined #gnucash
15:34:42 *** Gerd has joined #gnucash
15:44:29 *** fell has quit IRC
15:44:51 *** fell has joined #gnucash
15:44:51 *** ChanServ sets mode: +o fell
15:47:33 <fell> jralls: AppData is part of AppStream, which claims to be "Infrastructure for distro-agnostic software-centers and universal software component metadata". [https://www.freedesktop.org/software/appstream/docs/]
15:50:20 <jralls> fell, So more Linux only, and really of interest only to distro packagers.
15:51:12 *** fell has quit IRC
15:52:00 *** fell has joined #gnucash
15:52:00 *** ChanServ sets mode: +o fell
15:57:10 *** christopher has quit IRC
16:00:16 *** fell has quit IRC
16:01:08 *** fell has joined #gnucash
16:01:09 *** ChanServ sets mode: +o fell
16:01:26 *** gjanssens has joined #gnucash
16:01:27 *** ChanServ sets mode: +o gjanssens
16:01:32 <gjanssens> .
16:01:52 *** gjanssens has quit IRC
16:03:58 <fell> The windows build failed with: *** Error during phase clean of gnucash-docs-git: ########## Error running ninja clean *** [15/16]
16:05:17 <jralls> Hmm, with a permission error. That's odd.
16:12:42 <fell> Such things happen on 'sudo ninja install', if 'ninja make' was not executed befor.
16:14:53 <jralls> No, it was in the build directory, before the docs build even started. I tried ninja clean from the shell and it failed again, then did rm -r help and it removed the dir without complaint. I started a new maint build, we'll see.
16:15:42 *** fell has quit IRC
16:16:00 *** fell has joined #gnucash
16:16:00 *** ChanServ sets mode: +o fell
16:20:43 *** sbluhm has quit IRC
16:23:31 *** KevinDB has quit IRC
16:24:38 <jralls> And it failed. with the same error. Seems to be a ninja bug: https://github.com/ninja-build/ninja/issues/828
16:24:56 <jralls> But it makes no sense that it suddenly started today.
16:25:00 *** KevinDB has joined #gnucash
16:25:00 *** ChanServ sets mode: +v KevinDB
16:33:45 *** calvinct has quit IRC
16:35:32 <fell> switch to make?
16:40:59 <jralls> Requires reverting to autotools, trying it now.
16:44:11 <jralls> Hmm, Christoph Reiter updated ninja in Mingw64 to 1.10.0 4 days ago.
16:48:24 <jralls> And so far building with autotools is working.
16:55:15 *** oozer has joined #gnucash
16:56:41 *** Mechtilde has quit IRC
16:57:38 *** User_ has joined #gnucash
17:06:51 <jralls> Yeah, that worked. I don't know if we want to make it permanent, but I'll leave the change in place on the build server for now.
17:10:00 <fell> Put ninja in Mingw64 on your watch list. ;-)
17:12:52 <fell> BTWW, I just saw http://strawberryperl.com recommendeds 5.30.1.1 in between. Do we want to update it?
17:12:55 <jralls> I don't think that the ninja bug is the immediate cause of the problem, it's been around for a long time.
17:13:39 <jralls> They always "recommend" their latest version just like we do. ;-)
17:15:48 <jralls> More likely cmake changed ninja.build to tell ninja to remove directories instead of just files.
17:15:49 *** kael has quit IRC
17:16:32 *** frakturfreak has quit IRC
17:17:22 <jralls> Our strawberry perl is 5.28, so it's not very old. No reason to panic about updating it. ;-)
17:18:13 <jralls> The latest MacOS provides 5.18.4.
17:18:36 *** fell has quit IRC
17:19:16 *** oozer has quit IRC
17:19:44 *** fell has joined #gnucash
17:19:45 *** ChanServ sets mode: +o fell
17:45:16 *** User_ has quit IRC
17:51:57 *** oozer has joined #gnucash
17:58:56 *** jervin has joined #gnucash
18:03:56 *** jervin has quit IRC
18:04:22 *** jervin has joined #gnucash
18:05:11 *** jervin has quit IRC
18:08:55 *** Mechtilde has joined #gnucash
18:34:21 *** daudi has quit IRC
18:38:08 *** fell has quit IRC
18:39:27 *** daudi has joined #gnucash
18:42:45 *** daudi has quit IRC
19:14:53 *** Kissaki has quit IRC
19:16:05 *** Kissaki has joined #gnucash
19:37:36 *** Gerd has quit IRC
19:52:10 *** omnireq has joined #gnucash
20:12:52 *** omnireq_ has joined #gnucash
20:14:04 *** omnireq has quit IRC
20:21:59 *** fell has joined #gnucash
20:21:59 *** ChanServ sets mode: +o fell
20:33:39 *** omnireq_ has quit IRC
20:34:27 *** omnireq_ has joined #gnucash
20:55:39 *** omnireq_ has quit IRC
20:55:50 *** omnireq_ has joined #gnucash
21:10:02 *** oozer has quit IRC
21:16:40 *** omnireq_ has quit IRC
21:17:33 *** omnireq has joined #gnucash
21:17:33 *** ChanServ sets mode: +v omnireq
21:33:23 <chris> jralls: thanks, was wondering why gnc_lot_get_balance() needed to be called at all, because its output was discarded.
21:43:09 *** omnireq has quit IRC
21:45:30 *** omnireq has joined #gnucash
21:45:30 *** ChanServ sets mode: +v omnireq
22:02:53 *** guak has quit IRC
22:34:24 *** FH_thecat has joined #gnucash
23:29:52 *** ecdhe has quit IRC
23:29:54 *** ecdhe has joined #gnucash